@etherisc/gif-next 0.0.2-f4f92b3-338 → 0.0.2-f509abc-684

Sign up to get free protection for your applications and to get access to all the features.
Files changed (350) 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 +270 -94
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +627 -157
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +122 -72
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +323 -102
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +325 -186
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +126 -144
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +552 -212
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +374 -166
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +64 -50
  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 +801 -434
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -192
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +992 -782
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +441 -164
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +119 -221
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +371 -302
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +330 -102
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -13
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +118 -169
  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 +306 -315
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +305 -93
  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 +1212 -252
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +453 -85
  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 -240
  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 +711 -139
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +60 -286
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +81 -147
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +22 -169
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +185 -391
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +311 -127
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +222 -204
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +310 -90
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +142 -221
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +302 -90
  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 +83 -174
  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 +193 -216
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +300 -94
  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 +141 -37
  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 -29
  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 -169
  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 +113 -33
  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 -74
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +125 -55
  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 +113 -164
  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 +125 -55
  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 +134 -221
  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 +112 -83
  209. package/contracts/components/Distribution.sol +189 -53
  210. package/contracts/components/IComponent.sol +48 -17
  211. package/contracts/components/IDistributionComponent.sol +39 -15
  212. package/contracts/components/IPoolComponent.sol +84 -41
  213. package/contracts/components/IProductComponent.sol +3 -2
  214. package/contracts/components/Pool.sol +211 -153
  215. package/contracts/components/Product.sol +96 -61
  216. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  217. package/contracts/instance/BundleManager.sol +7 -5
  218. package/contracts/instance/Cloneable.sol +7 -2
  219. package/contracts/instance/IInstance.sol +36 -10
  220. package/contracts/instance/IInstanceService.sol +36 -4
  221. package/contracts/instance/Instance.sol +101 -43
  222. package/contracts/instance/InstanceAccessManager.sol +383 -159
  223. package/contracts/instance/InstanceReader.sol +7 -10
  224. package/contracts/instance/InstanceService.sol +262 -129
  225. package/contracts/instance/InstanceServiceManager.sol +1 -1
  226. package/contracts/instance/ObjectManager.sol +6 -8
  227. package/contracts/instance/base/ComponentService.sol +6 -6
  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 +376 -15
  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 +130 -19
  253. package/contracts/instance/service/PoolServiceManager.sol +1 -1
  254. package/contracts/instance/service/ProductService.sol +20 -11
  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 +10 -8
  259. package/contracts/registry/ITransferInterceptor.sol +1 -0
  260. package/contracts/registry/Registry.sol +43 -28
  261. package/contracts/registry/RegistryService.sol +69 -48
  262. package/contracts/registry/RegistryServiceManager.sol +13 -13
  263. package/contracts/registry/ReleaseManager.sol +18 -28
  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 +3 -3
  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 -85
  273. package/contracts/shared/PolicyHolder.sol +81 -0
  274. package/contracts/shared/ProxyManager.sol +100 -25
  275. package/contracts/shared/Registerable.sol +7 -19
  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/contracts/experiment/cloning/Cloner.sol +0 -47
  337. package/contracts/experiment/errors/Require.sol +0 -38
  338. package/contracts/experiment/errors/Revert.sol +0 -44
  339. package/contracts/experiment/inheritance/A.sol +0 -53
  340. package/contracts/experiment/inheritance/B.sol +0 -28
  341. package/contracts/experiment/inheritance/C.sol +0 -34
  342. package/contracts/experiment/inheritance/IA.sol +0 -13
  343. package/contracts/experiment/inheritance/IB.sol +0 -10
  344. package/contracts/experiment/inheritance/IC.sol +0 -12
  345. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  346. package/contracts/experiment/statemachine/ISM.sol +0 -25
  347. package/contracts/experiment/statemachine/SM.sol +0 -57
  348. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  349. package/contracts/experiment/types/TypeA.sol +0 -47
  350. package/contracts/experiment/types/TypeB.sol +0 -29
@@ -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
  {
@@ -376,6 +344,19 @@
376
344
  "stateMutability": "view",
377
345
  "type": "function"
378
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
+ },
379
360
  {
380
361
  "inputs": [],
381
362
  "name": "PUBLIC_ROLE",
@@ -438,6 +419,106 @@
438
419
  "stateMutability": "view",
439
420
  "type": "function"
440
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
+ },
441
522
  {
442
523
  "inputs": [
443
524
  {
@@ -490,9 +571,9 @@
490
571
  "type": "uint256"
491
572
  },
492
573
  {
493
- "internalType": "uint256",
574
+ "internalType": "Seconds",
494
575
  "name": "lifetime",
495
- "type": "uint256"
576
+ "type": "uint40"
496
577
  },
497
578
  {
498
579
  "internalType": "Timestamp",
@@ -523,9 +604,9 @@
523
604
  "type": "uint96"
524
605
  },
525
606
  {
526
- "internalType": "NumberId",
607
+ "internalType": "ClaimId",
527
608
  "name": "claimId",
528
- "type": "uint32"
609
+ "type": "uint16"
529
610
  },
530
611
  {
531
612
  "components": [
@@ -593,18 +674,35 @@
593
674
  }
594
675
  ],
595
676
  "internalType": "struct Fee",
596
- "name": "distributionFee",
677
+ "name": "minDistributionOwnerFee",
597
678
  "type": "tuple"
598
679
  },
599
680
  {
600
- "internalType": "bool",
601
- "name": "isIntercepting",
602
- "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"
603
696
  },
604
697
  {
605
698
  "internalType": "address",
606
699
  "name": "wallet",
607
700
  "type": "address"
701
+ },
702
+ {
703
+ "internalType": "uint256",
704
+ "name": "sumDistributionOwnerFees",
705
+ "type": "uint256"
608
706
  }
609
707
  ],
610
708
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -621,25 +719,20 @@
621
719
  "inputs": [
622
720
  {
623
721
  "internalType": "NftId",
624
- "name": "policyNftId",
722
+ "name": "nftId",
625
723
  "type": "uint96"
626
724
  },
627
- {
628
- "internalType": "NumberId",
629
- "name": "payoutId",
630
- "type": "uint32"
631
- },
632
725
  {
633
726
  "components": [
634
727
  {
635
- "internalType": "NumberId",
636
- "name": "claimId",
637
- "type": "uint32"
728
+ "internalType": "DistributorType",
729
+ "name": "distributorType",
730
+ "type": "bytes8"
638
731
  },
639
732
  {
640
- "internalType": "uint256",
641
- "name": "amount",
642
- "type": "uint256"
733
+ "internalType": "bool",
734
+ "name": "active",
735
+ "type": "bool"
643
736
  },
644
737
  {
645
738
  "internalType": "bytes",
@@ -647,13 +740,18 @@
647
740
  "type": "bytes"
648
741
  },
649
742
  {
650
- "internalType": "Timestamp",
651
- "name": "paidAt",
652
- "type": "uint40"
743
+ "internalType": "uint256",
744
+ "name": "sumCommisions",
745
+ "type": "uint256"
746
+ },
747
+ {
748
+ "internalType": "uint256",
749
+ "name": "numPoliciesSold",
750
+ "type": "uint256"
653
751
  }
654
752
  ],
655
- "internalType": "struct IPolicy.PayoutInfo",
656
- "name": "payout",
753
+ "internalType": "struct IDistribution.DistributorInfo",
754
+ "name": "info",
657
755
  "type": "tuple"
658
756
  }
659
757
  ],
@@ -665,44 +763,64 @@
665
763
  {
666
764
  "inputs": [
667
765
  {
668
- "internalType": "NftId",
669
- "name": "policyNftId",
670
- "type": "uint96"
671
- },
672
- {
673
- "internalType": "NumberId",
674
- "name": "payoutId",
675
- "type": "uint32"
766
+ "internalType": "Key32",
767
+ "name": "distributorKey",
768
+ "type": "bytes32"
676
769
  },
677
770
  {
678
771
  "components": [
679
772
  {
680
- "internalType": "NumberId",
681
- "name": "claimId",
682
- "type": "uint32"
773
+ "internalType": "string",
774
+ "name": "name",
775
+ "type": "string"
683
776
  },
684
777
  {
685
- "internalType": "uint256",
686
- "name": "amount",
778
+ "internalType": "UFixed",
779
+ "name": "minDiscountPercentage",
687
780
  "type": "uint256"
688
781
  },
689
782
  {
690
- "internalType": "bytes",
691
- "name": "data",
692
- "type": "bytes"
783
+ "internalType": "UFixed",
784
+ "name": "maxDiscountPercentage",
785
+ "type": "uint256"
693
786
  },
694
787
  {
695
- "internalType": "Timestamp",
696
- "name": "paidAt",
697
- "type": "uint40"
698
- }
699
- ],
700
- "internalType": "struct IPolicy.PayoutInfo",
701
- "name": "payout",
702
- "type": "tuple"
703
- }
704
- ],
705
- "name": "createDistributorType",
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"
816
+ }
817
+ ],
818
+ "internalType": "struct IDistribution.DistributorTypeInfo",
819
+ "name": "info",
820
+ "type": "tuple"
821
+ }
822
+ ],
823
+ "name": "createDistributorType",
706
824
  "outputs": [],
707
825
  "stateMutability": "nonpayable",
708
826
  "type": "function"
@@ -722,9 +840,9 @@
722
840
  {
723
841
  "components": [
724
842
  {
725
- "internalType": "NumberId",
843
+ "internalType": "ClaimId",
726
844
  "name": "claimId",
727
- "type": "uint32"
845
+ "type": "uint16"
728
846
  },
729
847
  {
730
848
  "internalType": "uint256",
@@ -756,98 +874,43 @@
756
874
  "inputs": [
757
875
  {
758
876
  "internalType": "NftId",
759
- "name": "policyNftId",
877
+ "name": "poolNftId",
760
878
  "type": "uint96"
761
879
  },
762
880
  {
763
881
  "components": [
764
882
  {
765
- "internalType": "NftId",
766
- "name": "productNftId",
767
- "type": "uint96"
768
- },
769
- {
770
- "internalType": "NftId",
771
- "name": "bundleNftId",
772
- "type": "uint96"
773
- },
774
- {
775
- "internalType": "ReferralId",
776
- "name": "referralId",
777
- "type": "bytes8"
778
- },
779
- {
780
- "internalType": "RiskId",
781
- "name": "riskId",
782
- "type": "bytes8"
783
- },
784
- {
785
- "internalType": "uint256",
786
- "name": "sumInsuredAmount",
787
- "type": "uint256"
788
- },
789
- {
790
- "internalType": "uint256",
791
- "name": "premiumAmount",
792
- "type": "uint256"
883
+ "internalType": "string",
884
+ "name": "name",
885
+ "type": "string"
793
886
  },
794
887
  {
795
- "internalType": "uint256",
796
- "name": "premiumPaidAmount",
797
- "type": "uint256"
888
+ "internalType": "contract IERC20Metadata",
889
+ "name": "token",
890
+ "type": "address"
798
891
  },
799
892
  {
800
- "internalType": "uint256",
801
- "name": "lifetime",
802
- "type": "uint256"
893
+ "internalType": "contract TokenHandler",
894
+ "name": "tokenHandler",
895
+ "type": "address"
803
896
  },
804
897
  {
805
- "internalType": "bytes",
806
- "name": "applicationData",
807
- "type": "bytes"
898
+ "internalType": "address",
899
+ "name": "wallet",
900
+ "type": "address"
808
901
  },
809
902
  {
810
903
  "internalType": "bytes",
811
- "name": "policyData",
904
+ "name": "data",
812
905
  "type": "bytes"
813
- },
814
- {
815
- "internalType": "uint16",
816
- "name": "claimsCount",
817
- "type": "uint16"
818
- },
819
- {
820
- "internalType": "uint16",
821
- "name": "openClaimsCount",
822
- "type": "uint16"
823
- },
824
- {
825
- "internalType": "uint256",
826
- "name": "payoutAmount",
827
- "type": "uint256"
828
- },
829
- {
830
- "internalType": "Timestamp",
831
- "name": "activatedAt",
832
- "type": "uint40"
833
- },
834
- {
835
- "internalType": "Timestamp",
836
- "name": "expiredAt",
837
- "type": "uint40"
838
- },
839
- {
840
- "internalType": "Timestamp",
841
- "name": "closedAt",
842
- "type": "uint40"
843
906
  }
844
907
  ],
845
- "internalType": "struct IPolicy.PolicyInfo",
846
- "name": "policy",
908
+ "internalType": "struct IComponents.ComponentInfo",
909
+ "name": "info",
847
910
  "type": "tuple"
848
911
  }
849
912
  ],
850
- "name": "createPolicy",
913
+ "name": "createPoolSetup",
851
914
  "outputs": [],
852
915
  "stateMutability": "nonpayable",
853
916
  "type": "function"
@@ -856,15 +919,15 @@
856
919
  "inputs": [
857
920
  {
858
921
  "internalType": "NftId",
859
- "name": "poolNftId",
922
+ "name": "productNftId",
860
923
  "type": "uint96"
861
924
  },
862
925
  {
863
926
  "components": [
864
927
  {
865
- "internalType": "NftId",
866
- "name": "productNftId",
867
- "type": "uint96"
928
+ "internalType": "contract IERC20Metadata",
929
+ "name": "token",
930
+ "type": "address"
868
931
  },
869
932
  {
870
933
  "internalType": "contract TokenHandler",
@@ -872,26 +935,14 @@
872
935
  "type": "address"
873
936
  },
874
937
  {
875
- "internalType": "UFixed",
876
- "name": "collateralizationLevel",
877
- "type": "uint256"
938
+ "internalType": "NftId",
939
+ "name": "distributionNftId",
940
+ "type": "uint96"
878
941
  },
879
942
  {
880
- "components": [
881
- {
882
- "internalType": "UFixed",
883
- "name": "fractionalFee",
884
- "type": "uint256"
885
- },
886
- {
887
- "internalType": "uint256",
888
- "name": "fixedFee",
889
- "type": "uint256"
890
- }
891
- ],
892
- "internalType": "struct Fee",
893
- "name": "poolFee",
894
- "type": "tuple"
943
+ "internalType": "NftId",
944
+ "name": "poolNftId",
945
+ "type": "uint96"
895
946
  },
896
947
  {
897
948
  "components": [
@@ -907,7 +958,7 @@
907
958
  }
908
959
  ],
909
960
  "internalType": "struct Fee",
910
- "name": "stakingFee",
961
+ "name": "productFee",
911
962
  "type": "tuple"
912
963
  },
913
964
  {
@@ -924,7 +975,7 @@
924
975
  }
925
976
  ],
926
977
  "internalType": "struct Fee",
927
- "name": "performanceFee",
978
+ "name": "processingFee",
928
979
  "type": "tuple"
929
980
  },
930
981
  {
@@ -932,23 +983,18 @@
932
983
  "name": "isIntercepting",
933
984
  "type": "bool"
934
985
  },
935
- {
936
- "internalType": "bool",
937
- "name": "isConfirmingApplication",
938
- "type": "bool"
939
- },
940
986
  {
941
987
  "internalType": "address",
942
988
  "name": "wallet",
943
989
  "type": "address"
944
990
  }
945
991
  ],
946
- "internalType": "struct ISetup.PoolSetupInfo",
992
+ "internalType": "struct ISetup.ProductSetupInfo",
947
993
  "name": "setup",
948
994
  "type": "tuple"
949
995
  }
950
996
  ],
