@etherisc/gif-next 0.0.2-b7cfc95-746 → 0.0.2-b8121a8-197

Sign up to get free protection for your applications and to get access to all the features.
Files changed (359) hide show
  1. package/README.md +73 -1
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +390 -56
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +734 -106
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +143 -51
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +743 -26
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +737 -58
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +577 -4
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +677 -179
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +497 -131
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +15 -15
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +69 -79
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  23. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +5 -0
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +910 -364
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -197
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1028 -768
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +440 -176
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +120 -263
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +369 -299
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +330 -89
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +11 -40
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +119 -162
  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 +61 -78
  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 +968 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +307 -308
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +305 -80
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1227 -259
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +453 -72
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +155 -245
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +728 -161
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +60 -291
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +81 -152
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +22 -174
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +186 -384
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +311 -114
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +223 -197
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +310 -77
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +143 -214
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +302 -77
  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 +34 -2
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +109 -195
  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 +47 -15
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +2 -2
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +213 -231
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +300 -81
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +11 -11
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +151 -34
  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 +22 -174
  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 +114 -157
  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 +135 -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/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  170. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  173. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  175. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  177. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  179. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  180. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  181. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +2 -2
  183. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  184. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  186. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  188. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  190. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  192. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  194. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  196. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  198. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  200. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  202. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  204. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  208. package/contracts/components/Component.sol +156 -82
  209. package/contracts/components/Distribution.sol +198 -72
  210. package/contracts/components/IComponent.sol +51 -14
  211. package/contracts/components/IDistributionComponent.sol +44 -17
  212. package/contracts/components/IPoolComponent.sol +88 -41
  213. package/contracts/components/IProductComponent.sol +8 -3
  214. package/contracts/components/Pool.sol +210 -169
  215. package/contracts/components/Product.sol +113 -115
  216. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +2 -12
  217. package/contracts/instance/BundleManager.sol +14 -16
  218. package/contracts/instance/Cloneable.sol +7 -2
  219. package/contracts/instance/IInstance.sol +51 -13
  220. package/contracts/instance/IInstanceService.sol +36 -4
  221. package/contracts/instance/Instance.sol +131 -66
  222. package/contracts/instance/InstanceAccessManager.sol +383 -164
  223. package/contracts/instance/InstanceReader.sol +9 -34
  224. package/contracts/instance/InstanceService.sol +279 -129
  225. package/contracts/instance/InstanceServiceManager.sol +1 -1
  226. package/contracts/instance/ObjectManager.sol +10 -29
  227. package/contracts/instance/base/ComponentService.sol +8 -7
  228. package/contracts/instance/base/KeyValueStore.sol +5 -2
  229. package/contracts/instance/base/Lifecycle.sol +11 -2
  230. package/contracts/instance/module/IAccess.sol +22 -16
  231. package/contracts/instance/module/IBundle.sol +2 -1
  232. package/contracts/instance/module/IComponents.sol +35 -0
  233. package/contracts/instance/module/IDistribution.sol +2 -0
  234. package/contracts/instance/module/IPolicy.sol +30 -3
  235. package/contracts/instance/module/ISetup.sol +7 -20
  236. package/contracts/instance/service/ApplicationService.sol +350 -0
  237. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  238. package/contracts/instance/service/BundleService.sol +82 -39
  239. package/contracts/instance/service/BundleServiceManager.sol +1 -1
  240. package/contracts/instance/service/ClaimService.sol +151 -0
  241. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  242. package/contracts/instance/service/DistributionService.sol +381 -29
  243. package/contracts/instance/service/DistributionServiceManager.sol +1 -1
  244. package/contracts/instance/service/IApplicationService.sol +82 -0
  245. package/contracts/instance/service/IBundleService.sol +30 -12
  246. package/contracts/instance/service/IClaimService.sol +61 -0
  247. package/contracts/instance/service/IDistributionService.sol +86 -0
  248. package/contracts/instance/service/IPolicyService.sol +27 -49
  249. package/contracts/instance/service/IPoolService.sol +17 -2
  250. package/contracts/instance/service/PolicyService.sol +148 -283
  251. package/contracts/instance/service/PolicyServiceManager.sol +2 -2
  252. package/contracts/instance/service/PoolService.sol +124 -46
  253. package/contracts/instance/service/PoolServiceManager.sol +1 -1
  254. package/contracts/instance/service/ProductService.sol +28 -28
  255. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  256. package/contracts/registry/ChainNft.sol +8 -0
  257. package/contracts/registry/IRegistry.sol +5 -2
  258. package/contracts/registry/IRegistryService.sol +15 -6
  259. package/contracts/registry/ITransferInterceptor.sol +1 -0
  260. package/contracts/registry/Registry.sol +43 -28
  261. package/contracts/registry/RegistryService.sol +87 -124
  262. package/contracts/registry/RegistryServiceManager.sol +13 -13
  263. package/contracts/registry/ReleaseManager.sol +28 -58
  264. package/contracts/registry/TokenRegistry.sol +16 -12
  265. package/contracts/shared/ERC165.sol +14 -12
  266. package/contracts/shared/INftOwnable.sol +11 -10
  267. package/contracts/shared/IPolicyHolder.sol +26 -0
  268. package/contracts/shared/IRegisterable.sol +4 -4
  269. package/contracts/shared/IRegistryLinked.sol +12 -0
  270. package/contracts/shared/IService.sol +2 -0
  271. package/contracts/shared/IVersionable.sol +4 -47
  272. package/contracts/shared/NftOwnable.sol +66 -82
  273. package/contracts/shared/PolicyHolder.sol +81 -0
  274. package/contracts/shared/ProxyManager.sol +100 -25
  275. package/contracts/shared/Registerable.sol +16 -32
  276. package/contracts/shared/RegistryLinked.sol +48 -0
  277. package/contracts/shared/Service.sol +15 -17
  278. package/contracts/shared/TokenHandler.sol +11 -5
  279. package/contracts/shared/Versionable.sol +4 -92
  280. package/contracts/test/TestRegisterable.sol +1 -1
  281. package/contracts/test/TestService.sol +1 -1
  282. package/contracts/types/Blocknumber.sol +1 -0
  283. package/contracts/types/ClaimId.sol +52 -0
  284. package/contracts/types/DistributorType.sol +2 -2
  285. package/contracts/types/Fee.sol +1 -0
  286. package/contracts/types/NftId.sol +8 -0
  287. package/contracts/types/ObjectType.sol +10 -5
  288. package/contracts/types/PayoutId.sol +54 -0
  289. package/contracts/types/Referral.sol +4 -0
  290. package/contracts/types/RoleId.sol +16 -9
  291. package/contracts/types/Seconds.sol +54 -0
  292. package/contracts/types/StateId.sol +1 -0
  293. package/contracts/types/Timestamp.sol +13 -13
  294. package/contracts/types/UFixed.sol +1 -0
  295. package/contracts/types/Version.sol +1 -0
  296. package/package.json +3 -3
  297. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  298. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  299. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  300. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  301. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  302. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  303. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  304. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  305. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  306. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  307. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  309. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  311. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  313. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  315. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  317. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  319. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  322. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  324. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  326. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  328. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  330. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  332. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  334. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  336. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  337. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  338. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  339. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  340. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  341. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -100
  342. package/contracts/experiment/cloning/Cloner.sol +0 -47
  343. package/contracts/experiment/errors/Require.sol +0 -38
  344. package/contracts/experiment/errors/Revert.sol +0 -44
  345. package/contracts/experiment/inheritance/A.sol +0 -53
  346. package/contracts/experiment/inheritance/B.sol +0 -28
  347. package/contracts/experiment/inheritance/C.sol +0 -34
  348. package/contracts/experiment/inheritance/IA.sol +0 -13
  349. package/contracts/experiment/inheritance/IB.sol +0 -10
  350. package/contracts/experiment/inheritance/IC.sol +0 -12
  351. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  352. package/contracts/experiment/statemachine/ISM.sol +0 -25
  353. package/contracts/experiment/statemachine/SM.sol +0 -57
  354. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  355. package/contracts/experiment/types/TypeA.sol +0 -47
  356. package/contracts/experiment/types/TypeB.sol +0 -29
  357. package/contracts/instance/IInstanceBase.sol +0 -25
  358. package/contracts/instance/InstanceBase.sol +0 -39
  359. package/contracts/instance/base/IInstanceBase.sol +0 -21
@@ -41,33 +41,6 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
43
  },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "address",
48
- "name": "registry",
49
- "type": "address"
50
- },
51
- {
52
- "internalType": "NftId",
53
- "name": "nftId",
54
- "type": "uint96"
55
- }
56
- ],
57
- "name": "ErrorAlreadyLinked",
58
- "type": "error"
59
- },
60
- {
61
- "inputs": [
62
- {
63
- "internalType": "address",
64
- "name": "contractAddress",
65
- "type": "address"
66
- }
67
- ],
68
- "name": "ErrorContractNotRegistered",
69
- "type": "error"
70
- },
71
44
  {
72
45
  "inputs": [
73
46
  {
@@ -95,68 +68,63 @@
95
68
  "internalType": "NftId",
96
69
  "name": "nftId",
97
70
  "type": "uint96"
98
- },
99
- {
100
- "internalType": "ObjectType",
101
- "name": "objectType",
102
- "type": "uint8"
103
71
  }
104
72
  ],
105
- "name": "ErrorNoLifecycle",
73
+ "name": "ErrorNftOwnableAlreadyLinked",
106
74
  "type": "error"
107
75
  },
108
76
  {
109
77
  "inputs": [
110
78
  {
111
79
  "internalType": "address",
112
- "name": "account",
80
+ "name": "contractAddress",
113
81
  "type": "address"
114
82
  }
115
83
  ],
116
- "name": "ErrorNotOwner",
84
+ "name": "ErrorNftOwnableContractNotRegistered",
85
+ "type": "error"
86
+ },
87
+ {
88
+ "inputs": [],
89
+ "name": "ErrorNftOwnableInitialOwnerZero",
117
90
  "type": "error"
118
91
  },
119
92
  {
120
93
  "inputs": [
121
94
  {
122
95
  "internalType": "address",
123
- "name": "registryAddress",
96
+ "name": "account",
124
97
  "type": "address"
125
98
  }
126
99
  ],
127
- "name": "ErrorNotRegistry",
100
+ "name": "ErrorNftOwnableNotOwner",
128
101
  "type": "error"
129
102
  },
130
103
  {
131
104
  "inputs": [
132
105
  {
133
- "internalType": "address",
134
- "name": "registryAddress",
135
- "type": "address"
106
+ "internalType": "NftId",
107
+ "name": "nftId",
108
+ "type": "uint96"
109
+ },
110
+ {
111
+ "internalType": "ObjectType",
112
+ "name": "objectType",
113
+ "type": "uint8"
136
114
  }
137
115
  ],
138
- "name": "ErrorRegisterableNotRegistry",
139
- "type": "error"
140
- },
141
- {
142
- "inputs": [],
143
- "name": "ErrorRegistryAddressZero",
116
+ "name": "ErrorNoLifecycle",
144
117
  "type": "error"
145
118
  },
146
119
  {
147
120
  "inputs": [
148
121
  {
149
122
  "internalType": "address",
150
- "name": "registry",
123
+ "name": "registryAddress",
151
124
  "type": "address"
152
125
  }
153
126
  ],
154
- "name": "ErrorRegistryAlreadyInitialized",
155
- "type": "error"
156
- },
157
- {
158
- "inputs": [],
159
- "name": "ErrorRegistryNotInitialized",
127
+ "name": "ErrorNotRegistry",
160
128
  "type": "error"
161
129
  },
162
130
  {
@@ -363,6 +331,32 @@
363
331
  "stateMutability": "view",
364
332
  "type": "function"
365
333
  },
334
+ {
335
+ "inputs": [],
336
+ "name": "GIF_MAJOR_VERSION",
337
+ "outputs": [
338
+ {
339
+ "internalType": "uint256",
340
+ "name": "",
341
+ "type": "uint256"
342
+ }
343
+ ],
344
+ "stateMutability": "view",
345
+ "type": "function"
346
+ },
347
+ {
348
+ "inputs": [],
349
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
350
+ "outputs": [
351
+ {
352
+ "internalType": "bytes32",
353
+ "name": "",
354
+ "type": "bytes32"
355
+ }
356
+ ],
357
+ "stateMutability": "view",
358
+ "type": "function"
359
+ },
366
360
  {
367
361
  "inputs": [],
368
362
  "name": "PUBLIC_ROLE",
@@ -425,6 +419,106 @@
425
419
  "stateMutability": "view",
426
420
  "type": "function"
427
421
  },
422
+ {
423
+ "inputs": [
424
+ {
425
+ "internalType": "NftId",
426
+ "name": "applicationNftId",
427
+ "type": "uint96"
428
+ },
429
+ {
430
+ "components": [
431
+ {
432
+ "internalType": "NftId",
433
+ "name": "productNftId",
434
+ "type": "uint96"
435
+ },
436
+ {
437
+ "internalType": "NftId",
438
+ "name": "bundleNftId",
439
+ "type": "uint96"
440
+ },
441
+ {
442
+ "internalType": "ReferralId",
443
+ "name": "referralId",
444
+ "type": "bytes8"
445
+ },
446
+ {
447
+ "internalType": "RiskId",
448
+ "name": "riskId",
449
+ "type": "bytes8"
450
+ },
451
+ {
452
+ "internalType": "uint256",
453
+ "name": "sumInsuredAmount",
454
+ "type": "uint256"
455
+ },
456
+ {
457
+ "internalType": "uint256",
458
+ "name": "premiumAmount",
459
+ "type": "uint256"
460
+ },
461
+ {
462
+ "internalType": "uint256",
463
+ "name": "premiumPaidAmount",
464
+ "type": "uint256"
465
+ },
466
+ {
467
+ "internalType": "Seconds",
468
+ "name": "lifetime",
469
+ "type": "uint40"
470
+ },
471
+ {
472
+ "internalType": "bytes",
473
+ "name": "applicationData",
474
+ "type": "bytes"
475
+ },
476
+ {
477
+ "internalType": "bytes",
478
+ "name": "policyData",
479
+ "type": "bytes"
480
+ },
481
+ {
482
+ "internalType": "uint16",
483
+ "name": "claimsCount",
484
+ "type": "uint16"
485
+ },
486
+ {
487
+ "internalType": "uint16",
488
+ "name": "openClaimsCount",
489
+ "type": "uint16"
490
+ },
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "payoutAmount",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "Timestamp",
498
+ "name": "activatedAt",
499
+ "type": "uint40"
500
+ },
501
+ {
502
+ "internalType": "Timestamp",
503
+ "name": "expiredAt",
504
+ "type": "uint40"
505
+ },
506
+ {
507
+ "internalType": "Timestamp",
508
+ "name": "closedAt",
509
+ "type": "uint40"
510
+ }
511
+ ],
512
+ "internalType": "struct IPolicy.PolicyInfo",
513
+ "name": "policy",
514
+ "type": "tuple"
515
+ }
516
+ ],
517
+ "name": "createApplication",
518
+ "outputs": [],
519
+ "stateMutability": "nonpayable",
520
+ "type": "function"
521
+ },
428
522
  {
429
523
  "inputs": [
430
524
  {
@@ -477,9 +571,9 @@
477
571
  "type": "uint256"
478
572
  },
479
573
  {
480
- "internalType": "uint256",
574
+ "internalType": "Seconds",
481
575
  "name": "lifetime",
482
- "type": "uint256"
576
+ "type": "uint40"
483
577
  },
484
578
  {
485
579
  "internalType": "Timestamp",
@@ -510,9 +604,9 @@
510
604
  "type": "uint96"
511
605
  },
512
606
  {
513
- "internalType": "NumberId",
607
+ "internalType": "ClaimId",
514
608
  "name": "claimId",
515
- "type": "uint32"
609
+ "type": "uint16"
516
610
  },
517
611
  {
518
612
  "components": [
@@ -580,18 +674,35 @@
580
674
  }
581
675
  ],
582
676
  "internalType": "struct Fee",
583
- "name": "distributionFee",
677
+ "name": "minDistributionOwnerFee",
584
678
  "type": "tuple"
585
679
  },
586
680
  {
587
- "internalType": "bool",
588
- "name": "isIntercepting",
589
- "type": "bool"
681
+ "components": [
682
+ {
683
+ "internalType": "UFixed",
684
+ "name": "fractionalFee",
685
+ "type": "uint256"
686
+ },
687
+ {
688
+ "internalType": "uint256",
689
+ "name": "fixedFee",
690
+ "type": "uint256"
691
+ }
692
+ ],
693
+ "internalType": "struct Fee",
694
+ "name": "distributionFee",
695
+ "type": "tuple"
590
696
  },
591
697
  {
592
698
  "internalType": "address",
593
699
  "name": "wallet",
594
700
  "type": "address"
701
+ },
702
+ {
703
+ "internalType": "uint256",
704
+ "name": "sumDistributionOwnerFees",
705
+ "type": "uint256"
595
706
  }
596
707
  ],
597
708
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -608,25 +719,20 @@
608
719
  "inputs": [
609
720
  {
610
721
  "internalType": "NftId",
611
- "name": "policyNftId",
722
+ "name": "nftId",
612
723
  "type": "uint96"
613
724
  },
614
- {
615
- "internalType": "NumberId",
616
- "name": "payoutId",
617
- "type": "uint32"
618
- },
619
725
  {
620
726
  "components": [
621
727
  {
622
- "internalType": "NumberId",
623
- "name": "claimId",
624
- "type": "uint32"
728
+ "internalType": "DistributorType",
729
+ "name": "distributorType",
730
+ "type": "bytes8"
625
731
  },
626
732
  {
627
- "internalType": "uint256",
628
- "name": "amount",
629
- "type": "uint256"
733
+ "internalType": "bool",
734
+ "name": "active",
735
+ "type": "bool"
630
736
  },
631
737
  {
632
738
  "internalType": "bytes",
@@ -634,13 +740,18 @@
634
740
  "type": "bytes"
635
741
  },
636
742
  {
637
- "internalType": "Timestamp",
638
- "name": "paidAt",
639
- "type": "uint40"
743
+ "internalType": "uint256",
744
+ "name": "sumCommisions",
745
+ "type": "uint256"
746
+ },
747
+ {
748
+ "internalType": "uint256",
749
+ "name": "numPoliciesSold",
750
+ "type": "uint256"
640
751
  }
641
752
  ],
642
- "internalType": "struct IPolicy.PayoutInfo",
643
- "name": "payout",
753
+ "internalType": "struct IDistribution.DistributorInfo",
754
+ "name": "info",
644
755
  "type": "tuple"
645
756
  }
646
757
  ],
@@ -652,40 +763,60 @@
652
763
  {
653
764
  "inputs": [
654
765
  {
655
- "internalType": "NftId",
656
- "name": "policyNftId",
657
- "type": "uint96"
658
- },
659
- {
660
- "internalType": "NumberId",
661
- "name": "payoutId",
662
- "type": "uint32"
766
+ "internalType": "Key32",
767
+ "name": "distributorKey",
768
+ "type": "bytes32"
663
769
  },
664
770
  {
665
771
  "components": [
666
772
  {
667
- "internalType": "NumberId",
668
- "name": "claimId",
669
- "type": "uint32"
773
+ "internalType": "string",
774
+ "name": "name",
775
+ "type": "string"
670
776
  },
671
777
  {
672
- "internalType": "uint256",
673
- "name": "amount",
778
+ "internalType": "UFixed",
779
+ "name": "minDiscountPercentage",
674
780
  "type": "uint256"
675
781
  },
676
782
  {
677
- "internalType": "bytes",
678
- "name": "data",
679
- "type": "bytes"
783
+ "internalType": "UFixed",
784
+ "name": "maxDiscountPercentage",
785
+ "type": "uint256"
680
786
  },
681
787
  {
682
- "internalType": "Timestamp",
683
- "name": "paidAt",
684
- "type": "uint40"
788
+ "internalType": "UFixed",
789
+ "name": "commissionPercentage",
790
+ "type": "uint256"
791
+ },
792
+ {
793
+ "internalType": "uint32",
794
+ "name": "maxReferralCount",
795
+ "type": "uint32"
796
+ },
797
+ {
798
+ "internalType": "uint32",
799
+ "name": "maxReferralLifetime",
800
+ "type": "uint32"
801
+ },
802
+ {
803
+ "internalType": "bool",
804
+ "name": "allowSelfReferrals",
805
+ "type": "bool"
806
+ },
807
+ {
808
+ "internalType": "bool",
809
+ "name": "allowRenewals",
810
+ "type": "bool"
811
+ },
812
+ {
813
+ "internalType": "bytes",
814
+ "name": "data",
815
+ "type": "bytes"
685
816
  }
686
817
  ],
687
- "internalType": "struct IPolicy.PayoutInfo",
688
- "name": "payout",
818
+ "internalType": "struct IDistribution.DistributorTypeInfo",
819
+ "name": "info",
689
820
  "type": "tuple"
690
821
  }
691
822
  ],
@@ -709,9 +840,9 @@
709
840
  {
710
841
  "components": [
711
842
  {
712
- "internalType": "NumberId",
843
+ "internalType": "ClaimId",
713
844
  "name": "claimId",
714
- "type": "uint32"
845
+ "type": "uint16"
715
846
  },
716
847
  {
717
848
  "internalType": "uint256",
@@ -743,98 +874,43 @@
743
874
  "inputs": [
744
875
  {
745
876
  "internalType": "NftId",
746
- "name": "policyNftId",
877
+ "name": "poolNftId",
747
878
  "type": "uint96"
748
879
  },
749
880
  {
750
881
  "components": [
751
882
  {
752
- "internalType": "NftId",
753
- "name": "productNftId",
754
- "type": "uint96"
755
- },
756
- {
757
- "internalType": "NftId",
758
- "name": "bundleNftId",
759
- "type": "uint96"
760
- },
761
- {
762
- "internalType": "ReferralId",
763
- "name": "referralId",
764
- "type": "bytes8"
765
- },
766
- {
767
- "internalType": "RiskId",
768
- "name": "riskId",
769
- "type": "bytes8"
770
- },
771
- {
772
- "internalType": "uint256",
773
- "name": "sumInsuredAmount",
774
- "type": "uint256"
775
- },
776
- {
777
- "internalType": "uint256",
778
- "name": "premiumAmount",
779
- "type": "uint256"
883
+ "internalType": "string",
884
+ "name": "name",
885
+ "type": "string"
780
886
  },
781
887
  {
782
- "internalType": "uint256",
783
- "name": "premiumPaidAmount",
784
- "type": "uint256"
888
+ "internalType": "contract IERC20Metadata",
889
+ "name": "token",
890
+ "type": "address"
785
891
  },
786
892
  {
787
- "internalType": "uint256",
788
- "name": "lifetime",
789
- "type": "uint256"
893
+ "internalType": "contract TokenHandler",
894
+ "name": "tokenHandler",
895
+ "type": "address"
790
896
  },
791
897
  {
792
- "internalType": "bytes",
793
- "name": "applicationData",
794
- "type": "bytes"
898
+ "internalType": "address",
899
+ "name": "wallet",
900
+ "type": "address"
795
901
  },
796
902
  {
797
903
  "internalType": "bytes",
798
- "name": "policyData",
904
+ "name": "data",
799
905
  "type": "bytes"
800
- },
801
- {
802
- "internalType": "uint16",
803
- "name": "claimsCount",
804
- "type": "uint16"
805
- },
806
- {
807
- "internalType": "uint16",
808
- "name": "openClaimsCount",
809
- "type": "uint16"
810
- },
811
- {
812
- "internalType": "uint256",
813
- "name": "payoutAmount",
814
- "type": "uint256"
815
- },
816
- {
817
- "internalType": "Timestamp",
818
- "name": "activatedAt",
819
- "type": "uint40"
820
- },
821
- {
822
- "internalType": "Timestamp",
823
- "name": "expiredAt",
824
- "type": "uint40"
825
- },
826
- {
827
- "internalType": "Timestamp",
828
- "name": "closedAt",
829
- "type": "uint40"
830
906
  }
831
907
  ],
832
- "internalType": "struct IPolicy.PolicyInfo",
833
- "name": "policy",
908
+ "internalType": "struct IComponents.ComponentInfo",
909
+ "name": "info",
834
910
  "type": "tuple"
835
911
  }
836
912
  ],
837
- "name": "createPolicy",
913
+ "name": "createPoolSetup",
838
914
  "outputs": [],
839
915
  "stateMutability": "nonpayable",
840
916
  "type": "function"
@@ -843,15 +919,15 @@
843
919
  "inputs": [
844
920
  {
845
921
  "internalType": "NftId",
846
- "name": "poolNftId",
922
+ "name": "productNftId",
847
923
  "type": "uint96"
848
924
  },
849
925
  {
850
926
  "components": [
851
927
  {
852
- "internalType": "NftId",
853
- "name": "productNftId",
854
- "type": "uint96"
928
+ "internalType": "contract IERC20Metadata",
929
+ "name": "token",
930
+ "type": "address"
855
931
  },
856
932
  {
857
933
  "internalType": "contract TokenHandler",
@@ -859,26 +935,14 @@
859
935
  "type": "address"
860
936
  },
861
937
  {
862
- "internalType": "UFixed",
863
- "name": "collateralizationLevel",
864
- "type": "uint256"
938
+ "internalType": "NftId",
939
+ "name": "distributionNftId",
940
+ "type": "uint96"
865
941
  },
866
942
  {
867
- "components": [
868
- {
869
- "internalType": "UFixed",
870
- "name": "fractionalFee",
871
- "type": "uint256"
872
- },
873
- {
874
- "internalType": "uint256",
875
- "name": "fixedFee",
876
- "type": "uint256"
877
- }
878
- ],
879
- "internalType": "struct Fee",
880
- "name": "poolFee",
881
- "type": "tuple"
943
+ "internalType": "NftId",
944
+ "name": "poolNftId",
945
+ "type": "uint96"
882
946
  },
883
947
  {
884
948
  "components": [
@@ -894,7 +958,7 @@
894
958
  }
895
959
  ],
896
960
  "internalType": "struct Fee",
897
- "name": "stakingFee",
961
+ "name": "productFee",
898
962
  "type": "tuple"
899
963
  },
900
964
  {
@@ -911,7 +975,7 @@
911
975
  }
912
976
  ],
913
977
  "internalType": "struct Fee",
914
- "name": "performanceFee",
978
+ "name": "processingFee",
915
979
  "type": "tuple"
916
980
  },
917
981
  {
@@ -919,23 +983,18 @@
919
983
  "name": "isIntercepting",
920
984
  "type": "bool"
921
985
  },
922
- {
923
- "internalType": "bool",
924
- "name": "isConfirmingApplication",
925
- "type": "bool"
926
- },
927
986
  {
928
987
  "internalType": "address",
929
988
  "name": "wallet",
930
989
  "type": "address"
931
990
  }
932
991
  ],
933
- "internalType": "struct ISetup.PoolSetupInfo",
992
+ "internalType": "struct ISetup.ProductSetupInfo",
934
993
  "name": "setup",
935
994
  "type": "tuple"
936
995
  }
937
996
  ],
938
- "name": "createPoolSetup",
997
+ "name": "createProductSetup",
939
998
  "outputs": [],
940
999
  "stateMutability": "nonpayable",
941
1000
  "type": "function"
@@ -943,192 +1002,50 @@
943
1002
  {
944
1003
  "inputs": [
945
1004
  {
946
- "internalType": "NftId",
947
- "name": "productNftId",
948
- "type": "uint96"
1005
+ "internalType": "Key32",
1006
+ "name": "referralKey",
1007
+ "type": "bytes32"
949
1008
  },
950
1009
  {
951
1010
  "components": [
952
- {
953
- "internalType": "contract IERC20Metadata",
954
- "name": "token",
955
- "type": "address"
956
- },
957
- {
958
- "internalType": "contract TokenHandler",
959
- "name": "tokenHandler",
960
- "type": "address"
961
- },
962
- {
963
- "internalType": "NftId",
964
- "name": "distributionNftId",
965
- "type": "uint96"
966
- },
967
1011
  {
968
1012
  "internalType": "NftId",
969
- "name": "poolNftId",
1013
+ "name": "distributorNftId",
970
1014
  "type": "uint96"
971
1015
  },
972
1016
  {
973
- "components": [
974
- {
975
- "internalType": "UFixed",
976
- "name": "fractionalFee",
977
- "type": "uint256"
978
- },
979
- {
980
- "internalType": "uint256",
981
- "name": "fixedFee",
982
- "type": "uint256"
983
- }
984
- ],
985
- "internalType": "struct Fee",
986
- "name": "distributionFee",
987
- "type": "tuple"
1017
+ "internalType": "string",
1018
+ "name": "referralCode",
1019
+ "type": "string"
988
1020
  },
989
1021
  {
990
- "components": [
991
- {
992
- "internalType": "UFixed",
993
- "name": "fractionalFee",
994
- "type": "uint256"
995
- },
996
- {
997
- "internalType": "uint256",
998
- "name": "fixedFee",
999
- "type": "uint256"
1000
- }
1001
- ],
1002
- "internalType": "struct Fee",
1003
- "name": "productFee",
1004
- "type": "tuple"
1022
+ "internalType": "UFixed",
1023
+ "name": "discountPercentage",
1024
+ "type": "uint256"
1005
1025
  },
1006
1026
  {
1007
- "components": [
1008
- {
1009
- "internalType": "UFixed",
1010
- "name": "fractionalFee",
1011
- "type": "uint256"
1012
- },
1013
- {
1014
- "internalType": "uint256",
1015
- "name": "fixedFee",
1016
- "type": "uint256"
1017
- }
1018
- ],
1019
- "internalType": "struct Fee",
1020
- "name": "processingFee",
1021
- "type": "tuple"
1027
+ "internalType": "uint32",
1028
+ "name": "maxReferrals",
1029
+ "type": "uint32"
1022
1030
  },
1023
1031
  {
1024
- "components": [
1025
- {
1026
- "internalType": "UFixed",
1027
- "name": "fractionalFee",
1028
- "type": "uint256"
1029
- },
1030
- {
1031
- "internalType": "uint256",
1032
- "name": "fixedFee",
1033
- "type": "uint256"
1034
- }
1035
- ],
1036
- "internalType": "struct Fee",
1037
- "name": "poolFee",
1038
- "type": "tuple"
1032
+ "internalType": "uint32",
1033
+ "name": "usedReferrals",
1034
+ "type": "uint32"
1039
1035
  },
1040
1036
  {
1041
- "components": [
1042
- {
1043
- "internalType": "UFixed",
1044
- "name": "fractionalFee",
1045
- "type": "uint256"
1046
- },
1047
- {
1048
- "internalType": "uint256",
1049
- "name": "fixedFee",
1050
- "type": "uint256"
1051
- }
1052
- ],
1053
- "internalType": "struct Fee",
1054
- "name": "stakingFee",
1055
- "type": "tuple"
1056
- },
1057
- {
1058
- "components": [
1059
- {
1060
- "internalType": "UFixed",
1061
- "name": "fractionalFee",
1062
- "type": "uint256"
1063
- },
1064
- {
1065
- "internalType": "uint256",
1066
- "name": "fixedFee",
1067
- "type": "uint256"
1068
- }
1069
- ],
1070
- "internalType": "struct Fee",
1071
- "name": "performanceFee",
1072
- "type": "tuple"
1073
- },
1074
- {
1075
- "internalType": "bool",
1076
- "name": "isIntercepting",
1077
- "type": "bool"
1078
- },
1079
- {
1080
- "internalType": "address",
1081
- "name": "wallet",
1082
- "type": "address"
1083
- }
1084
- ],
1085
- "internalType": "struct ISetup.ProductSetupInfo",
1086
- "name": "setup",
1087
- "type": "tuple"
1088
- }
1089
- ],
1090
- "name": "createProductSetup",
1091
- "outputs": [],
1092
- "stateMutability": "nonpayable",
1093
- "type": "function"
1094
- },
1095
- {
1096
- "inputs": [
1097
- {
1098
- "internalType": "NftId",
1099
- "name": "policyNftId",
1100
- "type": "uint96"
1101
- },
1102
- {
1103
- "internalType": "NumberId",
1104
- "name": "payoutId",
1105
- "type": "uint32"
1106
- },
1107
- {
1108
- "components": [
1109
- {
1110
- "internalType": "NumberId",
1111
- "name": "claimId",
1112
- "type": "uint32"
1113
- },
1114
- {
1115
- "internalType": "uint256",
1116
- "name": "amount",
1117
- "type": "uint256"
1037
+ "internalType": "Timestamp",
1038
+ "name": "expiryAt",
1039
+ "type": "uint40"
1118
1040
  },
1119
1041
  {
1120
1042
  "internalType": "bytes",
1121
1043
  "name": "data",
1122
1044
  "type": "bytes"
1123
- },
1124
- {
1125
- "internalType": "Timestamp",
1126
- "name": "paidAt",
1127
- "type": "uint40"
1128
1045
  }
1129
1046
  ],
1130
- "internalType": "struct IPolicy.PayoutInfo",
1131
- "name": "payout",
1047
+ "internalType": "struct IDistribution.ReferralInfo",
1048
+ "name": "referralInfo",
1132
1049
  "type": "tuple"
1133
1050
  }
1134
1051
  ],
@@ -1345,13 +1262,8 @@
1345
1262
  }
1346
1263
  ],
1347
1264
  "internalType": "struct IRegistry.ObjectInfo",
1348
- "name": "",
1265
+ "name": "info",
1349
1266
  "type": "tuple"
1350
- },
1351
- {
1352
- "internalType": "bytes",
1353
- "name": "data",
1354
- "type": "bytes"
1355
1267
  }
1356
1268
  ],
1357
1269
  "stateMutability": "view",
@@ -1376,6 +1288,19 @@
1376
1288
  "stateMutability": "view",
1377
1289
  "type": "function"
1378
1290
  },
1291
+ {
1292
+ "inputs": [],
1293
+ "name": "getInstanceAccessManager",
1294
+ "outputs": [
1295
+ {
1296
+ "internalType": "contract InstanceAccessManager",
1297
+ "name": "",
1298
+ "type": "address"
1299
+ }
1300
+ ],
1301
+ "stateMutability": "view",
1302
+ "type": "function"
1303
+ },
1379
1304
  {
1380
1305
  "inputs": [],
1381
1306
  "name": "getInstanceReader",
@@ -1389,6 +1314,19 @@
1389
1314
  "stateMutability": "view",
1390
1315
  "type": "function"
1391
1316
  },