951
- "name": "createPoolSetup",
997
+ "name": "createProductSetup",
952
998
  "outputs": [],
953
999
  "stateMutability": "nonpayable",
954
1000
  "type": "function"
@@ -956,192 +1002,50 @@
956
1002
  {
957
1003
  "inputs": [
958
1004
  {
959
- "internalType": "NftId",
960
- "name": "productNftId",
961
- "type": "uint96"
1005
+ "internalType": "Key32",
1006
+ "name": "referralKey",
1007
+ "type": "bytes32"
962
1008
  },
963
1009
  {
964
1010
  "components": [
965
- {
966
- "internalType": "contract IERC20Metadata",
967
- "name": "token",
968
- "type": "address"
969
- },
970
- {
971
- "internalType": "contract TokenHandler",
972
- "name": "tokenHandler",
973
- "type": "address"
974
- },
975
1011
  {
976
1012
  "internalType": "NftId",
977
- "name": "distributionNftId",
978
- "type": "uint96"
979
- },
980
- {
981
- "internalType": "NftId",
982
- "name": "poolNftId",
1013
+ "name": "distributorNftId",
983
1014
  "type": "uint96"
984
1015
  },
985
1016
  {
986
- "components": [
987
- {
988
- "internalType": "UFixed",
989
- "name": "fractionalFee",
990
- "type": "uint256"
991
- },
992
- {
993
- "internalType": "uint256",
994
- "name": "fixedFee",
995
- "type": "uint256"
996
- }
997
- ],
998
- "internalType": "struct Fee",
999
- "name": "distributionFee",
1000
- "type": "tuple"
1017
+ "internalType": "string",
1018
+ "name": "referralCode",
1019
+ "type": "string"
1001
1020
  },
1002
1021
  {
1003
- "components": [
1004
- {
1005
- "internalType": "UFixed",
1006
- "name": "fractionalFee",
1007
- "type": "uint256"
1008
- },
1009
- {
1010
- "internalType": "uint256",
1011
- "name": "fixedFee",
1012
- "type": "uint256"
1013
- }
1014
- ],
1015
- "internalType": "struct Fee",
1016
- "name": "productFee",
1017
- "type": "tuple"
1022
+ "internalType": "UFixed",
1023
+ "name": "discountPercentage",
1024
+ "type": "uint256"
1018
1025
  },
1019
1026
  {
1020
- "components": [
1021
- {
1022
- "internalType": "UFixed",
1023
- "name": "fractionalFee",
1024
- "type": "uint256"
1025
- },
1026
- {
1027
- "internalType": "uint256",
1028
- "name": "fixedFee",
1029
- "type": "uint256"
1030
- }
1031
- ],
1032
- "internalType": "struct Fee",
1033
- "name": "processingFee",
1034
- "type": "tuple"
1027
+ "internalType": "uint32",
1028
+ "name": "maxReferrals",
1029
+ "type": "uint32"
1035
1030
  },
1036
1031
  {
1037
- "components": [
1038
- {
1039
- "internalType": "UFixed",
1040
- "name": "fractionalFee",
1041
- "type": "uint256"
1042
- },
1043
- {
1044
- "internalType": "uint256",
1045
- "name": "fixedFee",
1046
- "type": "uint256"
1047
- }
1048
- ],
1049
- "internalType": "struct Fee",
1050
- "name": "poolFee",
1051
- "type": "tuple"
1032
+ "internalType": "uint32",
1033
+ "name": "usedReferrals",
1034
+ "type": "uint32"
1052
1035
  },
1053
1036
  {
1054
- "components": [
1055
- {
1056
- "internalType": "UFixed",
1057
- "name": "fractionalFee",
1058
- "type": "uint256"
1059
- },
1060
- {
1061
- "internalType": "uint256",
1062
- "name": "fixedFee",
1063
- "type": "uint256"
1064
- }
1065
- ],
1066
- "internalType": "struct Fee",
1067
- "name": "stakingFee",
1068
- "type": "tuple"
1069
- },
1070
- {
1071
- "components": [
1072
- {
1073
- "internalType": "UFixed",
1074
- "name": "fractionalFee",
1075
- "type": "uint256"
1076
- },
1077
- {
1078
- "internalType": "uint256",
1079
- "name": "fixedFee",
1080
- "type": "uint256"
1081
- }
1082
- ],
1083
- "internalType": "struct Fee",
1084
- "name": "performanceFee",
1085
- "type": "tuple"
1086
- },
1087
- {
1088
- "internalType": "bool",
1089
- "name": "isIntercepting",
1090
- "type": "bool"
1091
- },
1092
- {
1093
- "internalType": "address",
1094
- "name": "wallet",
1095
- "type": "address"
1096
- }
1097
- ],
1098
- "internalType": "struct ISetup.ProductSetupInfo",
1099
- "name": "setup",
1100
- "type": "tuple"
1101
- }
1102
- ],
1103
- "name": "createProductSetup",
1104
- "outputs": [],
1105
- "stateMutability": "nonpayable",
1106
- "type": "function"
1107
- },
1108
- {
1109
- "inputs": [
1110
- {
1111
- "internalType": "NftId",
1112
- "name": "policyNftId",
1113
- "type": "uint96"
1114
- },
1115
- {
1116
- "internalType": "NumberId",
1117
- "name": "payoutId",
1118
- "type": "uint32"
1119
- },
1120
- {
1121
- "components": [
1122
- {
1123
- "internalType": "NumberId",
1124
- "name": "claimId",
1125
- "type": "uint32"
1126
- },
1127
- {
1128
- "internalType": "uint256",
1129
- "name": "amount",
1130
- "type": "uint256"
1037
+ "internalType": "Timestamp",
1038
+ "name": "expiryAt",
1039
+ "type": "uint40"
1131
1040
  },
1132
1041
  {
1133
1042
  "internalType": "bytes",
1134
1043
  "name": "data",
1135
1044
  "type": "bytes"
1136
- },
1137
- {
1138
- "internalType": "Timestamp",
1139
- "name": "paidAt",
1140
- "type": "uint40"
1141
1045
  }
1142
1046
  ],
1143
- "internalType": "struct IPolicy.PayoutInfo",
1144
- "name": "payout",
1047
+ "internalType": "struct IDistribution.ReferralInfo",
1048
+ "name": "referralInfo",
1145
1049
  "type": "tuple"
1146
1050
  }
1147
1051
  ],
@@ -1365,19 +1269,6 @@
1365
1269
  "stateMutability": "view",
1366
1270
  "type": "function"
1367
1271
  },
1368
- {
1369
- "inputs": [],
1370
- "name": "getInitialOwner",
1371
- "outputs": [
1372
- {
1373
- "internalType": "address",
1374
- "name": "",
1375
- "type": "address"
1376
- }
1377
- ],
1378
- "stateMutability": "view",
1379
- "type": "function"
1380
- },
1381
1272
  {
1382
1273
  "inputs": [
1383
1274
  {
@@ -1397,6 +1288,19 @@
1397
1288
  "stateMutability": "view",
1398
1289
  "type": "function"
1399
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
+ },
1400
1304
  {
1401
1305
  "inputs": [],
1402
1306
  "name": "getInstanceReader",
@@ -1547,6 +1451,19 @@
1547
1451
  "stateMutability": "view",
1548
1452
  "type": "function"
1549
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
+ },
1550
1467
  {
1551
1468
  "inputs": [
1552
1469
  {
@@ -1589,9 +1506,59 @@
1589
1506
  "inputs": [
1590
1507
  {
1591
1508
  "internalType": "address",
1592
- "name": "accessManagerAddress",
1509
+ "name": "authority",
1593
1510
  "type": "address"
1594
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": [
1595
1562
  {
1596
1563
  "internalType": "address",
1597
1564
  "name": "registryAddress",
@@ -1599,16 +1566,44 @@
1599
1566
  },
1600
1567
  {
1601
1568
  "internalType": "NftId",
1602
- "name": "registryNftId",
1569
+ "name": "parentNftId",
1603
1570
  "type": "uint96"
1604
1571
  },
1572
+ {
1573
+ "internalType": "ObjectType",
1574
+ "name": "objectType",
1575
+ "type": "uint8"
1576
+ },
1577
+ {
1578
+ "internalType": "bool",
1579
+ "name": "isInterceptor",
1580
+ "type": "bool"
1581
+ },
1605
1582
  {
1606
1583
  "internalType": "address",
1607
1584
  "name": "initialOwner",
1608
1585
  "type": "address"
1586
+ },
1587
+ {
1588
+ "internalType": "bytes",
1589
+ "name": "registryData",
1590
+ "type": "bytes"
1609
1591
  }
1610
1592
  ],
1611
- "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",
1612
1607
  "outputs": [],
1613
1608
  "stateMutability": "nonpayable",
1614
1609
  "type": "function"
@@ -1662,6 +1657,60 @@
1662
1657
  "stateMutability": "nonpayable",
1663
1658
  "type": "function"
1664
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
+ },
1665
1714
  {
1666
1715
  "inputs": [
1667
1716
  {
@@ -1691,95 +1740,288 @@
1691
1740
  {
1692
1741
  "inputs": [
1693
1742
  {
1694
- "internalType": "contract InstanceReader",
1695
- "name": "instanceReader",
1696
- "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"
1697
2002
  }
1698
2003
  ],
1699
- "name": "setInstanceReader",
2004
+ "name": "updateApplication",
1700
2005
  "outputs": [],
1701
2006
  "stateMutability": "nonpayable",
1702
2007
  "type": "function"
1703
2008
  },
1704
- {
1705
- "inputs": [
1706
- {
1707
- "internalType": "bytes4",
1708
- "name": "interfaceId",
1709
- "type": "bytes4"
1710
- }
1711
- ],
1712
- "name": "supportsInterface",
1713
- "outputs": [
1714
- {
1715
- "internalType": "bool",
1716
- "name": "",
1717
- "type": "bool"
1718
- }
1719
- ],
1720
- "stateMutability": "view",
1721
- "type": "function"
1722
- },
1723
2009
  {
1724
2010
  "inputs": [
1725
2011
  {
1726
2012
  "internalType": "NftId",
1727
- "name": "bundleNftId",
2013
+ "name": "applicationNftId",
1728
2014
  "type": "uint96"
1729
- }
1730
- ],
1731
- "name": "toBundleKey32",
1732
- "outputs": [
1733
- {
1734
- "internalType": "Key32",
1735
- "name": "",
1736
- "type": "bytes32"
1737
- }
1738
- ],
1739
- "stateMutability": "pure",
1740
- "type": "function"
1741
- },
1742
- {
1743
- "inputs": [
1744
- {
1745
- "internalType": "ObjectType",
1746
- "name": "objectType",
1747
- "type": "uint8"
1748
2015
  },
1749
2016
  {
1750
- "internalType": "KeyId",
1751
- "name": "id",
1752
- "type": "bytes31"
1753
- }
1754
- ],
1755
- "name": "toKey32",
1756
- "outputs": [
1757
- {
1758
- "internalType": "Key32",
1759
- "name": "",
1760
- "type": "bytes32"
1761
- }
1762
- ],
1763
- "stateMutability": "pure",
1764
- "type": "function"
1765
- },
1766
- {
1767
- "inputs": [
1768
- {
1769
- "internalType": "NftId",
1770
- "name": "policyNftId",
1771
- "type": "uint96"
1772
- }
1773
- ],
1774
- "name": "toPolicyKey32",
1775
- "outputs": [
1776
- {
1777
- "internalType": "Key32",
1778
- "name": "",
1779
- "type": "bytes32"
2017
+ "internalType": "StateId",
2018
+ "name": "newState",
2019
+ "type": "uint8"
1780
2020
  }
1781
2021
  ],
1782
- "stateMutability": "pure",
2022
+ "name": "updateApplicationState",
2023
+ "outputs": [],
2024
+ "stateMutability": "nonpayable",
1783
2025
  "type": "function"
1784
2026
  },
1785
2027
  {
@@ -1834,9 +2076,9 @@
1834
2076
  "type": "uint256"
1835
2077
  },
1836
2078
  {
1837
- "internalType": "uint256",
2079
+ "internalType": "Seconds",
1838
2080
  "name": "lifetime",
1839
- "type": "uint256"
2081
+ "type": "uint40"
1840
2082
  },
1841
2083
  {
1842
2084
  "internalType": "Timestamp",
@@ -1890,9 +2132,9 @@
1890
2132
  "type": "uint96"
1891
2133
  },
1892
2134
  {
1893
- "internalType": "NumberId",
2135
+ "internalType": "ClaimId",
1894
2136
  "name": "claimId",
1895
- "type": "uint32"
2137
+ "type": "uint16"
1896
2138
  },
1897
2139
  {
1898
2140
  "components": [
@@ -1940,54 +2182,9 @@
1940
2182
  "type": "uint96"
1941
2183
  },
1942
2184
  {
1943
- "internalType": "NumberId",
1944
- "name": "payoutId",
1945
- "type": "uint32"
1946
- },
1947
- {
1948
- "components": [
1949
- {
1950
- "internalType": "NumberId",
1951
- "name": "claimId",
1952
- "type": "uint32"
1953
- },
1954
- {
1955
- "internalType": "uint256",
1956
- "name": "amount",
1957
- "type": "uint256"
1958
- },
1959
- {
1960
- "internalType": "bytes",
1961
- "name": "data",
1962
- "type": "bytes"
1963
- },
1964
- {
1965
- "internalType": "Timestamp",
1966
- "name": "paidAt",
1967
- "type": "uint40"
1968
- }
1969
- ],
1970
- "internalType": "struct IPolicy.PayoutInfo",
1971
- "name": "payout",
1972
- "type": "tuple"
1973
- },
1974
- {
1975
- "internalType": "StateId",
1976
- "name": "newState",
1977
- "type": "uint8"
1978
- }
1979
- ],
1980
- "name": "updateClaim",
1981
- "outputs": [],
1982
- "stateMutability": "nonpayable",
1983
- "type": "function"
1984
- },
1985
- {
1986
- "inputs": [
1987
- {
1988
- "internalType": "NftId",
1989
- "name": "policyNftId",
1990
- "type": "uint96"
2185
+ "internalType": "ClaimId",
2186
+ "name": "claimId",
2187
+ "type": "uint16"
1991
2188
  },
1992
2189
  {
1993
2190
  "internalType": "StateId",
@@ -2033,18 +2230,35 @@
2033
2230
  }
2034
2231
  ],
2035
2232
  "internalType": "struct Fee",
2036
- "name": "distributionFee",
2233
+ "name": "minDistributionOwnerFee",
2037
2234
  "type": "tuple"
2038
2235
  },
2039
2236
  {
2040
- "internalType": "bool",
2041
- "name": "isIntercepting",
2042
- "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"
2043
2252
  },
2044
2253
  {
2045
2254
  "internalType": "address",
2046
2255
  "name": "wallet",
2047
2256
  "type": "address"
2257
+ },
2258
+ {
2259
+ "internalType": "uint256",
2260
+ "name": "sumDistributionOwnerFees",
2261
+ "type": "uint256"
2048
2262
  }
2049
2263
  ],
2050
2264
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -2084,39 +2298,127 @@
2084
2298
  "inputs": [
2085
2299
  {
2086
2300
  "internalType": "NftId",
2087
- "name": "policyNftId",
2301
+ "name": "nftId",
2088
2302
  "type": "uint96"
2089
2303
  },
2090
2304
  {
2091
- "internalType": "NumberId",
2092
- "name": "payoutId",
2093
- "type": "uint32"
2305
+ "components": [
2306
+ {
2307
+ "internalType": "DistributorType",
2308
+ "name": "distributorType",
2309
+ "type": "bytes8"
2310
+ },
2311
+ {
2312
+ "internalType": "bool",
2313
+ "name": "active",
2314
+ "type": "bool"
2315
+ },
2316
+ {
2317
+ "internalType": "bytes",
2318
+ "name": "data",
2319
+ "type": "bytes"
2320
+ },
2321
+ {
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"
2094
2371
  },
2095
2372
  {
2096
2373
  "components": [
2097
2374
  {
2098
- "internalType": "NumberId",
2099
- "name": "claimId",
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",
2100
2402
  "type": "uint32"
2101
2403
  },
2102
2404
  {
2103
- "internalType": "uint256",
2104
- "name": "amount",
2105
- "type": "uint256"
2405
+ "internalType": "bool",
2406
+ "name": "allowSelfReferrals",
2407
+ "type": "bool"
2408
+ },
2409
+ {
2410
+ "internalType": "bool",
2411
+ "name": "allowRenewals",
2412
+ "type": "bool"
2106
2413
  },
2107
2414
  {
2108
2415
  "internalType": "bytes",
2109
2416
  "name": "data",
2110
2417
  "type": "bytes"
2111
- },
2112
- {
2113
- "internalType": "Timestamp",
2114
- "name": "paidAt",
2115
- "type": "uint40"
2116
2418
  }
2117
2419
  ],
2118
- "internalType": "struct IPolicy.PayoutInfo",
2119
- "name": "payout",
2420
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2421
+ "name": "info",
2120
2422
  "type": "tuple"
2121
2423
  },
2122
2424
  {
@@ -2125,7 +2427,7 @@
2125
2427
  "type": "uint8"
2126
2428
  }
2127
2429
  ],
2128
- "name": "updateDistributor",
2430
+ "name": "updateDistributorType",
2129
2431
  "outputs": [],
2130
2432
  "stateMutability": "nonpayable",
2131
2433
  "type": "function"
@@ -2133,9 +2435,9 @@
2133
2435
  {
2134
2436
  "inputs": [
2135
2437
  {
2136
- "internalType": "NftId",
2137
- "name": "policyNftId",
2138
- "type": "uint96"
2438
+ "internalType": "Key32",
2439
+ "name": "distributorKey",
2440
+ "type": "bytes32"
2139
2441
  },
2140
2442
  {
2141
2443
  "internalType": "StateId",
@@ -2143,7 +2445,7 @@
2143
2445
  "type": "uint8"
2144
2446
  }
2145
2447
  ],
2146
- "name": "updateDistributorState",
2448
+ "name": "updateDistributorTypeState",
2147
2449
  "outputs": [],
2148
2450
  "stateMutability": "nonpayable",
2149
2451
  "type": "function"
@@ -2163,9 +2465,9 @@
2163
2465
  {
2164
2466
  "components": [
2165
2467
  {
2166
- "internalType": "NumberId",
2468
+ "internalType": "ClaimId",
2167
2469
  "name": "claimId",
2168
- "type": "uint32"
2470
+ "type": "uint16"
2169
2471
  },
2170
2472
  {
2171
2473
  "internalType": "uint256",
@@ -2193,25 +2495,7 @@
2193
2495
  "type": "uint8"
2194
2496
  }
2195
2497
  ],
2196
- "name": "updateDistributorType",
2197
- "outputs": [],
2198
- "stateMutability": "nonpayable",
2199
- "type": "function"
2200
- },
2201
- {
2202
- "inputs": [
2203
- {
2204
- "internalType": "NftId",
2205
- "name": "policyNftId",
2206
- "type": "uint96"
2207
- },
2208
- {
2209
- "internalType": "StateId",
2210
- "name": "newState",
2211
- "type": "uint8"
2212
- }
2213
- ],
2214
- "name": "updateDistributorTypeState",
2498
+ "name": "updatePayout",
2215
2499
  "outputs": [],
2216
2500
  "stateMutability": "nonpayable",
2217
2501
  "type": "function"
@@ -2279,9 +2563,9 @@
2279
2563
  "type": "uint256"
2280
2564
  },
2281
2565
  {
2282
- "internalType": "uint256",
2566
+ "internalType": "Seconds",
2283
2567
  "name": "lifetime",
2284
- "type": "uint256"
2568
+ "type": "uint40"
2285
2569
  },
2286
2570
  {
2287
2571
  "internalType": "bytes",
@@ -2367,89 +2651,33 @@
2367
2651
  {
2368
2652
  "components": [
2369
2653
  {
2370
- "internalType": "NftId",
2371
- "name": "productNftId",
2372
- "type": "uint96"
2654
+ "internalType": "string",
2655
+ "name": "name",
2656
+ "type": "string"
2373
2657
  },
2374
2658
  {
2375
- "internalType": "contract TokenHandler",
2376
- "name": "tokenHandler",
2659
+ "internalType": "contract IERC20Metadata",
2660
+ "name": "token",
2377
2661
  "type": "address"
2378
2662
  },
2379
2663
  {
2380
- "internalType": "UFixed",
2381
- "name": "collateralizationLevel",
2382
- "type": "uint256"
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": "poolFee",
2399
- "type": "tuple"
2400
- },
2401
- {
2402
- "components": [
2403
- {
2404
- "internalType": "UFixed",
2405
- "name": "fractionalFee",
2406
- "type": "uint256"
2407
- },
2408
- {
2409
- "internalType": "uint256",
2410
- "name": "fixedFee",
2411
- "type": "uint256"
2412
- }
2413
- ],
2414
- "internalType": "struct Fee",
2415
- "name": "stakingFee",
2416
- "type": "tuple"
2417
- },
2418
- {
2419
- "components": [
2420
- {
2421
- "internalType": "UFixed",
2422
- "name": "fractionalFee",
2423
- "type": "uint256"
2424
- },
2425
- {
2426
- "internalType": "uint256",
2427
- "name": "fixedFee",
2428
- "type": "uint256"
2429
- }
2430
- ],
2431
- "internalType": "struct Fee",
2432
- "name": "performanceFee",
2433
- "type": "tuple"
2434
- },
2435
- {
2436
- "internalType": "bool",
2437
- "name": "isIntercepting",
2438
- "type": "bool"
2439
- },
2440
- {
2441
- "internalType": "bool",
2442
- "name": "isConfirmingApplication",
2443
- "type": "bool"
2664
+ "internalType": "contract TokenHandler",
2665
+ "name": "tokenHandler",
2666
+ "type": "address"
2444
2667
  },
2445
2668
  {
2446
2669
  "internalType": "address",
2447
2670
  "name": "wallet",
2448
2671
  "type": "address"
2672
+ },
2673
+ {
2674
+ "internalType": "bytes",
2675
+ "name": "data",
2676
+ "type": "bytes"
2449
2677
  }
2450
2678
  ],
2451
- "internalType": "struct ISetup.PoolSetupInfo",
2452
- "name": "setup",
2679
+ "internalType": "struct IComponents.ComponentInfo",
2680
+ "name": "info",
2453
2681
  "type": "tuple"
2454
2682
  },
2455
2683
  {
@@ -2510,23 +2738,6 @@
2510
2738
  "name": "poolNftId",
2511
2739
  "type": "uint96"
2512
2740
  },
2513
- {
2514
- "components": [
2515
- {
2516
- "internalType": "UFixed",
2517
- "name": "fractionalFee",
2518
- "type": "uint256"
2519
- },
2520
- {
2521
- "internalType": "uint256",
2522
- "name": "fixedFee",
2523
- "type": "uint256"
2524
- }
2525
- ],
2526
- "internalType": "struct Fee",
2527
- "name": "distributionFee",
2528
- "type": "tuple"
2529
- },
2530
2741
  {
2531
2742
  "components": [
2532
2743
  {
@@ -2561,57 +2772,6 @@
2561
2772
  "name": "processingFee",
2562
2773
  "type": "tuple"
2563
2774
  },
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": "poolFee",
2579
- "type": "tuple"
2580
- },
2581
- {
2582
- "components": [
2583
- {
2584
- "internalType": "UFixed",
2585
- "name": "fractionalFee",
2586
- "type": "uint256"
2587
- },
2588
- {
2589
- "internalType": "uint256",
2590
- "name": "fixedFee",
2591
- "type": "uint256"
2592
- }
2593
- ],
2594
- "internalType": "struct Fee",
2595
- "name": "stakingFee",
2596
- "type": "tuple"
2597
- },
2598
- {
2599
- "components": [
2600
- {
2601
- "internalType": "UFixed",
2602
- "name": "fractionalFee",
2603
- "type": "uint256"
2604
- },
2605
- {
2606
- "internalType": "uint256",
2607
- "name": "fixedFee",
2608
- "type": "uint256"
2609
- }
2610
- ],
2611
- "internalType": "struct Fee",
2612
- "name": "performanceFee",
2613
- "type": "tuple"
2614
- },
2615
2775
  {
2616
2776
  "internalType": "bool",
2617
2777
  "name": "isIntercepting",
@@ -2659,40 +2819,50 @@
2659
2819
  {
2660
2820
  "inputs": [
2661
2821
  {
2662
- "internalType": "NftId",
2663
- "name": "policyNftId",
2664
- "type": "uint96"
2665
- },
2666
- {
2667
- "internalType": "NumberId",
2668
- "name": "payoutId",
2669
- "type": "uint32"
2822
+ "internalType": "Key32",
2823
+ "name": "referralKey",
2824
+ "type": "bytes32"
2670
2825
  },
2671
2826
  {
2672
2827
  "components": [
2673
2828
  {
2674
- "internalType": "NumberId",
2675
- "name": "claimId",
2676
- "type": "uint32"
2829
+ "internalType": "NftId",
2830
+ "name": "distributorNftId",
2831
+ "type": "uint96"
2677
2832
  },
2678
2833
  {
2679
- "internalType": "uint256",
2680
- "name": "amount",
2834
+ "internalType": "string",
2835
+ "name": "referralCode",
2836
+ "type": "string"
2837
+ },
2838
+ {
2839
+ "internalType": "UFixed",
2840
+ "name": "discountPercentage",
2681
2841
  "type": "uint256"
2682
2842
  },
2683
2843
  {
2684
- "internalType": "bytes",
2685
- "name": "data",
2686
- "type": "bytes"
2844
+ "internalType": "uint32",
2845
+ "name": "maxReferrals",
2846
+ "type": "uint32"
2847
+ },
2848
+ {
2849
+ "internalType": "uint32",
2850
+ "name": "usedReferrals",
2851
+ "type": "uint32"
2687
2852
  },
2688
2853
  {
2689
2854
  "internalType": "Timestamp",
2690
- "name": "paidAt",
2855
+ "name": "expiryAt",
2691
2856
  "type": "uint40"
2857
+ },
2858
+ {
2859
+ "internalType": "bytes",
2860
+ "name": "data",
2861
+ "type": "bytes"
2692
2862
  }
2693
2863
  ],
2694
- "internalType": "struct IPolicy.PayoutInfo",
2695
- "name": "payout",
2864
+ "internalType": "struct IDistribution.ReferralInfo",
2865
+ "name": "referralInfo",
2696
2866
  "type": "tuple"
2697
2867
  },
2698
2868
  {
@@ -2709,9 +2879,9 @@
2709
2879
  {
2710
2880
  "inputs": [
2711
2881
  {
2712
- "internalType": "NftId",
2713
- "name": "policyNftId",
2714
- "type": "uint96"
2882
+ "internalType": "Key32",
2883
+ "name": "referralKey",
2884
+ "type": "bytes32"
2715
2885
  },
2716
2886
  {
2717
2887
  "internalType": "StateId",
@@ -2778,50 +2948,50 @@
2778
2948
  "type": "function"
2779
2949
  }
2780
2950
  ],
2781
- "bytecode": "0x60806040523480156200001157600080fd5b50620000546301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600280546001600160a01b031916331790556200007062000094565b6200007a6200024b565b6200008462000385565b6200008e620005f2565b6200076b565b60dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f805460ff19166064179055600190600490620000db60dc90565b60ff1660ff1681526020019081526020016000206000620001016200073960201b60201c565b60ff1660ff1681526020019081526020016000206000620001276200074360201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906004906200015b60dc90565b60ff1660ff1681526020019081526020016000206000620001816200074360201b60201c565b60ff1660ff1681526020019081526020016000206000620001a76200073960201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620001db60dc90565b60ff1660ff1681526020019081526020016000206000620002016200074360201b60201c565b60ff1660ff1681526020019081526020016000206000620002276200074860201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f6b16ef514f22b74729cbea5cc7babfecbdc2309e530ca716643d11fe929eed2e8054606460ff1991821681179092557fd95a7ca9e147710ebdb88338ab2e67ddd90cff367c512f0cd93015f31f62adca8054909116600190811790915560009182526004602052907f083fc81be30b6287dea23aa60f8ffaf268f507cdeac82ed9644e506b59c54ff090620002df606e90565b60ff1660ff1681526020019081526020016000206000620003056200073960201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060049062000339606490565b60ff1660ff16815260200190815260200160002060006200035f6200074360201b60201c565b60ff1660ff1681526020019081526020016000206000620002276200074d60201b60201c565b60d2600090815260036020527f4a3d8eec916edb195dbc0ca8a0f405ba03a38efbebf3c35851ce877e52911169805460ff1916600a179055600190600490620003cc60d290565b60ff1660ff1681526020019081526020016000206000620003f26200075260201b60201c565b60ff1660ff1681526020019081526020016000206000620004186200075760201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906004906200044c60d290565b60ff1660ff1681526020019081526020016000206000620004726200075260201b60201c565b60ff1660ff1681526020019081526020016000206000620004986200075c60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620004cc60d290565b60ff1660ff1681526020019081526020016000206000620004f26200075260201b60201c565b60ff1660ff1681526020019081526020016000206000620005186200076160201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906004906200054c60d290565b60ff1660ff1681526020019081526020016000206000620005726200076160201b60201c565b60ff1660ff1681526020019081526020016000206000620005986200073960201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620005cc60d290565b60ff1660ff1681526020019081526020016000206000620002016200073960201b60201c565b60c8600090815260036020527f4ee5ee9bffee16640c2540fd7f6965fdc66a7e5f780f34dcd70130941a3eae07805460ff191660641790556001906004906200063960c890565b60ff1660ff16815260200190815260200160002060006200065f6200073960201b60201c565b60ff1660ff1681526020019081526020016000206000620006856200074360201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600490620006b960c890565b60ff1660ff1681526020019081526020016000206000620006df6200074360201b60201c565b60ff1660ff1681526020019081526020016000206000620007056200073960201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906004906200033960c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b600060286200073e565b6147cb806200077b6000396000f3fe608060405234801561001057600080fd5b50600436106104285760003560e01c806382f65adb1161022b578063bf1db3f911610130578063e7cd37d4116100b8578063f7bc431c11610087578063f7bc431c146109b3578063f8b648ac146105af578063fb2cb101146109c6578063fe1f18d6146109d7578063fed3d63f146109ea57600080fd5b8063e7cd37d41461094f578063e8951ee614610531578063e9e96c7014610962578063f48016ce146109a057600080fd5b8063cde749f4116100ff578063cde749f414610919578063d2f21a2914610921578063d5b221bd1461054c578063dee3262314610934578063e1033e7d1461094757600080fd5b8063bf1db3f9146108f6578063bf7e214f14610909578063c2f1a2d21461054c578063ca600b1c1461091157600080fd5b80639df0280b116101b3578063a898967511610182578063a8989675146108aa578063a9cea142146108bd578063b68ec146146105af578063bc8d4000146108d0578063bd5947e3146108e357600080fd5b80639df0280b14610531578063a13df2ab146107d3578063a5961b4c146107e6578063a76ee0181461089757600080fd5b80638fb36037116101fa5780638fb360371461076657806391ff6eaa14610787578063976b0a771461079a5780639a960d52146107ad5780639d7421f4146107c057600080fd5b806382f65adb146105af578063893d20e81461073e5780638dc77f42146105315780638eaa6ac01461074657600080fd5b806340529b0f1161033157806360aa32aa116102b957806375b238fc1161028857806375b238fc146106fd57806375c82776146107055780637a4158021461054c5780637a9e5e4b146107185780637cef48421461072b57600080fd5b806360aa32aa146106a657806361f5f420146106b9578063644c45e0146106ca5780636b9bf08b146106f557600080fd5b806354f6127f1161030057806354f6127f146106595780635ab1bd53146106795780635d4345cc146105315780635dfa73db1461068a5780636071a68e1461069357600080fd5b806340529b0f14610531578063422c9d001461062b5780634288121d1461063e578063468a18671461064657600080fd5b80631c45fe7a116103b457806333bb0a971161038357806333bb0a97146105af57806337f135d7146105c257806338a699a4146105df5780633ca7c02a146105f25780633fc5ab981461061857600080fd5b80631c45fe7a1461054c5780631eff4b221461055f5780632781d443146105945780632f61088a1461059c57600080fd5b80630d358181116103fb5780630d358181146104e35780630f526f7d146105095780630fec111c1461051c57806310203d2c14610531578063138461e01461054457600080fd5b806301ffc9a71461042d57806302cd30711461046f57806309648a9d146104945780630b24cf5f146104ce575b600080fd5b61045a61043b366004612ffb565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6007546001600160a01b03165b6040516001600160a01b039091168152602001610466565b6104bc6104a2366004613025565b600090815260056020526040902054610100900460ff1690565b60405160ff9091168152602001610466565b6104e16104dc36600461322f565b6109f2565b005b6104bc6104f1366004613274565b60ff9081166000908152600360205260409020541690565b6104e1610517366004613291565b610a36565b610524610a53565b604051610466919061331a565b6104e161053f366004613291565b610c0c565b6104e1610c21565b6104e161055a3660046134cd565b610e43565b6105867f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610466565b610586600381565b6104e16105aa3660046135bc565b610e84565b6104e16105bd36600461360b565b610f1f565b6105ca600081565b60405163ffffffff9091168152602001610466565b61045a6105ed366004613025565b610f4a565b6106006001600160401b0381565b6040516001600160401b039091168152602001610466565b6104e1610626366004613723565b610fdb565b6104e1610639366004613786565b611001565b61047c61113e565b6105866106543660046137a3565b6111c4565b61066c610667366004613025565b61125d565b60405161046691906137c0565b6001546001600160a01b031661047c565b61060061271081565b6104e16106a13660046137d3565b611302565b6104e16106b43660046138ce565b611328565b6008546001600160a01b031661047c565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610466565b61047c611350565b610600600081565b6104e1610713366004613952565b61136b565b6104e1610726366004613786565b611391565b6104e16107393660046139aa565b611414565b61047c61149e565b610759610754366004613025565b61157b565b6040516104669190613a12565b61076e6116bc565b6040516001600160e01b03199091168152602001610466565b6104e1610795366004613b36565b6116f5565b6104e16107a8366004613b64565b61171d565b6104e16107bb366004613d02565b61185d565b6104e16107ce366004613d49565b611883565b6105866107e13660046137a3565b6118a9565b61088a6107f4366004613025565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260056020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104669190613da0565b6104e16108a5366004613dae565b6118d6565b6104e16108b8366004613df5565b611971565b6104e16108cb366004613e35565b611a62565b6104e16108de366004613e76565b611a8a565b6104e16108f1366004613ebb565b611ab0565b61045a610904366004613274565b611ad8565b61047c611b25565b61047c611b41565b6104bc611b5c565b6104e161092f366004613291565b611bd3565b6104e1610942366004613291565b611bea565b61047c611c01565b6104e161095d366004613efb565b611c1c565b61045a610970366004613df5565b60ff9283166000908152600460209081526040808320948616835293815283822092851682529190915220541690565b6105866109ae366004613f39565b611c44565b6104e16109c1366004613786565b611ccf565b6002546001600160a01b031661047c565b6104e16109e5366004613291565b611dbc565b61047c611dd1565b6109ff335b600036611dec565b610a32610a0d836078611ef2565b82604051602001610a1e9190613f67565b604051602081830303815290604052611f3e565b5050565b610a3f336109f7565b610a32610a4d83608c611ef2565b82611f48565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610afe90613fc7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2a90613fc7565b8015610b775780601f10610b4c57610100808354040283529160200191610b77565b820191906000526020600020905b815481529060010190602001808311610b5a57829003601f168201915b50505050508152505090506040518060e00160405280610b95600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610bf06002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b610c15336109f7565b610a32610a4d836111c4565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca79190614001565b15610cee576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610d175760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d849190614001565b610dac576040516372657a5160e01b81526001600160a01b0382166004820152602401610ce5565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1a919061401e565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610e4c336109f7565b610e7e610e58856111c4565b83604051602001610e69919061403b565b60405160208183030381529060405283611f52565b50505050565b610e8d336109f7565b6040516355ee627560e01b81526001600160c01b031983166004820152610a329073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0e919061408e565b82604051602001610a1e91906140a7565b610f28336109f7565b610f45610f34846111c4565b82604051602001610a1e919061403b565b505050565b60008181526005602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015610fb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd59190614001565b92915050565b610fe4336109f7565b610f45610ff0846118a9565b83604051602001610e6991906140d5565b61100a336109f7565b6008546001600160a01b03161561105a5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610ce5565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c69190614189565b6001600160a01b03161461111c5760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610ce5565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001546000906001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff9091166004820152600360248201526044015b602060405180830381865afa15801561119b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf9190614189565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611239573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd5919061408e565b600081815260056020526040902060010180546060919061127d90613fc7565b80601f01602080910402602001604051908101604052809291908181526020018280546112a990613fc7565b80156112f65780601f106112cb576101008083540402835291602001916112f6565b820191906000526020600020905b8154815290600101906020018083116112d957829003601f168201915b50505050509050919050565b61130b336109f7565b610a32611317836118a9565b82604051602001610a1e91906140d5565b611331336109f7565b610f4561133f84608c611ef2565b83604051602001610e6991906141a6565b6001546000906001600160a01b031663d39e6043608c611155565b611374336109f7565b610e7e611380856111c4565b83604051602001610e699190614266565b3361139a611b25565b6001600160a01b0316816001600160a01b0316146113d55760405162d1953b60e31b81526001600160a01b0382166004820152602401610ce5565b816001600160a01b03163b60000361140b576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ce5565b610a3282611f5d565b61141d336109f7565b6040516355ee627560e01b81526001600160c01b031983166004820152610a329073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561147a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d919061408e565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115279190614001565b1561156b57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a9060240161117e565b506002546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260056020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019161163390613fc7565b80601f016020809104026020016040519081016040528092919081815260200182805461165f90613fc7565b80156116ac5780601f10611681576101008083540402835291602001916116ac565b820191906000526020600020905b81548152906001019060200180831161168f57829003601f168201915b5050505050815250509050919050565b600080516020614776833981519152805460009190600160a01b900460ff166116e65760006116ef565b638fb3603760e01b5b91505090565b6116fe336109f7565b610a3261170c83606e611ef2565b82604051602001610a1e9190614296565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117625750825b90506000826001600160401b0316600114801561177e5750303b155b90508115801561178c575080155b156117aa5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156117d457845460ff60401b1916600160401b1785555b6117dd89611fbe565b6117fc8888604660008a60405180602001604052806000815250611fd2565b61180c633b03905f60e11b6120a7565b831561185257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611866336109f7565b610f45611872846111c4565b83604051602001610e6991906143c0565b61188c336109f7565b610f45611898846111c4565b82604051602001610a1e9190614266565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6111ed565b6118df336109f7565b6040516355ee627560e01b81526001600160c01b031984166004820152610f459073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561193c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611960919061408e565b83604051602001610e6991906140a7565b60ff8381166000908152600360205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156119d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fa9190614001565b15611a0457505050565b60ff808416600090815260046020908152604080832086851684528252808320858516845290915290205416610f4557604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610ce5565b611a6b336109f7565b610f45611a7984606e611ef2565b83604051602001610e699190614296565b611a93336109f7565b610a32611a9f836111c4565b82604051602001610a1e91906143c0565b611ab9336109f7565b610f45611ac7846078611ef2565b83604051602001610e699190613f67565b60ff81811660009081526003602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610f94565b600080516020614776833981519152546001600160a01b031690565b6001546000906001600160a01b031663d39e60436078611155565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611baf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf9190614501565b611bdc336109f7565b610a32610a4d836078611ef2565b611bf3336109f7565b610a32610a4d83606e611ef2565b6001546000906001600160a01b031663d39e604360d2611155565b611c25336109f7565b610a32611c3383608c611ef2565b82604051602001610a1e91906141a6565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cc8919061408e565b9392505050565b611cd8336109f7565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d449190614189565b6001600160a01b031614611d9a5760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610ce5565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b611dc5336109f7565b610a32610a4d836118a9565b6001546000906001600160a01b031663d39e604360dc611155565b600080516020614776833981519152600080611e27611e09611b25565b8730611e19600460008a8c61451e565b611e2291614548565b6120cc565b9150915081611eea5763ffffffff811615611ec757825460ff60a01b1916600160a01b178355611e55611b25565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e8493929190614578565b600060405180830381600087803b158015611e9e57600080fd5b505af1158015611eb2573d6000803e3d6000fd5b5050845460ff60a01b1916855550611eea9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610ce5565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611c87565b610a3282826121d8565b610a3282826125fa565b610f4583838361292e565b60008051602061477683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611fc6612dc9565b611fcf81612e14565b50565b6120136301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61201d8287612e25565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161208d83826145fe565b5061209e6303fb044760e21b6120a7565b50505050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161213b91906146bd565b600060405180830381855afa9150503d8060008114612176576040519150601f19603f3d011682016040523d82523d6000602084013e61217b565b606091505b509150915081156121cd5760408151106121ad57808060200190518101906121a391906146d9565b90945092506121cd565b60208151106121cd57808060200190518101906121ca9190614001565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561222b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224f9190614501565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156122a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c89190614001565b6123145760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610ce5565b600083815260056020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801561237d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a19190614001565b6123ed5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610ce5565b334360006123fa85611ad8565b61240557606461241b565b60ff808616600090815260036020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526005602052604090209091506001016124a587826145fe565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612518573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253c9190614501565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561258c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b09190614708565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561264c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126709190614001565b6126bc5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610ce5565b600082815260056020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274c9190614001565b6127985760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610ce5565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166127dc4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561286e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128929190614501565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156128e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129069190614708565b878686328760405161291e9796959493929190614725565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129a49190614001565b6129f05760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610ce5565b600083815260056020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a809190614001565b612acc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610ce5565b6000858152600560205260409020600101612ae785826145fe565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612b2c4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612bbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612be29190614501565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c569190614708565b8786863287604051612c6e9796959493929190614725565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0c9190614501565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d809190614708565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016125e9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612e1257604051631afcd79f60e31b815260040160405180910390fd5b565b612e1c612dc9565b611fcf81611f5d565b6001600160a01b038216612e7b5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610ce5565b600280546001600160a01b0319166001600160a01b038416179055610a32816001546001600160a01b031615612ed35760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610ce5565b6001600160a01b038116612efa5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612f305760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ce5565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526316c8f9ff60e01b60048201526301ffc9a790602401602060405180830381865afa925050508015612faa575060408051601f3d908101601f19168201909252612fa791810190614001565b60015b612fd25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ce5565b80610a325760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610ce5565b60006020828403121561300d57600080fd5b81356001600160e01b031981168114611cc857600080fd5b60006020828403121561303757600080fd5b5035919050565b6001600160601b0381168114611fcf57600080fd5b803561305e8161303e565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561309b5761309b613063565b60405290565b604051608081016001600160401b038111828210171561309b5761309b613063565b60405161012081016001600160401b038111828210171561309b5761309b613063565b60405161018081016001600160401b038111828210171561309b5761309b613063565b60405161020081016001600160401b038111828210171561309b5761309b613063565b6001600160a01b0381168114611fcf57600080fd5b803561305e8161312c565b60006040828403121561315e57600080fd5b613166613079565b9050813581526020820135602082015292915050565b8015158114611fcf57600080fd5b803561305e8161317c565b600060c082840312156131a757600080fd5b60405160a081018181106001600160401b03821117156131c9576131c9613063565b60405290508082356131da8161303e565b815260208301356131ea8161312c565b60208201526131fc846040850161314c565b6040820152608083013561320f8161317c565b606082015260a08301356132228161312c565b6080919091015292915050565b60008060e0838503121561324257600080fd5b823561324d8161303e565b915061325c8460208501613195565b90509250929050565b60ff81168114611fcf57600080fd5b60006020828403121561328657600080fd5b8135611cc881613265565b600080604083850312156132a457600080fd5b82356132af8161303e565b915060208301356132bf81613265565b809150509250929050565b60005b838110156132e55781810151838201526020016132cd565b50506000910152565b600081518084526133068160208601602086016132ca565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161338360c08401826001600160a01b03169052565b5060c083015160e08084015261339d6101008401826132ee565b949350505050565b63ffffffff81168114611fcf57600080fd5b600082601f8301126133c857600080fd5b81356001600160401b03808211156133e2576133e2613063565b604051601f8301601f19908116603f0116810190828211818310171561340a5761340a613063565b8160405283815286602085880101111561342357600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff8116811461305e57600080fd5b60006080828403121561346a57600080fd5b6134726130a1565b9050813561347f816133a5565b81526020828101359082015260408201356001600160401b038111156134a457600080fd5b6134b0848285016133b7565b6040830152506134c260608301613443565b606082015292915050565b600080600080608085870312156134e357600080fd5b84356134ee8161303e565b935060208501356134fe816133a5565b925060408501356001600160401b0381111561351957600080fd5b61352587828801613458565b925050606085013561353681613265565b939692955090935050565b6001600160c01b031981168114611fcf57600080fd5b803561305e81613541565b60006040828403121561357457600080fd5b61357c613079565b905081356135898161303e565b815260208201356001600160401b038111156135a457600080fd5b6135b0848285016133b7565b60208301525092915050565b600080604083850312156135cf57600080fd5b82356135da81613541565b915060208301356001600160401b038111156135f557600080fd5b61360185828601613562565b9150509250929050565b60008060006060848603121561362057600080fd5b833561362b8161303e565b9250602084013561363b816133a5565b915060408401356001600160401b0381111561365657600080fd5b61366286828701613458565b9150509250925092565b6000610140828403121561367f57600080fd5b6136876130c3565b905061369282613053565b81526136a1836020840161314c565b602082015260608201356001600160401b038111156136bf57600080fd5b6136cb848285016133b7565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100613707818401613443565b60e08301526137196101208401613443565b9082015292915050565b60008060006060848603121561373857600080fd5b83356137438161303e565b925060208401356001600160401b0381111561375e57600080fd5b61376a8682870161366c565b925050604084013561377b81613265565b809150509250925092565b60006020828403121561379857600080fd5b8135611cc88161312c565b6000602082840312156137b557600080fd5b8135611cc88161303e565b602081526000611cc860208301846132ee565b600080604083850312156137e657600080fd5b82356137f18161303e565b915060208301356001600160401b0381111561380c57600080fd5b6136018582860161366c565b6000610180828403121561382b57600080fd5b6138336130c3565b905061383e82613053565b815261384c60208301613141565b602082015260408201356040820152613868836060840161314c565b606082015261387a8360a0840161314c565b608082015261388c8360e0840161314c565b60a082015261389e610120830161318a565b60c08201526138b0610140830161318a565b60e08201526138c26101608301613141565b61010082015292915050565b60008060006101c084860312156138e457600080fd5b83356138ef8161303e565b92506138fe8560208601613818565b91506101a084013561377b81613265565b60006080828403121561392157600080fd5b6139296130a1565b9050813581526020820135602082015260408201356001600160401b038111156134a457600080fd5b6000806000806080858703121561396857600080fd5b84356139738161303e565b93506020850135613983816133a5565b925060408501356001600160401b0381111561399e57600080fd5b6135258782880161390f565b600080604083850312156139bd57600080fd5b82356132af81613541565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152613a246020820183516139c8565b6000602083015160c08084015261339d60e08401826132ee565b60006102408284031215613a5157600080fd5b613a596130e6565b9050613a6482613141565b8152613a7260208301613141565b6020820152613a8360408301613053565b6040820152613a9460608301613053565b6060820152613aa6836080840161314c565b6080820152613ab88360c0840161314c565b60a0820152610100613acc8482850161314c565b60c0830152610140613ae08582860161314c565b60e0840152613af385610180860161314c565b82840152613b05856101c0860161314c565b610120840152613b18610200850161318a565b9083015250613b2a6102208301613141565b61016082015292915050565b6000806102608385031215613b4a57600080fd5b8235613b558161303e565b915061325c8460208501613a3e565b60008060008060808587031215613b7a57600080fd5b8435613b858161312c565b93506020850135613b958161312c565b92506040850135613ba58161303e565b915060608501356135368161312c565b803561ffff8116811461305e57600080fd5b60006102008284031215613bda57600080fd5b613be2613109565b9050613bed82613053565b8152613bfb60208301613053565b6020820152613c0c60408301613557565b6040820152613c1d60608301613557565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115613c6657600080fd5b613c72868387016133b7565b83850152610120925082850135915080821115613c8e57600080fd5b50613c9b858286016133b7565b828401525050610140613caf818401613bb5565b90820152610160613cc1838201613bb5565b9082015261018082810135908201526101a0613cde818401613443565b908201526101c0613cf0838201613443565b908201526101e0613719838201613443565b600080600060608486031215613d1757600080fd5b8335613d228161303e565b925060208401356001600160401b03811115613d3d57600080fd5b61376a86828701613bc7565b600080600060608486031215613d5e57600080fd5b8335613d698161303e565b92506020840135613d79816133a5565b915060408401356001600160401b03811115613d9457600080fd5b6136628682870161390f565b60a08101610fd582846139c8565b600080600060608486031215613dc357600080fd5b8335613dce81613541565b925060208401356001600160401b03811115613de957600080fd5b61376a86828701613562565b600080600060608486031215613e0a57600080fd5b8335613e1581613265565b92506020840135613e2581613265565b9150604084013561377b81613265565b60008060006102808486031215613e4b57600080fd5b8335613e568161303e565b9250613e658560208601613a3e565b915061026084013561377b81613265565b60008060408385031215613e8957600080fd5b8235613e948161303e565b915060208301356001600160401b03811115613eaf57600080fd5b61360185828601613bc7565b60008060006101008486031215613ed157600080fd5b8335613edc8161303e565b9250613eeb8560208601613195565b915060e084013561377b81613265565b6000806101a08385031215613f0f57600080fd5b8235613f1a8161303e565b915061325c8460208501613818565b60ff1981168114611fcf57600080fd5b60008060408385031215613f4c57600080fd5b8235613f5781613265565b915060208301356132bf81613f29565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c90821680613fdb57607f821691505b602082108103613ffb57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561401357600080fd5b8151611cc88161317c565b60006020828403121561403057600080fd5b8151611cc88161303e565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261407160a08401826132ee565b905064ffffffffff60608501511660808401528091505092915050565b6000602082840312156140a057600080fd5b5051919050565b602081526001600160601b0382511660208201526000602083015160408084015261339d60608401826132ee565b602081526140ef6020820183516001600160601b03169052565b6000602083015161410d604084018280518252602090810151910152565b50604083015161014080608085015261412a6101608501836132ee565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e0870151915061417261012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60006020828403121561419b57600080fd5b8151611cc88161312c565b81516001600160601b031681526020808301516101808301916141d3908401826001600160a01b03169052565b506040830151604083015260608301516141fa606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081528151602082015260208201516040820152600060408301516080606084015261407160a08401826132ee565b81516001600160a01b03168152610240810160208301516142c260208401826001600160a01b03169052565b5060408301516142dd60408401826001600160601b03169052565b5060608301516142f860608401826001600160601b03169052565b506080830151614315608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061434b8185018380518252602090810151910152565b60e0850151915061014061436b8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b03811661022084015261425f565b602081526143da6020820183516001600160601b03169052565b600060208301516143f660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261446e6102208601846132ee565b9250808601519050610140601f19868503018187015261448e84836132ee565b9350808701519150506101606144a98187018361ffff169052565b86015190506101806144c08682018361ffff169052565b8601516101a08681019190915286015190506101c06144e78187018364ffffffffff169052565b86015190506101e06141728682018364ffffffffff169052565b60006020828403121561451357600080fd5b8151611cc881613265565b6000808585111561452e57600080fd5b8386111561453b57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156145705780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610f4557600081815260208120601f850160051c810160208610156145df5750805b601f850160051c820191505b81811015611eea578281556001016145eb565b81516001600160401b0381111561461757614617613063565b61462b816146258454613fc7565b846145b8565b602080601f83116001811461466057600084156146485750858301515b600019600386901b1c1916600185901b178555611eea565b600085815260208120601f198616915b8281101561468f57888601518255948401946001909101908401614670565b50858210156146ad5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516146cf8184602087016132ca565b9190910192915050565b600080604083850312156146ec57600080fd5b82516146f78161317c565b60208401519092506132bf816133a5565b60006020828403121561471a57600080fd5b8151611cc881613f29565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122034b8217482059b09fe4cb63c3e8ab360b8bdea8aab3a14620e96a04a31c7f28064736f6c63430008140033",
2782
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104285760003560e01c806382f65adb1161022b578063bf1db3f911610130578063e7cd37d4116100b8578063f7bc431c11610087578063f7bc431c146109b3578063f8b648ac146105af578063fb2cb101146109c6578063fe1f18d6146109d7578063fed3d63f146109ea57600080fd5b8063e7cd37d41461094f578063e8951ee614610531578063e9e96c7014610962578063f48016ce146109a057600080fd5b8063cde749f4116100ff578063cde749f414610919578063d2f21a2914610921578063d5b221bd1461054c578063dee3262314610934578063e1033e7d1461094757600080fd5b8063bf1db3f9146108f6578063bf7e214f14610909578063c2f1a2d21461054c578063ca600b1c1461091157600080fd5b80639df0280b116101b3578063a898967511610182578063a8989675146108aa578063a9cea142146108bd578063b68ec146146105af578063bc8d4000146108d0578063bd5947e3146108e357600080fd5b80639df0280b14610531578063a13df2ab146107d3578063a5961b4c146107e6578063a76ee0181461089757600080fd5b80638fb36037116101fa5780638fb360371461076657806391ff6eaa14610787578063976b0a771461079a5780639a960d52146107ad5780639d7421f4146107c057600080fd5b806382f65adb146105af578063893d20e81461073e5780638dc77f42146105315780638eaa6ac01461074657600080fd5b806340529b0f1161033157806360aa32aa116102b957806375b238fc1161028857806375b238fc146106fd57806375c82776146107055780637a4158021461054c5780637a9e5e4b146107185780637cef48421461072b57600080fd5b806360aa32aa146106a657806361f5f420146106b9578063644c45e0146106ca5780636b9bf08b146106f557600080fd5b806354f6127f1161030057806354f6127f146106595780635ab1bd53146106795780635d4345cc146105315780635dfa73db1461068a5780636071a68e1461069357600080fd5b806340529b0f14610531578063422c9d001461062b5780634288121d1461063e578063468a18671461064657600080fd5b80631c45fe7a116103b457806333bb0a971161038357806333bb0a97146105af57806337f135d7146105c257806338a699a4146105df5780633ca7c02a146105f25780633fc5ab981461061857600080fd5b80631c45fe7a1461054c5780631eff4b221461055f5780632781d443146105945780632f61088a1461059c57600080fd5b80630d358181116103fb5780630d358181146104e35780630f526f7d146105095780630fec111c1461051c57806310203d2c14610531578063138461e01461054457600080fd5b806301ffc9a71461042d57806302cd30711461046f57806309648a9d146104945780630b24cf5f146104ce575b600080fd5b61045a61043b366004612ffb565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6007546001600160a01b03165b6040516001600160a01b039091168152602001610466565b6104bc6104a2366004613025565b600090815260056020526040902054610100900460ff1690565b60405160ff9091168152602001610466565b6104e16104dc36600461322f565b6109f2565b005b6104bc6104f1366004613274565b60ff9081166000908152600360205260409020541690565b6104e1610517366004613291565b610a36565b610524610a53565b604051610466919061331a565b6104e161053f366004613291565b610c0c565b6104e1610c21565b6104e161055a3660046134cd565b610e43565b6105867f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610466565b610586600381565b6104e16105aa3660046135bc565b610e84565b6104e16105bd36600461360b565b610f1f565b6105ca600081565b60405163ffffffff9091168152602001610466565b61045a6105ed366004613025565b610f4a565b6106006001600160401b0381565b6040516001600160401b039091168152602001610466565b6104e1610626366004613723565b610fdb565b6104e1610639366004613786565b611001565b61047c61113e565b6105866106543660046137a3565b6111c4565b61066c610667366004613025565b61125d565b60405161046691906137c0565b6001546001600160a01b031661047c565b61060061271081565b6104e16106a13660046137d3565b611302565b6104e16106b43660046138ce565b611328565b6008546001600160a01b031661047c565b600154600160a01b90046001600160601b03166040516001600160601b039091168152602001610466565b61047c611350565b610600600081565b6104e1610713366004613952565b61136b565b6104e1610726366004613786565b611391565b6104e16107393660046139aa565b611414565b61047c61149e565b610759610754366004613025565b61157b565b6040516104669190613a12565b61076e6116bc565b6040516001600160e01b03199091168152602001610466565b6104e1610795366004613b36565b6116f5565b6104e16107a8366004613b64565b61171d565b6104e16107bb366004613d02565b61185d565b6104e16107ce366004613d49565b611883565b6105866107e13660046137a3565b6118a9565b61088a6107f4366004613025565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260056020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104669190613da0565b6104e16108a5366004613dae565b6118d6565b6104e16108b8366004613df5565b611971565b6104e16108cb366004613e35565b611a62565b6104e16108de366004613e76565b611a8a565b6104e16108f1366004613ebb565b611ab0565b61045a610904366004613274565b611ad8565b61047c611b25565b61047c611b41565b6104bc611b5c565b6104e161092f366004613291565b611bd3565b6104e1610942366004613291565b611bea565b61047c611c01565b6104e161095d366004613efb565b611c1c565b61045a610970366004613df5565b60ff9283166000908152600460209081526040808320948616835293815283822092851682529190915220541690565b6105866109ae366004613f39565b611c44565b6104e16109c1366004613786565b611ccf565b6002546001600160a01b031661047c565b6104e16109e5366004613291565b611dbc565b61047c611dd1565b6109ff335b600036611dec565b610a32610a0d836078611ef2565b82604051602001610a1e9190613f67565b604051602081830303815290604052611f3e565b5050565b610a3f336109f7565b610a32610a4d83608c611ef2565b82611f48565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610afe90613fc7565b80601f0160208091040260200160405190810160405280929190818152602001828054610b2a90613fc7565b8015610b775780601f10610b4c57610100808354040283529160200191610b77565b820191906000526020600020905b815481529060010190602001808311610b5a57829003601f168201915b50505050508152505090506040518060e00160405280610b95600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610bf06002546001600160a01b031690565b6001600160a01b03168152602001826060015181525091505090565b610c15336109f7565b610a32610a4d836111c4565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610c83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca79190614001565b15610cee576001546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6001546001600160a01b0316610d175760405163cf29926160e01b815260040160405180910390fd5b60015460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610d60573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d849190614001565b610dac576040516372657a5160e01b81526001600160a01b0382166004820152602401610ce5565b600154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1a919061401e565b600160146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610e4c336109f7565b610e7e610e58856111c4565b83604051602001610e69919061403b565b60405160208183030381529060405283611f52565b50505050565b610e8d336109f7565b6040516355ee627560e01b81526001600160c01b031983166004820152610a329073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0e919061408e565b82604051602001610a1e91906140a7565b610f28336109f7565b610f45610f34846111c4565b82604051602001610a1e919061403b565b505050565b60008181526005602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015610fb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd59190614001565b92915050565b610fe4336109f7565b610f45610ff0846118a9565b83604051602001610e6991906140d5565b61100a336109f7565b6008546001600160a01b03161561105a5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610ce5565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110a2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c69190614189565b6001600160a01b03161461111c5760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610ce5565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6001546000906001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff9091166004820152600360248201526044015b602060405180830381865afa15801561119b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf9190614189565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611239573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd5919061408e565b600081815260056020526040902060010180546060919061127d90613fc7565b80601f01602080910402602001604051908101604052809291908181526020018280546112a990613fc7565b80156112f65780601f106112cb576101008083540402835291602001916112f6565b820191906000526020600020905b8154815290600101906020018083116112d957829003601f168201915b50505050509050919050565b61130b336109f7565b610a32611317836118a9565b82604051602001610a1e91906140d5565b611331336109f7565b610f4561133f84608c611ef2565b83604051602001610e6991906141a6565b6001546000906001600160a01b031663d39e6043608c611155565b611374336109f7565b610e7e611380856111c4565b83604051602001610e699190614266565b3361139a611b25565b6001600160a01b0316816001600160a01b0316146113d55760405162d1953b60e31b81526001600160a01b0382166004820152602401610ce5565b816001600160a01b03163b60000361140b576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ce5565b610a3282611f5d565b61141d336109f7565b6040516355ee627560e01b81526001600160c01b031983166004820152610a329073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561147a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4d919061408e565b6001546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611503573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115279190614001565b1561156b57600154604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a9060240161117e565b506002546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260056020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019161163390613fc7565b80601f016020809104026020016040519081016040528092919081815260200182805461165f90613fc7565b80156116ac5780601f10611681576101008083540402835291602001916116ac565b820191906000526020600020905b81548152906001019060200180831161168f57829003601f168201915b5050505050815250509050919050565b600080516020614776833981519152805460009190600160a01b900460ff166116e65760006116ef565b638fb3603760e01b5b91505090565b6116fe336109f7565b610a3261170c83606e611ef2565b82604051602001610a1e9190614296565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117625750825b90506000826001600160401b0316600114801561177e5750303b155b90508115801561178c575080155b156117aa5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156117d457845460ff60401b1916600160401b1785555b6117dd89611fbe565b6117fc8888604660008a60405180602001604052806000815250611fd2565b61180c633b03905f60e11b6120a7565b831561185257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611866336109f7565b610f45611872846111c4565b83604051602001610e6991906143c0565b61188c336109f7565b610f45611898846111c4565b82604051602001610a1e9190614266565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6111ed565b6118df336109f7565b6040516355ee627560e01b81526001600160c01b031984166004820152610f459073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561193c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611960919061408e565b83604051602001610e6991906140a7565b60ff8381166000908152600360205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156119d6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fa9190614001565b15611a0457505050565b60ff808416600090815260046020908152604080832086851684528252808320858516845290915290205416610f4557604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610ce5565b611a6b336109f7565b610f45611a7984606e611ef2565b83604051602001610e699190614296565b611a93336109f7565b610a32611a9f836111c4565b82604051602001610a1e91906143c0565b611ab9336109f7565b610f45611ac7846078611ef2565b83604051602001610e699190613f67565b60ff81811660009081526003602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610f94565b600080516020614776833981519152546001600160a01b031690565b6001546000906001600160a01b031663d39e60436078611155565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611baf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bf9190614501565b611bdc336109f7565b610a32610a4d836078611ef2565b611bf3336109f7565b610a32610a4d83606e611ef2565b6001546000906001600160a01b031663d39e604360d2611155565b611c25336109f7565b610a32611c3383608c611ef2565b82604051602001610a1e91906141a6565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611ca4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cc8919061408e565b9392505050565b611cd8336109f7565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d449190614189565b6001600160a01b031614611d9a5760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610ce5565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b611dc5336109f7565b610a32610a4d836118a9565b6001546000906001600160a01b031663d39e604360dc611155565b600080516020614776833981519152600080611e27611e09611b25565b8730611e19600460008a8c61451e565b611e2291614548565b6120cc565b9150915081611eea5763ffffffff811615611ec757825460ff60a01b1916600160a01b178355611e55611b25565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611e8493929190614578565b600060405180830381600087803b158015611e9e57600080fd5b505af1158015611eb2573d6000803e3d6000fd5b5050845460ff60a01b1916855550611eea9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610ce5565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611c87565b610a3282826121d8565b610a3282826125fa565b610f4583838361292e565b60008051602061477683398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b611fc6612dc9565b611fcf81612e14565b50565b6120136301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61201d8287612e25565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b8615150217815590506001810161208d83826145fe565b5061209e6303fb044760e21b6120a7565b50505050505050565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161213b91906146bd565b600060405180830381855afa9150503d8060008114612176576040519150601f19603f3d011682016040523d82523d6000602084013e61217b565b606091505b509150915081156121cd5760408151106121ad57808060200190518101906121a391906146d9565b90945092506121cd565b60208151106121cd57808060200190518101906121ca9190614001565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561222b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061224f9190614501565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156122a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c89190614001565b6123145760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610ce5565b600083815260056020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801561237d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a19190614001565b6123ed5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610ce5565b334360006123fa85611ad8565b61240557606461241b565b60ff808616600090815260036020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526005602052604090209091506001016124a587826145fe565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612518573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253c9190614501565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561258c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125b09190614708565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561264c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126709190614001565b6126bc5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610ce5565b600082815260056020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274c9190614001565b6127985760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610ce5565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166127dc4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561286e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128929190614501565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156128e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129069190614708565b878686328760405161291e9796959493929190614725565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129a49190614001565b6129f05760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610ce5565b600083815260056020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612a5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a809190614001565b612acc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610ce5565b6000858152600560205260409020600101612ae785826145fe565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612b2c4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612bbe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612be29190614501565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c569190614708565b8786863287604051612c6e9796959493929190614725565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d0c9190614501565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612d5c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d809190614708565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016125e9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16612e1257604051631afcd79f60e31b815260040160405180910390fd5b565b612e1c612dc9565b611fcf81611f5d565b6001600160a01b038216612e7b5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610ce5565b600280546001600160a01b0319166001600160a01b038416179055610a32816001546001600160a01b031615612ed35760015460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610ce5565b6001600160a01b038116612efa5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003612f305760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ce5565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526316c8f9ff60e01b60048201526301ffc9a790602401602060405180830381865afa925050508015612faa575060408051601f3d908101601f19168201909252612fa791810190614001565b60015b612fd25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610ce5565b80610a325760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610ce5565b60006020828403121561300d57600080fd5b81356001600160e01b031981168114611cc857600080fd5b60006020828403121561303757600080fd5b5035919050565b6001600160601b0381168114611fcf57600080fd5b803561305e8161303e565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561309b5761309b613063565b60405290565b604051608081016001600160401b038111828210171561309b5761309b613063565b60405161012081016001600160401b038111828210171561309b5761309b613063565b60405161018081016001600160401b038111828210171561309b5761309b613063565b60405161020081016001600160401b038111828210171561309b5761309b613063565b6001600160a01b0381168114611fcf57600080fd5b803561305e8161312c565b60006040828403121561315e57600080fd5b613166613079565b9050813581526020820135602082015292915050565b8015158114611fcf57600080fd5b803561305e8161317c565b600060c082840312156131a757600080fd5b60405160a081018181106001600160401b03821117156131c9576131c9613063565b60405290508082356131da8161303e565b815260208301356131ea8161312c565b60208201526131fc846040850161314c565b6040820152608083013561320f8161317c565b606082015260a08301356132228161312c565b6080919091015292915050565b60008060e0838503121561324257600080fd5b823561324d8161303e565b915061325c8460208501613195565b90509250929050565b60ff81168114611fcf57600080fd5b60006020828403121561328657600080fd5b8135611cc881613265565b600080604083850312156132a457600080fd5b82356132af8161303e565b915060208301356132bf81613265565b809150509250929050565b60005b838110156132e55781810151838201526020016132cd565b50506000910152565b600081518084526133068160208601602086016132ca565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161338360c08401826001600160a01b03169052565b5060c083015160e08084015261339d6101008401826132ee565b949350505050565b63ffffffff81168114611fcf57600080fd5b600082601f8301126133c857600080fd5b81356001600160401b03808211156133e2576133e2613063565b604051601f8301601f19908116603f0116810190828211818310171561340a5761340a613063565b8160405283815286602085880101111561342357600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff8116811461305e57600080fd5b60006080828403121561346a57600080fd5b6134726130a1565b9050813561347f816133a5565b81526020828101359082015260408201356001600160401b038111156134a457600080fd5b6134b0848285016133b7565b6040830152506134c260608301613443565b606082015292915050565b600080600080608085870312156134e357600080fd5b84356134ee8161303e565b935060208501356134fe816133a5565b925060408501356001600160401b0381111561351957600080fd5b61352587828801613458565b925050606085013561353681613265565b939692955090935050565b6001600160c01b031981168114611fcf57600080fd5b803561305e81613541565b60006040828403121561357457600080fd5b61357c613079565b905081356135898161303e565b815260208201356001600160401b038111156135a457600080fd5b6135b0848285016133b7565b60208301525092915050565b600080604083850312156135cf57600080fd5b82356135da81613541565b915060208301356001600160401b038111156135f557600080fd5b61360185828601613562565b9150509250929050565b60008060006060848603121561362057600080fd5b833561362b8161303e565b9250602084013561363b816133a5565b915060408401356001600160401b0381111561365657600080fd5b61366286828701613458565b9150509250925092565b6000610140828403121561367f57600080fd5b6136876130c3565b905061369282613053565b81526136a1836020840161314c565b602082015260608201356001600160401b038111156136bf57600080fd5b6136cb848285016133b7565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100613707818401613443565b60e08301526137196101208401613443565b9082015292915050565b60008060006060848603121561373857600080fd5b83356137438161303e565b925060208401356001600160401b0381111561375e57600080fd5b61376a8682870161366c565b925050604084013561377b81613265565b809150509250925092565b60006020828403121561379857600080fd5b8135611cc88161312c565b6000602082840312156137b557600080fd5b8135611cc88161303e565b602081526000611cc860208301846132ee565b600080604083850312156137e657600080fd5b82356137f18161303e565b915060208301356001600160401b0381111561380c57600080fd5b6136018582860161366c565b6000610180828403121561382b57600080fd5b6138336130c3565b905061383e82613053565b815261384c60208301613141565b602082015260408201356040820152613868836060840161314c565b606082015261387a8360a0840161314c565b608082015261388c8360e0840161314c565b60a082015261389e610120830161318a565b60c08201526138b0610140830161318a565b60e08201526138c26101608301613141565b61010082015292915050565b60008060006101c084860312156138e457600080fd5b83356138ef8161303e565b92506138fe8560208601613818565b91506101a084013561377b81613265565b60006080828403121561392157600080fd5b6139296130a1565b9050813581526020820135602082015260408201356001600160401b038111156134a457600080fd5b6000806000806080858703121561396857600080fd5b84356139738161303e565b93506020850135613983816133a5565b925060408501356001600160401b0381111561399e57600080fd5b6135258782880161390f565b600080604083850312156139bd57600080fd5b82356132af81613541565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152613a246020820183516139c8565b6000602083015160c08084015261339d60e08401826132ee565b60006102408284031215613a5157600080fd5b613a596130e6565b9050613a6482613141565b8152613a7260208301613141565b6020820152613a8360408301613053565b6040820152613a9460608301613053565b6060820152613aa6836080840161314c565b6080820152613ab88360c0840161314c565b60a0820152610100613acc8482850161314c565b60c0830152610140613ae08582860161314c565b60e0840152613af385610180860161314c565b82840152613b05856101c0860161314c565b610120840152613b18610200850161318a565b9083015250613b2a6102208301613141565b61016082015292915050565b6000806102608385031215613b4a57600080fd5b8235613b558161303e565b915061325c8460208501613a3e565b60008060008060808587031215613b7a57600080fd5b8435613b858161312c565b93506020850135613b958161312c565b92506040850135613ba58161303e565b915060608501356135368161312c565b803561ffff8116811461305e57600080fd5b60006102008284031215613bda57600080fd5b613be2613109565b9050613bed82613053565b8152613bfb60208301613053565b6020820152613c0c60408301613557565b6040820152613c1d60608301613557565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115613c6657600080fd5b613c72868387016133b7565b83850152610120925082850135915080821115613c8e57600080fd5b50613c9b858286016133b7565b828401525050610140613caf818401613bb5565b90820152610160613cc1838201613bb5565b9082015261018082810135908201526101a0613cde818401613443565b908201526101c0613cf0838201613443565b908201526101e0613719838201613443565b600080600060608486031215613d1757600080fd5b8335613d228161303e565b925060208401356001600160401b03811115613d3d57600080fd5b61376a86828701613bc7565b600080600060608486031215613d5e57600080fd5b8335613d698161303e565b92506020840135613d79816133a5565b915060408401356001600160401b03811115613d9457600080fd5b6136628682870161390f565b60a08101610fd582846139c8565b600080600060608486031215613dc357600080fd5b8335613dce81613541565b925060208401356001600160401b03811115613de957600080fd5b61376a86828701613562565b600080600060608486031215613e0a57600080fd5b8335613e1581613265565b92506020840135613e2581613265565b9150604084013561377b81613265565b60008060006102808486031215613e4b57600080fd5b8335613e568161303e565b9250613e658560208601613a3e565b915061026084013561377b81613265565b60008060408385031215613e8957600080fd5b8235613e948161303e565b915060208301356001600160401b03811115613eaf57600080fd5b61360185828601613bc7565b60008060006101008486031215613ed157600080fd5b8335613edc8161303e565b9250613eeb8560208601613195565b915060e084013561377b81613265565b6000806101a08385031215613f0f57600080fd5b8235613f1a8161303e565b915061325c8460208501613818565b60ff1981168114611fcf57600080fd5b60008060408385031215613f4c57600080fd5b8235613f5781613265565b915060208301356132bf81613f29565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c90821680613fdb57607f821691505b602082108103613ffb57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561401357600080fd5b8151611cc88161317c565b60006020828403121561403057600080fd5b8151611cc88161303e565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261407160a08401826132ee565b905064ffffffffff60608501511660808401528091505092915050565b6000602082840312156140a057600080fd5b5051919050565b602081526001600160601b0382511660208201526000602083015160408084015261339d60608401826132ee565b602081526140ef6020820183516001600160601b03169052565b6000602083015161410d604084018280518252602090810151910152565b50604083015161014080608085015261412a6101608501836132ee565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e0870151915061417261012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60006020828403121561419b57600080fd5b8151611cc88161312c565b81516001600160601b031681526020808301516101808301916141d3908401826001600160a01b03169052565b506040830151604083015260608301516141fa606084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c08301518015156101208401525060e0830151801515610140840152506101008301516001600160a01b0381166101608401525b5092915050565b602081528151602082015260208201516040820152600060408301516080606084015261407160a08401826132ee565b81516001600160a01b03168152610240810160208301516142c260208401826001600160a01b03169052565b5060408301516142dd60408401826001600160601b03169052565b5060608301516142f860608401826001600160601b03169052565b506080830151614315608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061434b8185018380518252602090810151910152565b60e0850151915061014061436b8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b03811661022084015261425f565b602081526143da6020820183516001600160601b03169052565b600060208301516143f660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261446e6102208601846132ee565b9250808601519050610140601f19868503018187015261448e84836132ee565b9350808701519150506101606144a98187018361ffff169052565b86015190506101806144c08682018361ffff169052565b8601516101a08681019190915286015190506101c06144e78187018364ffffffffff169052565b86015190506101e06141728682018364ffffffffff169052565b60006020828403121561451357600080fd5b8151611cc881613265565b6000808585111561452e57600080fd5b8386111561453b57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156145705780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f821115610f4557600081815260208120601f850160051c810160208610156145df5750805b601f850160051c820191505b81811015611eea578281556001016145eb565b81516001600160401b0381111561461757614617613063565b61462b816146258454613fc7565b846145b8565b602080601f83116001811461466057600084156146485750858301515b600019600386901b1c1916600185901b178555611eea565b600085815260208120601f198616915b8281101561468f57888601518255948401946001909101908401614670565b50858210156146ad5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516146cf8184602087016132ca565b9190910192915050565b600080604083850312156146ec57600080fd5b82516146f78161317c565b60208401519092506132bf816133a5565b60006020828403121561471a57600080fd5b8151611cc881613f29565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122034b8217482059b09fe4cb63c3e8ab360b8bdea8aab3a14620e96a04a31c7f28064736f6c63430008140033",
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",
2783
2953
  "linkReferences": {
2784
2954
  "contracts/types/Key32.sol": {
2785
2955
  "Key32Lib": [
2786
2956
  {
2787
2957
  "length": 20,
2788
- "start": 9188
2958
+ "start": 10392
2789
2959
  },
2790
2960
  {
2791
2961
  "length": 20,
2792
- "start": 10604
2962
+ "start": 13602
2793
2963
  },
2794
2964
  {
2795
2965
  "length": 20,
2796
- "start": 11353
2966
+ "start": 13718
2797
2967
  },
2798
2968
  {
2799
2969
  "length": 20,
2800
- "start": 11469
2970
+ "start": 13900
2801
2971
  },
2802
2972
  {
2803
2973
  "length": 20,
2804
- "start": 12207
2974
+ "start": 14016
2805
2975
  },
2806
2976
  {
2807
2977
  "length": 20,
2808
- "start": 12323
2978
+ "start": 14221
2809
2979
  },
2810
2980
  {
2811
2981
  "length": 20,
2812
- "start": 13055
2982
+ "start": 14974
2813
2983
  },
2814
2984
  {
2815
2985
  "length": 20,
2816
- "start": 13171
2986
+ "start": 15090
2817
2987
  },
2818
2988
  {
2819
2989
  "length": 20,
2820
- "start": 13353
2990
+ "start": 15831
2821
2991
  },
2822
2992
  {
2823
2993
  "length": 20,
2824
- "start": 13469
2994
+ "start": 15947
2825
2995
  }
2826
2996
  ]
2827
2997
  },
@@ -2829,23 +2999,35 @@
2829
2999
  "NftIdLib": [
2830
3000
  {
2831
3001
  "length": 20,
2832
- "start": 5060
3002
+ "start": 4225
3003
+ },
3004
+ {
3005
+ "length": 20,
3006
+ "start": 4728
3007
+ },
3008
+ {
3009
+ "length": 20,
3010
+ "start": 5508
3011
+ },
3012
+ {
3013
+ "length": 20,
3014
+ "start": 6283
2833
3015
  },
2834
3016
  {
2835
3017
  "length": 20,
2836
- "start": 6467
3018
+ "start": 7102
2837
3019
  },
2838
3020
  {
2839
3021
  "length": 20,
2840
- "start": 7236
3022
+ "start": 7335
2841
3023
  },
2842
3024
  {
2843
3025
  "length": 20,
2844
- "start": 8232
3026
+ "start": 8053
2845
3027
  },
2846
3028
  {
2847
3029
  "length": 20,
2848
- "start": 9879
3030
+ "start": 11372
2849
3031
  }
2850
3032
  ]
2851
3033
  },
@@ -2853,7 +3035,7 @@
2853
3035
  "ObjectTypeLib": [
2854
3036
  {
2855
3037
  "length": 20,
2856
- "start": 10725
3038
+ "start": 14342
2857
3039
  }
2858
3040
  ]
2859
3041
  },
@@ -2861,15 +3043,23 @@
2861
3043
  "RiskIdLib": [
2862
3044
  {
2863
3045
  "length": 20,
2864
- "start": 5675
3046
+ "start": 5142
2865
3047
  },
2866
3048
  {
2867
3049
  "length": 20,
2868
- "start": 7099
3050
+ "start": 7187
2869
3051
  },
2870
3052
  {
2871
3053
  "length": 20,
2872
- "start": 8317
3054
+ "start": 8176
3055
+ }
3056
+ ]
3057
+ },
3058
+ "contracts/types/RoleId.sol": {
3059
+ "RoleIdLib": [
3060
+ {
3061
+ "length": 20,
3062
+ "start": 12625
2873
3063
  }
2874
3064
  ]
2875
3065
  },
@@ -2877,35 +3067,35 @@
2877
3067
  "StateIdLib": [
2878
3068
  {
2879
3069
  "length": 20,
2880
- "start": 5873
3070
+ "start": 5371
2881
3071
  },
2882
3072
  {
2883
3073
  "length": 20,
2884
- "start": 8471
3074
+ "start": 8330
2885
3075
  },
2886
3076
  {
2887
3077
  "length": 20,
2888
- "start": 8830
3078
+ "start": 9113
2889
3079
  },
2890
3080
  {
2891
3081
  "length": 20,
2892
- "start": 10942
3082
+ "start": 13028
2893
3083
  },
2894
3084
  {
2895
3085
  "length": 20,
2896
- "start": 11661
3086
+ "start": 13248
2897
3087
  },
2898
3088
  {
2899
3089
  "length": 20,
2900
- "start": 11881
3090
+ "start": 14563
2901
3091
  },
2902
3092
  {
2903
3093
  "length": 20,
2904
- "start": 12481
3094
+ "start": 15269
2905
3095
  },
2906
3096
  {
2907
3097
  "length": 20,
2908
- "start": 12701
3098
+ "start": 15489
2909
3099
  }
2910
3100
  ]
2911
3101
  },
@@ -2913,7 +3103,7 @@
2913
3103
  "VersionPartLib": [
2914
3104
  {
2915
3105
  "length": 20,
2916
- "start": 8944
3106
+ "start": 9670
2917
3107
  }
2918
3108
  ]
2919
3109
  }
@@ -2923,43 +3113,43 @@
2923
3113
  "Key32Lib": [
2924
3114
  {
2925
3115
  "length": 20,
2926
- "start": 7273
3116
+ "start": 10359
2927
3117
  },
2928
3118
  {
2929
3119
  "length": 20,
2930
- "start": 8689
3120
+ "start": 13569
2931
3121
  },
2932
3122
  {
2933
3123
  "length": 20,
2934
- "start": 9438
3124
+ "start": 13685
2935
3125
  },
2936
3126
  {
2937
3127
  "length": 20,
2938
- "start": 9554
3128
+ "start": 13867
2939
3129
  },
2940
3130
  {
2941
3131
  "length": 20,
2942
- "start": 10292
3132
+ "start": 13983
2943
3133
  },
2944
3134
  {
2945
3135
  "length": 20,
2946
- "start": 10408
3136
+ "start": 14188
2947
3137
  },
2948
3138
  {
2949
3139
  "length": 20,
2950
- "start": 11140
3140
+ "start": 14941
2951
3141
  },
2952
3142
  {
2953
3143
  "length": 20,
2954
- "start": 11256
3144
+ "start": 15057
2955
3145
  },
2956
3146
  {
2957
3147
  "length": 20,
2958
- "start": 11438
3148
+ "start": 15798
2959
3149
  },
2960
3150
  {
2961
3151
  "length": 20,
2962
- "start": 11554
3152
+ "start": 15914
2963
3153
  }
2964
3154
  ]
2965
3155
  },
@@ -2967,23 +3157,35 @@
2967
3157
  "NftIdLib": [
2968
3158
  {
2969
3159
  "length": 20,
2970
- "start": 3145
3160
+ "start": 4192
3161
+ },
3162
+ {
3163
+ "length": 20,
3164
+ "start": 4695
3165
+ },
3166
+ {
3167
+ "length": 20,
3168
+ "start": 5475
2971
3169
  },
2972
3170
  {
2973
3171
  "length": 20,
2974
- "start": 4552
3172
+ "start": 6250
2975
3173
  },
2976
3174
  {
2977
3175
  "length": 20,
2978
- "start": 5321
3176
+ "start": 7069
2979
3177
  },
2980
3178
  {
2981
3179
  "length": 20,
2982
- "start": 6317
3180
+ "start": 7302
2983
3181
  },
2984
3182
  {
2985
3183
  "length": 20,
2986
- "start": 7964
3184
+ "start": 8020
3185
+ },
3186
+ {
3187
+ "length": 20,
3188
+ "start": 11339
2987
3189
  }
2988
3190
  ]
2989
3191
  },
@@ -2991,7 +3193,7 @@
2991
3193
  "ObjectTypeLib": [
2992
3194
  {
2993
3195
  "length": 20,
2994
- "start": 8810
3196
+ "start": 14309
2995
3197
  }
2996
3198
  ]
2997
3199
  },
@@ -2999,15 +3201,23 @@
2999
3201
  "RiskIdLib": [
3000
3202
  {
3001
3203
  "length": 20,
3002
- "start": 3760
3204
+ "start": 5109
3003
3205
  },
3004
3206
  {
3005
3207
  "length": 20,
3006
- "start": 5184
3208
+ "start": 7154
3007
3209
  },
3008
3210
  {
3009
3211
  "length": 20,
3010
- "start": 6402
3212
+ "start": 8143
3213
+ }
3214
+ ]
3215
+ },
3216
+ "contracts/types/RoleId.sol": {
3217
+ "RoleIdLib": [
3218
+ {
3219
+ "length": 20,
3220
+ "start": 12592
3011
3221
  }
3012
3222
  ]
3013
3223
  },
@@ -3015,35 +3225,35 @@
3015
3225
  "StateIdLib": [
3016
3226
  {
3017
3227
  "length": 20,
3018
- "start": 3958
3228
+ "start": 5338
3019
3229
  },
3020
3230
  {
3021
3231
  "length": 20,
3022
- "start": 6556
3232
+ "start": 8297
3023
3233
  },
3024
3234
  {
3025
3235
  "length": 20,
3026
- "start": 6915
3236
+ "start": 9080
3027
3237
  },
3028
3238
  {
3029
3239
  "length": 20,
3030
- "start": 9027
3240
+ "start": 12995
3031
3241
  },
3032
3242
  {
3033
3243
  "length": 20,
3034
- "start": 9746
3244
+ "start": 13215
3035
3245
  },
3036
3246
  {
3037
3247
  "length": 20,
3038
- "start": 9966
3248
+ "start": 14530
3039
3249
  },
3040
3250
  {
3041
3251
  "length": 20,
3042
- "start": 10566
3252
+ "start": 15236
3043
3253
  },
3044
3254
  {
3045
3255
  "length": 20,
3046
- "start": 10786
3256
+ "start": 15456
3047
3257
  }
3048
3258
  ]
3049
3259
  },
@@ -3051,7 +3261,7 @@
3051
3261
  "VersionPartLib": [
3052
3262
  {
3053
3263
  "length": 20,
3054
- "start": 7029
3264
+ "start": 9637
3055
3265
  }
3056
3266
  ]
3057
3267
  }