1317
+ {
1318
+ "inputs": [],
1319
+ "name": "getMajorVersion",
1320
+ "outputs": [
1321
+ {
1322
+ "internalType": "VersionPart",
1323
+ "name": "majorVersion",
1324
+ "type": "uint8"
1325
+ }
1326
+ ],
1327
+ "stateMutability": "pure",
1328
+ "type": "function"
1329
+ },
1392
1330
  {
1393
1331
  "inputs": [
1394
1332
  {
@@ -1513,6 +1451,19 @@
1513
1451
  "stateMutability": "view",
1514
1452
  "type": "function"
1515
1453
  },
1454
+ {
1455
+ "inputs": [],
1456
+ "name": "getRegistryAddress",
1457
+ "outputs": [
1458
+ {
1459
+ "internalType": "address",
1460
+ "name": "",
1461
+ "type": "address"
1462
+ }
1463
+ ],
1464
+ "stateMutability": "view",
1465
+ "type": "function"
1466
+ },
1516
1467
  {
1517
1468
  "inputs": [
1518
1469
  {
@@ -1555,9 +1506,59 @@
1555
1506
  "inputs": [
1556
1507
  {
1557
1508
  "internalType": "address",
1558
- "name": "accessManagerAddress",
1509
+ "name": "authority",
1559
1510
  "type": "address"
1560
1511
  },
1512
+ {
1513
+ "internalType": "address",
1514
+ "name": "registryAddress",
1515
+ "type": "address"
1516
+ },
1517
+ {
1518
+ "internalType": "address",
1519
+ "name": "initialOwner",
1520
+ "type": "address"
1521
+ }
1522
+ ],
1523
+ "name": "initialize",
1524
+ "outputs": [],
1525
+ "stateMutability": "nonpayable",
1526
+ "type": "function"
1527
+ },
1528
+ {
1529
+ "inputs": [],
1530
+ "name": "initializeERC165",
1531
+ "outputs": [],
1532
+ "stateMutability": "nonpayable",
1533
+ "type": "function"
1534
+ },
1535
+ {
1536
+ "inputs": [],
1537
+ "name": "initializeLifecycle",
1538
+ "outputs": [],
1539
+ "stateMutability": "nonpayable",
1540
+ "type": "function"
1541
+ },
1542
+ {
1543
+ "inputs": [
1544
+ {
1545
+ "internalType": "address",
1546
+ "name": "initialOwner",
1547
+ "type": "address"
1548
+ },
1549
+ {
1550
+ "internalType": "address",
1551
+ "name": "registryAddress",
1552
+ "type": "address"
1553
+ }
1554
+ ],
1555
+ "name": "initializeNftOwnable",
1556
+ "outputs": [],
1557
+ "stateMutability": "nonpayable",
1558
+ "type": "function"
1559
+ },
1560
+ {
1561
+ "inputs": [
1561
1562
  {
1562
1563
  "internalType": "address",
1563
1564
  "name": "registryAddress",
@@ -1565,16 +1566,44 @@
1565
1566
  },
1566
1567
  {
1567
1568
  "internalType": "NftId",
1568
- "name": "registryNftId",
1569
+ "name": "parentNftId",
1569
1570
  "type": "uint96"
1570
1571
  },
1572
+ {
1573
+ "internalType": "ObjectType",
1574
+ "name": "objectType",
1575
+ "type": "uint8"
1576
+ },
1577
+ {
1578
+ "internalType": "bool",
1579
+ "name": "isInterceptor",
1580
+ "type": "bool"
1581
+ },
1571
1582
  {
1572
1583
  "internalType": "address",
1573
1584
  "name": "initialOwner",
1574
1585
  "type": "address"
1586
+ },
1587
+ {
1588
+ "internalType": "bytes",
1589
+ "name": "registryData",
1590
+ "type": "bytes"
1575
1591
  }
1576
1592
  ],
1577
- "name": "initialize",
1593
+ "name": "initializeRegisterable",
1594
+ "outputs": [],
1595
+ "stateMutability": "nonpayable",
1596
+ "type": "function"
1597
+ },
1598
+ {
1599
+ "inputs": [
1600
+ {
1601
+ "internalType": "address",
1602
+ "name": "registryAddress",
1603
+ "type": "address"
1604
+ }
1605
+ ],
1606
+ "name": "initializeRegistryLinked",
1578
1607
  "outputs": [],
1579
1608
  "stateMutability": "nonpayable",
1580
1609
  "type": "function"
@@ -1628,6 +1657,60 @@
1628
1657
  "stateMutability": "nonpayable",
1629
1658
  "type": "function"
1630
1659
  },
1660
+ {
1661
+ "inputs": [
1662
+ {
1663
+ "internalType": "address",
1664
+ "name": "to",
1665
+ "type": "address"
1666
+ },
1667
+ {
1668
+ "internalType": "uint256",
1669
+ "name": "tokenId",
1670
+ "type": "uint256"
1671
+ }
1672
+ ],
1673
+ "name": "nftMint",
1674
+ "outputs": [],
1675
+ "stateMutability": "nonpayable",
1676
+ "type": "function"
1677
+ },
1678
+ {
1679
+ "inputs": [
1680
+ {
1681
+ "internalType": "address",
1682
+ "name": "from",
1683
+ "type": "address"
1684
+ },
1685
+ {
1686
+ "internalType": "address",
1687
+ "name": "to",
1688
+ "type": "address"
1689
+ },
1690
+ {
1691
+ "internalType": "uint256",
1692
+ "name": "tokenId",
1693
+ "type": "uint256"
1694
+ }
1695
+ ],
1696
+ "name": "nftTransferFrom",
1697
+ "outputs": [],
1698
+ "stateMutability": "nonpayable",
1699
+ "type": "function"
1700
+ },
1701
+ {
1702
+ "inputs": [
1703
+ {
1704
+ "internalType": "bytes4",
1705
+ "name": "interfaceId",
1706
+ "type": "bytes4"
1707
+ }
1708
+ ],
1709
+ "name": "registerInterface",
1710
+ "outputs": [],
1711
+ "stateMutability": "nonpayable",
1712
+ "type": "function"
1713
+ },
1631
1714
  {
1632
1715
  "inputs": [
1633
1716
  {
@@ -1657,95 +1740,288 @@
1657
1740
  {
1658
1741
  "inputs": [
1659
1742
  {
1660
- "internalType": "contract InstanceReader",
1661
- "name": "instanceReader",
1662
- "type": "address"
1743
+ "internalType": "contract InstanceAccessManager",
1744
+ "name": "accessManager",
1745
+ "type": "address"
1746
+ }
1747
+ ],
1748
+ "name": "setInstanceAccessManager",
1749
+ "outputs": [],
1750
+ "stateMutability": "nonpayable",
1751
+ "type": "function"
1752
+ },
1753
+ {
1754
+ "inputs": [
1755
+ {
1756
+ "internalType": "contract InstanceReader",
1757
+ "name": "instanceReader",
1758
+ "type": "address"
1759
+ }
1760
+ ],
1761
+ "name": "setInstanceReader",
1762
+ "outputs": [],
1763
+ "stateMutability": "nonpayable",
1764
+ "type": "function"
1765
+ },
1766
+ {
1767
+ "inputs": [
1768
+ {
1769
+ "internalType": "bytes4",
1770
+ "name": "interfaceId",
1771
+ "type": "bytes4"
1772
+ }
1773
+ ],
1774
+ "name": "supportsInterface",
1775
+ "outputs": [
1776
+ {
1777
+ "internalType": "bool",
1778
+ "name": "",
1779
+ "type": "bool"
1780
+ }
1781
+ ],
1782
+ "stateMutability": "view",
1783
+ "type": "function"
1784
+ },
1785
+ {
1786
+ "inputs": [
1787
+ {
1788
+ "internalType": "NftId",
1789
+ "name": "bundleNftId",
1790
+ "type": "uint96"
1791
+ }
1792
+ ],
1793
+ "name": "toBundleKey32",
1794
+ "outputs": [
1795
+ {
1796
+ "internalType": "Key32",
1797
+ "name": "",
1798
+ "type": "bytes32"
1799
+ }
1800
+ ],
1801
+ "stateMutability": "pure",
1802
+ "type": "function"
1803
+ },
1804
+ {
1805
+ "inputs": [
1806
+ {
1807
+ "internalType": "NftId",
1808
+ "name": "distNftId",
1809
+ "type": "uint96"
1810
+ }
1811
+ ],
1812
+ "name": "toDistributionKey32",
1813
+ "outputs": [
1814
+ {
1815
+ "internalType": "Key32",
1816
+ "name": "",
1817
+ "type": "bytes32"
1818
+ }
1819
+ ],
1820
+ "stateMutability": "pure",
1821
+ "type": "function"
1822
+ },
1823
+ {
1824
+ "inputs": [
1825
+ {
1826
+ "internalType": "NftId",
1827
+ "name": "distNftId",
1828
+ "type": "uint96"
1829
+ }
1830
+ ],
1831
+ "name": "toDistributorKey32",
1832
+ "outputs": [
1833
+ {
1834
+ "internalType": "Key32",
1835
+ "name": "",
1836
+ "type": "bytes32"
1837
+ }
1838
+ ],
1839
+ "stateMutability": "pure",
1840
+ "type": "function"
1841
+ },
1842
+ {
1843
+ "inputs": [
1844
+ {
1845
+ "internalType": "NftId",
1846
+ "name": "distNftId",
1847
+ "type": "uint96"
1848
+ }
1849
+ ],
1850
+ "name": "toDistributorTypeKey32",
1851
+ "outputs": [
1852
+ {
1853
+ "internalType": "Key32",
1854
+ "name": "",
1855
+ "type": "bytes32"
1856
+ }
1857
+ ],
1858
+ "stateMutability": "pure",
1859
+ "type": "function"
1860
+ },
1861
+ {
1862
+ "inputs": [
1863
+ {
1864
+ "internalType": "ObjectType",
1865
+ "name": "objectType",
1866
+ "type": "uint8"
1867
+ },
1868
+ {
1869
+ "internalType": "KeyId",
1870
+ "name": "id",
1871
+ "type": "bytes31"
1872
+ }
1873
+ ],
1874
+ "name": "toKey32",
1875
+ "outputs": [
1876
+ {
1877
+ "internalType": "Key32",
1878
+ "name": "",
1879
+ "type": "bytes32"
1880
+ }
1881
+ ],
1882
+ "stateMutability": "pure",
1883
+ "type": "function"
1884
+ },
1885
+ {
1886
+ "inputs": [
1887
+ {
1888
+ "internalType": "NftId",
1889
+ "name": "policyNftId",
1890
+ "type": "uint96"
1891
+ }
1892
+ ],
1893
+ "name": "toPolicyKey32",
1894
+ "outputs": [
1895
+ {
1896
+ "internalType": "Key32",
1897
+ "name": "",
1898
+ "type": "bytes32"
1899
+ }
1900
+ ],
1901
+ "stateMutability": "pure",
1902
+ "type": "function"
1903
+ },
1904
+ {
1905
+ "inputs": [
1906
+ {
1907
+ "internalType": "NftId",
1908
+ "name": "applicationNftId",
1909
+ "type": "uint96"
1910
+ },
1911
+ {
1912
+ "components": [
1913
+ {
1914
+ "internalType": "NftId",
1915
+ "name": "productNftId",
1916
+ "type": "uint96"
1917
+ },
1918
+ {
1919
+ "internalType": "NftId",
1920
+ "name": "bundleNftId",
1921
+ "type": "uint96"
1922
+ },
1923
+ {
1924
+ "internalType": "ReferralId",
1925
+ "name": "referralId",
1926
+ "type": "bytes8"
1927
+ },
1928
+ {
1929
+ "internalType": "RiskId",
1930
+ "name": "riskId",
1931
+ "type": "bytes8"
1932
+ },
1933
+ {
1934
+ "internalType": "uint256",
1935
+ "name": "sumInsuredAmount",
1936
+ "type": "uint256"
1937
+ },
1938
+ {
1939
+ "internalType": "uint256",
1940
+ "name": "premiumAmount",
1941
+ "type": "uint256"
1942
+ },
1943
+ {
1944
+ "internalType": "uint256",
1945
+ "name": "premiumPaidAmount",
1946
+ "type": "uint256"
1947
+ },
1948
+ {
1949
+ "internalType": "Seconds",
1950
+ "name": "lifetime",
1951
+ "type": "uint40"
1952
+ },
1953
+ {
1954
+ "internalType": "bytes",
1955
+ "name": "applicationData",
1956
+ "type": "bytes"
1957
+ },
1958
+ {
1959
+ "internalType": "bytes",
1960
+ "name": "policyData",
1961
+ "type": "bytes"
1962
+ },
1963
+ {
1964
+ "internalType": "uint16",
1965
+ "name": "claimsCount",
1966
+ "type": "uint16"
1967
+ },
1968
+ {
1969
+ "internalType": "uint16",
1970
+ "name": "openClaimsCount",
1971
+ "type": "uint16"
1972
+ },
1973
+ {
1974
+ "internalType": "uint256",
1975
+ "name": "payoutAmount",
1976
+ "type": "uint256"
1977
+ },
1978
+ {
1979
+ "internalType": "Timestamp",
1980
+ "name": "activatedAt",
1981
+ "type": "uint40"
1982
+ },
1983
+ {
1984
+ "internalType": "Timestamp",
1985
+ "name": "expiredAt",
1986
+ "type": "uint40"
1987
+ },
1988
+ {
1989
+ "internalType": "Timestamp",
1990
+ "name": "closedAt",
1991
+ "type": "uint40"
1992
+ }
1993
+ ],
1994
+ "internalType": "struct IPolicy.PolicyInfo",
1995
+ "name": "policy",
1996
+ "type": "tuple"
1997
+ },
1998
+ {
1999
+ "internalType": "StateId",
2000
+ "name": "newState",
2001
+ "type": "uint8"
1663
2002
  }
1664
2003
  ],
1665
- "name": "setInstanceReader",
2004
+ "name": "updateApplication",
1666
2005
  "outputs": [],
1667
2006
  "stateMutability": "nonpayable",
1668
2007
  "type": "function"
1669
2008
  },
1670
- {
1671
- "inputs": [
1672
- {
1673
- "internalType": "bytes4",
1674
- "name": "interfaceId",
1675
- "type": "bytes4"
1676
- }
1677
- ],
1678
- "name": "supportsInterface",
1679
- "outputs": [
1680
- {
1681
- "internalType": "bool",
1682
- "name": "",
1683
- "type": "bool"
1684
- }
1685
- ],
1686
- "stateMutability": "view",
1687
- "type": "function"
1688
- },
1689
2009
  {
1690
2010
  "inputs": [
1691
2011
  {
1692
2012
  "internalType": "NftId",
1693
- "name": "bundleNftId",
2013
+ "name": "applicationNftId",
1694
2014
  "type": "uint96"
1695
- }
1696
- ],
1697
- "name": "toBundleKey32",
1698
- "outputs": [
1699
- {
1700
- "internalType": "Key32",
1701
- "name": "",
1702
- "type": "bytes32"
1703
- }
1704
- ],
1705
- "stateMutability": "pure",
1706
- "type": "function"
1707
- },
1708
- {
1709
- "inputs": [
1710
- {
1711
- "internalType": "ObjectType",
1712
- "name": "objectType",
1713
- "type": "uint8"
1714
2015
  },
1715
2016
  {
1716
- "internalType": "KeyId",
1717
- "name": "id",
1718
- "type": "bytes31"
1719
- }
1720
- ],
1721
- "name": "toKey32",
1722
- "outputs": [
1723
- {
1724
- "internalType": "Key32",
1725
- "name": "",
1726
- "type": "bytes32"
1727
- }
1728
- ],
1729
- "stateMutability": "pure",
1730
- "type": "function"
1731
- },
1732
- {
1733
- "inputs": [
1734
- {
1735
- "internalType": "NftId",
1736
- "name": "policyNftId",
1737
- "type": "uint96"
1738
- }
1739
- ],
1740
- "name": "toPolicyKey32",
1741
- "outputs": [
1742
- {
1743
- "internalType": "Key32",
1744
- "name": "",
1745
- "type": "bytes32"
2017
+ "internalType": "StateId",
2018
+ "name": "newState",
2019
+ "type": "uint8"
1746
2020
  }
1747
2021
  ],
1748
- "stateMutability": "pure",
2022
+ "name": "updateApplicationState",
2023
+ "outputs": [],
2024
+ "stateMutability": "nonpayable",
1749
2025
  "type": "function"
1750
2026
  },
1751
2027
  {
@@ -1800,9 +2076,9 @@
1800
2076
  "type": "uint256"
1801
2077
  },
1802
2078
  {
1803
- "internalType": "uint256",
2079
+ "internalType": "Seconds",
1804
2080
  "name": "lifetime",
1805
- "type": "uint256"
2081
+ "type": "uint40"
1806
2082
  },
1807
2083
  {
1808
2084
  "internalType": "Timestamp",
@@ -1856,9 +2132,9 @@
1856
2132
  "type": "uint96"
1857
2133
  },
1858
2134
  {
1859
- "internalType": "NumberId",
2135
+ "internalType": "ClaimId",
1860
2136
  "name": "claimId",
1861
- "type": "uint32"
2137
+ "type": "uint16"
1862
2138
  },
1863
2139
  {
1864
2140
  "components": [
@@ -1906,54 +2182,9 @@
1906
2182
  "type": "uint96"
1907
2183
  },
1908
2184
  {
1909
- "internalType": "NumberId",
1910
- "name": "payoutId",
1911
- "type": "uint32"
1912
- },
1913
- {
1914
- "components": [
1915
- {
1916
- "internalType": "NumberId",
1917
- "name": "claimId",
1918
- "type": "uint32"
1919
- },
1920
- {
1921
- "internalType": "uint256",
1922
- "name": "amount",
1923
- "type": "uint256"
1924
- },
1925
- {
1926
- "internalType": "bytes",
1927
- "name": "data",
1928
- "type": "bytes"
1929
- },
1930
- {
1931
- "internalType": "Timestamp",
1932
- "name": "paidAt",
1933
- "type": "uint40"
1934
- }
1935
- ],
1936
- "internalType": "struct IPolicy.PayoutInfo",
1937
- "name": "payout",
1938
- "type": "tuple"
1939
- },
1940
- {
1941
- "internalType": "StateId",
1942
- "name": "newState",
1943
- "type": "uint8"
1944
- }
1945
- ],
1946
- "name": "updateClaim",
1947
- "outputs": [],
1948
- "stateMutability": "nonpayable",
1949
- "type": "function"
1950
- },
1951
- {
1952
- "inputs": [
1953
- {
1954
- "internalType": "NftId",
1955
- "name": "policyNftId",
1956
- "type": "uint96"
2185
+ "internalType": "ClaimId",
2186
+ "name": "claimId",
2187
+ "type": "uint16"
1957
2188
  },
1958
2189
  {
1959
2190
  "internalType": "StateId",
@@ -1999,18 +2230,35 @@
1999
2230
  }
2000
2231
  ],
2001
2232
  "internalType": "struct Fee",
2002
- "name": "distributionFee",
2233
+ "name": "minDistributionOwnerFee",
2003
2234
  "type": "tuple"
2004
2235
  },
2005
2236
  {
2006
- "internalType": "bool",
2007
- "name": "isIntercepting",
2008
- "type": "bool"
2237
+ "components": [
2238
+ {
2239
+ "internalType": "UFixed",
2240
+ "name": "fractionalFee",
2241
+ "type": "uint256"
2242
+ },
2243
+ {
2244
+ "internalType": "uint256",
2245
+ "name": "fixedFee",
2246
+ "type": "uint256"
2247
+ }
2248
+ ],
2249
+ "internalType": "struct Fee",
2250
+ "name": "distributionFee",
2251
+ "type": "tuple"
2009
2252
  },
2010
2253
  {
2011
2254
  "internalType": "address",
2012
2255
  "name": "wallet",
2013
2256
  "type": "address"
2257
+ },
2258
+ {
2259
+ "internalType": "uint256",
2260
+ "name": "sumDistributionOwnerFees",
2261
+ "type": "uint256"
2014
2262
  }
2015
2263
  ],
2016
2264
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -2050,25 +2298,20 @@
2050
2298
  "inputs": [
2051
2299
  {
2052
2300
  "internalType": "NftId",
2053
- "name": "policyNftId",
2301
+ "name": "nftId",
2054
2302
  "type": "uint96"
2055
2303
  },
2056
- {
2057
- "internalType": "NumberId",
2058
- "name": "payoutId",
2059
- "type": "uint32"
2060
- },
2061
2304
  {
2062
2305
  "components": [
2063
2306
  {
2064
- "internalType": "NumberId",
2065
- "name": "claimId",
2066
- "type": "uint32"
2307
+ "internalType": "DistributorType",
2308
+ "name": "distributorType",
2309
+ "type": "bytes8"
2067
2310
  },
2068
2311
  {
2069
- "internalType": "uint256",
2070
- "name": "amount",
2071
- "type": "uint256"
2312
+ "internalType": "bool",
2313
+ "name": "active",
2314
+ "type": "bool"
2072
2315
  },
2073
2316
  {
2074
2317
  "internalType": "bytes",
@@ -2076,13 +2319,106 @@
2076
2319
  "type": "bytes"
2077
2320
  },
2078
2321
  {
2079
- "internalType": "Timestamp",
2080
- "name": "paidAt",
2081
- "type": "uint40"
2322
+ "internalType": "uint256",
2323
+ "name": "sumCommisions",
2324
+ "type": "uint256"
2325
+ },
2326
+ {
2327
+ "internalType": "uint256",
2328
+ "name": "numPoliciesSold",
2329
+ "type": "uint256"
2330
+ }
2331
+ ],
2332
+ "internalType": "struct IDistribution.DistributorInfo",
2333
+ "name": "info",
2334
+ "type": "tuple"
2335
+ },
2336
+ {
2337
+ "internalType": "StateId",
2338
+ "name": "newState",
2339
+ "type": "uint8"
2340
+ }
2341
+ ],
2342
+ "name": "updateDistributor",
2343
+ "outputs": [],
2344
+ "stateMutability": "nonpayable",
2345
+ "type": "function"
2346
+ },
2347
+ {
2348
+ "inputs": [
2349
+ {
2350
+ "internalType": "NftId",
2351
+ "name": "nftId",
2352
+ "type": "uint96"
2353
+ },
2354
+ {
2355
+ "internalType": "StateId",
2356
+ "name": "newState",
2357
+ "type": "uint8"
2358
+ }
2359
+ ],
2360
+ "name": "updateDistributorState",
2361
+ "outputs": [],
2362
+ "stateMutability": "nonpayable",
2363
+ "type": "function"
2364
+ },
2365
+ {
2366
+ "inputs": [
2367
+ {
2368
+ "internalType": "Key32",
2369
+ "name": "distributorKey",
2370
+ "type": "bytes32"
2371
+ },
2372
+ {
2373
+ "components": [
2374
+ {
2375
+ "internalType": "string",
2376
+ "name": "name",
2377
+ "type": "string"
2378
+ },
2379
+ {
2380
+ "internalType": "UFixed",
2381
+ "name": "minDiscountPercentage",
2382
+ "type": "uint256"
2383
+ },
2384
+ {
2385
+ "internalType": "UFixed",
2386
+ "name": "maxDiscountPercentage",
2387
+ "type": "uint256"
2388
+ },
2389
+ {
2390
+ "internalType": "UFixed",
2391
+ "name": "commissionPercentage",
2392
+ "type": "uint256"
2393
+ },
2394
+ {
2395
+ "internalType": "uint32",
2396
+ "name": "maxReferralCount",
2397
+ "type": "uint32"
2398
+ },
2399
+ {
2400
+ "internalType": "uint32",
2401
+ "name": "maxReferralLifetime",
2402
+ "type": "uint32"
2403
+ },
2404
+ {
2405
+ "internalType": "bool",
2406
+ "name": "allowSelfReferrals",
2407
+ "type": "bool"
2408
+ },
2409
+ {
2410
+ "internalType": "bool",
2411
+ "name": "allowRenewals",
2412
+ "type": "bool"
2413
+ },
2414
+ {
2415
+ "internalType": "bytes",
2416
+ "name": "data",
2417
+ "type": "bytes"
2082
2418
  }
2083
2419
  ],
2084
- "internalType": "struct IPolicy.PayoutInfo",
2085
- "name": "payout",
2420
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2421
+ "name": "info",
2086
2422
  "type": "tuple"
2087
2423
  },
2088
2424
  {
@@ -2091,7 +2427,7 @@
2091
2427
  "type": "uint8"
2092
2428
  }
2093
2429
  ],
2094
- "name": "updateDistributor",
2430
+ "name": "updateDistributorType",
2095
2431
  "outputs": [],
2096
2432
  "stateMutability": "nonpayable",
2097
2433
  "type": "function"
@@ -2099,9 +2435,9 @@
2099
2435
  {
2100
2436
  "inputs": [
2101
2437
  {
2102
- "internalType": "NftId",
2103
- "name": "policyNftId",
2104
- "type": "uint96"
2438
+ "internalType": "Key32",
2439
+ "name": "distributorKey",
2440
+ "type": "bytes32"
2105
2441
  },
2106
2442
  {
2107
2443
  "internalType": "StateId",
@@ -2109,7 +2445,7 @@
2109
2445
  "type": "uint8"
2110
2446
  }
2111
2447
  ],
2112
- "name": "updateDistributorState",
2448
+ "name": "updateDistributorTypeState",
2113
2449
  "outputs": [],
2114
2450
  "stateMutability": "nonpayable",
2115
2451
  "type": "function"
@@ -2129,9 +2465,9 @@
2129
2465
  {
2130
2466
  "components": [
2131
2467
  {
2132
- "internalType": "NumberId",
2468
+ "internalType": "ClaimId",
2133
2469
  "name": "claimId",
2134
- "type": "uint32"
2470
+ "type": "uint16"
2135
2471
  },
2136
2472
  {
2137
2473
  "internalType": "uint256",
@@ -2159,25 +2495,7 @@
2159
2495
  "type": "uint8"
2160
2496
  }
2161
2497
  ],
2162
- "name": "updateDistributorType",
2163
- "outputs": [],
2164
- "stateMutability": "nonpayable",
2165
- "type": "function"
2166
- },
2167
- {
2168
- "inputs": [
2169
- {
2170
- "internalType": "NftId",
2171
- "name": "policyNftId",
2172
- "type": "uint96"
2173
- },
2174
- {
2175
- "internalType": "StateId",
2176
- "name": "newState",
2177
- "type": "uint8"
2178
- }
2179
- ],
2180
- "name": "updateDistributorTypeState",
2498
+ "name": "updatePayout",
2181
2499
  "outputs": [],
2182
2500
  "stateMutability": "nonpayable",
2183
2501
  "type": "function"
@@ -2245,9 +2563,9 @@
2245
2563
  "type": "uint256"
2246
2564
  },
2247
2565
  {
2248
- "internalType": "uint256",
2566
+ "internalType": "Seconds",
2249
2567
  "name": "lifetime",
2250
- "type": "uint256"
2568
+ "type": "uint40"
2251
2569
  },
2252
2570
  {
2253
2571
  "internalType": "bytes",
@@ -2333,89 +2651,33 @@
2333
2651
  {
2334
2652
  "components": [
2335
2653
  {
2336
- "internalType": "NftId",
2337
- "name": "productNftId",
2338
- "type": "uint96"
2654
+ "internalType": "string",
2655
+ "name": "name",
2656
+ "type": "string"
2339
2657
  },
2340
2658
  {
2341
- "internalType": "contract TokenHandler",
2342
- "name": "tokenHandler",
2659
+ "internalType": "contract IERC20Metadata",
2660
+ "name": "token",
2343
2661
  "type": "address"
2344
2662
  },
2345
2663
  {
2346
- "internalType": "UFixed",
2347
- "name": "collateralizationLevel",
2348
- "type": "uint256"
2349
- },
2350
- {
2351
- "components": [
2352
- {
2353
- "internalType": "UFixed",
2354
- "name": "fractionalFee",
2355
- "type": "uint256"
2356
- },
2357
- {
2358
- "internalType": "uint256",
2359
- "name": "fixedFee",
2360
- "type": "uint256"
2361
- }
2362
- ],
2363
- "internalType": "struct Fee",
2364
- "name": "poolFee",
2365
- "type": "tuple"
2366
- },
2367
- {
2368
- "components": [
2369
- {
2370
- "internalType": "UFixed",
2371
- "name": "fractionalFee",
2372
- "type": "uint256"
2373
- },
2374
- {
2375
- "internalType": "uint256",
2376
- "name": "fixedFee",
2377
- "type": "uint256"
2378
- }
2379
- ],
2380
- "internalType": "struct Fee",
2381
- "name": "stakingFee",
2382
- "type": "tuple"
2383
- },
2384
- {
2385
- "components": [
2386
- {
2387
- "internalType": "UFixed",
2388
- "name": "fractionalFee",
2389
- "type": "uint256"
2390
- },
2391
- {
2392
- "internalType": "uint256",
2393
- "name": "fixedFee",
2394
- "type": "uint256"
2395
- }
2396
- ],
2397
- "internalType": "struct Fee",
2398
- "name": "performanceFee",
2399
- "type": "tuple"
2400
- },
2401
- {
2402
- "internalType": "bool",
2403
- "name": "isIntercepting",
2404
- "type": "bool"
2405
- },
2406
- {
2407
- "internalType": "bool",
2408
- "name": "isConfirmingApplication",
2409
- "type": "bool"
2664
+ "internalType": "contract TokenHandler",
2665
+ "name": "tokenHandler",
2666
+ "type": "address"
2410
2667
  },
2411
2668
  {
2412
2669
  "internalType": "address",
2413
2670
  "name": "wallet",
2414
2671
  "type": "address"
2672
+ },
2673
+ {
2674
+ "internalType": "bytes",
2675
+ "name": "data",
2676
+ "type": "bytes"
2415
2677
  }
2416
2678
  ],
2417
- "internalType": "struct ISetup.PoolSetupInfo",
2418
- "name": "setup",
2679
+ "internalType": "struct IComponents.ComponentInfo",
2680
+ "name": "info",
2419
2681
  "type": "tuple"
2420
2682
  },
2421
2683
  {
@@ -2476,23 +2738,6 @@
2476
2738
  "name": "poolNftId",
2477
2739
  "type": "uint96"
2478
2740
  },
2479
- {
2480
- "components": [
2481
- {
2482
- "internalType": "UFixed",
2483
- "name": "fractionalFee",
2484
- "type": "uint256"
2485
- },
2486
- {
2487
- "internalType": "uint256",
2488
- "name": "fixedFee",
2489
- "type": "uint256"
2490
- }
2491
- ],
2492
- "internalType": "struct Fee",
2493
- "name": "distributionFee",
2494
- "type": "tuple"
2495
- },
2496
2741
  {
2497
2742
  "components": [
2498
2743
  {
@@ -2527,57 +2772,6 @@
2527
2772
  "name": "processingFee",
2528
2773
  "type": "tuple"
2529
2774
  },
2530
- {
2531
- "components": [
2532
- {
2533
- "internalType": "UFixed",
2534
- "name": "fractionalFee",
2535
- "type": "uint256"
2536
- },
2537
- {
2538
- "internalType": "uint256",
2539
- "name": "fixedFee",
2540
- "type": "uint256"
2541
- }
2542
- ],
2543
- "internalType": "struct Fee",
2544
- "name": "poolFee",
2545
- "type": "tuple"
2546
- },
2547
- {
2548
- "components": [
2549
- {
2550
- "internalType": "UFixed",
2551
- "name": "fractionalFee",
2552
- "type": "uint256"
2553
- },
2554
- {
2555
- "internalType": "uint256",
2556
- "name": "fixedFee",
2557
- "type": "uint256"
2558
- }
2559
- ],
2560
- "internalType": "struct Fee",
2561
- "name": "stakingFee",
2562
- "type": "tuple"
2563
- },
2564
- {
2565
- "components": [
2566
- {
2567
- "internalType": "UFixed",
2568
- "name": "fractionalFee",
2569
- "type": "uint256"
2570
- },
2571
- {
2572
- "internalType": "uint256",
2573
- "name": "fixedFee",
2574
- "type": "uint256"
2575
- }
2576
- ],
2577
- "internalType": "struct Fee",
2578
- "name": "performanceFee",
2579
- "type": "tuple"
2580
- },
2581
2775
  {
2582
2776
  "internalType": "bool",
2583
2777
  "name": "isIntercepting",
@@ -2625,40 +2819,50 @@
2625
2819
  {
2626
2820
  "inputs": [
2627
2821
  {
2628
- "internalType": "NftId",
2629
- "name": "policyNftId",
2630
- "type": "uint96"
2631
- },
2632
- {
2633
- "internalType": "NumberId",
2634
- "name": "payoutId",
2635
- "type": "uint32"
2822
+ "internalType": "Key32",
2823
+ "name": "referralKey",
2824
+ "type": "bytes32"
2636
2825
  },
2637
2826
  {
2638
2827
  "components": [
2639
2828
  {
2640
- "internalType": "NumberId",
2641
- "name": "claimId",
2642
- "type": "uint32"
2829
+ "internalType": "NftId",
2830
+ "name": "distributorNftId",
2831
+ "type": "uint96"
2643
2832
  },
2644
2833
  {
2645
- "internalType": "uint256",
2646
- "name": "amount",
2834
+ "internalType": "string",
2835
+ "name": "referralCode",
2836
+ "type": "string"
2837
+ },
2838
+ {
2839
+ "internalType": "UFixed",
2840
+ "name": "discountPercentage",
2647
2841
  "type": "uint256"
2648
2842
  },
2649
2843
  {
2650
- "internalType": "bytes",
2651
- "name": "data",
2652
- "type": "bytes"
2844
+ "internalType": "uint32",
2845
+ "name": "maxReferrals",
2846
+ "type": "uint32"
2847
+ },
2848
+ {
2849
+ "internalType": "uint32",
2850
+ "name": "usedReferrals",
2851
+ "type": "uint32"
2653
2852
  },
2654
2853
  {
2655
2854
  "internalType": "Timestamp",
2656
- "name": "paidAt",
2855
+ "name": "expiryAt",
2657
2856
  "type": "uint40"
2857
+ },
2858
+ {
2859
+ "internalType": "bytes",
2860
+ "name": "data",
2861
+ "type": "bytes"
2658
2862
  }
2659
2863
  ],
2660
- "internalType": "struct IPolicy.PayoutInfo",
2661
- "name": "payout",
2864
+ "internalType": "struct IDistribution.ReferralInfo",
2865
+ "name": "referralInfo",
2662
2866
  "type": "tuple"
2663
2867
  },
2664
2868
  {
@@ -2675,9 +2879,9 @@
2675
2879
  {
2676
2880
  "inputs": [
2677
2881
  {
2678
- "internalType": "NftId",
2679
- "name": "policyNftId",
2680
- "type": "uint96"
2882
+ "internalType": "Key32",
2883
+ "name": "referralKey",
2884
+ "type": "bytes32"
2681
2885
  },
2682
2886
  {
2683
2887
  "internalType": "StateId",
@@ -2744,50 +2948,50 @@
2744
2948
  "type": "function"
2745
2949
  }
2746
2950
  ],
2747
- "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000094565b6200002662000248565b6200003062000381565b6200003a620005e9565b6200007c6301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b600580546001600160a01b031916331790556200075f565b60dc600090815260208190527f5bd290414b404036f9d63146803dd83b59a8e1905062a5bfed8b0154d20a390d805460ff191660641790556001908190620000da60dc90565b60ff1660ff1681526020019081526020016000206000620001006200072d60201b60201c565b60ff1660ff1681526020019081526020016000206000620001266200073760201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200015960dc90565b60ff1660ff16815260200190815260200160002060006200017f6200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620001a56200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620001d860dc90565b60ff1660ff1681526020019081526020016000206000620001fe6200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620002246200073c60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f9db7038e59677010ca8f72fa448bad1b4f3c53346b666689163ccac31db467728054606460ff1991821681179092557f1a3062e9a24818c8281fcfb58ec4f3083a2f9a1314ac63f80d8d646661fdc5098054909116600190811790915560009182526020819052907f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c1290620002dc606e90565b60ff1660ff1681526020019081526020016000206000620003026200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190819062000335606490565b60ff1660ff16815260200190815260200160002060006200035b6200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620002246200074160201b60201c565b60d2600090815260208190527fc0d27dadfcf8ee0186a0f6fe9b5805a51e99869050491e4a3040efec012a214f805460ff1916600a1790556001908190620003c760d290565b60ff1660ff1681526020019081526020016000206000620003ed6200074660201b60201c565b60ff1660ff1681526020019081526020016000206000620004136200074b60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200044660d290565b60ff1660ff16815260200190815260200160002060006200046c6200074660201b60201c565b60ff1660ff1681526020019081526020016000206000620004926200075060201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620004c560d290565b60ff1660ff1681526020019081526020016000206000620004eb6200074660201b60201c565b60ff1660ff1681526020019081526020016000206000620005116200075560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200054460d290565b60ff1660ff16815260200190815260200160002060006200056a6200075560201b60201c565b60ff1660ff1681526020019081526020016000206000620005906200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620005c360d290565b60ff1660ff1681526020019081526020016000206000620001fe6200072d60201b60201c565b60c8600090815260208190527fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf71403805460ff1916606417905560019081906200062f60c890565b60ff1660ff1681526020019081526020016000206000620006556200072d60201b60201c565b60ff1660ff16815260200190815260200160002060006200067b6200073760201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620006ae60c890565b60ff1660ff1681526020019081526020016000206000620006d46200073760201b60201c565b60ff1660ff1681526020019081526020016000206000620006fa6200072d60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200033560c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b6000602862000732565b6147b3806200076f6000396000f3fe608060405234801561001057600080fd5b50600436106104075760003560e01c80637cef484211610220578063bc8d400011610130578063e1033e7d116100b8578063f48016ce11610087578063f48016ce14610970578063f7bc431c14610983578063f8b648ac14610587578063fe1f18d614610996578063fed3d63f146109a957600080fd5b8063e1033e7d14610917578063e7cd37d41461091f578063e8951ee614610511578063e9e96c701461093257600080fd5b8063c2f1a2d2116100ff578063c2f1a2d21461052c578063ca600b1c146108e9578063d2f21a29146108f1578063d5b221bd1461052c578063dee326231461090457600080fd5b8063bc8d4000146108a8578063bd5947e3146108bb578063bf1db3f9146108ce578063bf7e214f146108e157600080fd5b80639a960d52116101b3578063a5961b4c11610182578063a5961b4c146107be578063a76ee0181461086f578063a898967514610882578063a9cea14214610895578063b68ec1461461058757600080fd5b80639a960d52146107855780639d7421f4146107985780639df0280b14610511578063a13df2ab146107ab57600080fd5b80638eaa6ac0116101ef5780638eaa6ac01461071e5780638fb360371461073e57806391ff6eaa1461075f578063976b0a771461077257600080fd5b80637cef48421461070357806382f65adb14610587578063893d20e8146107165780638dc77f421461051157600080fd5b806340529b0f1161031b5780636071a68e116102ae5780636b9bf08b1161027d5780636b9bf08b146106cd57806375b238fc146106d557806375c82776146106dd5780637a4158021461052c5780637a9e5e4b146106f057600080fd5b80636071a68e1461066b57806360aa32aa1461067e57806361f5f42014610691578063644c45e0146106a257600080fd5b806354f6127f116102ea57806354f6127f146106315780635ab1bd53146106515780635d4345cc146105115780635dfa73db1461066257600080fd5b806340529b0f14610511578063422c9d00146106035780634288121d14610616578063468a18671461061e57600080fd5b8063138461e01161039e57806333bb0a971161036d57806333bb0a971461058757806337f135d71461059a57806338a699a4146105b75780633ca7c02a146105ca5780633fc5ab98146105f057600080fd5b8063138461e0146105245780631c45fe7a1461052c5780631eff4b221461053f5780632f61088a1461057457600080fd5b80630d358181116103da5780630d358181146104c25780630f526f7d146104e85780630fec111c146104fb57806310203d2c1461051157600080fd5b806301ffc9a71461040c57806302cd30711461044e57806309648a9d146104735780630b24cf5f146104ad575b600080fd5b61043961041a366004612fbf565b6001600160e01b03191660009081526003602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6007546001600160a01b03165b6040516001600160a01b039091168152602001610445565b61049b610481366004612fe9565b600090815260026020526040902054610100900460ff1690565b60405160ff9091168152602001610445565b6104c06104bb3660046131f3565b6109b1565b005b61049b6104d0366004613238565b60ff9081166000908152602081905260409020541690565b6104c06104f6366004613255565b6109f5565b610503610a12565b6040516104459291906132de565b6104c061051f366004613255565b610b94565b6104c0610ba9565b6104c061053a3660046134ad565b610dd3565b6105667f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610445565b6104c061058236600461359c565b610e14565b6104c06105953660046135eb565b610eaf565b6105a2600081565b60405163ffffffff9091168152602001610445565b6104396105c5366004612fe9565b610eda565b6105d86001600160401b0381565b6040516001600160401b039091168152602001610445565b6104c06105fe366004613703565b610f6b565b6104c0610611366004613766565b610f91565b61045b6110f0565b61056661062c366004613783565b611176565b61064461063f366004612fe9565b61120f565b60405161044591906137a0565b6004546001600160a01b031661045b565b6105d861271081565b6104c06106793660046137b3565b6112b4565b6104c061068c3660046138ae565b6112da565b6008546001600160a01b031661045b565b600454600160a01b90046001600160601b03166040516001600160601b039091168152602001610445565b61045b611302565b6105d8600081565b6104c06106eb366004613932565b61131d565b6104c06106fe366004613766565b611343565b6104c061071136600461398a565b6113c6565b61045b611450565b61073161072c366004612fe9565b611531565b60405161044591906139f2565b610746611672565b6040516001600160e01b03199091168152602001610445565b6104c061076d366004613b1e565b6116ab565b6104c0610780366004613b4c565b6116d3565b6104c0610793366004613cea565b6118b8565b6104c06107a6366004613d31565b6118de565b6105666107b9366004613783565b611904565b6108626107cc366004612fe9565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104459190613d88565b6104c061087d366004613d96565b611931565b6104c0610890366004613ddd565b6119cc565b6104c06108a3366004613e1d565b611abd565b6104c06108b6366004613e5e565b611ae5565b6104c06108c9366004613ea3565b611b0b565b6104396108dc366004613238565b611b33565b61045b611b80565b61045b611b9c565b6104c06108ff366004613255565b611bb7565b6104c0610912366004613255565b611bce565b61045b611be5565b6104c061092d366004613ee3565b611c00565b610439610940366004613ddd565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61056661097e366004613f21565b611c28565b6104c0610991366004613766565b611cb3565b6104c06109a4366004613255565b611d7b565b61045b611d90565b6109be335b600036611dab565b6109f16109cc836078611eb1565b826040516020016109dd9190613f4f565b604051602081830303815290604052611efd565b5050565b6109fe336109b6565b6109f1610a0c83608c611eb1565b82611f07565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610a956004546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610add611450565b6001600160a01b03168152602001826001018054610afa90613faf565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2690613faf565b8015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610b9d336109b6565b6109f1610a0c83611176565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c329190613fe9565b15610c7b57600480546040516316322c0f60e31b81526001600160a01b03821692810192909252600160a01b90046001600160601b031660248201526044015b60405180910390fd5b6004546001600160a01b0316610ca45760405163cf29926160e01b815260040160405180910390fd5b6004805460405163c3c5a54760e01b8152309281018390526001600160a01b039091169063c3c5a54790602401602060405180830381865afa158015610cee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d129190613fe9565b610d3a576040516372657a5160e01b81526001600160a01b0382166004820152602401610c72565b60048054604051636939560f60e11b81526001600160a01b038481169382019390935291169063d272ac1e90602401602060405180830381865afa158015610d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610daa9190614006565b600460146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610ddc336109b6565b610e0e610de885611176565b83604051602001610df99190614023565b60405160208183030381529060405283611f11565b50505050565b610e1d336109b6565b6040516355ee627560e01b81526001600160c01b0319831660048201526109f19073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610e7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9e9190614076565b826040516020016109dd919061408f565b610eb8336109b6565b610ed5610ec484611176565b826040516020016109dd9190614023565b505050565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015610f41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f659190613fe9565b92915050565b610f74336109b6565b610ed5610f8084611904565b83604051602001610df991906140bd565b610f9a336109b6565b6008546001600160a01b031615610fea5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610c72565b611073816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104f9190614006565b600454600160a01b90046001600160601b03166001600160601b0390811691161490565b6110ce5760405162461bcd60e51b815260206004820152602660248201527f4e4654204944206f662042756e646c654d616e6167657220646f6573206e6f74604482015265040dac2e8c6d60d31b6064820152608401610c72565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6004546000906001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff9091166004820152600360248201526044015b602060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190614171565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156111eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f659190614076565b600081815260026020526040902060010180546060919061122f90613faf565b80601f016020809104026020016040519081016040528092919081815260200182805461125b90613faf565b80156112a85780601f1061127d576101008083540402835291602001916112a8565b820191906000526020600020905b81548152906001019060200180831161128b57829003601f168201915b50505050509050919050565b6112bd336109b6565b6109f16112c983611904565b826040516020016109dd91906140bd565b6112e3336109b6565b610ed56112f184608c611eb1565b83604051602001610df9919061418e565b6004546000906001600160a01b031663d39e6043608c611107565b611326336109b6565b610e0e61133285611176565b83604051602001610df9919061424e565b3361134c611b80565b6001600160a01b0316816001600160a01b0316146113875760405162d1953b60e31b81526001600160a01b0382166004820152602401610c72565b816001600160a01b03163b6000036113bd576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c72565b6109f182611f1c565b6113cf336109b6565b6040516355ee627560e01b81526001600160c01b0319831660048201526109f19073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561142c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0c9190614076565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156114b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dc9190613fe9565b156115215760048054604051631c5da14d60e11b8152600160a01b82046001600160601b0316928101929092526001600160a01b0316906338bb429a90602401611130565b506005546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916115e990613faf565b80601f016020809104026020016040519081016040528092919081815260200182805461161590613faf565b80156116625780601f1061163757610100808354040283529160200191611662565b820191906000526020600020905b81548152906001019060200180831161164557829003601f168201915b5050505050815250509050919050565b60008051602061475e833981519152805460009190600160a01b900460ff1661169c5760006116a5565b638fb3603760e01b5b91505090565b6116b4336109b6565b6109f16116c283606e611eb1565b826040516020016109dd919061427e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117185750825b90506000826001600160401b031660011480156117345750303b155b905081158015611742575080155b156117605760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561178a57845460ff60401b1916600160401b1785555b600554600160a01b900460ff16156117fb5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610c72565b61180489611f7d565b600680546001600160a01b0319166001600160a01b038b16179055611844888861182c604690565b60008a60405180602001604052806000815250611f91565b611854635df034a560e11b612066565b6005805460ff60a01b1916600160a01b17905583156118ad57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b6118c1336109b6565b610ed56118cd84611176565b83604051602001610df991906143a8565b6118e7336109b6565b610ed56118f384611176565b826040516020016109dd919061424e565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61119f565b61193a336109b6565b6040516355ee627560e01b81526001600160c01b031984166004820152610ed59073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bb9190614076565b83604051602001610df9919061408f565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a559190613fe9565b15611a5f57505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610ed557604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610c72565b611ac6336109b6565b610ed5611ad484606e611eb1565b83604051602001610df9919061427e565b611aee336109b6565b6109f1611afa83611176565b826040516020016109dd91906143a8565b611b14336109b6565b610ed5611b22846078611eb1565b83604051602001610df99190613f4f565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610f24565b60008051602061475e833981519152546001600160a01b031690565b6004546000906001600160a01b031663d39e60436078611107565b611bc0336109b6565b6109f1610a0c836078611eb1565b611bd7336109b6565b6109f1610a0c83606e611eb1565b6004546000906001600160a01b031663d39e604360d2611107565b611c09336109b6565b6109f1611c1783608c611eb1565b826040516020016109dd919061418e565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cac9190614076565b9392505050565b611cbc336109b6565b611cfd816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102b573d6000803e3d6000fd5b611d595760405162461bcd60e51b815260206004820152602760248201527f4e4654204944206f6620496e7374616e636552656164657220646f6573206e6f6044820152660e840dac2e8c6d60cb1b6064820152608401610c72565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b611d84336109b6565b6109f1610a0c83611904565b6004546000906001600160a01b031663d39e604360dc611107565b60008051602061475e833981519152600080611de6611dc8611b80565b8730611dd8600460008a8c6144e9565b611de191614513565b61208b565b9150915081611ea95763ffffffff811615611e8657825460ff60a01b1916600160a01b178355611e14611b80565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e4393929190614543565b600060405180830381600087803b158015611e5d57600080fd5b505af1158015611e71573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ea99050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c72565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611c6b565b6109f18282612197565b6109f182826125b9565b610ed58383836128ed565b60008051602061475e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f85612d88565b611f8e81612dd3565b50565b611fd26301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b611fdc8287612de4565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161204c83826145c9565b5061205d6303fb044760e21b612066565b50505050505050565b6001600160e01b0319166000908152600360205260409020805460ff19166001179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120fa9190614688565b600060405180830381855afa9150503d8060008114612135576040519150601f19603f3d011682016040523d82523d6000602084013e61213a565b606091505b5091509150811561218c57604081511061216c578080602001905181019061216291906146a4565b909450925061218c565b602081511061218c57808060200190518101906121899190613fe9565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156121ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220e91906146d3565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612263573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122879190613fe9565b6122d35760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610c72565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801561233c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123609190613fe9565b6123ac5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610c72565b334360006123b985611b33565b6123c45760646123da565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260026020526040902090915060010161246487826145c9565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156124d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124fb91906146d3565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561254b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256f91906146f0565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561260b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262f9190613fe9565b61267b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610c72565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156126e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270b9190613fe9565b6127575760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610c72565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661279b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561282d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285191906146d3565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156128a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c591906146f0565b87868632876040516128dd979695949392919061470d565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561293f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129639190613fe9565b6129af5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610c72565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3f9190613fe9565b612a8b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610c72565b6000858152600260205260409020600101612aa685826145c9565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612aeb4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ba191906146d3565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612bf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1591906146f0565b8786863287604051612c2d979695949392919061470d565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ccb91906146d3565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3f91906146f0565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016125a8565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612dd157604051631afcd79f60e31b815260040160405180910390fd5b565b612ddb612d88565b611f8e81611f1c565b6001600160a01b038216612e3a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610c72565b600580546001600160a01b0319166001600160a01b0384161790556109f1816004546001600160a01b031615612e95576004805460405163fcdbf2d960e01b81526001600160a01b0390911691810191909152602401610c72565b6001600160a01b038116612ebc5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612ef25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c72565b600480546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b81526316c8f9ff60e01b92810192909252906301ffc9a790602401602060405180830381865afa925050508015612f6e575060408051601f3d908101601f19168201909252612f6b91810190613fe9565b60015b612f965760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c72565b806109f15760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c72565b600060208284031215612fd157600080fd5b81356001600160e01b031981168114611cac57600080fd5b600060208284031215612ffb57600080fd5b5035919050565b6001600160601b0381168114611f8e57600080fd5b803561302281613002565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561305f5761305f613027565b60405290565b604051608081016001600160401b038111828210171561305f5761305f613027565b60405161012081016001600160401b038111828210171561305f5761305f613027565b60405161018081016001600160401b038111828210171561305f5761305f613027565b60405161020081016001600160401b038111828210171561305f5761305f613027565b6001600160a01b0381168114611f8e57600080fd5b8035613022816130f0565b60006040828403121561312257600080fd5b61312a61303d565b9050813581526020820135602082015292915050565b8015158114611f8e57600080fd5b803561302281613140565b600060c0828403121561316b57600080fd5b60405160a081018181106001600160401b038211171561318d5761318d613027565b604052905080823561319e81613002565b815260208301356131ae816130f0565b60208201526131c08460408501613110565b604082015260808301356131d381613140565b606082015260a08301356131e6816130f0565b6080919091015292915050565b60008060e0838503121561320657600080fd5b823561321181613002565b91506132208460208501613159565b90509250929050565b60ff81168114611f8e57600080fd5b60006020828403121561324a57600080fd5b8135611cac81613229565b6000806040838503121561326857600080fd5b823561327381613002565b9150602083013561328381613229565b809150509250929050565b60005b838110156132a9578181015183820152602001613291565b50506000910152565b600081518084526132ca81602086016020860161328e565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161332260a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526133686101208401826132b2565b9050828103602084015261337c81856132b2565b95945050505050565b63ffffffff81168114611f8e57600080fd5b600082601f8301126133a857600080fd5b81356001600160401b03808211156133c2576133c2613027565b604051601f8301601f19908116603f011681019082821181831017156133ea576133ea613027565b8160405283815286602085880101111561340357600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff8116811461302257600080fd5b60006080828403121561344a57600080fd5b613452613065565b9050813561345f81613385565b81526020828101359082015260408201356001600160401b0381111561348457600080fd5b61349084828501613397565b6040830152506134a260608301613423565b606082015292915050565b600080600080608085870312156134c357600080fd5b84356134ce81613002565b935060208501356134de81613385565b925060408501356001600160401b038111156134f957600080fd5b61350587828801613438565b925050606085013561351681613229565b939692955090935050565b6001600160c01b031981168114611f8e57600080fd5b803561302281613521565b60006040828403121561355457600080fd5b61355c61303d565b9050813561356981613002565b815260208201356001600160401b0381111561358457600080fd5b61359084828501613397565b60208301525092915050565b600080604083850312156135af57600080fd5b82356135ba81613521565b915060208301356001600160401b038111156135d557600080fd5b6135e185828601613542565b9150509250929050565b60008060006060848603121561360057600080fd5b833561360b81613002565b9250602084013561361b81613385565b915060408401356001600160401b0381111561363657600080fd5b61364286828701613438565b9150509250925092565b6000610140828403121561365f57600080fd5b613667613087565b905061367282613017565b81526136818360208401613110565b602082015260608201356001600160401b0381111561369f57600080fd5b6136ab84828501613397565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c08201526101006136e7818401613423565b60e08301526136f96101208401613423565b9082015292915050565b60008060006060848603121561371857600080fd5b833561372381613002565b925060208401356001600160401b0381111561373e57600080fd5b61374a8682870161364c565b925050604084013561375b81613229565b809150509250925092565b60006020828403121561377857600080fd5b8135611cac816130f0565b60006020828403121561379557600080fd5b8135611cac81613002565b602081526000611cac60208301846132b2565b600080604083850312156137c657600080fd5b82356137d181613002565b915060208301356001600160401b038111156137ec57600080fd5b6135e18582860161364c565b6000610180828403121561380b57600080fd5b613813613087565b905061381e82613017565b815261382c60208301613105565b6020820152604082013560408201526138488360608401613110565b606082015261385a8360a08401613110565b608082015261386c8360e08401613110565b60a082015261387e610120830161314e565b60c0820152613890610140830161314e565b60e08201526138a26101608301613105565b61010082015292915050565b60008060006101c084860312156138c457600080fd5b83356138cf81613002565b92506138de85602086016137f8565b91506101a084013561375b81613229565b60006080828403121561390157600080fd5b613909613065565b9050813581526020820135602082015260408201356001600160401b0381111561348457600080fd5b6000806000806080858703121561394857600080fd5b843561395381613002565b9350602085013561396381613385565b925060408501356001600160401b0381111561397e57600080fd5b613505878288016138ef565b6000806040838503121561399d57600080fd5b823561327381613521565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152613a046020820183516139a8565b6000602083015160c080840152613a1e60e08401826132b2565b949350505050565b60006102408284031215613a3957600080fd5b613a416130aa565b9050613a4c82613105565b8152613a5a60208301613105565b6020820152613a6b60408301613017565b6040820152613a7c60608301613017565b6060820152613a8e8360808401613110565b6080820152613aa08360c08401613110565b60a0820152610100613ab484828501613110565b60c0830152610140613ac885828601613110565b60e0840152613adb856101808601613110565b82840152613aed856101c08601613110565b610120840152613b00610200850161314e565b9083015250613b126102208301613105565b61016082015292915050565b6000806102608385031215613b3257600080fd5b8235613b3d81613002565b91506132208460208501613a26565b60008060008060808587031215613b6257600080fd5b8435613b6d816130f0565b93506020850135613b7d816130f0565b92506040850135613b8d81613002565b91506060850135613516816130f0565b803561ffff8116811461302257600080fd5b60006102008284031215613bc257600080fd5b613bca6130cd565b9050613bd582613017565b8152613be360208301613017565b6020820152613bf460408301613537565b6040820152613c0560608301613537565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115613c4e57600080fd5b613c5a86838701613397565b83850152610120925082850135915080821115613c7657600080fd5b50613c8385828601613397565b828401525050610140613c97818401613b9d565b90820152610160613ca9838201613b9d565b9082015261018082810135908201526101a0613cc6818401613423565b908201526101c0613cd8838201613423565b908201526101e06136f9838201613423565b600080600060608486031215613cff57600080fd5b8335613d0a81613002565b925060208401356001600160401b03811115613d2557600080fd5b61374a86828701613baf565b600080600060608486031215613d4657600080fd5b8335613d5181613002565b92506020840135613d6181613385565b915060408401356001600160401b03811115613d7c57600080fd5b613642868287016138ef565b60a08101610f6582846139a8565b600080600060608486031215613dab57600080fd5b8335613db681613521565b925060208401356001600160401b03811115613dd157600080fd5b61374a86828701613542565b600080600060608486031215613df257600080fd5b8335613dfd81613229565b92506020840135613e0d81613229565b9150604084013561375b81613229565b60008060006102808486031215613e3357600080fd5b8335613e3e81613002565b9250613e4d8560208601613a26565b915061026084013561375b81613229565b60008060408385031215613e7157600080fd5b8235613e7c81613002565b915060208301356001600160401b03811115613e9757600080fd5b6135e185828601613baf565b60008060006101008486031215613eb957600080fd5b8335613ec481613002565b9250613ed38560208601613159565b915060e084013561375b81613229565b6000806101a08385031215613ef757600080fd5b8235613f0281613002565b915061322084602085016137f8565b60ff1981168114611f8e57600080fd5b60008060408385031215613f3457600080fd5b8235613f3f81613229565b9150602083013561328381613f11565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c90821680613fc357607f821691505b602082108103613fe357634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215613ffb57600080fd5b8151611cac81613140565b60006020828403121561401857600080fd5b8151611cac81613002565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261405960a08401826132b2565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561408857600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152613a1e60608401826132b2565b602081526140d76020820183516001600160601b03169052565b600060208301516140f5604084018280518252602090810151910152565b5060408301516101408060808501526141126101608501836132b2565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e0870151915061415a61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60006020828403121561418357600080fd5b8151611cac816130f0565b81516001600160601b031681526020808301516101808301916141bb908401826001600160a01b03169052565b506040830151604083015260608301516141e2606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081528151602082015260208201516040820152600060408301516080606084015261405960a08401826132b2565b81516001600160a01b03168152610240810160208301516142aa60208401826001600160a01b03169052565b5060408301516142c560408401826001600160601b03169052565b5060608301516142e060608401826001600160601b03169052565b5060808301516142fd608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006143338185018380518252602090810151910152565b60e085015191506101406143538186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152614247565b602081526143c26020820183516001600160601b03169052565b600060208301516143de60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526144566102208601846132b2565b9250808601519050610140601f19868503018187015261447684836132b2565b9350808701519150506101606144918187018361ffff169052565b86015190506101806144a88682018361ffff169052565b8601516101a08681019190915286015190506101c06144cf8187018364ffffffffff169052565b86015190506101e061415a8682018364ffffffffff169052565b600080858511156144f957600080fd5b8386111561450657600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561453b5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610ed557600081815260208120601f850160051c810160208610156145aa5750805b601f850160051c820191505b81811015611ea9578281556001016145b6565b81516001600160401b038111156145e2576145e2613027565b6145f6816145f08454613faf565b84614583565b602080601f83116001811461462b57600084156146135750858301515b600019600386901b1c1916600185901b178555611ea9565b600085815260208120601f198616915b8281101561465a5788860151825594840194600190910190840161463b565b50858210156146785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000825161469a81846020870161328e565b9190910192915050565b600080604083850312156146b757600080fd5b82516146c281613140565b602084015190925061328381613385565b6000602082840312156146e557600080fd5b8151611cac81613229565b60006020828403121561470257600080fd5b8151611cac81613f11565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122016896f05a21873ab77446c876c00ad071ec9c0a99e6f31462731a3f16e84572d64736f6c63430008140033",
2748
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104075760003560e01c80637cef484211610220578063bc8d400011610130578063e1033e7d116100b8578063f48016ce11610087578063f48016ce14610970578063f7bc431c14610983578063f8b648ac14610587578063fe1f18d614610996578063fed3d63f146109a957600080fd5b8063e1033e7d14610917578063e7cd37d41461091f578063e8951ee614610511578063e9e96c701461093257600080fd5b8063c2f1a2d2116100ff578063c2f1a2d21461052c578063ca600b1c146108e9578063d2f21a29146108f1578063d5b221bd1461052c578063dee326231461090457600080fd5b8063bc8d4000146108a8578063bd5947e3146108bb578063bf1db3f9146108ce578063bf7e214f146108e157600080fd5b80639a960d52116101b3578063a5961b4c11610182578063a5961b4c146107be578063a76ee0181461086f578063a898967514610882578063a9cea14214610895578063b68ec1461461058757600080fd5b80639a960d52146107855780639d7421f4146107985780639df0280b14610511578063a13df2ab146107ab57600080fd5b80638eaa6ac0116101ef5780638eaa6ac01461071e5780638fb360371461073e57806391ff6eaa1461075f578063976b0a771461077257600080fd5b80637cef48421461070357806382f65adb14610587578063893d20e8146107165780638dc77f421461051157600080fd5b806340529b0f1161031b5780636071a68e116102ae5780636b9bf08b1161027d5780636b9bf08b146106cd57806375b238fc146106d557806375c82776146106dd5780637a4158021461052c5780637a9e5e4b146106f057600080fd5b80636071a68e1461066b57806360aa32aa1461067e57806361f5f42014610691578063644c45e0146106a257600080fd5b806354f6127f116102ea57806354f6127f146106315780635ab1bd53146106515780635d4345cc146105115780635dfa73db1461066257600080fd5b806340529b0f14610511578063422c9d00146106035780634288121d14610616578063468a18671461061e57600080fd5b8063138461e01161039e57806333bb0a971161036d57806333bb0a971461058757806337f135d71461059a57806338a699a4146105b75780633ca7c02a146105ca5780633fc5ab98146105f057600080fd5b8063138461e0146105245780631c45fe7a1461052c5780631eff4b221461053f5780632f61088a1461057457600080fd5b80630d358181116103da5780630d358181146104c25780630f526f7d146104e85780630fec111c146104fb57806310203d2c1461051157600080fd5b806301ffc9a71461040c57806302cd30711461044e57806309648a9d146104735780630b24cf5f146104ad575b600080fd5b61043961041a366004612fbf565b6001600160e01b03191660009081526003602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6007546001600160a01b03165b6040516001600160a01b039091168152602001610445565b61049b610481366004612fe9565b600090815260026020526040902054610100900460ff1690565b60405160ff9091168152602001610445565b6104c06104bb3660046131f3565b6109b1565b005b61049b6104d0366004613238565b60ff9081166000908152602081905260409020541690565b6104c06104f6366004613255565b6109f5565b610503610a12565b6040516104459291906132de565b6104c061051f366004613255565b610b94565b6104c0610ba9565b6104c061053a3660046134ad565b610dd3565b6105667f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610445565b6104c061058236600461359c565b610e14565b6104c06105953660046135eb565b610eaf565b6105a2600081565b60405163ffffffff9091168152602001610445565b6104396105c5366004612fe9565b610eda565b6105d86001600160401b0381565b6040516001600160401b039091168152602001610445565b6104c06105fe366004613703565b610f6b565b6104c0610611366004613766565b610f91565b61045b6110f0565b61056661062c366004613783565b611176565b61064461063f366004612fe9565b61120f565b60405161044591906137a0565b6004546001600160a01b031661045b565b6105d861271081565b6104c06106793660046137b3565b6112b4565b6104c061068c3660046138ae565b6112da565b6008546001600160a01b031661045b565b600454600160a01b90046001600160601b03166040516001600160601b039091168152602001610445565b61045b611302565b6105d8600081565b6104c06106eb366004613932565b61131d565b6104c06106fe366004613766565b611343565b6104c061071136600461398a565b6113c6565b61045b611450565b61073161072c366004612fe9565b611531565b60405161044591906139f2565b610746611672565b6040516001600160e01b03199091168152602001610445565b6104c061076d366004613b1e565b6116ab565b6104c0610780366004613b4c565b6116d3565b6104c0610793366004613cea565b6118b8565b6104c06107a6366004613d31565b6118de565b6105666107b9366004613783565b611904565b6108626107cc366004612fe9565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104459190613d88565b6104c061087d366004613d96565b611931565b6104c0610890366004613ddd565b6119cc565b6104c06108a3366004613e1d565b611abd565b6104c06108b6366004613e5e565b611ae5565b6104c06108c9366004613ea3565b611b0b565b6104396108dc366004613238565b611b33565b61045b611b80565b61045b611b9c565b6104c06108ff366004613255565b611bb7565b6104c0610912366004613255565b611bce565b61045b611be5565b6104c061092d366004613ee3565b611c00565b610439610940366004613ddd565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b61056661097e366004613f21565b611c28565b6104c0610991366004613766565b611cb3565b6104c06109a4366004613255565b611d7b565b61045b611d90565b6109be335b600036611dab565b6109f16109cc836078611eb1565b826040516020016109dd9190613f4f565b604051602081830303815290604052611efd565b5050565b6109fe336109b6565b6109f1610a0c83608c611eb1565b82611f07565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610a956004546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610add611450565b6001600160a01b03168152602001826001018054610afa90613faf565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2690613faf565b8015610b735780601f10610b4857610100808354040283529160200191610b73565b820191906000526020600020905b815481529060010190602001808311610b5657829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610b9d336109b6565b6109f1610a0c83611176565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c329190613fe9565b15610c7b57600480546040516316322c0f60e31b81526001600160a01b03821692810192909252600160a01b90046001600160601b031660248201526044015b60405180910390fd5b6004546001600160a01b0316610ca45760405163cf29926160e01b815260040160405180910390fd5b6004805460405163c3c5a54760e01b8152309281018390526001600160a01b039091169063c3c5a54790602401602060405180830381865afa158015610cee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d129190613fe9565b610d3a576040516372657a5160e01b81526001600160a01b0382166004820152602401610c72565b60048054604051636939560f60e11b81526001600160a01b038481169382019390935291169063d272ac1e90602401602060405180830381865afa158015610d86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610daa9190614006565b600460146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610ddc336109b6565b610e0e610de885611176565b83604051602001610df99190614023565b60405160208183030381529060405283611f11565b50505050565b610e1d336109b6565b6040516355ee627560e01b81526001600160c01b0319831660048201526109f19073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610e7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e9e9190614076565b826040516020016109dd919061408f565b610eb8336109b6565b610ed5610ec484611176565b826040516020016109dd9190614023565b505050565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015610f41573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f659190613fe9565b92915050565b610f74336109b6565b610ed5610f8084611904565b83604051602001610df991906140bd565b610f9a336109b6565b6008546001600160a01b031615610fea5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610c72565b611073816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104f9190614006565b600454600160a01b90046001600160601b03166001600160601b0390811691161490565b6110ce5760405162461bcd60e51b815260206004820152602660248201527f4e4654204944206f662042756e646c654d616e6167657220646f6573206e6f74604482015265040dac2e8c6d60d31b6064820152608401610c72565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6004546000906001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff9091166004820152600360248201526044015b602060405180830381865afa15801561114d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111719190614171565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156111eb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f659190614076565b600081815260026020526040902060010180546060919061122f90613faf565b80601f016020809104026020016040519081016040528092919081815260200182805461125b90613faf565b80156112a85780601f1061127d576101008083540402835291602001916112a8565b820191906000526020600020905b81548152906001019060200180831161128b57829003601f168201915b50505050509050919050565b6112bd336109b6565b6109f16112c983611904565b826040516020016109dd91906140bd565b6112e3336109b6565b610ed56112f184608c611eb1565b83604051602001610df9919061418e565b6004546000906001600160a01b031663d39e6043608c611107565b611326336109b6565b610e0e61133285611176565b83604051602001610df9919061424e565b3361134c611b80565b6001600160a01b0316816001600160a01b0316146113875760405162d1953b60e31b81526001600160a01b0382166004820152602401610c72565b816001600160a01b03163b6000036113bd576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c72565b6109f182611f1c565b6113cf336109b6565b6040516355ee627560e01b81526001600160c01b0319831660048201526109f19073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561142c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a0c9190614076565b600480546040516330b8415f60e01b8152600160a01b9091046001600160601b03169181019190915260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156114b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114dc9190613fe9565b156115215760048054604051631c5da14d60e11b8152600160a01b82046001600160601b0316928101929092526001600160a01b0316906338bb429a90602401611130565b506005546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916115e990613faf565b80601f016020809104026020016040519081016040528092919081815260200182805461161590613faf565b80156116625780601f1061163757610100808354040283529160200191611662565b820191906000526020600020905b81548152906001019060200180831161164557829003601f168201915b5050505050815250509050919050565b60008051602061475e833981519152805460009190600160a01b900460ff1661169c5760006116a5565b638fb3603760e01b5b91505090565b6116b4336109b6565b6109f16116c283606e611eb1565b826040516020016109dd919061427e565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117185750825b90506000826001600160401b031660011480156117345750303b155b905081158015611742575080155b156117605760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561178a57845460ff60401b1916600160401b1785555b600554600160a01b900460ff16156117fb5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610c72565b61180489611f7d565b600680546001600160a01b0319166001600160a01b038b16179055611844888861182c604690565b60008a60405180602001604052806000815250611f91565b611854635df034a560e11b612066565b6005805460ff60a01b1916600160a01b17905583156118ad57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b6118c1336109b6565b610ed56118cd84611176565b83604051602001610df991906143a8565b6118e7336109b6565b610ed56118f384611176565b826040516020016109dd919061424e565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61119f565b61193a336109b6565b6040516355ee627560e01b81526001600160c01b031984166004820152610ed59073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119bb9190614076565b83604051602001610df9919061408f565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a559190613fe9565b15611a5f57505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610ed557604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610c72565b611ac6336109b6565b610ed5611ad484606e611eb1565b83604051602001610df9919061427e565b611aee336109b6565b6109f1611afa83611176565b826040516020016109dd91906143a8565b611b14336109b6565b610ed5611b22846078611eb1565b83604051602001610df99190613f4f565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610f24565b60008051602061475e833981519152546001600160a01b031690565b6004546000906001600160a01b031663d39e60436078611107565b611bc0336109b6565b6109f1610a0c836078611eb1565b611bd7336109b6565b6109f1610a0c83606e611eb1565b6004546000906001600160a01b031663d39e604360d2611107565b611c09336109b6565b6109f1611c1783608c611eb1565b826040516020016109dd919061418e565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611c88573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cac9190614076565b9392505050565b611cbc336109b6565b611cfd816001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa15801561102b573d6000803e3d6000fd5b611d595760405162461bcd60e51b815260206004820152602760248201527f4e4654204944206f6620496e7374616e636552656164657220646f6573206e6f6044820152660e840dac2e8c6d60cb1b6064820152608401610c72565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b611d84336109b6565b6109f1610a0c83611904565b6004546000906001600160a01b031663d39e604360dc611107565b60008051602061475e833981519152600080611de6611dc8611b80565b8730611dd8600460008a8c6144e9565b611de191614513565b61208b565b9150915081611ea95763ffffffff811615611e8657825460ff60a01b1916600160a01b178355611e14611b80565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e4393929190614543565b600060405180830381600087803b158015611e5d57600080fd5b505af1158015611e71573d6000803e3d6000fd5b5050845460ff60a01b1916855550611ea99050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c72565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611c6b565b6109f18282612197565b6109f182826125b9565b610ed58383836128ed565b60008051602061475e83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611f85612d88565b611f8e81612dd3565b50565b611fd26301ffc9a760e01b60005260036020527f28b0ef64f7e82d3b26f3fd404bd0151552f792965f39c29ae82c0a78df67af9c805460ff19166001179055565b611fdc8287612de4565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161204c83826145c9565b5061205d6303fb044760e21b612066565b50505050505050565b6001600160e01b0319166000908152600360205260409020805460ff19166001179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516120fa9190614688565b600060405180830381855afa9150503d8060008114612135576040519150601f19603f3d011682016040523d82523d6000602084013e61213a565b606091505b5091509150811561218c57604081511061216c578080602001905181019061216291906146a4565b909450925061218c565b602081511061218c57808060200190518101906121899190613fe9565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156121ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220e91906146d3565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612263573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122879190613fe9565b6122d35760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610c72565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801561233c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123609190613fe9565b6123ac5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610c72565b334360006123b985611b33565b6123c45760646123da565b60ff808616600090815260208190526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260026020526040902090915060010161246487826145c9565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156124d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124fb91906146d3565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561254b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061256f91906146f0565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561260b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061262f9190613fe9565b61267b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610c72565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156126e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061270b9190613fe9565b6127575760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610c72565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661279b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561282d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061285191906146d3565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156128a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128c591906146f0565b87868632876040516128dd979695949392919061470d565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561293f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129639190613fe9565b6129af5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610c72565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3f9190613fe9565b612a8b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610c72565b6000858152600260205260409020600101612aa685826145c9565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612aeb4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612b7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ba191906146d3565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612bf1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c1591906146f0565b8786863287604051612c2d979695949392919061470d565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ca7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ccb91906146d3565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612d1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3f91906146f0565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016125a8565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612dd157604051631afcd79f60e31b815260040160405180910390fd5b565b612ddb612d88565b611f8e81611f1c565b6001600160a01b038216612e3a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610c72565b600580546001600160a01b0319166001600160a01b0384161790556109f1816004546001600160a01b031615612e95576004805460405163fcdbf2d960e01b81526001600160a01b0390911691810191909152602401610c72565b6001600160a01b038116612ebc5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612ef25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c72565b600480546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b81526316c8f9ff60e01b92810192909252906301ffc9a790602401602060405180830381865afa925050508015612f6e575060408051601f3d908101601f19168201909252612f6b91810190613fe9565b60015b612f965760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c72565b806109f15760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c72565b600060208284031215612fd157600080fd5b81356001600160e01b031981168114611cac57600080fd5b600060208284031215612ffb57600080fd5b5035919050565b6001600160601b0381168114611f8e57600080fd5b803561302281613002565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561305f5761305f613027565b60405290565b604051608081016001600160401b038111828210171561305f5761305f613027565b60405161012081016001600160401b038111828210171561305f5761305f613027565b60405161018081016001600160401b038111828210171561305f5761305f613027565b60405161020081016001600160401b038111828210171561305f5761305f613027565b6001600160a01b0381168114611f8e57600080fd5b8035613022816130f0565b60006040828403121561312257600080fd5b61312a61303d565b9050813581526020820135602082015292915050565b8015158114611f8e57600080fd5b803561302281613140565b600060c0828403121561316b57600080fd5b60405160a081018181106001600160401b038211171561318d5761318d613027565b604052905080823561319e81613002565b815260208301356131ae816130f0565b60208201526131c08460408501613110565b604082015260808301356131d381613140565b606082015260a08301356131e6816130f0565b6080919091015292915050565b60008060e0838503121561320657600080fd5b823561321181613002565b91506132208460208501613159565b90509250929050565b60ff81168114611f8e57600080fd5b60006020828403121561324a57600080fd5b8135611cac81613229565b6000806040838503121561326857600080fd5b823561327381613002565b9150602083013561328381613229565b809150509250929050565b60005b838110156132a9578181015183820152602001613291565b50506000910152565b600081518084526132ca81602086016020860161328e565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161332260a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526133686101208401826132b2565b9050828103602084015261337c81856132b2565b95945050505050565b63ffffffff81168114611f8e57600080fd5b600082601f8301126133a857600080fd5b81356001600160401b03808211156133c2576133c2613027565b604051601f8301601f19908116603f011681019082821181831017156133ea576133ea613027565b8160405283815286602085880101111561340357600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff8116811461302257600080fd5b60006080828403121561344a57600080fd5b613452613065565b9050813561345f81613385565b81526020828101359082015260408201356001600160401b0381111561348457600080fd5b61349084828501613397565b6040830152506134a260608301613423565b606082015292915050565b600080600080608085870312156134c357600080fd5b84356134ce81613002565b935060208501356134de81613385565b925060408501356001600160401b038111156134f957600080fd5b61350587828801613438565b925050606085013561351681613229565b939692955090935050565b6001600160c01b031981168114611f8e57600080fd5b803561302281613521565b60006040828403121561355457600080fd5b61355c61303d565b9050813561356981613002565b815260208201356001600160401b0381111561358457600080fd5b61359084828501613397565b60208301525092915050565b600080604083850312156135af57600080fd5b82356135ba81613521565b915060208301356001600160401b038111156135d557600080fd5b6135e185828601613542565b9150509250929050565b60008060006060848603121561360057600080fd5b833561360b81613002565b9250602084013561361b81613385565b915060408401356001600160401b0381111561363657600080fd5b61364286828701613438565b9150509250925092565b6000610140828403121561365f57600080fd5b613667613087565b905061367282613017565b81526136818360208401613110565b602082015260608201356001600160401b0381111561369f57600080fd5b6136ab84828501613397565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c08201526101006136e7818401613423565b60e08301526136f96101208401613423565b9082015292915050565b60008060006060848603121561371857600080fd5b833561372381613002565b925060208401356001600160401b0381111561373e57600080fd5b61374a8682870161364c565b925050604084013561375b81613229565b809150509250925092565b60006020828403121561377857600080fd5b8135611cac816130f0565b60006020828403121561379557600080fd5b8135611cac81613002565b602081526000611cac60208301846132b2565b600080604083850312156137c657600080fd5b82356137d181613002565b915060208301356001600160401b038111156137ec57600080fd5b6135e18582860161364c565b6000610180828403121561380b57600080fd5b613813613087565b905061381e82613017565b815261382c60208301613105565b6020820152604082013560408201526138488360608401613110565b606082015261385a8360a08401613110565b608082015261386c8360e08401613110565b60a082015261387e610120830161314e565b60c0820152613890610140830161314e565b60e08201526138a26101608301613105565b61010082015292915050565b60008060006101c084860312156138c457600080fd5b83356138cf81613002565b92506138de85602086016137f8565b91506101a084013561375b81613229565b60006080828403121561390157600080fd5b613909613065565b9050813581526020820135602082015260408201356001600160401b0381111561348457600080fd5b6000806000806080858703121561394857600080fd5b843561395381613002565b9350602085013561396381613385565b925060408501356001600160401b0381111561397e57600080fd5b613505878288016138ef565b6000806040838503121561399d57600080fd5b823561327381613521565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152613a046020820183516139a8565b6000602083015160c080840152613a1e60e08401826132b2565b949350505050565b60006102408284031215613a3957600080fd5b613a416130aa565b9050613a4c82613105565b8152613a5a60208301613105565b6020820152613a6b60408301613017565b6040820152613a7c60608301613017565b6060820152613a8e8360808401613110565b6080820152613aa08360c08401613110565b60a0820152610100613ab484828501613110565b60c0830152610140613ac885828601613110565b60e0840152613adb856101808601613110565b82840152613aed856101c08601613110565b610120840152613b00610200850161314e565b9083015250613b126102208301613105565b61016082015292915050565b6000806102608385031215613b3257600080fd5b8235613b3d81613002565b91506132208460208501613a26565b60008060008060808587031215613b6257600080fd5b8435613b6d816130f0565b93506020850135613b7d816130f0565b92506040850135613b8d81613002565b91506060850135613516816130f0565b803561ffff8116811461302257600080fd5b60006102008284031215613bc257600080fd5b613bca6130cd565b9050613bd582613017565b8152613be360208301613017565b6020820152613bf460408301613537565b6040820152613c0560608301613537565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115613c4e57600080fd5b613c5a86838701613397565b83850152610120925082850135915080821115613c7657600080fd5b50613c8385828601613397565b828401525050610140613c97818401613b9d565b90820152610160613ca9838201613b9d565b9082015261018082810135908201526101a0613cc6818401613423565b908201526101c0613cd8838201613423565b908201526101e06136f9838201613423565b600080600060608486031215613cff57600080fd5b8335613d0a81613002565b925060208401356001600160401b03811115613d2557600080fd5b61374a86828701613baf565b600080600060608486031215613d4657600080fd5b8335613d5181613002565b92506020840135613d6181613385565b915060408401356001600160401b03811115613d7c57600080fd5b613642868287016138ef565b60a08101610f6582846139a8565b600080600060608486031215613dab57600080fd5b8335613db681613521565b925060208401356001600160401b03811115613dd157600080fd5b61374a86828701613542565b600080600060608486031215613df257600080fd5b8335613dfd81613229565b92506020840135613e0d81613229565b9150604084013561375b81613229565b60008060006102808486031215613e3357600080fd5b8335613e3e81613002565b9250613e4d8560208601613a26565b915061026084013561375b81613229565b60008060408385031215613e7157600080fd5b8235613e7c81613002565b915060208301356001600160401b03811115613e9757600080fd5b6135e185828601613baf565b60008060006101008486031215613eb957600080fd5b8335613ec481613002565b9250613ed38560208601613159565b915060e084013561375b81613229565b6000806101a08385031215613ef757600080fd5b8235613f0281613002565b915061322084602085016137f8565b60ff1981168114611f8e57600080fd5b60008060408385031215613f3457600080fd5b8235613f3f81613229565b9150602083013561328381613f11565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c90821680613fc357607f821691505b602082108103613fe357634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215613ffb57600080fd5b8151611cac81613140565b60006020828403121561401857600080fd5b8151611cac81613002565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261405960a08401826132b2565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561408857600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152613a1e60608401826132b2565b602081526140d76020820183516001600160601b03169052565b600060208301516140f5604084018280518252602090810151910152565b5060408301516101408060808501526141126101608501836132b2565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e0870151915061415a61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60006020828403121561418357600080fd5b8151611cac816130f0565b81516001600160601b031681526020808301516101808301916141bb908401826001600160a01b03169052565b506040830151604083015260608301516141e2606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081528151602082015260208201516040820152600060408301516080606084015261405960a08401826132b2565b81516001600160a01b03168152610240810160208301516142aa60208401826001600160a01b03169052565b5060408301516142c560408401826001600160601b03169052565b5060608301516142e060608401826001600160601b03169052565b5060808301516142fd608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006143338185018380518252602090810151910152565b60e085015191506101406143538186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152614247565b602081526143c26020820183516001600160601b03169052565b600060208301516143de60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526144566102208601846132b2565b9250808601519050610140601f19868503018187015261447684836132b2565b9350808701519150506101606144918187018361ffff169052565b86015190506101806144a88682018361ffff169052565b8601516101a08681019190915286015190506101c06144cf8187018364ffffffffff169052565b86015190506101e061415a8682018364ffffffffff169052565b600080858511156144f957600080fd5b8386111561450657600080fd5b5050820193919092039150565b6001600160e01b0319813581811691600485101561453b5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610ed557600081815260208120601f850160051c810160208610156145aa5750805b601f850160051c820191505b81811015611ea9578281556001016145b6565b81516001600160401b038111156145e2576145e2613027565b6145f6816145f08454613faf565b84614583565b602080601f83116001811461462b57600084156146135750858301515b600019600386901b1c1916600185901b178555611ea9565b600085815260208120601f198616915b8281101561465a5788860151825594840194600190910190840161463b565b50858210156146785787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000825161469a81846020870161328e565b9190910192915050565b600080604083850312156146b757600080fd5b82516146c281613140565b602084015190925061328381613385565b6000602082840312156146e557600080fd5b8151611cac81613229565b60006020828403121561470257600080fd5b8151611cac81613f11565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122016896f05a21873ab77446c876c00ad071ec9c0a99e6f31462731a3f16e84572d64736f6c63430008140033",
2951
+ "bytecode": "0x608060405234801561001057600080fd5b50615d3980620000216000396000f3fe608060405234801561001057600080fd5b50600436106104d85760003560e01c806375b238fc11610283578063bf7e214f1161015c578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610bcb578063fa145b6d14610bde578063fb4a8e3414610bf1578063fbc1a3a014610c04578063fe1f18d614610c17578063fed3d63f14610c2a57600080fd5b8063e9e96c7014610b54578063f21de1e814610830578063f48016ce14610b92578063f7b442d114610ba5578063f7bc431c14610bb857600080fd5b8063cf947d2011610120578063cf947d2014610aea578063d2f21a2914610afd578063dee3262314610b10578063e1033e7d14610b23578063e5f6cd2714610b2b578063e7f7fb8614610b4157600080fd5b8063bf7e214f14610abf578063c0c53b8b14610ac7578063c29948fc14610635578063ca600b1c14610ada578063cde749f414610ae257600080fd5b8063a5961b4c116101f5578063afa5e130116101b9578063afa5e130146107c4578063afcc743914610a60578063b3260e9314610a73578063b6d7cd6214610a86578063bb1e0e5914610a99578063bf1db3f914610aac57600080fd5b8063a5961b4c14610961578063a671495e14610a12578063a76ee01814610a25578063a898967514610a38578063ada9652e14610a4b57600080fd5b80638e28413f116102475780638e28413f146108e75780638eaa6ac0146108fa5780638fb360371461091a5780639df0280b146105f25780639e90178c1461093b578063a13df2ab1461094e57600080fd5b806375b238fc1461089e5780637a9e5e4b146108a65780637b8c388f146108b95780637cef4842146108cc578063893d20e8146108df57600080fd5b806338a699a4116103b557806354d747a8116103275780635d4345cc116102eb5780635d4345cc146105f25780635dfa73db1461084157806361f5f4201461084a578063644c45e01461085b578063675393bf146108835780636b9bf08b1461089657600080fd5b806354d747a8146107d757806354f6127f146107ea5780635772b1011461080a57806358dff9ea1461081d5780635ab1bd531461083057600080fd5b8063422c9d0011610379578063422c9d001461077b5780634288121d1461078e578063447fc48f14610796578063468a1867146107a9578063468bce06146107bc5780635378cd3c146107c457600080fd5b806338a699a4146107095780633c0d6a411461071c5780633ca7c02a1461072f5780633e35aba81461075557806340529b0f1461076857600080fd5b8063138461e01161044e5780632781d443116104125780632781d443146106a357806327953f48146106ab57806327bb7a33146106be5780632f61088a146106d157806336fc697e146106e457806337f135d7146106ec57600080fd5b8063138461e01461062d5780631518afb9146106355780631b38d5f4146106485780631eff4b2214610669578063214cdb801461069057600080fd5b80630f03144a116104a05780630f03144a146105b95780630f526f7d146105cc5780630f749a89146105df5780630fad0eb1146105f25780630fec111c146106055780631204b5531461061a57600080fd5b806301ffc9a7146104dd57806302cd30711461051f57806309648a9d146105445780630cbc6b891461057e5780630d35818114610593575b600080fd5b61050a6104eb366004613ec1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b039091168152602001610516565b61056c610552366004613eeb565b600090815260046020526040902054610100900460ff1690565b60405160ff9091168152602001610516565b61059161058c366004614157565b610c32565b005b61056c6105a13660046141a3565b60ff9081166000908152600260205260409020541690565b6105916105c7366004614328565b610c78565b6105916105da366004614377565b610cb6565b6105916105ed3660046143b0565b610cd3565b610591610600366004614377565b610e41565b61060d610e56565b604051610516919061441d565b6105916106283660046144a8565b611005565b61059161102b565b61059161064336600461467e565b61122d565b61065b6106563660046146c5565b611253565b604051908152602001610516565b61065b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61059161069e366004613ec1565b6112f2565b61065b600381565b6105916106b93660046147d2565b61131f565b6105916106cc36600461480e565b61133d565b6105916106df366004614900565b6113c9565b610591611464565b6106f4600081565b60405163ffffffff9091168152602001610516565b61050a610717366004613eeb565b6114aa565b61059161072a3660046149bc565b611539565b61073d6001600160401b0381565b6040516001600160401b039091168152602001610516565b61065b6107633660046146c5565b61155f565b610591610776366004614377565b61158c565b6105916107893660046143b0565b6115a1565b61052c6117a7565b6105916107a4366004614a1d565b61183a565b61065b6107b73660046146c5565b611866565b610591611893565b6105916107d2366004614a91565b6118bd565b6105916107e5366004614b72565b6118d0565b6107fd6107f8366004613eeb565b6118ee565b6040516105169190614bae565b610591610818366004614c04565b611993565b61059161082b366004614d0c565b6119b9565b6001546001600160a01b031661052c565b61073d61271081565b6007546001600160a01b031661052c565b600080516020615cc4833981519152546040516001600160601b039091168152602001610516565b6105916108913660046143b0565b6119e1565b61052c611aed565b61073d600081565b6105916108b43660046143b0565b611b16565b61065b6108c73660046146c5565b611b99565b6105916108da366004614d53565b611bc6565b61052c611c50565b6105916108f5366004614d71565b611d87565b61090d610908366004613eeb565b611daf565b6040516105169190614e00565b610922611ef0565b6040516001600160e01b03199091168152602001610516565b610591610949366004614ed1565b611f28565b61065b61095c3660046146c5565b611f50565b610a0561096f366004613eeb565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516105169190614f08565b610591610a20366004614f97565b611f7d565b610591610a33366004614fdc565b611fa3565b610591610a46366004615023565b61203e565b61065b600080516020615cc483398151915281565b610591610a6e366004615063565b61212f565b610591610a813660046150a8565b612155565b610591610a943660046150e6565b612173565b610591610aa7366004615116565b612188565b61050a610aba3660046141a3565b61234d565b61052c61239a565b610591610ad5366004615142565b6123b6565b61052c612563565b61056c61258c565b610591610af8366004615182565b612603565b610591610b0b366004614377565b612621565b610591610b1e366004614377565b612638565b61052c61264f565b60055461010090046001600160a01b031661052c565b610591610b4f3660046151c0565b612678565b61050a610b62366004615023565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b61065b610ba0366004615211565b612852565b610591610bb336600461523f565b6128dd565b610591610bc63660046143b0565b612905565b610591610bd9366004615280565b6129f2565b610591610bec3660046152ae565b612a69565b610591610bff366004615305565b612a8f565b610591610c1236600461534c565b612ab5565b610591610c25366004614377565b612add565b61052c612af2565b610c3f335b600036612b1b565b610c73610c4d84606e612c21565b83604051602001610c5e919061537a565b60405160208183030381529060405283612c6d565b505050565b610c8133610c37565b610cb2610c8d83611f50565b82604051602001610c9e9190615429565b604051602081830303815290604052612c78565b5050565b610cbf33610c37565b610cb2610ccd83608c612c21565b82612c82565b610cdc33610c37565b60055461010090046001600160a01b031615610d3f5760405162461bcd60e51b815260206004820152601c60248201527f496e7374616e63654163636573734d616e61676572206973207365740000000060448201526064015b60405180910390fd5b610d4761239a565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db291906154e5565b6001600160a01b031614610e195760405162461bcd60e51b815260206004820152602860248201527f496e7374616e63654163636573734d616e6167657220617574686f72697479206044820152670dad2e6dac2e8c6d60c31b6064820152608401610d36565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610e4a33610c37565b610cb2610ccd83611866565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610f0190615502565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2d90615502565b8015610f7a5780601f10610f4f57610100808354040283529160200191610f7a565b820191906000526020600020905b815481529060010190602001808311610f5d57829003601f168201915b50505050508152505090506040518060e00160405280610f98600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610fe9611c50565b6001600160a01b03168152602001826060015181525091505090565b61100e33610c37565b610c7361101a84611f50565b83604051602001610c5e9190615429565b6000600080516020615cc483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561109a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110be919061553c565b156110ea5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610d36565b306110fd6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611145573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611169919061553c565b6111915760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610d36565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156111e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112099190615559565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61123633610c37565b610c7361124284611866565b83604051602001610c5e9190615576565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156112c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ec91906156c4565b92915050565b6112fa612c8c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61132833610c37565b610cb28282604051602001610c9e91906156dd565b611345612c8c565b61134f82876129f2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016113bf83826157d3565b5050505050505050565b6113d233610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610cb29073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561142f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145391906156c4565b82604051602001610c9e9190615892565b61146c612c8c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015611515573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ec919061553c565b61154233610c37565b610c7361154e84611866565b82604051602001610c9e91906158c0565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861127c565b61159533610c37565b610cb2610ccd83611b99565b6115aa33610c37565b6007546001600160a01b0316156115fa5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610d36565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611642573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166691906154e5565b6001600160a01b0316146116bc5760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610d36565b6116c461239a565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561170b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172f91906154e5565b6001600160a01b0316146117855760405162461bcd60e51b815260206004820181905260248201527f42756e646c654d616e6167657220617574686f72697479206d69736d617463686044820152606401610d36565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006117bb6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015611811573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183591906154e5565b905090565b61184333610c37565b61186061184f85611866565b83604051602001610c5e91906158c0565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361127c565b61189b612c8c565b6118a3612cd5565b6118ab612df8565b6118b3612eeb565b6118bb612ff9565b565b6118c633610c37565b610cb28282612c82565b6118d933610c37565b610cb28282604051602001610c9e9190615911565b600081815260046020526040902060010180546060919061190e90615502565b80601f016020809104026020016040519081016040528092919081815260200182805461193a90615502565b80156119875780601f1061195c57610100808354040283529160200191611987565b820191906000526020600020905b81548152906001019060200180831161196a57829003601f168201915b50505050509050919050565b61199c33610c37565b6118606119a885611866565b83604051602001610c5e91906159ac565b6119c233610c37565b610c736119d084608c612c21565b83604051602001610c5e91906159dc565b6119e9612c8c565b806001600160a01b03163b600003611a1f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610d36565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611a99575060408051601f3d908101601f19168201909252611a969181019061553c565b60015b611ac15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610d36565b80610cb25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610d36565b50565b6000611b016001546001600160a01b031690565b6001600160a01b031663d39e6043608c6117cc565b33611b1f61239a565b6001600160a01b0316816001600160a01b031614611b5a5760405162d1953b60e31b81526001600160a01b0382166004820152602401610d36565b816001600160a01b03163b600003611b90576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d36565b610cb2826130b5565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61127c565b611bcf33610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610cb29073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccd91906156c4565b600080600080516020615cc483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce4919061553c565b15611d71576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6b91906154e5565b91505090565b54600160601b90046001600160a01b0316919050565b611d9033610c37565b610cb2611d9e83608c612c21565b82604051602001610c9e91906159dc565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611e6790615502565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9390615502565b8015611ee05780601f10611eb557610100808354040283529160200191611ee0565b820191906000526020600020905b815481529060010190602001808311611ec357829003601f168201915b5050505050815250509050919050565b600080516020615ce4833981519152805460009190600160a01b900460ff16611f1a576000611d6b565b638fb3603760e01b91505090565b611f3133610c37565b610cb2611f3f836078612c21565b82604051602001610c9e9190615a43565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61127c565b611f8633610c37565b610cb2611f9283611b99565b82604051602001610c9e9190615ab7565b611fac33610c37565b6040516355ee627560e01b81526001600160c01b031984166004820152610c739073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015612009573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202d91906156c4565b83604051602001610c5e9190615892565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156120a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c7919061553c565b156120d157505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610c7357604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d36565b61213833610c37565b610cb261214483611866565b82604051602001610c9e9190615576565b61215e33610c37565b610c738383604051602001610c5e91906156dd565b61217c33610c37565b610c73610ccd84611866565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f591906154e5565b6001600160a01b0316336001600160a01b03161461221257600080fd5b60055461010090046001600160a01b03166303014974612230613116565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa158015612274573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061229891906156c4565b156122a5576122a5615b15565b60055461010090046001600160a01b031663b428b0b06122c3613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af1158015612318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233c919061553c565b1515600114610cb257610cb2615b15565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016114f8565b600080516020615ce4833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156123fb5750825b90506000826001600160401b031660011480156124175750303b155b905081158015612425575080155b156124435760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561246d57845460ff60401b1916600160401b1785555b6124768861318e565b60008790506124fb88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e19190615559565b604660018b6040518060200160405280600081525061133d565b612503611893565b61251363200c173160e01b6112f2565b5083156113bf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006125776001546001600160a01b031690565b6001600160a01b031663d39e604360786117cc565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156125df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118359190615b2b565b61260c33610c37565b610c738383604051602001610c5e9190615911565b61262a33610c37565b610cb2610ccd836078612c21565b61264133610c37565b610cb2610ccd83606e612c21565b60006126636001546001600160a01b031690565b6001600160a01b031663d39e604360d36117cc565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e591906154e5565b6001600160a01b0316336001600160a01b03161461270257600080fd5b60055461010090046001600160a01b031663b7d2b162612720613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af1158015612775573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612799919061553c565b15156001146127aa576127aa615b15565b60055461010090046001600160a01b031663b428b0b06127c8613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af115801561281d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612841919061553c565b1515600114610c7357610c73615b15565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156128b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d691906156c4565b9392505050565b6128e633610c37565b610c736128f4846078612c21565b83604051602001610c5e9190615a43565b61290e33610c37565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612956573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297a91906154e5565b6001600160a01b0316146129d05760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610d36565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6129fa612c8c565b612a03816119e1565b612a0b611464565b6001600160a01b038216612a325760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615cc483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612a7233610c37565b610c73612a7e84611866565b82604051602001610c9e91906159ac565b612a9833610c37565b610c73612aa484611b99565b83604051602001610c5e9190615ab7565b612abe33610c37565b610cb2612acc83606e612c21565b82604051602001610c9e919061537a565b612ae633610c37565b610cb2610ccd83611f50565b6000612b066001546001600160a01b031690565b6001600160a01b031663d39e604360dc6117cc565b600080516020615ce4833981519152600080612b56612b3861239a565b8730612b48600460008a8c615b48565b612b5191615b72565b61319f565b9150915081612c195763ffffffff811615612bf657825460ff60a01b1916600160a01b178355612b8461239a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612bb393929190615ba2565b600060405180830381600087803b158015612bcd57600080fd5b505af1158015612be1573d6000803e3d6000fd5b5050845460ff60a01b1916855550612c199050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d36565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612895565b610c738383836132ab565b610cb28282613753565b610cb28282613b6c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166118bb57604051631afcd79f60e31b815260040160405180910390fd5b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff1681526020019081526020016000206000612dd460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff1681526020019081526020016000206000612ecd606e90565b60ff1660ff1681526020019081526020016000206000612dd460d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa906064612db6565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c8612eaf565b600080516020615ce483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561316a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118359190615be2565b613196612c8c565b611aea81613eb0565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161320e9190615c0b565b600060405180830381855afa9150503d8060008114613249576040519150601f19603f3d011682016040523d82523d6000602084013e61324e565b606091505b509150915081156132a057604081511061328057808060200190518101906132769190615c27565b90945092506132a0565b60208151106132a0578080602001905181019061329d919061553c565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156132fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613321919061553c565b61336d5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610d36565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156133d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133fd919061553c565b6134495760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610d36565b600085815260046020526040902060010161346485826157d3565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166134a94390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561353b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061355f9190615b2b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135d39190615c56565b85888632876040516135eb9796959493929190615c73565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613665573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136899190615b2b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156136d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136fd9190615c56565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156137a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137ca9190615b2b565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af415801561381f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613843919061553c565b61388f5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610d36565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156138fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613920919061553c565b61396c5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610d36565b334360006139798561234d565b61398457606461399a565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101613a2487826157d3565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613a97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613abb9190615b2b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b2f9190615c56565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001613742565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613bbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613be2919061553c565b613c2e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610d36565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613c9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cbe919061553c565b613d0a5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610d36565b8154613d1a9060ff16828561203e565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416613d5e4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e149190615b2b565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613e64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e889190615c56565b8588863287604051613ea09796959493929190615c73565b60405180910390a1505050505050565b613eb8612c8c565b611aea816130b5565b600060208284031215613ed357600080fd5b81356001600160e01b0319811681146128d657600080fd5b600060208284031215613efd57600080fd5b5035919050565b6001600160601b0381168114611aea57600080fd5b8035613f2481613f04565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f6157613f61613f29565b60405290565b60405161010081016001600160401b0381118282101715613f6157613f61613f29565b60405161012081016001600160401b0381118282101715613f6157613f61613f29565b60405161020081016001600160401b0381118282101715613f6157613f61613f29565b604051608081016001600160401b0381118282101715613f6157613f61613f29565b60405160e081016001600160401b0381118282101715613f6157613f61613f29565b60405160a081016001600160401b0381118282101715613f6157613f61613f29565b6001600160a01b0381168114611aea57600080fd5b8035613f2481614036565b60006040828403121561406857600080fd5b614070613f3f565b9050813581526020820135602082015292915050565b8015158114611aea57600080fd5b8035613f2481614086565b600061014082840312156140b257600080fd5b6140ba613f67565b90506140c58261404b565b81526140d36020830161404b565b60208201526140e460408301613f19565b60408201526140f560608301613f19565b60608201526141078360808401614056565b60808201526141198360c08401614056565b60a082015261412b6101008301614094565b60c082015261413d610120830161404b565b60e082015292915050565b60ff81168114611aea57600080fd5b6000806000610180848603121561416d57600080fd5b833561417881613f04565b9250614187856020860161409f565b915061016084013561419881614148565b809150509250925092565b6000602082840312156141b557600080fd5b81356128d681614148565b600082601f8301126141d157600080fd5b81356001600160401b03808211156141eb576141eb613f29565b604051601f8301601f19908116603f0116810190828211818310171561421357614213613f29565b8160405283815286602085880101111561422c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff81168114611aea57600080fd5b8035613f248161424c565b6000610140828403121561427d57600080fd5b614285613f8a565b905061429082613f19565b815261429f8360208401614056565b602082015260608201356001600160401b038111156142bd57600080fd5b6142c9848285016141c0565b6040830152506080820135606082015260a0820135608082015260c082013560a08201526142f960e0830161425f565b60c082015261010061430c81840161425f565b60e083015261431e610120840161425f565b9082015292915050565b6000806040838503121561433b57600080fd5b823561434681613f04565b915060208301356001600160401b0381111561436157600080fd5b61436d8582860161426a565b9150509250929050565b6000806040838503121561438a57600080fd5b823561439581613f04565b915060208301356143a581614148565b809150509250929050565b6000602082840312156143c257600080fd5b81356128d681614036565b60005b838110156143e85781810151838201526020016143d0565b50506000910152565b600081518084526144098160208601602086016143cd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161448660c08401826001600160a01b03169052565b5060c083015160e0808401526144a06101008401826143f1565b949350505050565b6000806000606084860312156144bd57600080fd5b83356144c881613f04565b925060208401356001600160401b038111156144e357600080fd5b6144ef8682870161426a565b925050604084013561419881614148565b6001600160c01b031981168114611aea57600080fd5b8035613f2481614500565b61ffff81168114611aea57600080fd5b8035613f2481614521565b6000610200828403121561454f57600080fd5b614557613fad565b905061456282613f19565b815261457060208301613f19565b602082015261458160408301614516565b604082015261459260608301614516565b60608201526080820135608082015260a082013560a082015260c082013560c08201526145c160e0830161425f565b60e0820152610100808301356001600160401b03808211156145e257600080fd5b6145ee868387016141c0565b8385015261012092508285013591508082111561460a57600080fd5b50614617858286016141c0565b82840152505061014061462b818401614531565b9082015261016061463d838201614531565b9082015261018082810135908201526101a061465a81840161425f565b908201526101c061466c83820161425f565b908201526101e061431e83820161425f565b60008060006060848603121561469357600080fd5b833561469e81613f04565b925060208401356001600160401b038111156146b957600080fd5b6144ef8682870161453c565b6000602082840312156146d757600080fd5b81356128d681613f04565b63ffffffff81168114611aea57600080fd5b8035613f24816146e2565b6000610120828403121561471257600080fd5b61471a613f8a565b905081356001600160401b038082111561473357600080fd5b61473f858386016141c0565b835260208401356020840152604084013560408401526060840135606084015261476b608085016146f4565b608084015261477c60a085016146f4565b60a084015261478d60c08501614094565b60c084015261479e60e08501614094565b60e0840152610100915081840135818111156147b957600080fd5b6147c5868287016141c0565b8385015250505092915050565b600080604083850312156147e557600080fd5b8235915060208301356001600160401b0381111561480257600080fd5b61436d858286016146ff565b60008060008060008060c0878903121561482757600080fd5b863561483281614036565b9550602087013561484281613f04565b9450604087013561485281614148565b9350606087013561486281614086565b9250608087013561487281614036565b915060a08701356001600160401b0381111561488d57600080fd5b61489989828a016141c0565b9150509295509295509295565b6000604082840312156148b857600080fd5b6148c0613f3f565b905081356148cd81613f04565b815260208201356001600160401b038111156148e857600080fd5b6148f4848285016141c0565b60208301525092915050565b6000806040838503121561491357600080fd5b823561491e81614500565b915060208301356001600160401b0381111561493957600080fd5b61436d858286016148a6565b60006080828403121561495757600080fd5b61495f613fd0565b9050813561496c81614521565b81526020828101359082015260408201356001600160401b0381111561499157600080fd5b61499d848285016141c0565b60408301525060608201356149b18161424c565b606082015292915050565b6000806000606084860312156149d157600080fd5b83356149dc81613f04565b925060208401356149ec816146e2565b915060408401356001600160401b03811115614a0757600080fd5b614a1386828701614945565b9150509250925092565b60008060008060808587031215614a3357600080fd5b8435614a3e81613f04565b93506020850135614a4e816146e2565b925060408501356001600160401b03811115614a6957600080fd5b614a7587828801614945565b9250506060850135614a8681614148565b939692955090935050565b60008060408385031215614aa457600080fd5b8235915060208301356143a581614148565b600060e08284031215614ac857600080fd5b614ad0613ff2565b9050614adb82613f19565b815260208201356001600160401b0380821115614af757600080fd5b614b03858386016141c0565b602084015260408401356040840152614b1e606085016146f4565b6060840152614b2f608085016146f4565b6080840152614b4060a0850161425f565b60a084015260c0840135915080821115614b5957600080fd5b50614b66848285016141c0565b60c08301525092915050565b60008060408385031215614b8557600080fd5b8235915060208301356001600160401b03811115614ba257600080fd5b61436d85828601614ab6565b6020815260006128d660208301846143f1565b600060808284031215614bd357600080fd5b614bdb613fd0565b9050813581526020820135602082015260408201356001600160401b0381111561499157600080fd5b60008060008060808587031215614c1a57600080fd5b8435614c2581613f04565b93506020850135614c3581614521565b925060408501356001600160401b03811115614c5057600080fd5b614a7587828801614bc1565b600060a08284031215614c6e57600080fd5b614c76614014565b905081356001600160401b0380821115614c8f57600080fd5b614c9b858386016141c0565b835260208401359150614cad82614036565b81602084015260408401359150614cc382614036565b81604084015260608401359150614cd982614036565b8160608401526080840135915080821115614cf357600080fd5b50614d00848285016141c0565b60808301525092915050565b600080600060608486031215614d2157600080fd5b8335614d2c81613f04565b925060208401356001600160401b03811115614d4757600080fd5b6144ef86828701614c5c565b60008060408385031215614d6657600080fd5b823561439581614500565b60008060408385031215614d8457600080fd5b8235614d8f81613f04565b915060208301356001600160401b03811115614daa57600080fd5b61436d85828601614c5c565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614e12602082018351614db6565b6000602083015160c0808401526144a060e08401826143f1565b60006101008284031215614e3f57600080fd5b60405160c081018181106001600160401b0382111715614e6157614e61613f29565b6040529050808235614e7281613f04565b81526020830135614e8281614036565b6020820152614e948460408501614056565b6040820152614ea68460808501614056565b606082015260c0830135614eb981614036565b8060808301525060e083013560a08201525092915050565b6000806101208385031215614ee557600080fd5b8235614ef081613f04565b9150614eff8460208501614e2c565b90509250929050565b60a081016112ec8284614db6565b600060a08284031215614f2857600080fd5b614f30614014565b90508135614f3d81614500565b81526020820135614f4d81614086565b602082015260408201356001600160401b03811115614f6b57600080fd5b614f77848285016141c0565b604083015250606082013560608201526080820135608082015292915050565b60008060408385031215614faa57600080fd5b8235614fb581613f04565b915060208301356001600160401b03811115614fd057600080fd5b61436d85828601614f16565b600080600060608486031215614ff157600080fd5b8335614ffc81614500565b925060208401356001600160401b0381111561501757600080fd5b6144ef868287016148a6565b60008060006060848603121561503857600080fd5b833561504381614148565b9250602084013561505381614148565b9150604084013561419881614148565b6000806040838503121561507657600080fd5b823561508181613f04565b915060208301356001600160401b0381111561509c57600080fd5b61436d8582860161453c565b6000806000606084860312156150bd57600080fd5b8335925060208401356001600160401b038111156150da57600080fd5b6144ef868287016146ff565b6000806000606084860312156150fb57600080fd5b833561510681613f04565b9250602084013561505381614521565b6000806040838503121561512957600080fd5b823561513481614036565b946020939093013593505050565b60008060006060848603121561515757600080fd5b833561516281614036565b9250602084013561517281614036565b9150604084013561419881614036565b60008060006060848603121561519757600080fd5b8335925060208401356001600160401b038111156151b457600080fd5b6144ef86828701614ab6565b6000806000606084860312156151d557600080fd5b83356151e081614036565b925060208401356151f081614036565b929592945050506040919091013590565b60ff1981168114611aea57600080fd5b6000806040838503121561522457600080fd5b823561522f81614148565b915060208301356143a581615201565b6000806000610140848603121561525557600080fd5b833561526081613f04565b925061526f8560208601614e2c565b915061012084013561419881614148565b6000806040838503121561529357600080fd5b823561529e81614036565b915060208301356143a581614036565b6000806000606084860312156152c357600080fd5b83356152ce81613f04565b925060208401356152de81614521565b915060408401356001600160401b038111156152f957600080fd5b614a1386828701614bc1565b60008060006060848603121561531a57600080fd5b833561532581613f04565b925060208401356001600160401b0381111561534057600080fd5b6144ef86828701614f16565b600080610160838503121561536057600080fd5b823561536b81613f04565b9150614eff846020850161409f565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916153c9908401826001600160601b03169052565b5060808301516153e6608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b602081526154436020820183516001600160601b03169052565b60006020830151615461604084018280518252602090810151910152565b50604083015161014080608085015261547e6101608501836143f1565b9150606085015160a0850152608085015160c085015260a085015160e085015260c08501516101006154b88187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b6000602082840312156154f757600080fd5b81516128d681614036565b600181811c9082168061551657607f821691505b60208210810361553657634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561554e57600080fd5b81516128d681614086565b60006020828403121561556b57600080fd5b81516128d681613f04565b602081526155906020820183516001600160601b03169052565b600060208301516155ac60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006156118185018364ffffffffff169052565b8085015191505061020061012081818601526156316102208601846143f1565b9250808601519050610140601f19868503018187015261565184836143f1565b93508087015191505061016061566c8187018361ffff169052565b86015190506101806156838682018361ffff169052565b8601516101a08681019190915286015190506101c06156aa8187018364ffffffffff169052565b86015190506101e06154ce8682018364ffffffffff169052565b6000602082840312156156d657600080fd5b5051919050565b60208152600082516101208060208501526156fc6101408501836143f1565b9150602085015160408501526040850151606085015260608501516080850152608085015161573360a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006157698187018315159052565b860151858403601f190183870152905061578383826143f1565b9695505050505050565b601f821115610c7357600081815260208120601f850160051c810160208610156157b45750805b601f850160051c820191505b81811015612c19578281556001016157c0565b81516001600160401b038111156157ec576157ec613f29565b615800816157fa8454615502565b8461578d565b602080601f831160018114615835576000841561581d5750858301515b600019600386901b1c1916600185901b178555612c19565b600085815260208120601f198616915b8281101561586457888601518255948401946001909101908401615845565b50858210156158825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526144a060608401826143f1565b6020815261ffff82511660208201526020820151604082015260006040830151608060608401526158f460a08401826143f1565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160601b0382511660208201526000602083015160e060408401526159416101008401826143f1565b90506040840151606084015263ffffffff6060850151166080840152608084015161597460a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526159a382826143f1565b95945050505050565b60208152815160208201526020820151604082015260006040830151608060608401526158f460a08401826143f1565b602081526000825160a060208401526159f860c08401826143f1565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151601f198483030160a08501526159a382826143f1565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615af560c08401826143f1565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615b3d57600080fd5b81516128d681614148565b60008085851115615b5857600080fd5b83861115615b6557600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615b9a5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615bf457600080fd5b81516001600160401b03811681146128d657600080fd5b60008251615c1d8184602087016143cd565b9190910192915050565b60008060408385031215615c3a57600080fd5b8251615c4581614086565b60208401519092506143a5816146e2565b600060208284031215615c6857600080fd5b81516128d681615201565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220e049e50ee6b5934f82ffdbad61686d21dbc2f26f8dde3b29d305a89ee52bac4364736f6c63430008140033",
2952
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104d85760003560e01c806375b238fc11610283578063bf7e214f1161015c578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610bcb578063fa145b6d14610bde578063fb4a8e3414610bf1578063fbc1a3a014610c04578063fe1f18d614610c17578063fed3d63f14610c2a57600080fd5b8063e9e96c7014610b54578063f21de1e814610830578063f48016ce14610b92578063f7b442d114610ba5578063f7bc431c14610bb857600080fd5b8063cf947d2011610120578063cf947d2014610aea578063d2f21a2914610afd578063dee3262314610b10578063e1033e7d14610b23578063e5f6cd2714610b2b578063e7f7fb8614610b4157600080fd5b8063bf7e214f14610abf578063c0c53b8b14610ac7578063c29948fc14610635578063ca600b1c14610ada578063cde749f414610ae257600080fd5b8063a5961b4c116101f5578063afa5e130116101b9578063afa5e130146107c4578063afcc743914610a60578063b3260e9314610a73578063b6d7cd6214610a86578063bb1e0e5914610a99578063bf1db3f914610aac57600080fd5b8063a5961b4c14610961578063a671495e14610a12578063a76ee01814610a25578063a898967514610a38578063ada9652e14610a4b57600080fd5b80638e28413f116102475780638e28413f146108e75780638eaa6ac0146108fa5780638fb360371461091a5780639df0280b146105f25780639e90178c1461093b578063a13df2ab1461094e57600080fd5b806375b238fc1461089e5780637a9e5e4b146108a65780637b8c388f146108b95780637cef4842146108cc578063893d20e8146108df57600080fd5b806338a699a4116103b557806354d747a8116103275780635d4345cc116102eb5780635d4345cc146105f25780635dfa73db1461084157806361f5f4201461084a578063644c45e01461085b578063675393bf146108835780636b9bf08b1461089657600080fd5b806354d747a8146107d757806354f6127f146107ea5780635772b1011461080a57806358dff9ea1461081d5780635ab1bd531461083057600080fd5b8063422c9d0011610379578063422c9d001461077b5780634288121d1461078e578063447fc48f14610796578063468a1867146107a9578063468bce06146107bc5780635378cd3c146107c457600080fd5b806338a699a4146107095780633c0d6a411461071c5780633ca7c02a1461072f5780633e35aba81461075557806340529b0f1461076857600080fd5b8063138461e01161044e5780632781d443116104125780632781d443146106a357806327953f48146106ab57806327bb7a33146106be5780632f61088a146106d157806336fc697e146106e457806337f135d7146106ec57600080fd5b8063138461e01461062d5780631518afb9146106355780631b38d5f4146106485780631eff4b2214610669578063214cdb801461069057600080fd5b80630f03144a116104a05780630f03144a146105b95780630f526f7d146105cc5780630f749a89146105df5780630fad0eb1146105f25780630fec111c146106055780631204b5531461061a57600080fd5b806301ffc9a7146104dd57806302cd30711461051f57806309648a9d146105445780630cbc6b891461057e5780630d35818114610593575b600080fd5b61050a6104eb366004613ec1565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b039091168152602001610516565b61056c610552366004613eeb565b600090815260046020526040902054610100900460ff1690565b60405160ff9091168152602001610516565b61059161058c366004614157565b610c32565b005b61056c6105a13660046141a3565b60ff9081166000908152600260205260409020541690565b6105916105c7366004614328565b610c78565b6105916105da366004614377565b610cb6565b6105916105ed3660046143b0565b610cd3565b610591610600366004614377565b610e41565b61060d610e56565b604051610516919061441d565b6105916106283660046144a8565b611005565b61059161102b565b61059161064336600461467e565b61122d565b61065b6106563660046146c5565b611253565b604051908152602001610516565b61065b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61059161069e366004613ec1565b6112f2565b61065b600381565b6105916106b93660046147d2565b61131f565b6105916106cc36600461480e565b61133d565b6105916106df366004614900565b6113c9565b610591611464565b6106f4600081565b60405163ffffffff9091168152602001610516565b61050a610717366004613eeb565b6114aa565b61059161072a3660046149bc565b611539565b61073d6001600160401b0381565b6040516001600160401b039091168152602001610516565b61065b6107633660046146c5565b61155f565b610591610776366004614377565b61158c565b6105916107893660046143b0565b6115a1565b61052c6117a7565b6105916107a4366004614a1d565b61183a565b61065b6107b73660046146c5565b611866565b610591611893565b6105916107d2366004614a91565b6118bd565b6105916107e5366004614b72565b6118d0565b6107fd6107f8366004613eeb565b6118ee565b6040516105169190614bae565b610591610818366004614c04565b611993565b61059161082b366004614d0c565b6119b9565b6001546001600160a01b031661052c565b61073d61271081565b6007546001600160a01b031661052c565b600080516020615cc4833981519152546040516001600160601b039091168152602001610516565b6105916108913660046143b0565b6119e1565b61052c611aed565b61073d600081565b6105916108b43660046143b0565b611b16565b61065b6108c73660046146c5565b611b99565b6105916108da366004614d53565b611bc6565b61052c611c50565b6105916108f5366004614d71565b611d87565b61090d610908366004613eeb565b611daf565b6040516105169190614e00565b610922611ef0565b6040516001600160e01b03199091168152602001610516565b610591610949366004614ed1565b611f28565b61065b61095c3660046146c5565b611f50565b610a0561096f366004613eeb565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516105169190614f08565b610591610a20366004614f97565b611f7d565b610591610a33366004614fdc565b611fa3565b610591610a46366004615023565b61203e565b61065b600080516020615cc483398151915281565b610591610a6e366004615063565b61212f565b610591610a813660046150a8565b612155565b610591610a943660046150e6565b612173565b610591610aa7366004615116565b612188565b61050a610aba3660046141a3565b61234d565b61052c61239a565b610591610ad5366004615142565b6123b6565b61052c612563565b61056c61258c565b610591610af8366004615182565b612603565b610591610b0b366004614377565b612621565b610591610b1e366004614377565b612638565b61052c61264f565b60055461010090046001600160a01b031661052c565b610591610b4f3660046151c0565b612678565b61050a610b62366004615023565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b61065b610ba0366004615211565b612852565b610591610bb336600461523f565b6128dd565b610591610bc63660046143b0565b612905565b610591610bd9366004615280565b6129f2565b610591610bec3660046152ae565b612a69565b610591610bff366004615305565b612a8f565b610591610c1236600461534c565b612ab5565b610591610c25366004614377565b612add565b61052c612af2565b610c3f335b600036612b1b565b610c73610c4d84606e612c21565b83604051602001610c5e919061537a565b60405160208183030381529060405283612c6d565b505050565b610c8133610c37565b610cb2610c8d83611f50565b82604051602001610c9e9190615429565b604051602081830303815290604052612c78565b5050565b610cbf33610c37565b610cb2610ccd83608c612c21565b82612c82565b610cdc33610c37565b60055461010090046001600160a01b031615610d3f5760405162461bcd60e51b815260206004820152601c60248201527f496e7374616e63654163636573734d616e61676572206973207365740000000060448201526064015b60405180910390fd5b610d4761239a565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d8e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db291906154e5565b6001600160a01b031614610e195760405162461bcd60e51b815260206004820152602860248201527f496e7374616e63654163636573734d616e6167657220617574686f72697479206044820152670dad2e6dac2e8c6d60c31b6064820152608401610d36565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610e4a33610c37565b610cb2610ccd83611866565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610f0190615502565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2d90615502565b8015610f7a5780601f10610f4f57610100808354040283529160200191610f7a565b820191906000526020600020905b815481529060010190602001808311610f5d57829003601f168201915b50505050508152505090506040518060e00160405280610f98600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610fe9611c50565b6001600160a01b03168152602001826060015181525091505090565b61100e33610c37565b610c7361101a84611f50565b83604051602001610c5e9190615429565b6000600080516020615cc483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561109a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110be919061553c565b156110ea5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610d36565b306110fd6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015611145573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611169919061553c565b6111915760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610d36565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156111e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112099190615559565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61123633610c37565b610c7361124284611866565b83604051602001610c5e9190615576565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156112c8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ec91906156c4565b92915050565b6112fa612c8c565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61132833610c37565b610cb28282604051602001610c9e91906156dd565b611345612c8c565b61134f82876129f2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016113bf83826157d3565b5050505050505050565b6113d233610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610cb29073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561142f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061145391906156c4565b82604051602001610c9e9190615892565b61146c612c8c565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015611515573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ec919061553c565b61154233610c37565b610c7361154e84611866565b82604051602001610c9e91906158c0565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861127c565b61159533610c37565b610cb2610ccd83611b99565b6115aa33610c37565b6007546001600160a01b0316156115fa5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610d36565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611642573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166691906154e5565b6001600160a01b0316146116bc5760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610d36565b6116c461239a565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561170b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061172f91906154e5565b6001600160a01b0316146117855760405162461bcd60e51b815260206004820181905260248201527f42756e646c654d616e6167657220617574686f72697479206d69736d617463686044820152606401610d36565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006117bb6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015611811573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061183591906154e5565b905090565b61184333610c37565b61186061184f85611866565b83604051602001610c5e91906158c0565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361127c565b61189b612c8c565b6118a3612cd5565b6118ab612df8565b6118b3612eeb565b6118bb612ff9565b565b6118c633610c37565b610cb28282612c82565b6118d933610c37565b610cb28282604051602001610c9e9190615911565b600081815260046020526040902060010180546060919061190e90615502565b80601f016020809104026020016040519081016040528092919081815260200182805461193a90615502565b80156119875780601f1061195c57610100808354040283529160200191611987565b820191906000526020600020905b81548152906001019060200180831161196a57829003601f168201915b50505050509050919050565b61199c33610c37565b6118606119a885611866565b83604051602001610c5e91906159ac565b6119c233610c37565b610c736119d084608c612c21565b83604051602001610c5e91906159dc565b6119e9612c8c565b806001600160a01b03163b600003611a1f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610d36565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611a99575060408051601f3d908101601f19168201909252611a969181019061553c565b60015b611ac15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610d36565b80610cb25760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610d36565b50565b6000611b016001546001600160a01b031690565b6001600160a01b031663d39e6043608c6117cc565b33611b1f61239a565b6001600160a01b0316816001600160a01b031614611b5a5760405162d1953b60e31b81526001600160a01b0382166004820152602401610d36565b816001600160a01b03163b600003611b90576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d36565b610cb2826130b5565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61127c565b611bcf33610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610cb29073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611c2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ccd91906156c4565b600080600080516020615cc483398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611cc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce4919061553c565b15611d71576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611d47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d6b91906154e5565b91505090565b54600160601b90046001600160a01b0316919050565b611d9033610c37565b610cb2611d9e83608c612c21565b82604051602001610c9e91906159dc565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611e6790615502565b80601f0160208091040260200160405190810160405280929190818152602001828054611e9390615502565b8015611ee05780601f10611eb557610100808354040283529160200191611ee0565b820191906000526020600020905b815481529060010190602001808311611ec357829003601f168201915b5050505050815250509050919050565b600080516020615ce4833981519152805460009190600160a01b900460ff16611f1a576000611d6b565b638fb3603760e01b91505090565b611f3133610c37565b610cb2611f3f836078612c21565b82604051602001610c9e9190615a43565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61127c565b611f8633610c37565b610cb2611f9283611b99565b82604051602001610c9e9190615ab7565b611fac33610c37565b6040516355ee627560e01b81526001600160c01b031984166004820152610c739073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015612009573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061202d91906156c4565b83604051602001610c5e9190615892565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156120a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120c7919061553c565b156120d157505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610c7357604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d36565b61213833610c37565b610cb261214483611866565b82604051602001610c9e9190615576565b61215e33610c37565b610c738383604051602001610c5e91906156dd565b61217c33610c37565b610c73610ccd84611866565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121f591906154e5565b6001600160a01b0316336001600160a01b03161461221257600080fd5b60055461010090046001600160a01b03166303014974612230613116565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa158015612274573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061229891906156c4565b156122a5576122a5615b15565b60055461010090046001600160a01b031663b428b0b06122c3613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af1158015612318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061233c919061553c565b1515600114610cb257610cb2615b15565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016114f8565b600080516020615ce4833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156123fb5750825b90506000826001600160401b031660011480156124175750303b155b905081158015612425575080155b156124435760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561246d57845460ff60401b1916600160401b1785555b6124768861318e565b60008790506124fb88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156124bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e19190615559565b604660018b6040518060200160405280600081525061133d565b612503611893565b61251363200c173160e01b6112f2565b5083156113bf57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006125776001546001600160a01b031690565b6001600160a01b031663d39e604360786117cc565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156125df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118359190615b2b565b61260c33610c37565b610c738383604051602001610c5e9190615911565b61262a33610c37565b610cb2610ccd836078612c21565b61264133610c37565b610cb2610ccd83606e612c21565b60006126636001546001600160a01b031690565b6001600160a01b031663d39e604360d36117cc565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e591906154e5565b6001600160a01b0316336001600160a01b03161461270257600080fd5b60055461010090046001600160a01b031663b7d2b162612720613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af1158015612775573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612799919061553c565b15156001146127aa576127aa615b15565b60055461010090046001600160a01b031663b428b0b06127c8613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af115801561281d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612841919061553c565b1515600114610c7357610c73615b15565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156128b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d691906156c4565b9392505050565b6128e633610c37565b610c736128f4846078612c21565b83604051602001610c5e9190615a43565b61290e33610c37565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612956573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297a91906154e5565b6001600160a01b0316146129d05760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610d36565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6129fa612c8c565b612a03816119e1565b612a0b611464565b6001600160a01b038216612a325760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615cc483398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612a7233610c37565b610c73612a7e84611866565b82604051602001610c9e91906159ac565b612a9833610c37565b610c73612aa484611b99565b83604051602001610c5e9190615ab7565b612abe33610c37565b610cb2612acc83606e612c21565b82604051602001610c9e919061537a565b612ae633610c37565b610cb2610ccd83611f50565b6000612b066001546001600160a01b031690565b6001600160a01b031663d39e604360dc6117cc565b600080516020615ce4833981519152600080612b56612b3861239a565b8730612b48600460008a8c615b48565b612b5191615b72565b61319f565b9150915081612c195763ffffffff811615612bf657825460ff60a01b1916600160a01b178355612b8461239a565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612bb393929190615ba2565b600060405180830381600087803b158015612bcd57600080fd5b505af1158015612be1573d6000803e3d6000fd5b5050845460ff60a01b1916855550612c199050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d36565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612895565b610c738383836132ab565b610cb28282613753565b610cb28282613b6c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166118bb57604051631afcd79f60e31b815260040160405180910390fd5b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff1681526020019081526020016000206000612dd460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff1681526020019081526020016000206000612ecd606e90565b60ff1660ff1681526020019081526020016000206000612dd460d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa906064612db6565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c8612eaf565b600080516020615ce483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561316a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118359190615be2565b613196612c8c565b611aea81613eb0565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161320e9190615c0b565b600060405180830381855afa9150503d8060008114613249576040519150601f19603f3d011682016040523d82523d6000602084013e61324e565b606091505b509150915081156132a057604081511061328057808060200190518101906132769190615c27565b90945092506132a0565b60208151106132a0578080602001905181019061329d919061553c565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156132fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613321919061553c565b61336d5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610d36565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156133d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133fd919061553c565b6134495760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610d36565b600085815260046020526040902060010161346485826157d3565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166134a94390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561353b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061355f9190615b2b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135d39190615c56565b85888632876040516135eb9796959493929190615c73565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613665573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136899190615b2b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156136d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136fd9190615c56565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156137a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137ca9190615b2b565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af415801561381f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613843919061553c565b61388f5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610d36565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156138fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613920919061553c565b61396c5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610d36565b334360006139798561234d565b61398457606461399a565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101613a2487826157d3565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613a97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613abb9190615b2b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613b0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b2f9190615c56565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001613742565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613bbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613be2919061553c565b613c2e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610d36565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613c9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613cbe919061553c565b613d0a5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610d36565b8154613d1a9060ff16828561203e565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416613d5e4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613df0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e149190615b2b565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613e64573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e889190615c56565b8588863287604051613ea09796959493929190615c73565b60405180910390a1505050505050565b613eb8612c8c565b611aea816130b5565b600060208284031215613ed357600080fd5b81356001600160e01b0319811681146128d657600080fd5b600060208284031215613efd57600080fd5b5035919050565b6001600160601b0381168114611aea57600080fd5b8035613f2481613f04565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f6157613f61613f29565b60405290565b60405161010081016001600160401b0381118282101715613f6157613f61613f29565b60405161012081016001600160401b0381118282101715613f6157613f61613f29565b60405161020081016001600160401b0381118282101715613f6157613f61613f29565b604051608081016001600160401b0381118282101715613f6157613f61613f29565b60405160e081016001600160401b0381118282101715613f6157613f61613f29565b60405160a081016001600160401b0381118282101715613f6157613f61613f29565b6001600160a01b0381168114611aea57600080fd5b8035613f2481614036565b60006040828403121561406857600080fd5b614070613f3f565b9050813581526020820135602082015292915050565b8015158114611aea57600080fd5b8035613f2481614086565b600061014082840312156140b257600080fd5b6140ba613f67565b90506140c58261404b565b81526140d36020830161404b565b60208201526140e460408301613f19565b60408201526140f560608301613f19565b60608201526141078360808401614056565b60808201526141198360c08401614056565b60a082015261412b6101008301614094565b60c082015261413d610120830161404b565b60e082015292915050565b60ff81168114611aea57600080fd5b6000806000610180848603121561416d57600080fd5b833561417881613f04565b9250614187856020860161409f565b915061016084013561419881614148565b809150509250925092565b6000602082840312156141b557600080fd5b81356128d681614148565b600082601f8301126141d157600080fd5b81356001600160401b03808211156141eb576141eb613f29565b604051601f8301601f19908116603f0116810190828211818310171561421357614213613f29565b8160405283815286602085880101111561422c57600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff81168114611aea57600080fd5b8035613f248161424c565b6000610140828403121561427d57600080fd5b614285613f8a565b905061429082613f19565b815261429f8360208401614056565b602082015260608201356001600160401b038111156142bd57600080fd5b6142c9848285016141c0565b6040830152506080820135606082015260a0820135608082015260c082013560a08201526142f960e0830161425f565b60c082015261010061430c81840161425f565b60e083015261431e610120840161425f565b9082015292915050565b6000806040838503121561433b57600080fd5b823561434681613f04565b915060208301356001600160401b0381111561436157600080fd5b61436d8582860161426a565b9150509250929050565b6000806040838503121561438a57600080fd5b823561439581613f04565b915060208301356143a581614148565b809150509250929050565b6000602082840312156143c257600080fd5b81356128d681614036565b60005b838110156143e85781810151838201526020016143d0565b50506000910152565b600081518084526144098160208601602086016143cd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161448660c08401826001600160a01b03169052565b5060c083015160e0808401526144a06101008401826143f1565b949350505050565b6000806000606084860312156144bd57600080fd5b83356144c881613f04565b925060208401356001600160401b038111156144e357600080fd5b6144ef8682870161426a565b925050604084013561419881614148565b6001600160c01b031981168114611aea57600080fd5b8035613f2481614500565b61ffff81168114611aea57600080fd5b8035613f2481614521565b6000610200828403121561454f57600080fd5b614557613fad565b905061456282613f19565b815261457060208301613f19565b602082015261458160408301614516565b604082015261459260608301614516565b60608201526080820135608082015260a082013560a082015260c082013560c08201526145c160e0830161425f565b60e0820152610100808301356001600160401b03808211156145e257600080fd5b6145ee868387016141c0565b8385015261012092508285013591508082111561460a57600080fd5b50614617858286016141c0565b82840152505061014061462b818401614531565b9082015261016061463d838201614531565b9082015261018082810135908201526101a061465a81840161425f565b908201526101c061466c83820161425f565b908201526101e061431e83820161425f565b60008060006060848603121561469357600080fd5b833561469e81613f04565b925060208401356001600160401b038111156146b957600080fd5b6144ef8682870161453c565b6000602082840312156146d757600080fd5b81356128d681613f04565b63ffffffff81168114611aea57600080fd5b8035613f24816146e2565b6000610120828403121561471257600080fd5b61471a613f8a565b905081356001600160401b038082111561473357600080fd5b61473f858386016141c0565b835260208401356020840152604084013560408401526060840135606084015261476b608085016146f4565b608084015261477c60a085016146f4565b60a084015261478d60c08501614094565b60c084015261479e60e08501614094565b60e0840152610100915081840135818111156147b957600080fd5b6147c5868287016141c0565b8385015250505092915050565b600080604083850312156147e557600080fd5b8235915060208301356001600160401b0381111561480257600080fd5b61436d858286016146ff565b60008060008060008060c0878903121561482757600080fd5b863561483281614036565b9550602087013561484281613f04565b9450604087013561485281614148565b9350606087013561486281614086565b9250608087013561487281614036565b915060a08701356001600160401b0381111561488d57600080fd5b61489989828a016141c0565b9150509295509295509295565b6000604082840312156148b857600080fd5b6148c0613f3f565b905081356148cd81613f04565b815260208201356001600160401b038111156148e857600080fd5b6148f4848285016141c0565b60208301525092915050565b6000806040838503121561491357600080fd5b823561491e81614500565b915060208301356001600160401b0381111561493957600080fd5b61436d858286016148a6565b60006080828403121561495757600080fd5b61495f613fd0565b9050813561496c81614521565b81526020828101359082015260408201356001600160401b0381111561499157600080fd5b61499d848285016141c0565b60408301525060608201356149b18161424c565b606082015292915050565b6000806000606084860312156149d157600080fd5b83356149dc81613f04565b925060208401356149ec816146e2565b915060408401356001600160401b03811115614a0757600080fd5b614a1386828701614945565b9150509250925092565b60008060008060808587031215614a3357600080fd5b8435614a3e81613f04565b93506020850135614a4e816146e2565b925060408501356001600160401b03811115614a6957600080fd5b614a7587828801614945565b9250506060850135614a8681614148565b939692955090935050565b60008060408385031215614aa457600080fd5b8235915060208301356143a581614148565b600060e08284031215614ac857600080fd5b614ad0613ff2565b9050614adb82613f19565b815260208201356001600160401b0380821115614af757600080fd5b614b03858386016141c0565b602084015260408401356040840152614b1e606085016146f4565b6060840152614b2f608085016146f4565b6080840152614b4060a0850161425f565b60a084015260c0840135915080821115614b5957600080fd5b50614b66848285016141c0565b60c08301525092915050565b60008060408385031215614b8557600080fd5b8235915060208301356001600160401b03811115614ba257600080fd5b61436d85828601614ab6565b6020815260006128d660208301846143f1565b600060808284031215614bd357600080fd5b614bdb613fd0565b9050813581526020820135602082015260408201356001600160401b0381111561499157600080fd5b60008060008060808587031215614c1a57600080fd5b8435614c2581613f04565b93506020850135614c3581614521565b925060408501356001600160401b03811115614c5057600080fd5b614a7587828801614bc1565b600060a08284031215614c6e57600080fd5b614c76614014565b905081356001600160401b0380821115614c8f57600080fd5b614c9b858386016141c0565b835260208401359150614cad82614036565b81602084015260408401359150614cc382614036565b81604084015260608401359150614cd982614036565b8160608401526080840135915080821115614cf357600080fd5b50614d00848285016141c0565b60808301525092915050565b600080600060608486031215614d2157600080fd5b8335614d2c81613f04565b925060208401356001600160401b03811115614d4757600080fd5b6144ef86828701614c5c565b60008060408385031215614d6657600080fd5b823561439581614500565b60008060408385031215614d8457600080fd5b8235614d8f81613f04565b915060208301356001600160401b03811115614daa57600080fd5b61436d85828601614c5c565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614e12602082018351614db6565b6000602083015160c0808401526144a060e08401826143f1565b60006101008284031215614e3f57600080fd5b60405160c081018181106001600160401b0382111715614e6157614e61613f29565b6040529050808235614e7281613f04565b81526020830135614e8281614036565b6020820152614e948460408501614056565b6040820152614ea68460808501614056565b606082015260c0830135614eb981614036565b8060808301525060e083013560a08201525092915050565b6000806101208385031215614ee557600080fd5b8235614ef081613f04565b9150614eff8460208501614e2c565b90509250929050565b60a081016112ec8284614db6565b600060a08284031215614f2857600080fd5b614f30614014565b90508135614f3d81614500565b81526020820135614f4d81614086565b602082015260408201356001600160401b03811115614f6b57600080fd5b614f77848285016141c0565b604083015250606082013560608201526080820135608082015292915050565b60008060408385031215614faa57600080fd5b8235614fb581613f04565b915060208301356001600160401b03811115614fd057600080fd5b61436d85828601614f16565b600080600060608486031215614ff157600080fd5b8335614ffc81614500565b925060208401356001600160401b0381111561501757600080fd5b6144ef868287016148a6565b60008060006060848603121561503857600080fd5b833561504381614148565b9250602084013561505381614148565b9150604084013561419881614148565b6000806040838503121561507657600080fd5b823561508181613f04565b915060208301356001600160401b0381111561509c57600080fd5b61436d8582860161453c565b6000806000606084860312156150bd57600080fd5b8335925060208401356001600160401b038111156150da57600080fd5b6144ef868287016146ff565b6000806000606084860312156150fb57600080fd5b833561510681613f04565b9250602084013561505381614521565b6000806040838503121561512957600080fd5b823561513481614036565b946020939093013593505050565b60008060006060848603121561515757600080fd5b833561516281614036565b9250602084013561517281614036565b9150604084013561419881614036565b60008060006060848603121561519757600080fd5b8335925060208401356001600160401b038111156151b457600080fd5b6144ef86828701614ab6565b6000806000606084860312156151d557600080fd5b83356151e081614036565b925060208401356151f081614036565b929592945050506040919091013590565b60ff1981168114611aea57600080fd5b6000806040838503121561522457600080fd5b823561522f81614148565b915060208301356143a581615201565b6000806000610140848603121561525557600080fd5b833561526081613f04565b925061526f8560208601614e2c565b915061012084013561419881614148565b6000806040838503121561529357600080fd5b823561529e81614036565b915060208301356143a581614036565b6000806000606084860312156152c357600080fd5b83356152ce81613f04565b925060208401356152de81614521565b915060408401356001600160401b038111156152f957600080fd5b614a1386828701614bc1565b60008060006060848603121561531a57600080fd5b833561532581613f04565b925060208401356001600160401b0381111561534057600080fd5b6144ef86828701614f16565b600080610160838503121561536057600080fd5b823561536b81613f04565b9150614eff846020850161409f565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916153c9908401826001600160601b03169052565b5060808301516153e6608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b602081526154436020820183516001600160601b03169052565b60006020830151615461604084018280518252602090810151910152565b50604083015161014080608085015261547e6101608501836143f1565b9150606085015160a0850152608085015160c085015260a085015160e085015260c08501516101006154b88187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b6000602082840312156154f757600080fd5b81516128d681614036565b600181811c9082168061551657607f821691505b60208210810361553657634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561554e57600080fd5b81516128d681614086565b60006020828403121561556b57600080fd5b81516128d681613f04565b602081526155906020820183516001600160601b03169052565b600060208301516155ac60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006156118185018364ffffffffff169052565b8085015191505061020061012081818601526156316102208601846143f1565b9250808601519050610140601f19868503018187015261565184836143f1565b93508087015191505061016061566c8187018361ffff169052565b86015190506101806156838682018361ffff169052565b8601516101a08681019190915286015190506101c06156aa8187018364ffffffffff169052565b86015190506101e06154ce8682018364ffffffffff169052565b6000602082840312156156d657600080fd5b5051919050565b60208152600082516101208060208501526156fc6101408501836143f1565b9150602085015160408501526040850151606085015260608501516080850152608085015161573360a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006157698187018315159052565b860151858403601f190183870152905061578383826143f1565b9695505050505050565b601f821115610c7357600081815260208120601f850160051c810160208610156157b45750805b601f850160051c820191505b81811015612c19578281556001016157c0565b81516001600160401b038111156157ec576157ec613f29565b615800816157fa8454615502565b8461578d565b602080601f831160018114615835576000841561581d5750858301515b600019600386901b1c1916600185901b178555612c19565b600085815260208120601f198616915b8281101561586457888601518255948401946001909101908401615845565b50858210156158825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526144a060608401826143f1565b6020815261ffff82511660208201526020820151604082015260006040830151608060608401526158f460a08401826143f1565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160601b0382511660208201526000602083015160e060408401526159416101008401826143f1565b90506040840151606084015263ffffffff6060850151166080840152608084015161597460a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e08501526159a382826143f1565b95945050505050565b60208152815160208201526020820151604082015260006040830151608060608401526158f460a08401826143f1565b602081526000825160a060208401526159f860c08401826143f1565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151601f198483030160a08501526159a382826143f1565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615af560c08401826143f1565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615b3d57600080fd5b81516128d681614148565b60008085851115615b5857600080fd5b83861115615b6557600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615b9a5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615bf457600080fd5b81516001600160401b03811681146128d657600080fd5b60008251615c1d8184602087016143cd565b9190910192915050565b60008060408385031215615c3a57600080fd5b8251615c4581614086565b60208401519092506143a5816146e2565b600060208284031215615c6857600080fd5b81516128d681615201565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220e049e50ee6b5934f82ffdbad61686d21dbc2f26f8dde3b29d305a89ee52bac4364736f6c63430008140033",
2749
2953
  "linkReferences": {
2750
2954
  "contracts/types/Key32.sol": {
2751
2955
  "Key32Lib": [
2752
2956
  {
2753
2957
  "length": 20,
2754
- "start": 9148
2958
+ "start": 10392
2755
2959
  },
2756
2960
  {
2757
2961
  "length": 20,
2758
- "start": 10527
2962
+ "start": 13602
2759
2963
  },
2760
2964
  {
2761
2965
  "length": 20,
2762
- "start": 11276
2966
+ "start": 13718
2763
2967
  },
2764
2968
  {
2765
2969
  "length": 20,
2766
- "start": 11392
2970
+ "start": 13900
2767
2971
  },
2768
2972
  {
2769
2973
  "length": 20,
2770
- "start": 12130
2974
+ "start": 14016
2771
2975
  },
2772
2976
  {
2773
2977
  "length": 20,
2774
- "start": 12246
2978
+ "start": 14221
2775
2979
  },
2776
2980
  {
2777
2981
  "length": 20,
2778
- "start": 12978
2982
+ "start": 14974
2779
2983
  },
2780
2984
  {
2781
2985
  "length": 20,
2782
- "start": 13094
2986
+ "start": 15090
2783
2987
  },
2784
2988
  {
2785
2989
  "length": 20,
2786
- "start": 13276
2990
+ "start": 15831
2787
2991
  },
2788
2992
  {
2789
2993
  "length": 20,
2790
- "start": 13392
2994
+ "start": 15947
2791
2995
  }
2792
2996
  ]
2793
2997
  },
@@ -2795,23 +2999,35 @@
2795
2999
  "NftIdLib": [
2796
3000
  {
2797
3001
  "length": 20,
2798
- "start": 4931
3002
+ "start": 4225
3003
+ },
3004
+ {
3005
+ "length": 20,
3006
+ "start": 4728
3007
+ },
3008
+ {
3009
+ "length": 20,
3010
+ "start": 5508
2799
3011
  },
2800
3012
  {
2801
3013
  "length": 20,
2802
- "start": 6377
3014
+ "start": 6283
2803
3015
  },
2804
3016
  {
2805
3017
  "length": 20,
2806
- "start": 7149
3018
+ "start": 7102
2807
3019
  },
2808
3020
  {
2809
3021
  "length": 20,
2810
- "start": 8311
3022
+ "start": 7335
2811
3023
  },
2812
3024
  {
2813
3025
  "length": 20,
2814
- "start": 9802
3026
+ "start": 8053
3027
+ },
3028
+ {
3029
+ "length": 20,
3030
+ "start": 11372
2815
3031
  }
2816
3032
  ]
2817
3033
  },
@@ -2819,7 +3035,7 @@
2819
3035
  "ObjectTypeLib": [
2820
3036
  {
2821
3037
  "length": 20,
2822
- "start": 10648
3038
+ "start": 14342
2823
3039
  }
2824
3040
  ]
2825
3041
  },
@@ -2827,15 +3043,23 @@
2827
3043
  "RiskIdLib": [
2828
3044
  {
2829
3045
  "length": 20,
2830
- "start": 5551
3046
+ "start": 5142
2831
3047
  },
2832
3048
  {
2833
3049
  "length": 20,
2834
- "start": 7009
3050
+ "start": 7187
2835
3051
  },
2836
3052
  {
2837
3053
  "length": 20,
2838
- "start": 8396
3054
+ "start": 8176
3055
+ }
3056
+ ]
3057
+ },
3058
+ "contracts/types/RoleId.sol": {
3059
+ "RoleIdLib": [
3060
+ {
3061
+ "length": 20,
3062
+ "start": 12625
2839
3063
  }
2840
3064
  ]
2841
3065
  },
@@ -2843,35 +3067,43 @@
2843
3067
  "StateIdLib": [
2844
3068
  {
2845
3069
  "length": 20,
2846
- "start": 5749
3070
+ "start": 5371
2847
3071
  },
2848
3072
  {
2849
3073
  "length": 20,
2850
- "start": 8550
3074
+ "start": 8330
2851
3075
  },
2852
3076
  {
2853
3077
  "length": 20,
2854
- "start": 8909
3078
+ "start": 9113
2855
3079
  },
2856
3080
  {
2857
3081
  "length": 20,
2858
- "start": 10865
3082
+ "start": 13028
2859
3083
  },
2860
3084
  {
2861
3085
  "length": 20,
2862
- "start": 11584
3086
+ "start": 13248
2863
3087
  },
2864
3088
  {
2865
3089
  "length": 20,
2866
- "start": 11804
3090
+ "start": 14563
2867
3091
  },
2868
3092
  {
2869
3093
  "length": 20,
2870
- "start": 12404
3094
+ "start": 15269
2871
3095
  },
2872
3096
  {
2873
3097
  "length": 20,
2874
- "start": 12624
3098
+ "start": 15489
3099
+ }
3100
+ ]
3101
+ },
3102
+ "contracts/types/Version.sol": {
3103
+ "VersionPartLib": [
3104
+ {
3105
+ "length": 20,
3106
+ "start": 9670
2875
3107
  }
2876
3108
  ]
2877
3109
  }
@@ -2881,43 +3113,43 @@
2881
3113
  "Key32Lib": [
2882
3114
  {
2883
3115
  "length": 20,
2884
- "start": 7245
3116
+ "start": 10359
2885
3117
  },
2886
3118
  {
2887
3119
  "length": 20,
2888
- "start": 8624
3120
+ "start": 13569
2889
3121
  },
2890
3122
  {
2891
3123
  "length": 20,
2892
- "start": 9373
3124
+ "start": 13685
2893
3125
  },
2894
3126
  {
2895
3127
  "length": 20,
2896
- "start": 9489
3128
+ "start": 13867
2897
3129
  },
2898
3130
  {
2899
3131
  "length": 20,
2900
- "start": 10227
3132
+ "start": 13983
2901
3133
  },
2902
3134
  {
2903
3135
  "length": 20,
2904
- "start": 10343
3136
+ "start": 14188
2905
3137
  },
2906
3138
  {
2907
3139
  "length": 20,
2908
- "start": 11075
3140
+ "start": 14941
2909
3141
  },
2910
3142
  {
2911
3143
  "length": 20,
2912
- "start": 11191
3144
+ "start": 15057
2913
3145
  },
2914
3146
  {
2915
3147
  "length": 20,
2916
- "start": 11373
3148
+ "start": 15798
2917
3149
  },
2918
3150
  {
2919
3151
  "length": 20,
2920
- "start": 11489
3152
+ "start": 15914
2921
3153
  }
2922
3154
  ]
2923
3155
  },
@@ -2925,23 +3157,35 @@
2925
3157
  "NftIdLib": [
2926
3158
  {
2927
3159
  "length": 20,
2928
- "start": 3028
3160
+ "start": 4192
3161
+ },
3162
+ {
3163
+ "length": 20,
3164
+ "start": 4695
2929
3165
  },
2930
3166
  {
2931
3167
  "length": 20,
2932
- "start": 4474
3168
+ "start": 5475
2933
3169
  },
2934
3170
  {
2935
3171
  "length": 20,
2936
- "start": 5246
3172
+ "start": 6250
2937
3173
  },
2938
3174
  {
2939
3175
  "length": 20,
2940
- "start": 6408
3176
+ "start": 7069
2941
3177
  },
2942
3178
  {
2943
3179
  "length": 20,
2944
- "start": 7899
3180
+ "start": 7302
3181
+ },
3182
+ {
3183
+ "length": 20,
3184
+ "start": 8020
3185
+ },
3186
+ {
3187
+ "length": 20,
3188
+ "start": 11339
2945
3189
  }
2946
3190
  ]
2947
3191
  },
@@ -2949,7 +3193,7 @@
2949
3193
  "ObjectTypeLib": [
2950
3194
  {
2951
3195
  "length": 20,
2952
- "start": 8745
3196
+ "start": 14309
2953
3197
  }
2954
3198
  ]
2955
3199
  },
@@ -2957,15 +3201,23 @@
2957
3201
  "RiskIdLib": [
2958
3202
  {
2959
3203
  "length": 20,
2960
- "start": 3648
3204
+ "start": 5109
2961
3205
  },
2962
3206
  {
2963
3207
  "length": 20,
2964
- "start": 5106
3208
+ "start": 7154
2965
3209
  },
2966
3210
  {
2967
3211
  "length": 20,
2968
- "start": 6493
3212
+ "start": 8143
3213
+ }
3214
+ ]
3215
+ },
3216
+ "contracts/types/RoleId.sol": {
3217
+ "RoleIdLib": [
3218
+ {
3219
+ "length": 20,
3220
+ "start": 12592
2969
3221
  }
2970
3222
  ]
2971
3223
  },
@@ -2973,35 +3225,43 @@
2973
3225
  "StateIdLib": [
2974
3226
  {
2975
3227
  "length": 20,
2976
- "start": 3846
3228
+ "start": 5338
2977
3229
  },
2978
3230
  {
2979
3231
  "length": 20,
2980
- "start": 6647
3232
+ "start": 8297
2981
3233
  },
2982
3234
  {
2983
3235
  "length": 20,
2984
- "start": 7006
3236
+ "start": 9080
2985
3237
  },
2986
3238
  {
2987
3239
  "length": 20,
2988
- "start": 8962
3240
+ "start": 12995
2989
3241
  },
2990
3242
  {
2991
3243
  "length": 20,
2992
- "start": 9681
3244
+ "start": 13215
2993
3245
  },
2994
3246
  {
2995
3247
  "length": 20,
2996
- "start": 9901
3248
+ "start": 14530
2997
3249
  },
2998
3250
  {
2999
3251
  "length": 20,
3000
- "start": 10501
3252
+ "start": 15236
3001
3253
  },
3002
3254
  {
3003
3255
  "length": 20,
3004
- "start": 10721
3256
+ "start": 15456
3257
+ }
3258
+ ]
3259
+ },
3260
+ "contracts/types/Version.sol": {
3261
+ "VersionPartLib": [
3262
+ {
3263
+ "length": 20,
3264
+ "start": 9637
3005
3265
  }
3006
3266
  ]
3007
3267
  }