@etherisc/gif-next 0.0.2-f2b0fa2-473 → 0.0.2-f4f2d93-430

Sign up to get free protection for your applications and to get access to all the features.
Files changed (382) hide show
  1. package/README.md +75 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +948 -229
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → components/IComponent.sol/IComponent.json} +295 -132
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +848 -31
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +864 -49
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +682 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +849 -247
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +637 -224
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2200 -184
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +368 -156
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1005 -1175
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +242 -210
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +666 -190
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +392 -75
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +276 -150
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1039 -0
  60. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +673 -0
  62. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1231 -0
  64. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +721 -0
  66. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +817 -0
  68. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +641 -0
  70. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +805 -0
  74. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +622 -0
  76. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +659 -0
  78. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +217 -208
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +804 -160
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +606 -0
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +437 -154
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +90 -391
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1092 -0
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +697 -0
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1237 -0
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +661 -0
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +840 -0
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +653 -0
  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 +373 -61
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +223 -229
  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 +333 -188
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +227 -330
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +304 -138
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +161 -0
  170. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  172. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  175. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  177. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  178. package/artifacts/contracts/types/Fee.sol/FeeLib.json +40 -9
  179. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  180. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  181. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  183. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  184. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  185. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  187. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  188. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  190. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  192. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  194. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  196. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  198. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  200. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  202. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  204. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  206. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  207. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  208. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +200 -86
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -16
  214. package/contracts/components/IPoolComponent.sol +88 -37
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +225 -181
  217. package/contracts/components/Product.sol +130 -134
  218. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  219. package/contracts/instance/BundleManager.sol +127 -0
  220. package/contracts/instance/Cloneable.sol +51 -0
  221. package/contracts/instance/IInstance.sol +81 -11
  222. package/contracts/instance/IInstanceService.sol +56 -1
  223. package/contracts/instance/Instance.sol +157 -265
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +40 -29
  226. package/contracts/instance/InstanceService.sol +447 -54
  227. package/contracts/instance/InstanceServiceManager.sol +11 -13
  228. package/contracts/instance/ObjectManager.sol +82 -0
  229. package/contracts/instance/base/ComponentService.sol +121 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +11 -2
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -4
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +30 -3
  237. package/contracts/instance/module/ISetup.sol +9 -19
  238. package/contracts/instance/service/ApplicationService.sol +350 -0
  239. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  240. package/contracts/instance/service/BundleService.sol +431 -0
  241. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  242. package/contracts/instance/service/ClaimService.sol +151 -0
  243. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  244. package/contracts/instance/service/DistributionService.sol +435 -0
  245. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  246. package/contracts/instance/service/IApplicationService.sol +82 -0
  247. package/contracts/instance/service/IBundleService.sol +93 -0
  248. package/contracts/instance/service/IClaimService.sol +61 -0
  249. package/contracts/instance/service/IDistributionService.sol +87 -0
  250. package/contracts/instance/service/IPolicyService.sol +72 -0
  251. package/contracts/instance/service/IPoolService.sol +79 -17
  252. package/contracts/instance/service/IProductService.sol +6 -73
  253. package/contracts/instance/service/PolicyService.sol +362 -0
  254. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  255. package/contracts/instance/service/PoolService.sol +303 -0
  256. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  257. package/contracts/instance/service/ProductService.sol +210 -0
  258. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +52 -8
  261. package/contracts/registry/IRegistryService.sol +47 -14
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +270 -226
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +111 -268
  266. package/contracts/registry/RegistryServiceManager.sol +24 -26
  267. package/contracts/registry/ReleaseManager.sol +324 -0
  268. package/contracts/registry/TokenRegistry.sol +116 -0
  269. package/contracts/shared/ERC165.sol +14 -8
  270. package/contracts/shared/INftOwnable.sol +11 -10
  271. package/contracts/shared/IPolicyHolder.sol +26 -0
  272. package/contracts/shared/IRegisterable.sol +4 -6
  273. package/contracts/shared/IRegistryLinked.sol +12 -0
  274. package/contracts/shared/IService.sol +5 -4
  275. package/contracts/shared/IVersionable.sol +4 -47
  276. package/contracts/shared/NftOwnable.sol +67 -83
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -31
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +42 -24
  282. package/contracts/shared/TokenHandler.sol +11 -5
  283. package/contracts/shared/Versionable.sol +4 -92
  284. package/contracts/test/TestRegisterable.sol +1 -1
  285. package/contracts/test/TestService.sol +4 -3
  286. package/contracts/types/Amount.sol +60 -0
  287. package/contracts/types/Blocknumber.sol +1 -0
  288. package/contracts/types/ClaimId.sol +52 -0
  289. package/contracts/types/DistributorType.sol +2 -2
  290. package/contracts/types/Fee.sol +13 -5
  291. package/contracts/types/NftId.sol +8 -0
  292. package/contracts/types/NftIdSet.sol +26 -24
  293. package/contracts/types/ObjectType.sol +10 -5
  294. package/contracts/types/PayoutId.sol +54 -0
  295. package/contracts/types/Referral.sol +4 -0
  296. package/contracts/types/RoleId.sol +26 -11
  297. package/contracts/types/Seconds.sol +54 -0
  298. package/contracts/types/StateId.sol +5 -0
  299. package/contracts/types/Timestamp.sol +13 -13
  300. package/contracts/types/UFixed.sol +1 -0
  301. package/contracts/types/Version.sol +5 -1
  302. package/package.json +3 -3
  303. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  305. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  311. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  329. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  344. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  346. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  349. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  350. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  351. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  353. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  356. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  357. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  358. package/contracts/components/BaseComponent.sol +0 -86
  359. package/contracts/components/IBaseComponent.sol +0 -24
  360. package/contracts/experiment/cloning/Cloner.sol +0 -47
  361. package/contracts/experiment/errors/Require.sol +0 -38
  362. package/contracts/experiment/errors/Revert.sol +0 -44
  363. package/contracts/experiment/inheritance/A.sol +0 -53
  364. package/contracts/experiment/inheritance/B.sol +0 -28
  365. package/contracts/experiment/inheritance/C.sol +0 -34
  366. package/contracts/experiment/inheritance/IA.sol +0 -13
  367. package/contracts/experiment/inheritance/IB.sol +0 -10
  368. package/contracts/experiment/inheritance/IC.sol +0 -12
  369. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  370. package/contracts/experiment/statemachine/ISM.sol +0 -25
  371. package/contracts/experiment/statemachine/SM.sol +0 -57
  372. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  373. package/contracts/experiment/types/TypeA.sol +0 -47
  374. package/contracts/experiment/types/TypeB.sol +0 -29
  375. package/contracts/instance/AccessManagedSimple.sol +0 -114
  376. package/contracts/instance/AccessManagerSimple.sol +0 -682
  377. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  378. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  379. package/contracts/instance/base/IInstanceBase.sol +0 -23
  380. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  381. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  382. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -3,27 +3,6 @@
3
3
  "contractName": "Instance",
4
4
  "sourceName": "contracts/instance/Instance.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [
8
- {
9
- "internalType": "address",
10
- "name": "accessManagerAddress",
11
- "type": "address"
12
- },
13
- {
14
- "internalType": "address",
15
- "name": "registryAddress",
16
- "type": "address"
17
- },
18
- {
19
- "internalType": "NftId",
20
- "name": "registryNftId",
21
- "type": "uint96"
22
- }
23
- ],
24
- "stateMutability": "nonpayable",
25
- "type": "constructor"
26
- },
27
6
  {
28
7
  "inputs": [
29
8
  {
@@ -62,44 +41,6 @@
62
41
  "name": "AccessManagedUnauthorized",
63
42
  "type": "error"
64
43
  },
65
- {
66
- "inputs": [
67
- {
68
- "internalType": "address",
69
- "name": "registry",
70
- "type": "address"
71
- },
72
- {
73
- "internalType": "NftId",
74
- "name": "nftId",
75
- "type": "uint96"
76
- }
77
- ],
78
- "name": "ErrorAlreadyLinked",
79
- "type": "error"
80
- },
81
- {
82
- "inputs": [
83
- {
84
- "internalType": "address",
85
- "name": "contractAddress",
86
- "type": "address"
87
- }
88
- ],
89
- "name": "ErrorContractNotRegistered",
90
- "type": "error"
91
- },
92
- {
93
- "inputs": [
94
- {
95
- "internalType": "RoleId",
96
- "name": "roleId",
97
- "type": "uint64"
98
- }
99
- ],
100
- "name": "ErrorGrantNonexstentRole",
101
- "type": "error"
102
- },
103
44
  {
104
45
  "inputs": [
105
46
  {
@@ -127,172 +68,63 @@
127
68
  "internalType": "NftId",
128
69
  "name": "nftId",
129
70
  "type": "uint96"
130
- },
131
- {
132
- "internalType": "ObjectType",
133
- "name": "objectType",
134
- "type": "uint8"
135
- }
136
- ],
137
- "name": "ErrorNoLifecycle",
138
- "type": "error"
139
- },
140
- {
141
- "inputs": [
142
- {
143
- "internalType": "address",
144
- "name": "account",
145
- "type": "address"
146
- }
147
- ],
148
- "name": "ErrorNotOwner",
149
- "type": "error"
150
- },
151
- {
152
- "inputs": [
153
- {
154
- "internalType": "address",
155
- "name": "registryAddress",
156
- "type": "address"
157
71
  }
158
72
  ],
159
- "name": "ErrorNotRegistry",
73
+ "name": "ErrorNftOwnableAlreadyLinked",
160
74
  "type": "error"
161
75
  },
162
76
  {
163
77
  "inputs": [
164
78
  {
165
79
  "internalType": "address",
166
- "name": "registryAddress",
80
+ "name": "contractAddress",
167
81
  "type": "address"
168
82
  }
169
83
  ],
170
- "name": "ErrorRegisterableNotRegistry",
84
+ "name": "ErrorNftOwnableContractNotRegistered",
171
85
  "type": "error"
172
86
  },
173
87
  {
174
88
  "inputs": [],
175
- "name": "ErrorRegistryAddressZero",
89
+ "name": "ErrorNftOwnableInitialOwnerZero",
176
90
  "type": "error"
177
91
  },
178
92
  {
179
93
  "inputs": [
180
94
  {
181
95
  "internalType": "address",
182
- "name": "registry",
96
+ "name": "account",
183
97
  "type": "address"
184
98
  }
185
99
  ],
186
- "name": "ErrorRegistryAlreadyInitialized",
187
- "type": "error"
188
- },
189
- {
190
- "inputs": [],
191
- "name": "ErrorRegistryNotInitialized",
192
- "type": "error"
193
- },
194
- {
195
- "inputs": [
196
- {
197
- "internalType": "RoleId",
198
- "name": "roleId",
199
- "type": "uint64"
200
- }
201
- ],
202
- "name": "ErrorRenounceNonexstentRole",
203
- "type": "error"
204
- },
205
- {
206
- "inputs": [
207
- {
208
- "internalType": "RoleId",
209
- "name": "roleId",
210
- "type": "uint64"
211
- }
212
- ],
213
- "name": "ErrorRevokeNonexstentRole",
214
- "type": "error"
215
- },
216
- {
217
- "inputs": [
218
- {
219
- "internalType": "RoleId",
220
- "name": "roleId",
221
- "type": "uint64"
222
- }
223
- ],
224
- "name": "ErrorRoleIdInvalid",
225
- "type": "error"
226
- },
227
- {
228
- "inputs": [
229
- {
230
- "internalType": "RoleId",
231
- "name": "roleId",
232
- "type": "uint64"
233
- }
234
- ],
235
- "name": "ErrorRoleIdNotActive",
236
- "type": "error"
237
- },
238
- {
239
- "inputs": [
240
- {
241
- "internalType": "RoleId",
242
- "name": "roleId",
243
- "type": "uint64"
244
- }
245
- ],
246
- "name": "ErrorRoleIdTooBig",
247
- "type": "error"
248
- },
249
- {
250
- "inputs": [
251
- {
252
- "internalType": "RoleId",
253
- "name": "roleId",
254
- "type": "uint64"
255
- }
256
- ],
257
- "name": "ErrorRoleIdTooSmall",
258
- "type": "error"
259
- },
260
- {
261
- "inputs": [
262
- {
263
- "internalType": "RoleId",
264
- "name": "roleId",
265
- "type": "uint64"
266
- }
267
- ],
268
- "name": "ErrorRoleNameEmpty",
100
+ "name": "ErrorNftOwnableNotOwner",
269
101
  "type": "error"
270
102
  },
271
103
  {
272
104
  "inputs": [
273
105
  {
274
- "internalType": "RoleId",
275
- "name": "roleId",
276
- "type": "uint64"
106
+ "internalType": "NftId",
107
+ "name": "nftId",
108
+ "type": "uint96"
277
109
  },
278
110
  {
279
- "internalType": "ShortString",
280
- "name": "name",
281
- "type": "bytes32"
111
+ "internalType": "ObjectType",
112
+ "name": "objectType",
113
+ "type": "uint8"
282
114
  }
283
115
  ],
284
- "name": "ErrorRoleNameNotUnique",
116
+ "name": "ErrorNoLifecycle",
285
117
  "type": "error"
286
118
  },
287
119
  {
288
120
  "inputs": [
289
121
  {
290
122
  "internalType": "address",
291
- "name": "target",
123
+ "name": "registryAddress",
292
124
  "type": "address"
293
125
  }
294
126
  ],
295
- "name": "ErrorTargetDoesNotExist",
127
+ "name": "ErrorNotRegistry",
296
128
  "type": "error"
297
129
  },
298
130
  {
@@ -300,27 +132,11 @@
300
132
  "name": "InvalidInitialization",
301
133
  "type": "error"
302
134
  },
303
- {
304
- "inputs": [],
305
- "name": "InvalidShortString",
306
- "type": "error"
307
- },
308
135
  {
309
136
  "inputs": [],
310
137
  "name": "NotInitializing",
311
138
  "type": "error"
312
139
  },
313
- {
314
- "inputs": [
315
- {
316
- "internalType": "string",
317
- "name": "str",
318
- "type": "string"
319
- }
320
- ],
321
- "name": "StringTooLong",
322
- "type": "error"
323
- },
324
140
  {
325
141
  "anonymous": false,
326
142
  "inputs": [
@@ -515,6 +331,32 @@
515
331
  "stateMutability": "view",
516
332
  "type": "function"
517
333
  },
334
+ {
335
+ "inputs": [],
336
+ "name": "GIF_MAJOR_VERSION",
337
+ "outputs": [
338
+ {
339
+ "internalType": "uint256",
340
+ "name": "",
341
+ "type": "uint256"
342
+ }
343
+ ],
344
+ "stateMutability": "view",
345
+ "type": "function"
346
+ },
347
+ {
348
+ "inputs": [],
349
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
350
+ "outputs": [
351
+ {
352
+ "internalType": "bytes32",
353
+ "name": "",
354
+ "type": "bytes32"
355
+ }
356
+ ],
357
+ "stateMutability": "view",
358
+ "type": "function"
359
+ },
518
360
  {
519
361
  "inputs": [],
520
362
  "name": "PUBLIC_ROLE",
@@ -581,64 +423,169 @@
581
423
  "inputs": [
582
424
  {
583
425
  "internalType": "NftId",
584
- "name": "bundleNftId",
426
+ "name": "applicationNftId",
585
427
  "type": "uint96"
586
428
  },
587
429
  {
588
430
  "components": [
589
431
  {
590
432
  "internalType": "NftId",
591
- "name": "poolNftId",
433
+ "name": "productNftId",
592
434
  "type": "uint96"
593
435
  },
594
436
  {
595
- "components": [
596
- {
597
- "internalType": "UFixed",
598
- "name": "fractionalFee",
599
- "type": "uint256"
600
- },
601
- {
602
- "internalType": "uint256",
603
- "name": "fixedFee",
604
- "type": "uint256"
605
- }
606
- ],
607
- "internalType": "struct Fee",
608
- "name": "fee",
609
- "type": "tuple"
437
+ "internalType": "NftId",
438
+ "name": "bundleNftId",
439
+ "type": "uint96"
610
440
  },
611
441
  {
612
- "internalType": "bytes",
613
- "name": "filter",
614
- "type": "bytes"
442
+ "internalType": "ReferralId",
443
+ "name": "referralId",
444
+ "type": "bytes8"
445
+ },
446
+ {
447
+ "internalType": "RiskId",
448
+ "name": "riskId",
449
+ "type": "bytes8"
615
450
  },
616
451
  {
617
452
  "internalType": "uint256",
618
- "name": "capitalAmount",
453
+ "name": "sumInsuredAmount",
619
454
  "type": "uint256"
620
455
  },
621
456
  {
622
457
  "internalType": "uint256",
623
- "name": "lockedAmount",
458
+ "name": "premiumAmount",
624
459
  "type": "uint256"
625
460
  },
626
461
  {
627
462
  "internalType": "uint256",
628
- "name": "balanceAmount",
463
+ "name": "premiumPaidAmount",
629
464
  "type": "uint256"
630
465
  },
631
466
  {
632
- "internalType": "Timestamp",
633
- "name": "expiredAt",
467
+ "internalType": "Seconds",
468
+ "name": "lifetime",
634
469
  "type": "uint40"
635
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
+ },
636
496
  {
637
497
  "internalType": "Timestamp",
638
- "name": "closedAt",
498
+ "name": "activatedAt",
639
499
  "type": "uint40"
640
- }
641
- ],
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
+ },
522
+ {
523
+ "inputs": [
524
+ {
525
+ "internalType": "NftId",
526
+ "name": "bundleNftId",
527
+ "type": "uint96"
528
+ },
529
+ {
530
+ "components": [
531
+ {
532
+ "internalType": "NftId",
533
+ "name": "poolNftId",
534
+ "type": "uint96"
535
+ },
536
+ {
537
+ "components": [
538
+ {
539
+ "internalType": "UFixed",
540
+ "name": "fractionalFee",
541
+ "type": "uint256"
542
+ },
543
+ {
544
+ "internalType": "uint256",
545
+ "name": "fixedFee",
546
+ "type": "uint256"
547
+ }
548
+ ],
549
+ "internalType": "struct Fee",
550
+ "name": "fee",
551
+ "type": "tuple"
552
+ },
553
+ {
554
+ "internalType": "bytes",
555
+ "name": "filter",
556
+ "type": "bytes"
557
+ },
558
+ {
559
+ "internalType": "Amount",
560
+ "name": "capitalAmount",
561
+ "type": "uint96"
562
+ },
563
+ {
564
+ "internalType": "Amount",
565
+ "name": "lockedAmount",
566
+ "type": "uint96"
567
+ },
568
+ {
569
+ "internalType": "Amount",
570
+ "name": "feeAmount",
571
+ "type": "uint96"
572
+ },
573
+ {
574
+ "internalType": "Seconds",
575
+ "name": "lifetime",
576
+ "type": "uint40"
577
+ },
578
+ {
579
+ "internalType": "Timestamp",
580
+ "name": "expiredAt",
581
+ "type": "uint40"
582
+ },
583
+ {
584
+ "internalType": "Timestamp",
585
+ "name": "closedAt",
586
+ "type": "uint40"
587
+ }
588
+ ],
642
589
  "internalType": "struct IBundle.BundleInfo",
643
590
  "name": "bundle",
644
591
  "type": "tuple"
@@ -657,9 +604,9 @@
657
604
  "type": "uint96"
658
605
  },
659
606
  {
660
- "internalType": "NumberId",
607
+ "internalType": "ClaimId",
661
608
  "name": "claimId",
662
- "type": "uint32"
609
+ "type": "uint16"
663
610
  },
664
611
  {
665
612
  "components": [
@@ -694,24 +641,6 @@
694
641
  "stateMutability": "nonpayable",
695
642
  "type": "function"
696
643
  },
697
- {
698
- "inputs": [
699
- {
700
- "internalType": "RoleId",
701
- "name": "roleId",
702
- "type": "uint64"
703
- },
704
- {
705
- "internalType": "string",
706
- "name": "name",
707
- "type": "string"
708
- }
709
- ],
710
- "name": "createCustomRole",
711
- "outputs": [],
712
- "stateMutability": "nonpayable",
713
- "type": "function"
714
- },
715
644
  {
716
645
  "inputs": [
717
646
  {
@@ -745,18 +674,35 @@
745
674
  }
746
675
  ],
747
676
  "internalType": "struct Fee",
748
- "name": "distributionFee",
677
+ "name": "minDistributionOwnerFee",
749
678
  "type": "tuple"
750
679
  },
751
680
  {
752
- "internalType": "bool",
753
- "name": "isIntercepting",
754
- "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"
755
696
  },
756
697
  {
757
698
  "internalType": "address",
758
699
  "name": "wallet",
759
700
  "type": "address"
701
+ },
702
+ {
703
+ "internalType": "uint256",
704
+ "name": "sumDistributionOwnerFees",
705
+ "type": "uint256"
760
706
  }
761
707
  ],
762
708
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -773,25 +719,20 @@
773
719
  "inputs": [
774
720
  {
775
721
  "internalType": "NftId",
776
- "name": "policyNftId",
722
+ "name": "nftId",
777
723
  "type": "uint96"
778
724
  },
779
- {
780
- "internalType": "NumberId",
781
- "name": "payoutId",
782
- "type": "uint32"
783
- },
784
725
  {
785
726
  "components": [
786
727
  {
787
- "internalType": "NumberId",
788
- "name": "claimId",
789
- "type": "uint32"
728
+ "internalType": "DistributorType",
729
+ "name": "distributorType",
730
+ "type": "bytes8"
790
731
  },
791
732
  {
792
- "internalType": "uint256",
793
- "name": "amount",
794
- "type": "uint256"
733
+ "internalType": "bool",
734
+ "name": "active",
735
+ "type": "bool"
795
736
  },
796
737
  {
797
738
  "internalType": "bytes",
@@ -799,13 +740,18 @@
799
740
  "type": "bytes"
800
741
  },
801
742
  {
802
- "internalType": "Timestamp",
803
- "name": "paidAt",
804
- "type": "uint40"
743
+ "internalType": "uint256",
744
+ "name": "sumCommisions",
745
+ "type": "uint256"
746
+ },
747
+ {
748
+ "internalType": "uint256",
749
+ "name": "numPoliciesSold",
750
+ "type": "uint256"
805
751
  }
806
752
  ],
807
- "internalType": "struct IPolicy.PayoutInfo",
808
- "name": "payout",
753
+ "internalType": "struct IDistribution.DistributorInfo",
754
+ "name": "info",
809
755
  "type": "tuple"
810
756
  }
811
757
  ],
@@ -817,40 +763,60 @@
817
763
  {
818
764
  "inputs": [
819
765
  {
820
- "internalType": "NftId",
821
- "name": "policyNftId",
822
- "type": "uint96"
823
- },
824
- {
825
- "internalType": "NumberId",
826
- "name": "payoutId",
827
- "type": "uint32"
766
+ "internalType": "Key32",
767
+ "name": "distributorKey",
768
+ "type": "bytes32"
828
769
  },
829
770
  {
830
771
  "components": [
831
772
  {
832
- "internalType": "NumberId",
833
- "name": "claimId",
834
- "type": "uint32"
773
+ "internalType": "string",
774
+ "name": "name",
775
+ "type": "string"
835
776
  },
836
777
  {
837
- "internalType": "uint256",
838
- "name": "amount",
778
+ "internalType": "UFixed",
779
+ "name": "minDiscountPercentage",
780
+ "type": "uint256"
781
+ },
782
+ {
783
+ "internalType": "UFixed",
784
+ "name": "maxDiscountPercentage",
785
+ "type": "uint256"
786
+ },
787
+ {
788
+ "internalType": "UFixed",
789
+ "name": "commissionPercentage",
839
790
  "type": "uint256"
840
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
+ },
841
812
  {
842
813
  "internalType": "bytes",
843
814
  "name": "data",
844
815
  "type": "bytes"
845
- },
846
- {
847
- "internalType": "Timestamp",
848
- "name": "paidAt",
849
- "type": "uint40"
850
816
  }
851
817
  ],
852
- "internalType": "struct IPolicy.PayoutInfo",
853
- "name": "payout",
818
+ "internalType": "struct IDistribution.DistributorTypeInfo",
819
+ "name": "info",
854
820
  "type": "tuple"
855
821
  }
856
822
  ],
@@ -874,9 +840,9 @@
874
840
  {
875
841
  "components": [
876
842
  {
877
- "internalType": "NumberId",
843
+ "internalType": "ClaimId",
878
844
  "name": "claimId",
879
- "type": "uint32"
845
+ "type": "uint16"
880
846
  },
881
847
  {
882
848
  "internalType": "uint256",
@@ -908,115 +874,20 @@
908
874
  "inputs": [
909
875
  {
910
876
  "internalType": "NftId",
911
- "name": "policyNftId",
877
+ "name": "poolNftId",
912
878
  "type": "uint96"
913
879
  },
914
880
  {
915
881
  "components": [
916
882
  {
917
- "internalType": "NftId",
918
- "name": "productNftId",
919
- "type": "uint96"
920
- },
921
- {
922
- "internalType": "NftId",
923
- "name": "bundleNftId",
924
- "type": "uint96"
925
- },
926
- {
927
- "internalType": "ReferralId",
928
- "name": "referralId",
929
- "type": "bytes8"
930
- },
931
- {
932
- "internalType": "RiskId",
933
- "name": "riskId",
934
- "type": "bytes8"
935
- },
936
- {
937
- "internalType": "uint256",
938
- "name": "sumInsuredAmount",
939
- "type": "uint256"
940
- },
941
- {
942
- "internalType": "uint256",
943
- "name": "premiumAmount",
944
- "type": "uint256"
945
- },
946
- {
947
- "internalType": "uint256",
948
- "name": "premiumPaidAmount",
949
- "type": "uint256"
950
- },
951
- {
952
- "internalType": "uint256",
953
- "name": "lifetime",
954
- "type": "uint256"
955
- },
956
- {
957
- "internalType": "bytes",
958
- "name": "applicationData",
959
- "type": "bytes"
960
- },
961
- {
962
- "internalType": "bytes",
963
- "name": "policyData",
964
- "type": "bytes"
965
- },
966
- {
967
- "internalType": "uint16",
968
- "name": "claimsCount",
969
- "type": "uint16"
970
- },
971
- {
972
- "internalType": "uint16",
973
- "name": "openClaimsCount",
974
- "type": "uint16"
975
- },
976
- {
977
- "internalType": "uint256",
978
- "name": "payoutAmount",
979
- "type": "uint256"
980
- },
981
- {
982
- "internalType": "Timestamp",
983
- "name": "activatedAt",
984
- "type": "uint40"
985
- },
986
- {
987
- "internalType": "Timestamp",
988
- "name": "expiredAt",
989
- "type": "uint40"
883
+ "internalType": "string",
884
+ "name": "name",
885
+ "type": "string"
990
886
  },
991
887
  {
992
- "internalType": "Timestamp",
993
- "name": "closedAt",
994
- "type": "uint40"
995
- }
996
- ],
997
- "internalType": "struct IPolicy.PolicyInfo",
998
- "name": "policy",
999
- "type": "tuple"
1000
- }
1001
- ],
1002
- "name": "createPolicy",
1003
- "outputs": [],
1004
- "stateMutability": "nonpayable",
1005
- "type": "function"
1006
- },
1007
- {
1008
- "inputs": [
1009
- {
1010
- "internalType": "NftId",
1011
- "name": "distributionNftId",
1012
- "type": "uint96"
1013
- },
1014
- {
1015
- "components": [
1016
- {
1017
- "internalType": "NftId",
1018
- "name": "productNftId",
1019
- "type": "uint96"
888
+ "internalType": "contract IERC20Metadata",
889
+ "name": "token",
890
+ "type": "address"
1020
891
  },
1021
892
  {
1022
893
  "internalType": "contract TokenHandler",
@@ -1024,74 +895,28 @@
1024
895
  "type": "address"
1025
896
  },
1026
897
  {
1027
- "internalType": "UFixed",
1028
- "name": "collateralizationLevel",
1029
- "type": "uint256"
1030
- },
1031
- {
1032
- "components": [
1033
- {
1034
- "internalType": "UFixed",
1035
- "name": "fractionalFee",
1036
- "type": "uint256"
1037
- },
1038
- {
1039
- "internalType": "uint256",
1040
- "name": "fixedFee",
1041
- "type": "uint256"
1042
- }
1043
- ],
1044
- "internalType": "struct Fee",
1045
- "name": "poolFee",
1046
- "type": "tuple"
1047
- },
1048
- {
1049
- "components": [
1050
- {
1051
- "internalType": "UFixed",
1052
- "name": "fractionalFee",
1053
- "type": "uint256"
1054
- },
1055
- {
1056
- "internalType": "uint256",
1057
- "name": "fixedFee",
1058
- "type": "uint256"
1059
- }
1060
- ],
1061
- "internalType": "struct Fee",
1062
- "name": "stakingFee",
1063
- "type": "tuple"
898
+ "internalType": "address",
899
+ "name": "wallet",
900
+ "type": "address"
1064
901
  },
1065
902
  {
1066
- "components": [
1067
- {
1068
- "internalType": "UFixed",
1069
- "name": "fractionalFee",
1070
- "type": "uint256"
1071
- },
1072
- {
1073
- "internalType": "uint256",
1074
- "name": "fixedFee",
1075
- "type": "uint256"
1076
- }
1077
- ],
1078
- "internalType": "struct Fee",
1079
- "name": "performanceFee",
1080
- "type": "tuple"
903
+ "internalType": "Amount",
904
+ "name": "balanceAmount",
905
+ "type": "uint96"
1081
906
  },
1082
907
  {
1083
- "internalType": "bool",
1084
- "name": "isIntercepting",
1085
- "type": "bool"
908
+ "internalType": "Amount",
909
+ "name": "feeAmount",
910
+ "type": "uint96"
1086
911
  },
1087
912
  {
1088
- "internalType": "address",
1089
- "name": "wallet",
1090
- "type": "address"
913
+ "internalType": "bytes",
914
+ "name": "data",
915
+ "type": "bytes"
1091
916
  }
1092
917
  ],
1093
- "internalType": "struct ISetup.PoolSetupInfo",
1094
- "name": "setup",
918
+ "internalType": "struct IComponents.ComponentInfo",
919
+ "name": "info",
1095
920
  "type": "tuple"
1096
921
  }
1097
922
  ],
@@ -1129,23 +954,6 @@
1129
954
  "name": "poolNftId",
1130
955
  "type": "uint96"
1131
956
  },
1132
- {
1133
- "components": [
1134
- {
1135
- "internalType": "UFixed",
1136
- "name": "fractionalFee",
1137
- "type": "uint256"
1138
- },
1139
- {
1140
- "internalType": "uint256",
1141
- "name": "fixedFee",
1142
- "type": "uint256"
1143
- }
1144
- ],
1145
- "internalType": "struct Fee",
1146
- "name": "distributionFee",
1147
- "type": "tuple"
1148
- },
1149
957
  {
1150
958
  "components": [
1151
959
  {
@@ -1181,55 +989,14 @@
1181
989
  "type": "tuple"
1182
990
  },
1183
991
  {
1184
- "components": [
1185
- {
1186
- "internalType": "UFixed",
1187
- "name": "fractionalFee",
1188
- "type": "uint256"
1189
- },
1190
- {
1191
- "internalType": "uint256",
1192
- "name": "fixedFee",
1193
- "type": "uint256"
1194
- }
1195
- ],
1196
- "internalType": "struct Fee",
1197
- "name": "poolFee",
1198
- "type": "tuple"
1199
- },
1200
- {
1201
- "components": [
1202
- {
1203
- "internalType": "UFixed",
1204
- "name": "fractionalFee",
1205
- "type": "uint256"
1206
- },
1207
- {
1208
- "internalType": "uint256",
1209
- "name": "fixedFee",
1210
- "type": "uint256"
1211
- }
1212
- ],
1213
- "internalType": "struct Fee",
1214
- "name": "stakingFee",
1215
- "type": "tuple"
1216
- },
1217
- {
1218
- "components": [
1219
- {
1220
- "internalType": "UFixed",
1221
- "name": "fractionalFee",
1222
- "type": "uint256"
1223
- },
1224
- {
1225
- "internalType": "uint256",
1226
- "name": "fixedFee",
1227
- "type": "uint256"
1228
- }
1229
- ],
1230
- "internalType": "struct Fee",
1231
- "name": "performanceFee",
1232
- "type": "tuple"
992
+ "internalType": "bool",
993
+ "name": "isIntercepting",
994
+ "type": "bool"
995
+ },
996
+ {
997
+ "internalType": "address",
998
+ "name": "wallet",
999
+ "type": "address"
1233
1000
  }
1234
1001
  ],
1235
1002
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -1245,40 +1012,50 @@
1245
1012
  {
1246
1013
  "inputs": [
1247
1014
  {
1248
- "internalType": "NftId",
1249
- "name": "policyNftId",
1250
- "type": "uint96"
1251
- },
1252
- {
1253
- "internalType": "NumberId",
1254
- "name": "payoutId",
1255
- "type": "uint32"
1015
+ "internalType": "Key32",
1016
+ "name": "referralKey",
1017
+ "type": "bytes32"
1256
1018
  },
1257
1019
  {
1258
1020
  "components": [
1259
1021
  {
1260
- "internalType": "NumberId",
1261
- "name": "claimId",
1262
- "type": "uint32"
1022
+ "internalType": "NftId",
1023
+ "name": "distributorNftId",
1024
+ "type": "uint96"
1263
1025
  },
1264
1026
  {
1265
- "internalType": "uint256",
1266
- "name": "amount",
1027
+ "internalType": "string",
1028
+ "name": "referralCode",
1029
+ "type": "string"
1030
+ },
1031
+ {
1032
+ "internalType": "UFixed",
1033
+ "name": "discountPercentage",
1267
1034
  "type": "uint256"
1268
1035
  },
1269
1036
  {
1270
- "internalType": "bytes",
1271
- "name": "data",
1272
- "type": "bytes"
1037
+ "internalType": "uint32",
1038
+ "name": "maxReferrals",
1039
+ "type": "uint32"
1040
+ },
1041
+ {
1042
+ "internalType": "uint32",
1043
+ "name": "usedReferrals",
1044
+ "type": "uint32"
1273
1045
  },
1274
1046
  {
1275
1047
  "internalType": "Timestamp",
1276
- "name": "paidAt",
1048
+ "name": "expiryAt",
1277
1049
  "type": "uint40"
1050
+ },
1051
+ {
1052
+ "internalType": "bytes",
1053
+ "name": "data",
1054
+ "type": "bytes"
1278
1055
  }
1279
1056
  ],
1280
- "internalType": "struct IPolicy.PayoutInfo",
1281
- "name": "payout",
1057
+ "internalType": "struct IDistribution.ReferralInfo",
1058
+ "name": "referralInfo",
1282
1059
  "type": "tuple"
1283
1060
  }
1284
1061
  ],
@@ -1317,54 +1094,6 @@
1317
1094
  "stateMutability": "nonpayable",
1318
1095
  "type": "function"
1319
1096
  },
1320
- {
1321
- "inputs": [
1322
- {
1323
- "internalType": "RoleId",
1324
- "name": "roleId",
1325
- "type": "uint64"
1326
- },
1327
- {
1328
- "internalType": "string",
1329
- "name": "name",
1330
- "type": "string"
1331
- }
1332
- ],
1333
- "name": "createStandardRole",
1334
- "outputs": [],
1335
- "stateMutability": "nonpayable",
1336
- "type": "function"
1337
- },
1338
- {
1339
- "inputs": [
1340
- {
1341
- "internalType": "address",
1342
- "name": "target",
1343
- "type": "address"
1344
- },
1345
- {
1346
- "components": [
1347
- {
1348
- "internalType": "ShortString",
1349
- "name": "name",
1350
- "type": "bytes32"
1351
- },
1352
- {
1353
- "internalType": "bool",
1354
- "name": "isCustom",
1355
- "type": "bool"
1356
- }
1357
- ],
1358
- "internalType": "struct IAccess.TargetInfo",
1359
- "name": "targetInfo",
1360
- "type": "tuple"
1361
- }
1362
- ],
1363
- "name": "createTarget",
1364
- "outputs": [],
1365
- "stateMutability": "nonpayable",
1366
- "type": "function"
1367
- },
1368
1097
  {
1369
1098
  "inputs": [
1370
1099
  {
@@ -1444,10 +1173,23 @@
1444
1173
  },
1445
1174
  {
1446
1175
  "inputs": [],
1447
- "name": "getComponentOwnerService",
1176
+ "name": "getBundleManager",
1177
+ "outputs": [
1178
+ {
1179
+ "internalType": "contract BundleManager",
1180
+ "name": "",
1181
+ "type": "address"
1182
+ }
1183
+ ],
1184
+ "stateMutability": "view",
1185
+ "type": "function"
1186
+ },
1187
+ {
1188
+ "inputs": [],
1189
+ "name": "getBundleService",
1448
1190
  "outputs": [
1449
1191
  {
1450
- "internalType": "contract IComponentOwnerService",
1192
+ "internalType": "contract IBundleService",
1451
1193
  "name": "",
1452
1194
  "type": "address"
1453
1195
  }
@@ -1474,6 +1216,19 @@
1474
1216
  "stateMutability": "view",
1475
1217
  "type": "function"
1476
1218
  },
1219
+ {
1220
+ "inputs": [],
1221
+ "name": "getDistributionService",
1222
+ "outputs": [
1223
+ {
1224
+ "internalType": "contract IDistributionService",
1225
+ "name": "",
1226
+ "type": "address"
1227
+ }
1228
+ ],
1229
+ "stateMutability": "view",
1230
+ "type": "function"
1231
+ },
1477
1232
  {
1478
1233
  "inputs": [],
1479
1234
  "name": "getInitialInfo",
@@ -1517,13 +1272,8 @@
1517
1272
  }
1518
1273
  ],
1519
1274
  "internalType": "struct IRegistry.ObjectInfo",
1520
- "name": "",
1275
+ "name": "info",
1521
1276
  "type": "tuple"
1522
- },
1523
- {
1524
- "internalType": "bytes",
1525
- "name": "data",
1526
- "type": "bytes"
1527
1277
  }
1528
1278
  ],
1529
1279
  "stateMutability": "view",
@@ -1548,6 +1298,19 @@
1548
1298
  "stateMutability": "view",
1549
1299
  "type": "function"
1550
1300
  },
1301
+ {
1302
+ "inputs": [],
1303
+ "name": "getInstanceAccessManager",
1304
+ "outputs": [
1305
+ {
1306
+ "internalType": "contract InstanceAccessManager",
1307
+ "name": "",
1308
+ "type": "address"
1309
+ }
1310
+ ],
1311
+ "stateMutability": "view",
1312
+ "type": "function"
1313
+ },
1551
1314
  {
1552
1315
  "inputs": [],
1553
1316
  "name": "getInstanceReader",
@@ -1561,6 +1324,19 @@
1561
1324
  "stateMutability": "view",
1562
1325
  "type": "function"
1563
1326
  },
1327
+ {
1328
+ "inputs": [],
1329
+ "name": "getMajorVersion",
1330
+ "outputs": [
1331
+ {
1332
+ "internalType": "VersionPart",
1333
+ "name": "majorVersion",
1334
+ "type": "uint8"
1335
+ }
1336
+ ],
1337
+ "stateMutability": "pure",
1338
+ "type": "function"
1339
+ },
1564
1340
  {
1565
1341
  "inputs": [
1566
1342
  {
@@ -1635,10 +1411,10 @@
1635
1411
  },
1636
1412
  {
1637
1413
  "inputs": [],
1638
- "name": "getRegistry",
1414
+ "name": "getPolicyService",
1639
1415
  "outputs": [
1640
1416
  {
1641
- "internalType": "contract IRegistry",
1417
+ "internalType": "contract IPolicyService",
1642
1418
  "name": "",
1643
1419
  "type": "address"
1644
1420
  }
@@ -1647,73 +1423,51 @@
1647
1423
  "type": "function"
1648
1424
  },
1649
1425
  {
1650
- "inputs": [
1651
- {
1652
- "internalType": "RoleId",
1653
- "name": "roleId",
1654
- "type": "uint64"
1655
- }
1656
- ],
1657
- "name": "getRole",
1426
+ "inputs": [],
1427
+ "name": "getPoolService",
1658
1428
  "outputs": [
1659
1429
  {
1660
- "components": [
1661
- {
1662
- "internalType": "ShortString",
1663
- "name": "name",
1664
- "type": "bytes32"
1665
- },
1666
- {
1667
- "internalType": "bool",
1668
- "name": "isCustom",
1669
- "type": "bool"
1670
- }
1671
- ],
1672
- "internalType": "struct IAccess.RoleInfo",
1673
- "name": "role",
1674
- "type": "tuple"
1430
+ "internalType": "contract IPoolService",
1431
+ "name": "",
1432
+ "type": "address"
1675
1433
  }
1676
1434
  ],
1677
1435
  "stateMutability": "view",
1678
1436
  "type": "function"
1679
1437
  },
1680
1438
  {
1681
- "inputs": [
1682
- {
1683
- "internalType": "uint256",
1684
- "name": "idx",
1685
- "type": "uint256"
1686
- }
1687
- ],
1688
- "name": "getRoleId",
1439
+ "inputs": [],
1440
+ "name": "getProductService",
1689
1441
  "outputs": [
1690
1442
  {
1691
- "internalType": "RoleId",
1692
- "name": "roleId",
1693
- "type": "uint64"
1443
+ "internalType": "contract IProductService",
1444
+ "name": "",
1445
+ "type": "address"
1694
1446
  }
1695
1447
  ],
1696
1448
  "stateMutability": "view",
1697
1449
  "type": "function"
1698
1450
  },
1699
1451
  {
1700
- "inputs": [
1701
- {
1702
- "internalType": "RoleId",
1703
- "name": "roleId",
1704
- "type": "uint64"
1705
- },
1452
+ "inputs": [],
1453
+ "name": "getRegistry",
1454
+ "outputs": [
1706
1455
  {
1707
- "internalType": "uint256",
1708
- "name": "idx",
1709
- "type": "uint256"
1456
+ "internalType": "contract IRegistry",
1457
+ "name": "",
1458
+ "type": "address"
1710
1459
  }
1711
1460
  ],
1712
- "name": "getRoleMember",
1461
+ "stateMutability": "view",
1462
+ "type": "function"
1463
+ },
1464
+ {
1465
+ "inputs": [],
1466
+ "name": "getRegistryAddress",
1713
1467
  "outputs": [
1714
1468
  {
1715
1469
  "internalType": "address",
1716
- "name": "roleMember",
1470
+ "name": "",
1717
1471
  "type": "address"
1718
1472
  }
1719
1473
  ],
@@ -1742,44 +1496,126 @@
1742
1496
  {
1743
1497
  "inputs": [
1744
1498
  {
1745
- "internalType": "RoleId",
1746
- "name": "roleId",
1747
- "type": "uint64"
1499
+ "internalType": "ObjectType",
1500
+ "name": "objectType",
1501
+ "type": "uint8"
1502
+ }
1503
+ ],
1504
+ "name": "hasLifecycle",
1505
+ "outputs": [
1506
+ {
1507
+ "internalType": "bool",
1508
+ "name": "",
1509
+ "type": "bool"
1510
+ }
1511
+ ],
1512
+ "stateMutability": "view",
1513
+ "type": "function"
1514
+ },
1515
+ {
1516
+ "inputs": [
1517
+ {
1518
+ "internalType": "address",
1519
+ "name": "authority",
1520
+ "type": "address"
1521
+ },
1522
+ {
1523
+ "internalType": "address",
1524
+ "name": "registryAddress",
1525
+ "type": "address"
1748
1526
  },
1749
1527
  {
1750
1528
  "internalType": "address",
1751
- "name": "member",
1529
+ "name": "initialOwner",
1752
1530
  "type": "address"
1753
1531
  }
1754
1532
  ],
1755
- "name": "grantRole",
1756
- "outputs": [
1533
+ "name": "initialize",
1534
+ "outputs": [],
1535
+ "stateMutability": "nonpayable",
1536
+ "type": "function"
1537
+ },
1538
+ {
1539
+ "inputs": [],
1540
+ "name": "initializeERC165",
1541
+ "outputs": [],
1542
+ "stateMutability": "nonpayable",
1543
+ "type": "function"
1544
+ },
1545
+ {
1546
+ "inputs": [],
1547
+ "name": "initializeLifecycle",
1548
+ "outputs": [],
1549
+ "stateMutability": "nonpayable",
1550
+ "type": "function"
1551
+ },
1552
+ {
1553
+ "inputs": [
1757
1554
  {
1758
- "internalType": "bool",
1759
- "name": "granted",
1760
- "type": "bool"
1555
+ "internalType": "address",
1556
+ "name": "initialOwner",
1557
+ "type": "address"
1558
+ },
1559
+ {
1560
+ "internalType": "address",
1561
+ "name": "registryAddress",
1562
+ "type": "address"
1761
1563
  }
1762
1564
  ],
1565
+ "name": "initializeNftOwnable",
1566
+ "outputs": [],
1763
1567
  "stateMutability": "nonpayable",
1764
1568
  "type": "function"
1765
1569
  },
1766
1570
  {
1767
1571
  "inputs": [
1572
+ {
1573
+ "internalType": "address",
1574
+ "name": "registryAddress",
1575
+ "type": "address"
1576
+ },
1577
+ {
1578
+ "internalType": "NftId",
1579
+ "name": "parentNftId",
1580
+ "type": "uint96"
1581
+ },
1768
1582
  {
1769
1583
  "internalType": "ObjectType",
1770
1584
  "name": "objectType",
1771
1585
  "type": "uint8"
1586
+ },
1587
+ {
1588
+ "internalType": "bool",
1589
+ "name": "isInterceptor",
1590
+ "type": "bool"
1591
+ },
1592
+ {
1593
+ "internalType": "address",
1594
+ "name": "initialOwner",
1595
+ "type": "address"
1596
+ },
1597
+ {
1598
+ "internalType": "bytes",
1599
+ "name": "registryData",
1600
+ "type": "bytes"
1772
1601
  }
1773
1602
  ],
1774
- "name": "hasLifecycle",
1775
- "outputs": [
1603
+ "name": "initializeRegisterable",
1604
+ "outputs": [],
1605
+ "stateMutability": "nonpayable",
1606
+ "type": "function"
1607
+ },
1608
+ {
1609
+ "inputs": [
1776
1610
  {
1777
- "internalType": "bool",
1778
- "name": "",
1779
- "type": "bool"
1611
+ "internalType": "address",
1612
+ "name": "registryAddress",
1613
+ "type": "address"
1780
1614
  }
1781
1615
  ],
1782
- "stateMutability": "view",
1616
+ "name": "initializeRegistryLinked",
1617
+ "outputs": [],
1618
+ "stateMutability": "nonpayable",
1783
1619
  "type": "function"
1784
1620
  },
1785
1621
  {
@@ -1834,87 +1670,79 @@
1834
1670
  {
1835
1671
  "inputs": [
1836
1672
  {
1837
- "internalType": "RoleId",
1838
- "name": "roleId",
1839
- "type": "uint64"
1840
- }
1841
- ],
1842
- "name": "renounceRole",
1843
- "outputs": [
1673
+ "internalType": "address",
1674
+ "name": "to",
1675
+ "type": "address"
1676
+ },
1844
1677
  {
1845
- "internalType": "bool",
1846
- "name": "revoked",
1847
- "type": "bool"
1678
+ "internalType": "uint256",
1679
+ "name": "tokenId",
1680
+ "type": "uint256"
1848
1681
  }
1849
1682
  ],
1683
+ "name": "nftMint",
1684
+ "outputs": [],
1850
1685
  "stateMutability": "nonpayable",
1851
1686
  "type": "function"
1852
1687
  },
1853
1688
  {
1854
1689
  "inputs": [
1855
1690
  {
1856
- "internalType": "RoleId",
1857
- "name": "roleId",
1858
- "type": "uint64"
1691
+ "internalType": "address",
1692
+ "name": "from",
1693
+ "type": "address"
1859
1694
  },
1860
1695
  {
1861
1696
  "internalType": "address",
1862
- "name": "member",
1697
+ "name": "to",
1863
1698
  "type": "address"
1864
- }
1865
- ],
1866
- "name": "revokeRole",
1867
- "outputs": [
1699
+ },
1868
1700
  {
1869
- "internalType": "bool",
1870
- "name": "revoked",
1871
- "type": "bool"
1701
+ "internalType": "uint256",
1702
+ "name": "tokenId",
1703
+ "type": "uint256"
1872
1704
  }
1873
1705
  ],
1706
+ "name": "nftTransferFrom",
1707
+ "outputs": [],
1874
1708
  "stateMutability": "nonpayable",
1875
1709
  "type": "function"
1876
1710
  },
1877
1711
  {
1878
1712
  "inputs": [
1879
1713
  {
1880
- "internalType": "RoleId",
1881
- "name": "roleId",
1882
- "type": "uint64"
1883
- }
1884
- ],
1885
- "name": "roleMembers",
1886
- "outputs": [
1887
- {
1888
- "internalType": "uint256",
1889
- "name": "numberOfMembers",
1890
- "type": "uint256"
1714
+ "internalType": "bytes4",
1715
+ "name": "interfaceId",
1716
+ "type": "bytes4"
1891
1717
  }
1892
1718
  ],
1893
- "stateMutability": "view",
1719
+ "name": "registerInterface",
1720
+ "outputs": [],
1721
+ "stateMutability": "nonpayable",
1894
1722
  "type": "function"
1895
1723
  },
1896
1724
  {
1897
- "inputs": [],
1898
- "name": "roles",
1899
- "outputs": [
1725
+ "inputs": [
1900
1726
  {
1901
- "internalType": "uint256",
1902
- "name": "numberOfRoles",
1903
- "type": "uint256"
1727
+ "internalType": "address",
1728
+ "name": "newAuthority",
1729
+ "type": "address"
1904
1730
  }
1905
1731
  ],
1906
- "stateMutability": "view",
1732
+ "name": "setAuthority",
1733
+ "outputs": [],
1734
+ "stateMutability": "nonpayable",
1907
1735
  "type": "function"
1908
1736
  },
1909
1737
  {
1910
1738
  "inputs": [
1911
1739
  {
1912
- "internalType": "address",
1913
- "name": "newAuthority",
1740
+ "internalType": "contract BundleManager",
1741
+ "name": "bundleManager",
1914
1742
  "type": "address"
1915
1743
  }
1916
1744
  ],
1917
- "name": "setAuthority",
1745
+ "name": "setBundleManager",
1918
1746
  "outputs": [],
1919
1747
  "stateMutability": "nonpayable",
1920
1748
  "type": "function"
@@ -1922,12 +1750,12 @@
1922
1750
  {
1923
1751
  "inputs": [
1924
1752
  {
1925
- "internalType": "contract InstanceReader",
1926
- "name": "instanceReader",
1753
+ "internalType": "contract InstanceAccessManager",
1754
+ "name": "accessManager",
1927
1755
  "type": "address"
1928
1756
  }
1929
1757
  ],
1930
- "name": "setInstanceReader",
1758
+ "name": "setInstanceAccessManager",
1931
1759
  "outputs": [],
1932
1760
  "stateMutability": "nonpayable",
1933
1761
  "type": "function"
@@ -1935,17 +1763,12 @@
1935
1763
  {
1936
1764
  "inputs": [
1937
1765
  {
1938
- "internalType": "address",
1939
- "name": "target",
1766
+ "internalType": "contract InstanceReader",
1767
+ "name": "instanceReader",
1940
1768
  "type": "address"
1941
- },
1942
- {
1943
- "internalType": "bool",
1944
- "name": "closed",
1945
- "type": "bool"
1946
1769
  }
1947
1770
  ],
1948
- "name": "setTargetClosed",
1771
+ "name": "setInstanceReader",
1949
1772
  "outputs": [],
1950
1773
  "stateMutability": "nonpayable",
1951
1774
  "type": "function"
@@ -1991,17 +1814,31 @@
1991
1814
  {
1992
1815
  "inputs": [
1993
1816
  {
1994
- "internalType": "ObjectType",
1995
- "name": "objectType",
1996
- "type": "uint8"
1997
- },
1817
+ "internalType": "NftId",
1818
+ "name": "distNftId",
1819
+ "type": "uint96"
1820
+ }
1821
+ ],
1822
+ "name": "toDistributionKey32",
1823
+ "outputs": [
1998
1824
  {
1999
- "internalType": "KeyId",
2000
- "name": "id",
2001
- "type": "bytes31"
1825
+ "internalType": "Key32",
1826
+ "name": "",
1827
+ "type": "bytes32"
2002
1828
  }
2003
1829
  ],
2004
- "name": "toKey32",
1830
+ "stateMutability": "pure",
1831
+ "type": "function"
1832
+ },
1833
+ {
1834
+ "inputs": [
1835
+ {
1836
+ "internalType": "NftId",
1837
+ "name": "distNftId",
1838
+ "type": "uint96"
1839
+ }
1840
+ ],
1841
+ "name": "toDistributorKey32",
2005
1842
  "outputs": [
2006
1843
  {
2007
1844
  "internalType": "Key32",
@@ -2016,11 +1853,11 @@
2016
1853
  "inputs": [
2017
1854
  {
2018
1855
  "internalType": "NftId",
2019
- "name": "policyNftId",
1856
+ "name": "distNftId",
2020
1857
  "type": "uint96"
2021
1858
  }
2022
1859
  ],
2023
- "name": "toPolicyKey32",
1860
+ "name": "toDistributorTypeKey32",
2024
1861
  "outputs": [
2025
1862
  {
2026
1863
  "internalType": "Key32",
@@ -2034,12 +1871,17 @@
2034
1871
  {
2035
1872
  "inputs": [
2036
1873
  {
2037
- "internalType": "RoleId",
2038
- "name": "roleId",
2039
- "type": "uint64"
1874
+ "internalType": "ObjectType",
1875
+ "name": "objectType",
1876
+ "type": "uint8"
1877
+ },
1878
+ {
1879
+ "internalType": "KeyId",
1880
+ "name": "id",
1881
+ "type": "bytes31"
2040
1882
  }
2041
1883
  ],
2042
- "name": "toRoleKey32",
1884
+ "name": "toKey32",
2043
1885
  "outputs": [
2044
1886
  {
2045
1887
  "internalType": "Key32",
@@ -2053,12 +1895,12 @@
2053
1895
  {
2054
1896
  "inputs": [
2055
1897
  {
2056
- "internalType": "address",
2057
- "name": "target",
2058
- "type": "address"
1898
+ "internalType": "NftId",
1899
+ "name": "policyNftId",
1900
+ "type": "uint96"
2059
1901
  }
2060
1902
  ],
2061
- "name": "toTargetKey32",
1903
+ "name": "toPolicyKey32",
2062
1904
  "outputs": [
2063
1905
  {
2064
1906
  "internalType": "Key32",
@@ -2073,53 +1915,81 @@
2073
1915
  "inputs": [
2074
1916
  {
2075
1917
  "internalType": "NftId",
2076
- "name": "bundleNftId",
1918
+ "name": "applicationNftId",
2077
1919
  "type": "uint96"
2078
1920
  },
2079
1921
  {
2080
1922
  "components": [
2081
1923
  {
2082
1924
  "internalType": "NftId",
2083
- "name": "poolNftId",
1925
+ "name": "productNftId",
2084
1926
  "type": "uint96"
2085
1927
  },
2086
1928
  {
2087
- "components": [
2088
- {
2089
- "internalType": "UFixed",
2090
- "name": "fractionalFee",
2091
- "type": "uint256"
2092
- },
2093
- {
2094
- "internalType": "uint256",
2095
- "name": "fixedFee",
2096
- "type": "uint256"
2097
- }
2098
- ],
2099
- "internalType": "struct Fee",
2100
- "name": "fee",
2101
- "type": "tuple"
1929
+ "internalType": "NftId",
1930
+ "name": "bundleNftId",
1931
+ "type": "uint96"
2102
1932
  },
2103
1933
  {
2104
- "internalType": "bytes",
2105
- "name": "filter",
2106
- "type": "bytes"
1934
+ "internalType": "ReferralId",
1935
+ "name": "referralId",
1936
+ "type": "bytes8"
1937
+ },
1938
+ {
1939
+ "internalType": "RiskId",
1940
+ "name": "riskId",
1941
+ "type": "bytes8"
2107
1942
  },
2108
1943
  {
2109
1944
  "internalType": "uint256",
2110
- "name": "capitalAmount",
1945
+ "name": "sumInsuredAmount",
2111
1946
  "type": "uint256"
2112
1947
  },
2113
1948
  {
2114
1949
  "internalType": "uint256",
2115
- "name": "lockedAmount",
1950
+ "name": "premiumAmount",
2116
1951
  "type": "uint256"
2117
1952
  },
2118
1953
  {
2119
1954
  "internalType": "uint256",
2120
- "name": "balanceAmount",
1955
+ "name": "premiumPaidAmount",
1956
+ "type": "uint256"
1957
+ },
1958
+ {
1959
+ "internalType": "Seconds",
1960
+ "name": "lifetime",
1961
+ "type": "uint40"
1962
+ },
1963
+ {
1964
+ "internalType": "bytes",
1965
+ "name": "applicationData",
1966
+ "type": "bytes"
1967
+ },
1968
+ {
1969
+ "internalType": "bytes",
1970
+ "name": "policyData",
1971
+ "type": "bytes"
1972
+ },
1973
+ {
1974
+ "internalType": "uint16",
1975
+ "name": "claimsCount",
1976
+ "type": "uint16"
1977
+ },
1978
+ {
1979
+ "internalType": "uint16",
1980
+ "name": "openClaimsCount",
1981
+ "type": "uint16"
1982
+ },
1983
+ {
1984
+ "internalType": "uint256",
1985
+ "name": "payoutAmount",
2121
1986
  "type": "uint256"
2122
1987
  },
1988
+ {
1989
+ "internalType": "Timestamp",
1990
+ "name": "activatedAt",
1991
+ "type": "uint40"
1992
+ },
2123
1993
  {
2124
1994
  "internalType": "Timestamp",
2125
1995
  "name": "expiredAt",
@@ -2131,8 +2001,8 @@
2131
2001
  "type": "uint40"
2132
2002
  }
2133
2003
  ],
2134
- "internalType": "struct IBundle.BundleInfo",
2135
- "name": "bundle",
2004
+ "internalType": "struct IPolicy.PolicyInfo",
2005
+ "name": "policy",
2136
2006
  "type": "tuple"
2137
2007
  },
2138
2008
  {
@@ -2141,7 +2011,7 @@
2141
2011
  "type": "uint8"
2142
2012
  }
2143
2013
  ],
2144
- "name": "updateBundle",
2014
+ "name": "updateApplication",
2145
2015
  "outputs": [],
2146
2016
  "stateMutability": "nonpayable",
2147
2017
  "type": "function"
@@ -2150,7 +2020,7 @@
2150
2020
  "inputs": [
2151
2021
  {
2152
2022
  "internalType": "NftId",
2153
- "name": "bundleNftId",
2023
+ "name": "applicationNftId",
2154
2024
  "type": "uint96"
2155
2025
  },
2156
2026
  {
@@ -2159,7 +2029,7 @@
2159
2029
  "type": "uint8"
2160
2030
  }
2161
2031
  ],
2162
- "name": "updateBundleState",
2032
+ "name": "updateApplicationState",
2163
2033
  "outputs": [],
2164
2034
  "stateMutability": "nonpayable",
2165
2035
  "type": "function"
@@ -2168,39 +2038,71 @@
2168
2038
  "inputs": [
2169
2039
  {
2170
2040
  "internalType": "NftId",
2171
- "name": "policyNftId",
2041
+ "name": "bundleNftId",
2172
2042
  "type": "uint96"
2173
2043
  },
2174
- {
2175
- "internalType": "NumberId",
2176
- "name": "claimId",
2177
- "type": "uint32"
2178
- },
2179
2044
  {
2180
2045
  "components": [
2181
2046
  {
2182
- "internalType": "uint256",
2183
- "name": "claimAmount",
2184
- "type": "uint256"
2047
+ "internalType": "NftId",
2048
+ "name": "poolNftId",
2049
+ "type": "uint96"
2185
2050
  },
2186
2051
  {
2187
- "internalType": "uint256",
2188
- "name": "paidAmount",
2189
- "type": "uint256"
2052
+ "components": [
2053
+ {
2054
+ "internalType": "UFixed",
2055
+ "name": "fractionalFee",
2056
+ "type": "uint256"
2057
+ },
2058
+ {
2059
+ "internalType": "uint256",
2060
+ "name": "fixedFee",
2061
+ "type": "uint256"
2062
+ }
2063
+ ],
2064
+ "internalType": "struct Fee",
2065
+ "name": "fee",
2066
+ "type": "tuple"
2190
2067
  },
2191
2068
  {
2192
2069
  "internalType": "bytes",
2193
- "name": "data",
2070
+ "name": "filter",
2194
2071
  "type": "bytes"
2195
2072
  },
2073
+ {
2074
+ "internalType": "Amount",
2075
+ "name": "capitalAmount",
2076
+ "type": "uint96"
2077
+ },
2078
+ {
2079
+ "internalType": "Amount",
2080
+ "name": "lockedAmount",
2081
+ "type": "uint96"
2082
+ },
2083
+ {
2084
+ "internalType": "Amount",
2085
+ "name": "feeAmount",
2086
+ "type": "uint96"
2087
+ },
2088
+ {
2089
+ "internalType": "Seconds",
2090
+ "name": "lifetime",
2091
+ "type": "uint40"
2092
+ },
2093
+ {
2094
+ "internalType": "Timestamp",
2095
+ "name": "expiredAt",
2096
+ "type": "uint40"
2097
+ },
2196
2098
  {
2197
2099
  "internalType": "Timestamp",
2198
2100
  "name": "closedAt",
2199
2101
  "type": "uint40"
2200
2102
  }
2201
2103
  ],
2202
- "internalType": "struct IPolicy.ClaimInfo",
2203
- "name": "claim",
2104
+ "internalType": "struct IBundle.BundleInfo",
2105
+ "name": "bundle",
2204
2106
  "type": "tuple"
2205
2107
  },
2206
2108
  {
@@ -2209,7 +2111,25 @@
2209
2111
  "type": "uint8"
2210
2112
  }
2211
2113
  ],
2212
- "name": "updateClaim",
2114
+ "name": "updateBundle",
2115
+ "outputs": [],
2116
+ "stateMutability": "nonpayable",
2117
+ "type": "function"
2118
+ },
2119
+ {
2120
+ "inputs": [
2121
+ {
2122
+ "internalType": "NftId",
2123
+ "name": "bundleNftId",
2124
+ "type": "uint96"
2125
+ },
2126
+ {
2127
+ "internalType": "StateId",
2128
+ "name": "newState",
2129
+ "type": "uint8"
2130
+ }
2131
+ ],
2132
+ "name": "updateBundleState",
2213
2133
  "outputs": [],
2214
2134
  "stateMutability": "nonpayable",
2215
2135
  "type": "function"
@@ -2222,20 +2142,20 @@
2222
2142
  "type": "uint96"
2223
2143
  },
2224
2144
  {
2225
- "internalType": "NumberId",
2226
- "name": "payoutId",
2227
- "type": "uint32"
2145
+ "internalType": "ClaimId",
2146
+ "name": "claimId",
2147
+ "type": "uint16"
2228
2148
  },
2229
2149
  {
2230
2150
  "components": [
2231
2151
  {
2232
- "internalType": "NumberId",
2233
- "name": "claimId",
2234
- "type": "uint32"
2152
+ "internalType": "uint256",
2153
+ "name": "claimAmount",
2154
+ "type": "uint256"
2235
2155
  },
2236
2156
  {
2237
2157
  "internalType": "uint256",
2238
- "name": "amount",
2158
+ "name": "paidAmount",
2239
2159
  "type": "uint256"
2240
2160
  },
2241
2161
  {
@@ -2245,12 +2165,12 @@
2245
2165
  },
2246
2166
  {
2247
2167
  "internalType": "Timestamp",
2248
- "name": "paidAt",
2168
+ "name": "closedAt",
2249
2169
  "type": "uint40"
2250
2170
  }
2251
2171
  ],
2252
- "internalType": "struct IPolicy.PayoutInfo",
2253
- "name": "payout",
2172
+ "internalType": "struct IPolicy.ClaimInfo",
2173
+ "name": "claim",
2254
2174
  "type": "tuple"
2255
2175
  },
2256
2176
  {
@@ -2271,6 +2191,11 @@
2271
2191
  "name": "policyNftId",
2272
2192
  "type": "uint96"
2273
2193
  },
2194
+ {
2195
+ "internalType": "ClaimId",
2196
+ "name": "claimId",
2197
+ "type": "uint16"
2198
+ },
2274
2199
  {
2275
2200
  "internalType": "StateId",
2276
2201
  "name": "newState",
@@ -2315,18 +2240,35 @@
2315
2240
  }
2316
2241
  ],
2317
2242
  "internalType": "struct Fee",
2318
- "name": "distributionFee",
2243
+ "name": "minDistributionOwnerFee",
2319
2244
  "type": "tuple"
2320
2245
  },
2321
2246
  {
2322
- "internalType": "bool",
2323
- "name": "isIntercepting",
2324
- "type": "bool"
2247
+ "components": [
2248
+ {
2249
+ "internalType": "UFixed",
2250
+ "name": "fractionalFee",
2251
+ "type": "uint256"
2252
+ },
2253
+ {
2254
+ "internalType": "uint256",
2255
+ "name": "fixedFee",
2256
+ "type": "uint256"
2257
+ }
2258
+ ],
2259
+ "internalType": "struct Fee",
2260
+ "name": "distributionFee",
2261
+ "type": "tuple"
2325
2262
  },
2326
2263
  {
2327
2264
  "internalType": "address",
2328
2265
  "name": "wallet",
2329
2266
  "type": "address"
2267
+ },
2268
+ {
2269
+ "internalType": "uint256",
2270
+ "name": "sumDistributionOwnerFees",
2271
+ "type": "uint256"
2330
2272
  }
2331
2273
  ],
2332
2274
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -2366,25 +2308,20 @@
2366
2308
  "inputs": [
2367
2309
  {
2368
2310
  "internalType": "NftId",
2369
- "name": "policyNftId",
2311
+ "name": "nftId",
2370
2312
  "type": "uint96"
2371
2313
  },
2372
- {
2373
- "internalType": "NumberId",
2374
- "name": "payoutId",
2375
- "type": "uint32"
2376
- },
2377
2314
  {
2378
2315
  "components": [
2379
2316
  {
2380
- "internalType": "NumberId",
2381
- "name": "claimId",
2382
- "type": "uint32"
2317
+ "internalType": "DistributorType",
2318
+ "name": "distributorType",
2319
+ "type": "bytes8"
2383
2320
  },
2384
2321
  {
2385
- "internalType": "uint256",
2386
- "name": "amount",
2387
- "type": "uint256"
2322
+ "internalType": "bool",
2323
+ "name": "active",
2324
+ "type": "bool"
2388
2325
  },
2389
2326
  {
2390
2327
  "internalType": "bytes",
@@ -2392,13 +2329,18 @@
2392
2329
  "type": "bytes"
2393
2330
  },
2394
2331
  {
2395
- "internalType": "Timestamp",
2396
- "name": "paidAt",
2397
- "type": "uint40"
2332
+ "internalType": "uint256",
2333
+ "name": "sumCommisions",
2334
+ "type": "uint256"
2335
+ },
2336
+ {
2337
+ "internalType": "uint256",
2338
+ "name": "numPoliciesSold",
2339
+ "type": "uint256"
2398
2340
  }
2399
2341
  ],
2400
- "internalType": "struct IPolicy.PayoutInfo",
2401
- "name": "payout",
2342
+ "internalType": "struct IDistribution.DistributorInfo",
2343
+ "name": "info",
2402
2344
  "type": "tuple"
2403
2345
  },
2404
2346
  {
@@ -2416,7 +2358,7 @@
2416
2358
  "inputs": [
2417
2359
  {
2418
2360
  "internalType": "NftId",
2419
- "name": "policyNftId",
2361
+ "name": "nftId",
2420
2362
  "type": "uint96"
2421
2363
  },
2422
2364
  {
@@ -2433,40 +2375,60 @@
2433
2375
  {
2434
2376
  "inputs": [
2435
2377
  {
2436
- "internalType": "NftId",
2437
- "name": "policyNftId",
2438
- "type": "uint96"
2439
- },
2440
- {
2441
- "internalType": "NumberId",
2442
- "name": "payoutId",
2443
- "type": "uint32"
2378
+ "internalType": "Key32",
2379
+ "name": "distributorKey",
2380
+ "type": "bytes32"
2444
2381
  },
2445
2382
  {
2446
2383
  "components": [
2447
2384
  {
2448
- "internalType": "NumberId",
2449
- "name": "claimId",
2450
- "type": "uint32"
2385
+ "internalType": "string",
2386
+ "name": "name",
2387
+ "type": "string"
2451
2388
  },
2452
2389
  {
2453
- "internalType": "uint256",
2454
- "name": "amount",
2390
+ "internalType": "UFixed",
2391
+ "name": "minDiscountPercentage",
2392
+ "type": "uint256"
2393
+ },
2394
+ {
2395
+ "internalType": "UFixed",
2396
+ "name": "maxDiscountPercentage",
2397
+ "type": "uint256"
2398
+ },
2399
+ {
2400
+ "internalType": "UFixed",
2401
+ "name": "commissionPercentage",
2455
2402
  "type": "uint256"
2456
2403
  },
2404
+ {
2405
+ "internalType": "uint32",
2406
+ "name": "maxReferralCount",
2407
+ "type": "uint32"
2408
+ },
2409
+ {
2410
+ "internalType": "uint32",
2411
+ "name": "maxReferralLifetime",
2412
+ "type": "uint32"
2413
+ },
2414
+ {
2415
+ "internalType": "bool",
2416
+ "name": "allowSelfReferrals",
2417
+ "type": "bool"
2418
+ },
2419
+ {
2420
+ "internalType": "bool",
2421
+ "name": "allowRenewals",
2422
+ "type": "bool"
2423
+ },
2457
2424
  {
2458
2425
  "internalType": "bytes",
2459
2426
  "name": "data",
2460
2427
  "type": "bytes"
2461
- },
2462
- {
2463
- "internalType": "Timestamp",
2464
- "name": "paidAt",
2465
- "type": "uint40"
2466
2428
  }
2467
2429
  ],
2468
- "internalType": "struct IPolicy.PayoutInfo",
2469
- "name": "payout",
2430
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2431
+ "name": "info",
2470
2432
  "type": "tuple"
2471
2433
  },
2472
2434
  {
@@ -2480,6 +2442,24 @@
2480
2442
  "stateMutability": "nonpayable",
2481
2443
  "type": "function"
2482
2444
  },
2445
+ {
2446
+ "inputs": [
2447
+ {
2448
+ "internalType": "Key32",
2449
+ "name": "distributorKey",
2450
+ "type": "bytes32"
2451
+ },
2452
+ {
2453
+ "internalType": "StateId",
2454
+ "name": "newState",
2455
+ "type": "uint8"
2456
+ }
2457
+ ],
2458
+ "name": "updateDistributorTypeState",
2459
+ "outputs": [],
2460
+ "stateMutability": "nonpayable",
2461
+ "type": "function"
2462
+ },
2483
2463
  {
2484
2464
  "inputs": [
2485
2465
  {
@@ -2487,13 +2467,45 @@
2487
2467
  "name": "policyNftId",
2488
2468
  "type": "uint96"
2489
2469
  },
2470
+ {
2471
+ "internalType": "NumberId",
2472
+ "name": "payoutId",
2473
+ "type": "uint32"
2474
+ },
2475
+ {
2476
+ "components": [
2477
+ {
2478
+ "internalType": "ClaimId",
2479
+ "name": "claimId",
2480
+ "type": "uint16"
2481
+ },
2482
+ {
2483
+ "internalType": "uint256",
2484
+ "name": "amount",
2485
+ "type": "uint256"
2486
+ },
2487
+ {
2488
+ "internalType": "bytes",
2489
+ "name": "data",
2490
+ "type": "bytes"
2491
+ },
2492
+ {
2493
+ "internalType": "Timestamp",
2494
+ "name": "paidAt",
2495
+ "type": "uint40"
2496
+ }
2497
+ ],
2498
+ "internalType": "struct IPolicy.PayoutInfo",
2499
+ "name": "payout",
2500
+ "type": "tuple"
2501
+ },
2490
2502
  {
2491
2503
  "internalType": "StateId",
2492
2504
  "name": "newState",
2493
2505
  "type": "uint8"
2494
2506
  }
2495
2507
  ],
2496
- "name": "updateDistributorTypeState",
2508
+ "name": "updatePayout",
2497
2509
  "outputs": [],
2498
2510
  "stateMutability": "nonpayable",
2499
2511
  "type": "function"
@@ -2561,9 +2573,9 @@
2561
2573
  "type": "uint256"
2562
2574
  },
2563
2575
  {
2564
- "internalType": "uint256",
2576
+ "internalType": "Seconds",
2565
2577
  "name": "lifetime",
2566
- "type": "uint256"
2578
+ "type": "uint40"
2567
2579
  },
2568
2580
  {
2569
2581
  "internalType": "bytes",
@@ -2641,92 +2653,51 @@
2641
2653
  },
2642
2654
  {
2643
2655
  "inputs": [
2644
- {
2645
- "internalType": "NftId",
2646
- "name": "distributionNftId",
2647
- "type": "uint96"
2648
- },
2649
- {
2650
- "components": [
2651
- {
2652
- "internalType": "NftId",
2653
- "name": "productNftId",
2654
- "type": "uint96"
2655
- },
2656
- {
2657
- "internalType": "contract TokenHandler",
2658
- "name": "tokenHandler",
2659
- "type": "address"
2660
- },
2661
- {
2662
- "internalType": "UFixed",
2663
- "name": "collateralizationLevel",
2664
- "type": "uint256"
2665
- },
2666
- {
2667
- "components": [
2668
- {
2669
- "internalType": "UFixed",
2670
- "name": "fractionalFee",
2671
- "type": "uint256"
2672
- },
2673
- {
2674
- "internalType": "uint256",
2675
- "name": "fixedFee",
2676
- "type": "uint256"
2677
- }
2678
- ],
2679
- "internalType": "struct Fee",
2680
- "name": "poolFee",
2681
- "type": "tuple"
2682
- },
2683
- {
2684
- "components": [
2685
- {
2686
- "internalType": "UFixed",
2687
- "name": "fractionalFee",
2688
- "type": "uint256"
2689
- },
2690
- {
2691
- "internalType": "uint256",
2692
- "name": "fixedFee",
2693
- "type": "uint256"
2694
- }
2695
- ],
2696
- "internalType": "struct Fee",
2697
- "name": "stakingFee",
2698
- "type": "tuple"
2699
- },
2700
- {
2701
- "components": [
2702
- {
2703
- "internalType": "UFixed",
2704
- "name": "fractionalFee",
2705
- "type": "uint256"
2706
- },
2707
- {
2708
- "internalType": "uint256",
2709
- "name": "fixedFee",
2710
- "type": "uint256"
2711
- }
2712
- ],
2713
- "internalType": "struct Fee",
2714
- "name": "performanceFee",
2715
- "type": "tuple"
2656
+ {
2657
+ "internalType": "NftId",
2658
+ "name": "poolNftId",
2659
+ "type": "uint96"
2660
+ },
2661
+ {
2662
+ "components": [
2663
+ {
2664
+ "internalType": "string",
2665
+ "name": "name",
2666
+ "type": "string"
2716
2667
  },
2717
2668
  {
2718
- "internalType": "bool",
2719
- "name": "isIntercepting",
2720
- "type": "bool"
2669
+ "internalType": "contract IERC20Metadata",
2670
+ "name": "token",
2671
+ "type": "address"
2672
+ },
2673
+ {
2674
+ "internalType": "contract TokenHandler",
2675
+ "name": "tokenHandler",
2676
+ "type": "address"
2721
2677
  },
2722
2678
  {
2723
2679
  "internalType": "address",
2724
2680
  "name": "wallet",
2725
2681
  "type": "address"
2682
+ },
2683
+ {
2684
+ "internalType": "Amount",
2685
+ "name": "balanceAmount",
2686
+ "type": "uint96"
2687
+ },
2688
+ {
2689
+ "internalType": "Amount",
2690
+ "name": "feeAmount",
2691
+ "type": "uint96"
2692
+ },
2693
+ {
2694
+ "internalType": "bytes",
2695
+ "name": "data",
2696
+ "type": "bytes"
2726
2697
  }
2727
2698
  ],
2728
- "internalType": "struct ISetup.PoolSetupInfo",
2729
- "name": "setup",
2699
+ "internalType": "struct IComponents.ComponentInfo",
2700
+ "name": "info",
2730
2701
  "type": "tuple"
2731
2702
  },
2732
2703
  {
@@ -2744,7 +2715,7 @@
2744
2715
  "inputs": [
2745
2716
  {
2746
2717
  "internalType": "NftId",
2747
- "name": "distributionNftId",
2718
+ "name": "poolNftId",
2748
2719
  "type": "uint96"
2749
2720
  },
2750
2721
  {
@@ -2787,23 +2758,6 @@
2787
2758
  "name": "poolNftId",
2788
2759
  "type": "uint96"
2789
2760
  },
2790
- {
2791
- "components": [
2792
- {
2793
- "internalType": "UFixed",
2794
- "name": "fractionalFee",
2795
- "type": "uint256"
2796
- },
2797
- {
2798
- "internalType": "uint256",
2799
- "name": "fixedFee",
2800
- "type": "uint256"
2801
- }
2802
- ],
2803
- "internalType": "struct Fee",
2804
- "name": "distributionFee",
2805
- "type": "tuple"
2806
- },
2807
2761
  {
2808
2762
  "components": [
2809
2763
  {
@@ -2839,55 +2793,14 @@
2839
2793
  "type": "tuple"
2840
2794
  },
2841
2795
  {
2842
- "components": [
2843
- {
2844
- "internalType": "UFixed",
2845
- "name": "fractionalFee",
2846
- "type": "uint256"
2847
- },
2848
- {
2849
- "internalType": "uint256",
2850
- "name": "fixedFee",
2851
- "type": "uint256"
2852
- }
2853
- ],
2854
- "internalType": "struct Fee",
2855
- "name": "poolFee",
2856
- "type": "tuple"
2857
- },
2858
- {
2859
- "components": [
2860
- {
2861
- "internalType": "UFixed",
2862
- "name": "fractionalFee",
2863
- "type": "uint256"
2864
- },
2865
- {
2866
- "internalType": "uint256",
2867
- "name": "fixedFee",
2868
- "type": "uint256"
2869
- }
2870
- ],
2871
- "internalType": "struct Fee",
2872
- "name": "stakingFee",
2873
- "type": "tuple"
2796
+ "internalType": "bool",
2797
+ "name": "isIntercepting",
2798
+ "type": "bool"
2874
2799
  },
2875
2800
  {
2876
- "components": [
2877
- {
2878
- "internalType": "UFixed",
2879
- "name": "fractionalFee",
2880
- "type": "uint256"
2881
- },
2882
- {
2883
- "internalType": "uint256",
2884
- "name": "fixedFee",
2885
- "type": "uint256"
2886
- }
2887
- ],
2888
- "internalType": "struct Fee",
2889
- "name": "performanceFee",
2890
- "type": "tuple"
2801
+ "internalType": "address",
2802
+ "name": "wallet",
2803
+ "type": "address"
2891
2804
  }
2892
2805
  ],
2893
2806
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -2926,40 +2839,50 @@
2926
2839
  {
2927
2840
  "inputs": [
2928
2841
  {
2929
- "internalType": "NftId",
2930
- "name": "policyNftId",
2931
- "type": "uint96"
2932
- },
2933
- {
2934
- "internalType": "NumberId",
2935
- "name": "payoutId",
2936
- "type": "uint32"
2842
+ "internalType": "Key32",
2843
+ "name": "referralKey",
2844
+ "type": "bytes32"
2937
2845
  },
2938
2846
  {
2939
2847
  "components": [
2940
2848
  {
2941
- "internalType": "NumberId",
2942
- "name": "claimId",
2943
- "type": "uint32"
2849
+ "internalType": "NftId",
2850
+ "name": "distributorNftId",
2851
+ "type": "uint96"
2944
2852
  },
2945
2853
  {
2946
- "internalType": "uint256",
2947
- "name": "amount",
2854
+ "internalType": "string",
2855
+ "name": "referralCode",
2856
+ "type": "string"
2857
+ },
2858
+ {
2859
+ "internalType": "UFixed",
2860
+ "name": "discountPercentage",
2948
2861
  "type": "uint256"
2949
2862
  },
2950
2863
  {
2951
- "internalType": "bytes",
2952
- "name": "data",
2953
- "type": "bytes"
2864
+ "internalType": "uint32",
2865
+ "name": "maxReferrals",
2866
+ "type": "uint32"
2867
+ },
2868
+ {
2869
+ "internalType": "uint32",
2870
+ "name": "usedReferrals",
2871
+ "type": "uint32"
2954
2872
  },
2955
2873
  {
2956
2874
  "internalType": "Timestamp",
2957
- "name": "paidAt",
2875
+ "name": "expiryAt",
2958
2876
  "type": "uint40"
2877
+ },
2878
+ {
2879
+ "internalType": "bytes",
2880
+ "name": "data",
2881
+ "type": "bytes"
2959
2882
  }
2960
2883
  ],
2961
- "internalType": "struct IPolicy.PayoutInfo",
2962
- "name": "payout",
2884
+ "internalType": "struct IDistribution.ReferralInfo",
2885
+ "name": "referralInfo",
2963
2886
  "type": "tuple"
2964
2887
  },
2965
2888
  {
@@ -2976,9 +2899,9 @@
2976
2899
  {
2977
2900
  "inputs": [
2978
2901
  {
2979
- "internalType": "NftId",
2980
- "name": "policyNftId",
2981
- "type": "uint96"
2902
+ "internalType": "Key32",
2903
+ "name": "referralKey",
2904
+ "type": "bytes32"
2982
2905
  },
2983
2906
  {
2984
2907
  "internalType": "StateId",
@@ -3043,133 +2966,88 @@
3043
2966
  "outputs": [],
3044
2967
  "stateMutability": "nonpayable",
3045
2968
  "type": "function"
3046
- },
3047
- {
3048
- "inputs": [
3049
- {
3050
- "internalType": "RoleId",
3051
- "name": "roleId",
3052
- "type": "uint64"
3053
- },
3054
- {
3055
- "internalType": "string",
3056
- "name": "name",
3057
- "type": "string"
3058
- },
3059
- {
3060
- "internalType": "StateId",
3061
- "name": "newState",
3062
- "type": "uint8"
3063
- }
3064
- ],
3065
- "name": "updateRole",
3066
- "outputs": [],
3067
- "stateMutability": "nonpayable",
3068
- "type": "function"
3069
- },
3070
- {
3071
- "inputs": [
3072
- {
3073
- "internalType": "RoleId",
3074
- "name": "roleId",
3075
- "type": "uint64"
3076
- },
3077
- {
3078
- "internalType": "StateId",
3079
- "name": "newState",
3080
- "type": "uint8"
3081
- }
3082
- ],
3083
- "name": "updateRoleState",
3084
- "outputs": [],
3085
- "stateMutability": "nonpayable",
3086
- "type": "function"
3087
2969
  }
3088
2970
  ],
3089
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162006b0c38038062006b0c8339810160408190526200003491620016a2565b8262000040816200028b565b506200004b620002df565b6200005562000496565b6200005f620005d0565b620000696200083d565b6301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff1916600117905560068054336001600160a01b031991821617909155600b80549091166001600160a01b0385161790556040516368aebf7b60e01b815260006004820152620001739073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000124573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014a9190620016fc565b60408051808201909152600981526841646d696e526f6c6560b81b602082015260008062000984565b6040516368aebf7b60e01b81526001600160401b0360048201526200021f9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015620001cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001f59190620016fc565b60408051808201909152600a8152695075626c6963526f6c6560b01b602082015260008062000984565b62000246828260466000336040518060200160405280600081525062000a6a60201b60201c565b6342e19e5f60e01b60005260046020527f643d55d460d5a1aae86a570cc022b7d04a019a39b894c5b0832a60546fd6598d805460ff1916600117905550505062001a01565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60dc6000908152600160208190527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec805460ff19166064179055906002906200032660dc90565b60ff1660ff16815260200190815260200160002060006200034c62000b3b60201b60201c565b60ff1660ff16815260200190815260200160002060006200037262000b4060201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620003a660dc90565b60ff1660ff1681526020019081526020016000206000620003cc62000b4060201b60201c565b60ff1660ff1681526020019081526020016000206000620003f262000b3b60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200042660dc90565b60ff1660ff16815260200190815260200160002060006200044c62000b4060201b60201c565b60ff1660ff16815260200190815260200160002060006200047262000b4560201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c128054606460ff1991821681179092557f879b65b464eb639409179c76c21acf6fbada740970e2300d47ea857d08cacd3c8054909116600190811790915560009182526002602052907f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a906200052a606e90565b60ff1660ff16815260200190815260200160002060006200055062000b3b60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060029062000584606490565b60ff1660ff1681526020019081526020016000206000620005aa62000b4060201b60201c565b60ff1660ff16815260200190815260200160002060006200047262000b4a60201b60201c565b60d26000908152600160208190527fcfa08e49dd9e66a4af3cdf0c2ef56f411154768307cac6dc23ee77c0386825be805460ff1916600a179055906002906200061760d290565b60ff1660ff16815260200190815260200160002060006200063d62000b4f60201b60201c565b60ff1660ff16815260200190815260200160002060006200066362000b5460201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200069760d290565b60ff1660ff1681526020019081526020016000206000620006bd62000b4f60201b60201c565b60ff1660ff1681526020019081526020016000206000620006e362000b5960201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200071760d290565b60ff1660ff16815260200190815260200160002060006200073d62000b4f60201b60201c565b60ff1660ff16815260200190815260200160002060006200076362000b5e60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200079760d290565b60ff1660ff1681526020019081526020016000206000620007bd62000b5e60201b60201c565b60ff1660ff1681526020019081526020016000206000620007e362000b3b60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200081760d290565b60ff1660ff16815260200190815260200160002060006200044c62000b3b60201b60201c565b60c86000908152600160208190527f345f7c6c888721344af4147de0834159e0b302300ba13c4e7b6c0b60d8f2314e805460ff19166064179055906002906200088460c890565b60ff1660ff1681526020019081526020016000206000620008aa62000b3b60201b60201c565b60ff1660ff1681526020019081526020016000206000620008d062000b4060201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200090460c890565b60ff1660ff16815260200190815260200160002060006200092a62000b4060201b60201c565b60ff1660ff16815260200190815260200160002060006200095062000b3b60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200058460c890565b80156200099b576200099884848462000b63565b50505b6000620009aa85858562000df1565b8051600090815260076020526040812080546001600160401b0319166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a928302199093169102179055905062000a6362000a348662000e2d565b604080518451602080830191909152850151151581830152815180820383018152606090910190915262000eb5565b5050505050565b62000a76828762000ec5565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000af58382620017d3565b506303fb044760e21b60005260046020527f91a409085efa2cad9dad64790cb14ef1d9b61e9173e901d74242d27ef0ced4a1805460ff1916600117905550505050505050565b606490565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b602890565b6000808062000b728662000e2d565b905062000b7f8162000eeb565b9250821562000bb45762000b938162000f79565b80602001905181019062000ba89190620018b0565b60200151915062000bb8565b8391505b856001600160401b038116158062000bd857506001600160401b03818116145b1562000c075760405163981bf42160e01b81526001600160401b03881660048201526024015b60405180910390fd5b82801562000c1f57506127106001600160401b038216105b1562000c4a57604051633119b9df60e21b81526001600160401b038816600482015260240162000bfe565b82801562000c6357506127106001600160401b03821610155b1562000c8e5760405163094fb39160e01b81526001600160401b038816600482015260240162000bfe565b600062000c9b8762001026565b905062000ca88162001069565b60000362000cd5576040516321ab17ab60e01b81526001600160401b038916600482015260240162000bfe565b60008181526007602090815260409182902054825163bc1b392d60e01b8152925162000d7c936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af415801562000d44573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d6a9190620016fc565b6001600160401b039081169116141590565b801562000da357506000818152600760205260409020546001600160401b03898116911614155b1562000de65760008181526007602052604090819020549051631660fb9360e21b81526001600160401b0390911660048201526024810182905260440162000bfe565b505050935093915050565b604080518082018252600080825260208201528151808301909252908062000e198562001026565b815260200183151581525090509392505050565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801562000e89573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000eaf919062001909565b92915050565b62000ec1828262001092565b5050565b600680546001600160a01b0319166001600160a01b03841617905562000ec181620014ca565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801562000f53573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000eaf919062001923565b600081815260036020526040902060010180546060919062000f9b9062001744565b80601f016020809104026020016040519081016040528092919081815260200182805462000fc99062001744565b80156200101a5780601f1062000fee576101008083540402835291602001916200101a565b820191906000526020600020905b81548152906001019060200180831162000ffc57829003601f168201915b50505050509050919050565b600080829050601f8151111562001054578260405163305a27a960e01b815260040162000bfe919062001941565b8051620010618262001991565b179392505050565b600060ff8216601f81111562000eaf57604051632cd44ac360e21b815260040160405180910390fd5b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015620010e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200110c9190620019b6565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af415801562001162573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001188919062001923565b620011d65760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e454400000000604482015260640162000bfe565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801562001240573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001266919062001923565b620012b45760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f43524541544544000000604482015260640162000bfe565b33436000620012c38562001637565b620012d0576064620012e6565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600360205260409020909150600101620013728782620017d3565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015620013e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200140c9190620019b6565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156200145d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620014839190620019db565b6040805160ff938416815260ff19929092166020830152918416818301526001600160a01b038616606082015232608082015290519081900360a00190a150505050505050565b6005546001600160a01b031615620015055760055460405163fcdbf2d960e01b81526001600160a01b03909116600482015260240162000bfe565b6001600160a01b0381166200152d5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620015655760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000bfe565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263350fb35160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015620015e2575060408051601f3d908101601f19168201909252620015df9181019062001923565b60015b6200160c5760405163fdeac91f60e01b81526001600160a01b038216600482015260240162000bfe565b8062000ec15760405163fdeac91f60e01b81526001600160a01b038316600482015260240162000bfe565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf9060240162000f35565b80516001600160a01b03811681146200169d57600080fd5b919050565b600080600060608486031215620016b857600080fd5b620016c38462001685565b9250620016d36020850162001685565b60408501519092506001600160601b0381168114620016f157600080fd5b809150509250925092565b6000602082840312156200170f57600080fd5b81516001600160401b03811681146200172757600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200175957607f821691505b6020821081036200177a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620017ce57600081815260208120601f850160051c81016020861015620017a95750805b601f850160051c820191505b81811015620017ca57828155600101620017b5565b5050505b505050565b81516001600160401b03811115620017ef57620017ef6200172e565b620018078162001800845462001744565b8462001780565b602080601f8311600181146200183f5760008415620018265750858301515b600019600386901b1c1916600185901b178555620017ca565b600085815260208120601f198616915b8281101562001870578886015182559484019460019091019084016200184f565b50858210156200188f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805180151581146200169d57600080fd5b600060408284031215620018c357600080fd5b604080519081016001600160401b0381118282101715620018e857620018e86200172e565b60405282518152620018fd602084016200189f565b60208201529392505050565b6000602082840312156200191c57600080fd5b5051919050565b6000602082840312156200193657600080fd5b62001727826200189f565b600060208083528351808285015260005b81811015620019705785810183015185820160400152820162001952565b506000604082860101526040601f19601f8301168501019250505092915050565b805160208083015191908110156200177a5760001960209190910360031b1b16919050565b600060208284031215620019c957600080fd5b815160ff811681146200172757600080fd5b600060208284031215620019ee57600080fd5b815160ff19811681146200172757600080fd5b6150fb8062001a116000396000f3fe608060405234801561001057600080fd5b506004361061046a5760003560e01c80637cef48421161024c578063b428b0b011610146578063d2f21a29116100c3578063e9e96c7011610087578063e9e96c7014610a81578063f48016ce14610abf578063f7bc431c14610ad2578063f8b648ac14610649578063fe1f18d614610ae557600080fd5b8063d2f21a2914610a48578063d5b221bd146105c3578063d78a83b114610a5b578063dee3262314610a6e578063e8951ee61461059557600080fd5b8063bd5947e31161010a578063bd5947e3146109fe578063bf1db3f914610a11578063bf7e214f14610a24578063c2f1a2d2146105c3578063cd50b97e14610a3557600080fd5b8063b428b0b0146109b2578063b68ec14614610649578063b7d2b162146109c5578063bc8d4000146109d8578063bd4fe04e146109eb57600080fd5b80638fb36037116101d45780639df0280b116101985780639df0280b14610595578063a13df2ab146108c8578063a5961b4c146108db578063a76ee0181461098c578063a89896751461099f57600080fd5b80638fb360371461085b578063950ad70b1461087c578063954fab2c1461088f5780639a960d52146108a25780639d7421f4146108b557600080fd5b80638793a9ac1161021b5780638793a9ac1461080d578063893d20e8146108205780638d4eae9d146108285780638dc77f42146105955780638eaa6ac01461083b57600080fd5b80637cef4842146107c757806382f65adb14610649578063835933c9146107da57806386f0c47b146107ed57600080fd5b8063384c9a57116103685780635d4345cc116102e557806373539127116102a9578063735391271461078657806375b238fc1461079957806375c82776146107a15780637a415802146105c35780637a9e5e4b146107b457600080fd5b80635d4345cc146105955780635dfa73db14610737578063644c45e01461074057806364c55d9c1461076b5780636fa298531461077e57600080fd5b806340529b0f1161032c57806340529b0f14610595578063468a1867146106e057806354f6127f146106f357806357f96805146107135780635ab1bd531461072657600080fd5b8063384c9a571461067957806338a699a41461068c578063392f5f641461069f5780633ca7c02a146106a75780633fd85561146106cd57600080fd5b8063138461e0116103f657806322f46b84116103ba57806322f46b84146106105780632f61088a1461062357806331d311a71461063657806333bb0a971461064957806337f135d71461065c57600080fd5b8063138461e0146105a8578063167bd395146105b05780631c45fe7a146105c35780631e23a2f5146105d65780631eff4b22146105e957600080fd5b80630b24cf5f1161043d5780630b24cf5f146105315780630d358181146105465780630f526f7d1461056c5780630fec111c1461057f57806310203d2c1461059557600080fd5b806301ffc9a71461046f57806302cd3071146104b157806303014974146104d657806309648a9d146104f7575b600080fd5b61049c61047d366004613754565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104a8565b6104e96104e4366004613796565b610af8565b6040519081526020016104a8565b61051f6105053660046137b3565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104a8565b61054461053f3660046139bd565b610b1f565b005b61051f610554366004613a02565b60ff9081166000908152600160205260409020541690565b61054461057a366004613a1f565b610b63565b610587610b80565b6040516104a8929190613aa8565b6105446105a3366004613a1f565b610d02565b610544610d17565b6105446105be366004613b4f565b610f39565b6105446105d1366004613ca5565b610fe1565b6105446105e4366004613d19565b611022565b6104e97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61054461061e366004613d7a565b611048565b610544610631366004613e44565b61105e565b6104e9610644366004613e89565b6110f9565b610544610657366004613ea6565b61118a565b610664600081565b60405163ffffffff90911681526020016104a8565b61049c610687366004613796565b6111b5565b61049c61069a3660046137b3565b61134b565b6009546104e9565b6106b56001600160401b0381565b6040516001600160401b0390911681526020016104a8565b6106b56106db3660046137b3565b6113d6565b6104e96106ee366004613f07565b61141b565b6107066107013660046137b3565b611478565b6040516104a89190613f24565b610544610721366004613fda565b61151d565b6005546001600160a01b03166104be565b6106b561271081565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104a8565b6105446107793660046140da565b611545565b6104be61156d565b610544610794366004614126565b61160f565b6106b5600081565b6105446107af366004614197565b611637565b6105446107c2366004613e89565b61165d565b6105446107d53660046141ef565b6116d3565b6104e96107e8366004613796565b61175d565b6108006107fb366004613796565b6117a0565b6040516104a8919061420d565b61054461081b366004614226565b611845565b6104be61185a565b6105446108363660046142e5565b611937565b61084e6108493660046137b3565b61195d565b6040516104a89190614374565b610863611a9e565b6040516001600160e01b031990911681526020016104a8565b61054461088a3660046143a8565b611ac2565b61054461089d366004614400565b611b24565b6105446108b036600461459e565b611b4a565b6105446108c33660046145e5565b611b70565b6104e96108d6366004613f07565b611b96565b61097f6108e93660046137b3565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104a8919061463c565b61054461099a36600461464a565b611bc3565b6105446109ad366004614691565b611c5e565b61049c6109c03660046146d1565b611d4f565b61049c6109d33660046146d1565b611f43565b6105446109e63660046146ff565b6120ce565b6105446109f9366004614744565b6120f4565b610544610a0c366004614785565b61211c565b61049c610a1f366004613a02565b612144565b6000546001600160a01b03166104be565b610544610a43366004613d7a565b612191565b610544610a56366004613a1f565b6121a8565b6104be610a693660046147c5565b6121bf565b610544610a7c366004613a1f565b6121e8565b61049c610a8f366004614691565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b6104e9610acd366004614801565b6121ff565b610544610ae0366004613e89565b612283565b610544610af3366004613a1f565b6122ff565b6001600160401b0381166000908152600860205260408120610b1990612314565b92915050565b610b2c335b60003661231e565b610b5f610b3a836078612417565b82604051602001610b4b919061482f565b604051602081830303815290604052612463565b5050565b610b6c33610b24565b610b5f610b7a83608c612417565b8261246d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c036005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610c4b61185a565b6001600160a01b03168152602001826001018054610c689061488f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c949061488f565b8015610ce15780601f10610cb657610100808354040283529160200191610ce1565b820191906000526020600020905b815481529060010190602001808311610cc457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d0b33610b24565b610b5f610b7a8361141b565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9d91906148c9565b15610de4576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e0d5760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a91906148c9565b610ea2576040516372657a5160e01b81526001600160a01b0382166004820152602401610ddb565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610eec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1091906148e6565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f4233610b24565b610f4e61069a836110f9565b610f76576040516325b6f39560e21b81526001600160a01b0383166004820152602401610ddb565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b158015610fc557600080fd5b505af1158015610fd9573d6000803e3d6000fd5b505050505050565b610fea33610b24565b61101c610ff68561141b565b836040516020016110079190614903565b60405160208183030381529060405283612477565b50505050565b61102b33610b24565b610b5f611037836110f9565b82604051602001610b4b919061420d565b61105133610b24565b610b5f8282600180612482565b61106733610b24565b6040516355ee627560e01b81526001600160c01b031983166004820152610b5f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156110c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e89190614956565b82604051602001610b4b919061496f565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611166573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b199190614956565b61119333610b24565b6111b061119f8461141b565b82604051602001610b4b9190614903565b505050565b600033816111c28461175d565b90506111cd8161134b565b6111f457604051627a416f60e01b81526001600160401b0385166004820152602401610ddb565b6001600160401b0384166000908152600860205260409020611216908361252b565b1561134157600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ac919061499d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b1580156112fc57600080fd5b505af1158015611310573d6000803e3d6000fd5b5050506001600160401b038516600090815260086020526040902061133691508361254d565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1991906148c9565b6000600982815481106113eb576113eb6149ba565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401611149565b60008181526003602052604090206001018054606091906114989061488f565b80601f01602080910402602001604051908101604052809291908181526020018280546114c49061488f565b80156115115780601f106114e657610100808354040283529160200191611511565b820191906000526020600020905b8154815290600101906020018083116114f457829003601f168201915b50505050509050919050565b61152633610b24565b610b5f61153483608c612417565b82604051602001610b4b91906149d0565b61154e33610b24565b6111b061155c84606e612417565b836040516020016110079190614a73565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa1580156115e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160a9190614b75565b905090565b61161833610b24565b610b5f61162683606e612417565b82604051602001610b4b9190614a73565b61164033610b24565b61101c61164c8561141b565b836040516020016110079190614b92565b60005433906001600160a01b031681146116945760405162d1953b60e31b81526001600160a01b0382166004820152602401610ddb565b816001600160a01b03163b6000036116ca576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ddb565b610b5f82612562565b6116dc33610b24565b6040516355ee627560e01b81526001600160c01b031983166004820152610b5f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611739573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7a9190614956565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401611149565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b03831660048201526118329073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801561180e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107019190614956565b806020019051810190610b199190614bc2565b61184e33610b24565b610b5f610b7a8361175d565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156118bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e391906148c9565b1561192757600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024016115c9565b506006546001600160a01b031690565b61194033610b24565b610b5f61194c83611b96565b82604051602001610b4b9190614bfa565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611a159061488f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a419061488f565b8015611a8e5780601f10611a6357610100808354040283529160200191611a8e565b820191906000526020600020905b815481529060010190602001808311611a7157829003601f168201915b5050505050815250509050919050565b60008054600160a01b900460ff16611ab65750600090565b50638fb3603760e01b90565b611acb33610b24565b6000611ad9848460006125b6565b5090506000611ae9858584612821565b9050611b1d611af78661175d565b82604051602001611b08919061420d565b60405160208183030381529060405285612477565b5050505050565b611b2d33610b24565b6111b0611b3984611b96565b836040516020016110079190614bfa565b611b5333610b24565b6111b0611b5f8461141b565b836040516020016110079190614c9f565b611b7933610b24565b6111b0611b858461141b565b82604051602001610b4b9190614b92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611444565b611bcc33610b24565b6040516355ee627560e01b81526001600160c01b0319841660048201526111b09073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611c29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4d9190614956565b83604051602001611007919061496f565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611cc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce791906148c9565b15611cf157505050565b60ff8084166000908152600260209081526040808320868516845282528083208585168452909152902054166111b057604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610ddb565b6000611d5a33610b24565b6000611d658461175d565b9050611d708161134b565b611d9857604051636777365b60e01b81526001600160401b0385166004820152602401610ddb565b600081815260036020526040902054611dc790610100900460ff16611dbb606490565b60ff9081169116141590565b15611df05760405163fe229d5d60e01b81526001600160401b0385166004820152602401610ddb565b6001600160401b0384166000908152600860205260409020611e12908461252b565b61134157600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611e83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea7919061499d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b158015611efe57600080fd5b505af1158015611f12573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020611f3891508461285d565b506001915050610b19565b6000611f4e33610b24565b6000611f598461175d565b9050611f648161134b565b611f8c57604051634cee277360e11b81526001600160401b0385166004820152602401610ddb565b6001600160401b0384166000908152600860205260409020611fae908461252b565b1561134157600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612020573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612044919061499d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b15801561209457600080fd5b505af11580156120a8573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020611f3891508461254d565b6120d733610b24565b610b5f6120e38361141b565b82604051602001610b4b9190614c9f565b6120fd33610b24565b6111b061210b84608c612417565b8360405160200161100791906149d0565b61212533610b24565b6111b0612133846078612417565b83604051602001611007919061482f565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611395565b61219a33610b24565b610b5f828260006001612482565b6121b133610b24565b610b5f610b7a836078612417565b6001600160401b03821660009081526008602052604081206121e19083612872565b9392505050565b6121f133610b24565b610b5f610b7a83606e612417565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af415801561225f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e19190614956565b61228c33610b24565b600c546001600160a01b0316156122dd5760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610ddb565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61230833610b24565b610b5f610b7a83611b96565b6000610b19825490565b6000806123546123366000546001600160a01b031690565b863061234660046000898b614df6565b61234f91614e20565b61287e565b9150915081611b1d5763ffffffff8116156123f4576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906123af90889088908890600401614e50565b600060405180830381600087803b1580156123c957600080fd5b505af11580156123dd573d6000803e3d6000fd5b50506000805460ff60a01b1916905550611b1d9050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610ddb565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612242565b610b5f828261298a565b610b5f8282612dac565b6111b08383836130e0565b8015612496576124938484846125b6565b50505b60006124a3858585612821565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611b1d6110378661175d565b6001600160a01b038116600090815260018301602052604081205415156121e1565b60006121e1836001600160a01b03841661357b565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60008060006125c48661175d565b90506125cf8161134b565b925082156125fe576125e081611478565b8060200190518101906125f39190614bc2565b602001519150612602565b8391505b856001600160401b038116158061262157506001600160401b03818116145b1561264a5760405163981bf42160e01b81526001600160401b0388166004820152602401610ddb565b82801561266157506127106001600160401b038216105b1561268a57604051633119b9df60e21b81526001600160401b0388166004820152602401610ddb565b8280156126a257506127106001600160401b03821610155b156126cb5760405163094fb39160e01b81526001600160401b0388166004820152602401610ddb565b60006126d687613675565b90506126e1816136b3565b60000361270c576040516321ab17ab60e01b81526001600160401b0389166004820152602401610ddb565b60008181526007602090815260409182902054825163bc1b392d60e01b815292516127af936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612779573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279d919061499d565b6001600160401b039081169116141590565b80156127d557506000818152600760205260409020546001600160401b03898116911614155b156128165760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610ddb565b505050935093915050565b6040805180820190915260008082526020820152604051806040016040528061284985613675565b815260200183151581525090509392505050565b60006121e1836001600160a01b0384166136db565b60006121e1838361372a565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516128ed9190614e90565b600060405180830381855afa9150503d8060008114612928576040519150601f19603f3d011682016040523d82523d6000602084013e61292d565b606091505b5091509150811561297f57604081511061295f57808060200190518101906129559190614eac565b909450925061297f565b602081511061297f578080602001905181019061297c91906148c9565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156129dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a019190614edb565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612a56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a7a91906148c9565b612ac65760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610ddb565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612b2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5391906148c9565b612b9f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610ddb565b33436000612bac85612144565b612bb7576064612bcd565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600360205260409020909150600101612c578782614f3e565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612cca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cee9190614edb565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d629190614ffd565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612dfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e2291906148c9565b612e6e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610ddb565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612efe91906148c9565b612f4a5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610ddb565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612f8e4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613020573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130449190614edb565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130b89190614ffd565b87868632876040516130d0979695949392919061501a565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613132573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061315691906148c9565b6131a25760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610ddb565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561320e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061323291906148c9565b61327e5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610ddb565b60008581526003602052604090206001016132998582614f3e565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166132de4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133949190614edb565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156133e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134089190614ffd565b8786863287604051613420979695949392919061501a565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561349a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134be9190614edb565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561350e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135329190614ffd565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c001612d9b565b6000818152600183016020526040812054801561366457600061359f60018361506a565b85549091506000906135b39060019061506a565b90508082146136185760008660000182815481106135d3576135d36149ba565b90600052602060002001549050808760000184815481106135f6576135f66149ba565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806136295761362961508b565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b19565b6000915050610b19565b5092915050565b600080829050601f815111156136a0578260405163305a27a960e01b8152600401610ddb9190613f24565b80516136ab826150a1565b179392505050565b600060ff8216601f811115610b1957604051632cd44ac360e21b815260040160405180910390fd5b600081815260018301602052604081205461372257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b19565b506000610b19565b6000826000018281548110613741576137416149ba565b9060005260206000200154905092915050565b60006020828403121561376657600080fd5b81356001600160e01b0319811681146121e157600080fd5b6001600160401b038116811461379357600080fd5b50565b6000602082840312156137a857600080fd5b81356121e18161377e565b6000602082840312156137c557600080fd5b5035919050565b6001600160601b038116811461379357600080fd5b80356137ec816137cc565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613829576138296137f1565b60405290565b604051608081016001600160401b0381118282101715613829576138296137f1565b60405161010081016001600160401b0381118282101715613829576138296137f1565b60405161014081016001600160401b0381118282101715613829576138296137f1565b60405161020081016001600160401b0381118282101715613829576138296137f1565b6001600160a01b038116811461379357600080fd5b80356137ec816138ba565b6000604082840312156138ec57600080fd5b6138f4613807565b9050813581526020820135602082015292915050565b801515811461379357600080fd5b80356137ec8161390a565b600060c0828403121561393557600080fd5b60405160a081018181106001600160401b0382111715613957576139576137f1565b6040529050808235613968816137cc565b81526020830135613978816138ba565b602082015261398a84604085016138da565b6040820152608083013561399d8161390a565b606082015260a08301356139b0816138ba565b6080919091015292915050565b60008060e083850312156139d057600080fd5b82356139db816137cc565b91506139ea8460208501613923565b90509250929050565b60ff8116811461379357600080fd5b600060208284031215613a1457600080fd5b81356121e1816139f3565b60008060408385031215613a3257600080fd5b8235613a3d816137cc565b91506020830135613a4d816139f3565b809150509250929050565b60005b83811015613a73578181015183820152602001613a5b565b50506000910152565b60008151808452613a94816020860160208601613a58565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151613aec60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152613b32610120840182613a7c565b90508281036020840152613b468185613a7c565b95945050505050565b60008060408385031215613b6257600080fd5b8235613b6d816138ba565b91506020830135613a4d8161390a565b63ffffffff8116811461379357600080fd5b600082601f830112613ba057600080fd5b81356001600160401b0380821115613bba57613bba6137f1565b604051601f8301601f19908116603f01168101908282118183101715613be257613be26137f1565b81604052838152866020858801011115613bfb57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff811681146137ec57600080fd5b600060808284031215613c4257600080fd5b613c4a61382f565b90508135613c5781613b7d565b81526020828101359082015260408201356001600160401b03811115613c7c57600080fd5b613c8884828501613b8f565b604083015250613c9a60608301613c1b565b606082015292915050565b60008060008060808587031215613cbb57600080fd5b8435613cc6816137cc565b93506020850135613cd681613b7d565b925060408501356001600160401b03811115613cf157600080fd5b613cfd87828801613c30565b9250506060850135613d0e816139f3565b939692955090935050565b6000808284036060811215613d2d57600080fd5b8335613d38816138ba565b92506040601f1982011215613d4c57600080fd5b50613d55613807565b602084013581526040840135613d6a8161390a565b6020820152919491935090915050565b60008060408385031215613d8d57600080fd5b8235613d988161377e565b915060208301356001600160401b03811115613db357600080fd5b613dbf85828601613b8f565b9150509250929050565b6001600160c01b03198116811461379357600080fd5b80356137ec81613dc9565b600060408284031215613dfc57600080fd5b613e04613807565b90508135613e11816137cc565b815260208201356001600160401b03811115613e2c57600080fd5b613e3884828501613b8f565b60208301525092915050565b60008060408385031215613e5757600080fd5b8235613e6281613dc9565b915060208301356001600160401b03811115613e7d57600080fd5b613dbf85828601613dea565b600060208284031215613e9b57600080fd5b81356121e1816138ba565b600080600060608486031215613ebb57600080fd5b8335613ec6816137cc565b92506020840135613ed681613b7d565b915060408401356001600160401b03811115613ef157600080fd5b613efd86828701613c30565b9150509250925092565b600060208284031215613f1957600080fd5b81356121e1816137cc565b6020815260006121e16020830184613a7c565b60006101608284031215613f4a57600080fd5b613f52613851565b9050613f5d826137e1565b8152613f6b602083016138cf565b602082015260408201356040820152613f8783606084016138da565b6060820152613f998360a084016138da565b6080820152613fab8360e084016138da565b60a0820152613fbd6101208301613918565b60c0820152613fcf61014083016138cf565b60e082015292915050565b6000806101808385031215613fee57600080fd5b8235613ff9816137cc565b91506139ea8460208501613f37565b6000610200828403121561401b57600080fd5b614023613874565b905061402e826138cf565b815261403c602083016138cf565b602082015261404d604083016137e1565b604082015261405e606083016137e1565b606082015261407083608084016138da565b60808201526140828360c084016138da565b60a0820152610100614096848285016138da565b60c08301526140a98461014085016138da565b60e08301526140bc8461018085016138da565b908201526140ce836101c084016138da565b61012082015292915050565b600080600061024084860312156140f057600080fd5b83356140fb816137cc565b925061410a8560208601614008565b915061022084013561411b816139f3565b809150509250925092565b600080610220838503121561413a57600080fd5b8235614145816137cc565b91506139ea8460208501614008565b60006080828403121561416657600080fd5b61416e61382f565b9050813581526020820135602082015260408201356001600160401b03811115613c7c57600080fd5b600080600080608085870312156141ad57600080fd5b84356141b8816137cc565b935060208501356141c881613b7d565b925060408501356001600160401b038111156141e357600080fd5b613cfd87828801614154565b6000806040838503121561420257600080fd5b8235613a3d81613dc9565b8151815260208083015115159082015260408101610b19565b6000806040838503121561423957600080fd5b8235613a3d8161377e565b6000610120828403121561425757600080fd5b61425f613851565b905061426a826137e1565b815261427983602084016138da565b602082015260608201356001600160401b0381111561429757600080fd5b6142a384828501613b8f565b6040830152506080820135606082015260a0820135608082015260c082013560a08201526142d360e08301613c1b565b60c0820152613fcf6101008301613c1b565b600080604083850312156142f857600080fd5b8235614303816137cc565b915060208301356001600160401b0381111561431e57600080fd5b613dbf85828601614244565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b6020815261438660208201835161432a565b6000602083015160c0808401526143a060e0840182613a7c565b949350505050565b6000806000606084860312156143bd57600080fd5b83356143c88161377e565b925060208401356001600160401b038111156143e357600080fd5b6143ef86828701613b8f565b925050604084013561411b816139f3565b60008060006060848603121561441557600080fd5b8335614420816137cc565b925060208401356001600160401b0381111561443b57600080fd5b6143ef86828701614244565b803561ffff811681146137ec57600080fd5b6000610200828403121561446c57600080fd5b614474613897565b905061447f826137e1565b815261448d602083016137e1565b602082015261449e60408301613ddf565b60408201526144af60608301613ddf565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b03808211156144f857600080fd5b61450486838701613b8f565b8385015261012092508285013591508082111561452057600080fd5b5061452d85828601613b8f565b828401525050610140614541818401614447565b90820152610160614553838201614447565b9082015261018082810135908201526101a0614570818401613c1b565b908201526101c0614582838201613c1b565b908201526101e0614594838201613c1b565b9082015292915050565b6000806000606084860312156145b357600080fd5b83356145be816137cc565b925060208401356001600160401b038111156145d957600080fd5b6143ef86828701614459565b6000806000606084860312156145fa57600080fd5b8335614605816137cc565b9250602084013561461581613b7d565b915060408401356001600160401b0381111561463057600080fd5b613efd86828701614154565b60a08101610b19828461432a565b60008060006060848603121561465f57600080fd5b833561466a81613dc9565b925060208401356001600160401b0381111561468557600080fd5b6143ef86828701613dea565b6000806000606084860312156146a657600080fd5b83356146b1816139f3565b925060208401356146c1816139f3565b9150604084013561411b816139f3565b600080604083850312156146e457600080fd5b82356146ef8161377e565b91506020830135613a4d816138ba565b6000806040838503121561471257600080fd5b823561471d816137cc565b915060208301356001600160401b0381111561473857600080fd5b613dbf85828601614459565b60008060006101a0848603121561475a57600080fd5b8335614765816137cc565b92506147748560208601613f37565b915061018084013561411b816139f3565b6000806000610100848603121561479b57600080fd5b83356147a6816137cc565b92506147b58560208601613923565b915060e084013561411b816139f3565b600080604083850312156147d857600080fd5b82356147e38161377e565b946020939093013593505050565b60ff198116811461379357600080fd5b6000806040838503121561481457600080fd5b823561481f816139f3565b91506020830135613a4d816147f1565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c908216806148a357607f821691505b6020821081036148c357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156148db57600080fd5b81516121e18161390a565b6000602082840312156148f857600080fd5b81516121e1816137cc565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261493960a0840182613a7c565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561496857600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526143a06060840182613a7c565b6000602082840312156149af57600080fd5b81516121e18161377e565b634e487b7160e01b600052603260045260246000fd5b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191614a1c9084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b03811661014084015261366e565b81516001600160a01b0316815261020081016020830151614a9f60208401826001600160a01b03169052565b506040830151614aba60408401826001600160601b03169052565b506060830151614ad560608401826001600160601b03169052565b506080830151614af2608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100614b288185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e0850152905061366e565b600060208284031215614b8757600080fd5b81516121e1816138ba565b602081528151602082015260208201516040820152600060408301516080606084015261493960a0840182613a7c565b600060408284031215614bd457600080fd5b614bdc613807565b825181526020830151614bee8161390a565b60208201529392505050565b602081526001600160601b03825116602082015260006020830151614c2c604084018280518252602090810151910152565b506040830151610120806080850152614c49610140850183613a7c565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151614c8261010086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b60208152614cb96020820183516001600160601b03169052565b60006020830151614cd560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152614d4d610220860184613a7c565b9250808601519050610140601f198685030181870152614d6d8483613a7c565b935080870151915050610160614d888187018361ffff169052565b8601519050610180614d9f8682018361ffff169052565b8601516101a08681019190915286015190506101c0614dc68187018364ffffffffff169052565b86015190506101e0614de08682018364ffffffffff169052565b86015164ffffffffff8116838701529050614c95565b60008085851115614e0657600080fd5b83861115614e1357600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015614e485780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251614ea2818460208701613a58565b9190910192915050565b60008060408385031215614ebf57600080fd5b8251614eca8161390a565b6020840151909250613a4d81613b7d565b600060208284031215614eed57600080fd5b81516121e1816139f3565b601f8211156111b057600081815260208120601f850160051c81016020861015614f1f5750805b601f850160051c820191505b81811015610fd957828155600101614f2b565b81516001600160401b03811115614f5757614f576137f1565b614f6b81614f65845461488f565b84614ef8565b602080601f831160018114614fa05760008415614f885750858301515b600019600386901b1c1916600185901b178555610fd9565b600085815260208120601f198616915b82811015614fcf57888601518255948401946001909101908401614fb0565b5085821015614fed5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561500f57600080fd5b81516121e1816147f1565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b1957634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b805160208083015191908110156148c35760001960209190910360031b1b1691905056fea2646970667358221220b64a138085edbaddcd2700f1850b7d0d6a9c208f12e1b37f0d19359d9802353064736f6c63430008140033",
3090
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061046a5760003560e01c80637cef48421161024c578063b428b0b011610146578063d2f21a29116100c3578063e9e96c7011610087578063e9e96c7014610a81578063f48016ce14610abf578063f7bc431c14610ad2578063f8b648ac14610649578063fe1f18d614610ae557600080fd5b8063d2f21a2914610a48578063d5b221bd146105c3578063d78a83b114610a5b578063dee3262314610a6e578063e8951ee61461059557600080fd5b8063bd5947e31161010a578063bd5947e3146109fe578063bf1db3f914610a11578063bf7e214f14610a24578063c2f1a2d2146105c3578063cd50b97e14610a3557600080fd5b8063b428b0b0146109b2578063b68ec14614610649578063b7d2b162146109c5578063bc8d4000146109d8578063bd4fe04e146109eb57600080fd5b80638fb36037116101d45780639df0280b116101985780639df0280b14610595578063a13df2ab146108c8578063a5961b4c146108db578063a76ee0181461098c578063a89896751461099f57600080fd5b80638fb360371461085b578063950ad70b1461087c578063954fab2c1461088f5780639a960d52146108a25780639d7421f4146108b557600080fd5b80638793a9ac1161021b5780638793a9ac1461080d578063893d20e8146108205780638d4eae9d146108285780638dc77f42146105955780638eaa6ac01461083b57600080fd5b80637cef4842146107c757806382f65adb14610649578063835933c9146107da57806386f0c47b146107ed57600080fd5b8063384c9a57116103685780635d4345cc116102e557806373539127116102a9578063735391271461078657806375b238fc1461079957806375c82776146107a15780637a415802146105c35780637a9e5e4b146107b457600080fd5b80635d4345cc146105955780635dfa73db14610737578063644c45e01461074057806364c55d9c1461076b5780636fa298531461077e57600080fd5b806340529b0f1161032c57806340529b0f14610595578063468a1867146106e057806354f6127f146106f357806357f96805146107135780635ab1bd531461072657600080fd5b8063384c9a571461067957806338a699a41461068c578063392f5f641461069f5780633ca7c02a146106a75780633fd85561146106cd57600080fd5b8063138461e0116103f657806322f46b84116103ba57806322f46b84146106105780632f61088a1461062357806331d311a71461063657806333bb0a971461064957806337f135d71461065c57600080fd5b8063138461e0146105a8578063167bd395146105b05780631c45fe7a146105c35780631e23a2f5146105d65780631eff4b22146105e957600080fd5b80630b24cf5f1161043d5780630b24cf5f146105315780630d358181146105465780630f526f7d1461056c5780630fec111c1461057f57806310203d2c1461059557600080fd5b806301ffc9a71461046f57806302cd3071146104b157806303014974146104d657806309648a9d146104f7575b600080fd5b61049c61047d366004613754565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104a8565b6104e96104e4366004613796565b610af8565b6040519081526020016104a8565b61051f6105053660046137b3565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104a8565b61054461053f3660046139bd565b610b1f565b005b61051f610554366004613a02565b60ff9081166000908152600160205260409020541690565b61054461057a366004613a1f565b610b63565b610587610b80565b6040516104a8929190613aa8565b6105446105a3366004613a1f565b610d02565b610544610d17565b6105446105be366004613b4f565b610f39565b6105446105d1366004613ca5565b610fe1565b6105446105e4366004613d19565b611022565b6104e97f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61054461061e366004613d7a565b611048565b610544610631366004613e44565b61105e565b6104e9610644366004613e89565b6110f9565b610544610657366004613ea6565b61118a565b610664600081565b60405163ffffffff90911681526020016104a8565b61049c610687366004613796565b6111b5565b61049c61069a3660046137b3565b61134b565b6009546104e9565b6106b56001600160401b0381565b6040516001600160401b0390911681526020016104a8565b6106b56106db3660046137b3565b6113d6565b6104e96106ee366004613f07565b61141b565b6107066107013660046137b3565b611478565b6040516104a89190613f24565b610544610721366004613fda565b61151d565b6005546001600160a01b03166104be565b6106b561271081565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104a8565b6105446107793660046140da565b611545565b6104be61156d565b610544610794366004614126565b61160f565b6106b5600081565b6105446107af366004614197565b611637565b6105446107c2366004613e89565b61165d565b6105446107d53660046141ef565b6116d3565b6104e96107e8366004613796565b61175d565b6108006107fb366004613796565b6117a0565b6040516104a8919061420d565b61054461081b366004614226565b611845565b6104be61185a565b6105446108363660046142e5565b611937565b61084e6108493660046137b3565b61195d565b6040516104a89190614374565b610863611a9e565b6040516001600160e01b031990911681526020016104a8565b61054461088a3660046143a8565b611ac2565b61054461089d366004614400565b611b24565b6105446108b036600461459e565b611b4a565b6105446108c33660046145e5565b611b70565b6104e96108d6366004613f07565b611b96565b61097f6108e93660046137b3565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104a8919061463c565b61054461099a36600461464a565b611bc3565b6105446109ad366004614691565b611c5e565b61049c6109c03660046146d1565b611d4f565b61049c6109d33660046146d1565b611f43565b6105446109e63660046146ff565b6120ce565b6105446109f9366004614744565b6120f4565b610544610a0c366004614785565b61211c565b61049c610a1f366004613a02565b612144565b6000546001600160a01b03166104be565b610544610a43366004613d7a565b612191565b610544610a56366004613a1f565b6121a8565b6104be610a693660046147c5565b6121bf565b610544610a7c366004613a1f565b6121e8565b61049c610a8f366004614691565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b6104e9610acd366004614801565b6121ff565b610544610ae0366004613e89565b612283565b610544610af3366004613a1f565b6122ff565b6001600160401b0381166000908152600860205260408120610b1990612314565b92915050565b610b2c335b60003661231e565b610b5f610b3a836078612417565b82604051602001610b4b919061482f565b604051602081830303815290604052612463565b5050565b610b6c33610b24565b610b5f610b7a83608c612417565b8261246d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c036005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610c4b61185a565b6001600160a01b03168152602001826001018054610c689061488f565b80601f0160208091040260200160405190810160405280929190818152602001828054610c949061488f565b8015610ce15780601f10610cb657610100808354040283529160200191610ce1565b820191906000526020600020905b815481529060010190602001808311610cc457829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d0b33610b24565b610b5f610b7a8361141b565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610d79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9d91906148c9565b15610de4576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e0d5760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610e56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e7a91906148c9565b610ea2576040516372657a5160e01b81526001600160a01b0382166004820152602401610ddb565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610eec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1091906148e6565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f4233610b24565b610f4e61069a836110f9565b610f76576040516325b6f39560e21b81526001600160a01b0383166004820152602401610ddb565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b158015610fc557600080fd5b505af1158015610fd9573d6000803e3d6000fd5b505050505050565b610fea33610b24565b61101c610ff68561141b565b836040516020016110079190614903565b60405160208183030381529060405283612477565b50505050565b61102b33610b24565b610b5f611037836110f9565b82604051602001610b4b919061420d565b61105133610b24565b610b5f8282600180612482565b61106733610b24565b6040516355ee627560e01b81526001600160c01b031983166004820152610b5f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156110c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110e89190614956565b82604051602001610b4b919061496f565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611166573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b199190614956565b61119333610b24565b6111b061119f8461141b565b82604051602001610b4b9190614903565b505050565b600033816111c28461175d565b90506111cd8161134b565b6111f457604051627a416f60e01b81526001600160401b0385166004820152602401610ddb565b6001600160401b0384166000908152600860205260409020611216908361252b565b1561134157600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611288573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ac919061499d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b1580156112fc57600080fd5b505af1158015611310573d6000803e3d6000fd5b5050506001600160401b038516600090815260086020526040902061133691508361254d565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b1991906148c9565b6000600982815481106113eb576113eb6149ba565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401611149565b60008181526003602052604090206001018054606091906114989061488f565b80601f01602080910402602001604051908101604052809291908181526020018280546114c49061488f565b80156115115780601f106114e657610100808354040283529160200191611511565b820191906000526020600020905b8154815290600101906020018083116114f457829003601f168201915b50505050509050919050565b61152633610b24565b610b5f61153483608c612417565b82604051602001610b4b91906149d0565b61154e33610b24565b6111b061155c84606e612417565b836040516020016110079190614a73565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa1580156115e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061160a9190614b75565b905090565b61161833610b24565b610b5f61162683606e612417565b82604051602001610b4b9190614a73565b61164033610b24565b61101c61164c8561141b565b836040516020016110079190614b92565b60005433906001600160a01b031681146116945760405162d1953b60e31b81526001600160a01b0382166004820152602401610ddb565b816001600160a01b03163b6000036116ca576040516361798f2f60e11b81526001600160a01b0383166004820152602401610ddb565b610b5f82612562565b6116dc33610b24565b6040516355ee627560e01b81526001600160c01b031983166004820152610b5f9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611739573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7a9190614956565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401611149565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b03831660048201526118329073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801561180e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107019190614956565b806020019051810190610b199190614bc2565b61184e33610b24565b610b5f610b7a8361175d565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156118bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118e391906148c9565b1561192757600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024016115c9565b506006546001600160a01b031690565b61194033610b24565b610b5f61194c83611b96565b82604051602001610b4b9190614bfa565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611a159061488f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a419061488f565b8015611a8e5780601f10611a6357610100808354040283529160200191611a8e565b820191906000526020600020905b815481529060010190602001808311611a7157829003601f168201915b5050505050815250509050919050565b60008054600160a01b900460ff16611ab65750600090565b50638fb3603760e01b90565b611acb33610b24565b6000611ad9848460006125b6565b5090506000611ae9858584612821565b9050611b1d611af78661175d565b82604051602001611b08919061420d565b60405160208183030381529060405285612477565b5050505050565b611b2d33610b24565b6111b0611b3984611b96565b836040516020016110079190614bfa565b611b5333610b24565b6111b0611b5f8461141b565b836040516020016110079190614c9f565b611b7933610b24565b6111b0611b858461141b565b82604051602001610b4b9190614b92565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611444565b611bcc33610b24565b6040516355ee627560e01b81526001600160c01b0319841660048201526111b09073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611c29573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4d9190614956565b83604051602001611007919061496f565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611cc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce791906148c9565b15611cf157505050565b60ff8084166000908152600260209081526040808320868516845282528083208585168452909152902054166111b057604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610ddb565b6000611d5a33610b24565b6000611d658461175d565b9050611d708161134b565b611d9857604051636777365b60e01b81526001600160401b0385166004820152602401610ddb565b600081815260036020526040902054611dc790610100900460ff16611dbb606490565b60ff9081169116141590565b15611df05760405163fe229d5d60e01b81526001600160401b0385166004820152602401610ddb565b6001600160401b0384166000908152600860205260409020611e12908461252b565b61134157600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611e83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea7919061499d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b158015611efe57600080fd5b505af1158015611f12573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020611f3891508461285d565b506001915050610b19565b6000611f4e33610b24565b6000611f598461175d565b9050611f648161134b565b611f8c57604051634cee277360e11b81526001600160401b0385166004820152602401610ddb565b6001600160401b0384166000908152600860205260409020611fae908461252b565b1561134157600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612020573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612044919061499d565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b15801561209457600080fd5b505af11580156120a8573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020611f3891508461254d565b6120d733610b24565b610b5f6120e38361141b565b82604051602001610b4b9190614c9f565b6120fd33610b24565b6111b061210b84608c612417565b8360405160200161100791906149d0565b61212533610b24565b6111b0612133846078612417565b83604051602001611007919061482f565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611395565b61219a33610b24565b610b5f828260006001612482565b6121b133610b24565b610b5f610b7a836078612417565b6001600160401b03821660009081526008602052604081206121e19083612872565b9392505050565b6121f133610b24565b610b5f610b7a83606e612417565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af415801561225f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121e19190614956565b61228c33610b24565b600c546001600160a01b0316156122dd5760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610ddb565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61230833610b24565b610b5f610b7a83611b96565b6000610b19825490565b6000806123546123366000546001600160a01b031690565b863061234660046000898b614df6565b61234f91614e20565b61287e565b9150915081611b1d5763ffffffff8116156123f4576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee906123af90889088908890600401614e50565b600060405180830381600087803b1580156123c957600080fd5b505af11580156123dd573d6000803e3d6000fd5b50506000805460ff60a01b1916905550611b1d9050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610ddb565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612242565b610b5f828261298a565b610b5f8282612dac565b6111b08383836130e0565b8015612496576124938484846125b6565b50505b60006124a3858585612821565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611b1d6110378661175d565b6001600160a01b038116600090815260018301602052604081205415156121e1565b60006121e1836001600160a01b03841661357b565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60008060006125c48661175d565b90506125cf8161134b565b925082156125fe576125e081611478565b8060200190518101906125f39190614bc2565b602001519150612602565b8391505b856001600160401b038116158061262157506001600160401b03818116145b1561264a5760405163981bf42160e01b81526001600160401b0388166004820152602401610ddb565b82801561266157506127106001600160401b038216105b1561268a57604051633119b9df60e21b81526001600160401b0388166004820152602401610ddb565b8280156126a257506127106001600160401b03821610155b156126cb5760405163094fb39160e01b81526001600160401b0388166004820152602401610ddb565b60006126d687613675565b90506126e1816136b3565b60000361270c576040516321ab17ab60e01b81526001600160401b0389166004820152602401610ddb565b60008181526007602090815260409182902054825163bc1b392d60e01b815292516127af936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612779573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061279d919061499d565b6001600160401b039081169116141590565b80156127d557506000818152600760205260409020546001600160401b03898116911614155b156128165760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610ddb565b505050935093915050565b6040805180820190915260008082526020820152604051806040016040528061284985613675565b815260200183151581525090509392505050565b60006121e1836001600160a01b0384166136db565b60006121e1838361372a565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516128ed9190614e90565b600060405180830381855afa9150503d8060008114612928576040519150601f19603f3d011682016040523d82523d6000602084013e61292d565b606091505b5091509150811561297f57604081511061295f57808060200190518101906129559190614eac565b909450925061297f565b602081511061297f578080602001905181019061297c91906148c9565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156129dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a019190614edb565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612a56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a7a91906148c9565b612ac65760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610ddb565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612b2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b5391906148c9565b612b9f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610ddb565b33436000612bac85612144565b612bb7576064612bcd565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600360205260409020909150600101612c578782614f3e565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612cca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cee9190614edb565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d629190614ffd565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612dfe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e2291906148c9565b612e6e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610ddb565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612eda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612efe91906148c9565b612f4a5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610ddb565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612f8e4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613020573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130449190614edb565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613094573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130b89190614ffd565b87868632876040516130d0979695949392919061501a565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613132573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061315691906148c9565b6131a25760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610ddb565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561320e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061323291906148c9565b61327e5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610ddb565b60008581526003602052604090206001016132998582614f3e565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166132de4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613370573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133949190614edb565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156133e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134089190614ffd565b8786863287604051613420979695949392919061501a565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561349a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134be9190614edb565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561350e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135329190614ffd565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c001612d9b565b6000818152600183016020526040812054801561366457600061359f60018361506a565b85549091506000906135b39060019061506a565b90508082146136185760008660000182815481106135d3576135d36149ba565b90600052602060002001549050808760000184815481106135f6576135f66149ba565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806136295761362961508b565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b19565b6000915050610b19565b5092915050565b600080829050601f815111156136a0578260405163305a27a960e01b8152600401610ddb9190613f24565b80516136ab826150a1565b179392505050565b600060ff8216601f811115610b1957604051632cd44ac360e21b815260040160405180910390fd5b600081815260018301602052604081205461372257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b19565b506000610b19565b6000826000018281548110613741576137416149ba565b9060005260206000200154905092915050565b60006020828403121561376657600080fd5b81356001600160e01b0319811681146121e157600080fd5b6001600160401b038116811461379357600080fd5b50565b6000602082840312156137a857600080fd5b81356121e18161377e565b6000602082840312156137c557600080fd5b5035919050565b6001600160601b038116811461379357600080fd5b80356137ec816137cc565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613829576138296137f1565b60405290565b604051608081016001600160401b0381118282101715613829576138296137f1565b60405161010081016001600160401b0381118282101715613829576138296137f1565b60405161014081016001600160401b0381118282101715613829576138296137f1565b60405161020081016001600160401b0381118282101715613829576138296137f1565b6001600160a01b038116811461379357600080fd5b80356137ec816138ba565b6000604082840312156138ec57600080fd5b6138f4613807565b9050813581526020820135602082015292915050565b801515811461379357600080fd5b80356137ec8161390a565b600060c0828403121561393557600080fd5b60405160a081018181106001600160401b0382111715613957576139576137f1565b6040529050808235613968816137cc565b81526020830135613978816138ba565b602082015261398a84604085016138da565b6040820152608083013561399d8161390a565b606082015260a08301356139b0816138ba565b6080919091015292915050565b60008060e083850312156139d057600080fd5b82356139db816137cc565b91506139ea8460208501613923565b90509250929050565b60ff8116811461379357600080fd5b600060208284031215613a1457600080fd5b81356121e1816139f3565b60008060408385031215613a3257600080fd5b8235613a3d816137cc565b91506020830135613a4d816139f3565b809150509250929050565b60005b83811015613a73578181015183820152602001613a5b565b50506000910152565b60008151808452613a94816020860160208601613a58565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff60408501511660808301526060840151613aec60a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e0610100840152613b32610120840182613a7c565b90508281036020840152613b468185613a7c565b95945050505050565b60008060408385031215613b6257600080fd5b8235613b6d816138ba565b91506020830135613a4d8161390a565b63ffffffff8116811461379357600080fd5b600082601f830112613ba057600080fd5b81356001600160401b0380821115613bba57613bba6137f1565b604051601f8301601f19908116603f01168101908282118183101715613be257613be26137f1565b81604052838152866020858801011115613bfb57600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff811681146137ec57600080fd5b600060808284031215613c4257600080fd5b613c4a61382f565b90508135613c5781613b7d565b81526020828101359082015260408201356001600160401b03811115613c7c57600080fd5b613c8884828501613b8f565b604083015250613c9a60608301613c1b565b606082015292915050565b60008060008060808587031215613cbb57600080fd5b8435613cc6816137cc565b93506020850135613cd681613b7d565b925060408501356001600160401b03811115613cf157600080fd5b613cfd87828801613c30565b9250506060850135613d0e816139f3565b939692955090935050565b6000808284036060811215613d2d57600080fd5b8335613d38816138ba565b92506040601f1982011215613d4c57600080fd5b50613d55613807565b602084013581526040840135613d6a8161390a565b6020820152919491935090915050565b60008060408385031215613d8d57600080fd5b8235613d988161377e565b915060208301356001600160401b03811115613db357600080fd5b613dbf85828601613b8f565b9150509250929050565b6001600160c01b03198116811461379357600080fd5b80356137ec81613dc9565b600060408284031215613dfc57600080fd5b613e04613807565b90508135613e11816137cc565b815260208201356001600160401b03811115613e2c57600080fd5b613e3884828501613b8f565b60208301525092915050565b60008060408385031215613e5757600080fd5b8235613e6281613dc9565b915060208301356001600160401b03811115613e7d57600080fd5b613dbf85828601613dea565b600060208284031215613e9b57600080fd5b81356121e1816138ba565b600080600060608486031215613ebb57600080fd5b8335613ec6816137cc565b92506020840135613ed681613b7d565b915060408401356001600160401b03811115613ef157600080fd5b613efd86828701613c30565b9150509250925092565b600060208284031215613f1957600080fd5b81356121e1816137cc565b6020815260006121e16020830184613a7c565b60006101608284031215613f4a57600080fd5b613f52613851565b9050613f5d826137e1565b8152613f6b602083016138cf565b602082015260408201356040820152613f8783606084016138da565b6060820152613f998360a084016138da565b6080820152613fab8360e084016138da565b60a0820152613fbd6101208301613918565b60c0820152613fcf61014083016138cf565b60e082015292915050565b6000806101808385031215613fee57600080fd5b8235613ff9816137cc565b91506139ea8460208501613f37565b6000610200828403121561401b57600080fd5b614023613874565b905061402e826138cf565b815261403c602083016138cf565b602082015261404d604083016137e1565b604082015261405e606083016137e1565b606082015261407083608084016138da565b60808201526140828360c084016138da565b60a0820152610100614096848285016138da565b60c08301526140a98461014085016138da565b60e08301526140bc8461018085016138da565b908201526140ce836101c084016138da565b61012082015292915050565b600080600061024084860312156140f057600080fd5b83356140fb816137cc565b925061410a8560208601614008565b915061022084013561411b816139f3565b809150509250925092565b600080610220838503121561413a57600080fd5b8235614145816137cc565b91506139ea8460208501614008565b60006080828403121561416657600080fd5b61416e61382f565b9050813581526020820135602082015260408201356001600160401b03811115613c7c57600080fd5b600080600080608085870312156141ad57600080fd5b84356141b8816137cc565b935060208501356141c881613b7d565b925060408501356001600160401b038111156141e357600080fd5b613cfd87828801614154565b6000806040838503121561420257600080fd5b8235613a3d81613dc9565b8151815260208083015115159082015260408101610b19565b6000806040838503121561423957600080fd5b8235613a3d8161377e565b6000610120828403121561425757600080fd5b61425f613851565b905061426a826137e1565b815261427983602084016138da565b602082015260608201356001600160401b0381111561429757600080fd5b6142a384828501613b8f565b6040830152506080820135606082015260a0820135608082015260c082013560a08201526142d360e08301613c1b565b60c0820152613fcf6101008301613c1b565b600080604083850312156142f857600080fd5b8235614303816137cc565b915060208301356001600160401b0381111561431e57600080fd5b613dbf85828601614244565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b6020815261438660208201835161432a565b6000602083015160c0808401526143a060e0840182613a7c565b949350505050565b6000806000606084860312156143bd57600080fd5b83356143c88161377e565b925060208401356001600160401b038111156143e357600080fd5b6143ef86828701613b8f565b925050604084013561411b816139f3565b60008060006060848603121561441557600080fd5b8335614420816137cc565b925060208401356001600160401b0381111561443b57600080fd5b6143ef86828701614244565b803561ffff811681146137ec57600080fd5b6000610200828403121561446c57600080fd5b614474613897565b905061447f826137e1565b815261448d602083016137e1565b602082015261449e60408301613ddf565b60408201526144af60608301613ddf565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b03808211156144f857600080fd5b61450486838701613b8f565b8385015261012092508285013591508082111561452057600080fd5b5061452d85828601613b8f565b828401525050610140614541818401614447565b90820152610160614553838201614447565b9082015261018082810135908201526101a0614570818401613c1b565b908201526101c0614582838201613c1b565b908201526101e0614594838201613c1b565b9082015292915050565b6000806000606084860312156145b357600080fd5b83356145be816137cc565b925060208401356001600160401b038111156145d957600080fd5b6143ef86828701614459565b6000806000606084860312156145fa57600080fd5b8335614605816137cc565b9250602084013561461581613b7d565b915060408401356001600160401b0381111561463057600080fd5b613efd86828701614154565b60a08101610b19828461432a565b60008060006060848603121561465f57600080fd5b833561466a81613dc9565b925060208401356001600160401b0381111561468557600080fd5b6143ef86828701613dea565b6000806000606084860312156146a657600080fd5b83356146b1816139f3565b925060208401356146c1816139f3565b9150604084013561411b816139f3565b600080604083850312156146e457600080fd5b82356146ef8161377e565b91506020830135613a4d816138ba565b6000806040838503121561471257600080fd5b823561471d816137cc565b915060208301356001600160401b0381111561473857600080fd5b613dbf85828601614459565b60008060006101a0848603121561475a57600080fd5b8335614765816137cc565b92506147748560208601613f37565b915061018084013561411b816139f3565b6000806000610100848603121561479b57600080fd5b83356147a6816137cc565b92506147b58560208601613923565b915060e084013561411b816139f3565b600080604083850312156147d857600080fd5b82356147e38161377e565b946020939093013593505050565b60ff198116811461379357600080fd5b6000806040838503121561481457600080fd5b823561481f816139f3565b91506020830135613a4d816147f1565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c908216806148a357607f821691505b6020821081036148c357634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156148db57600080fd5b81516121e18161390a565b6000602082840312156148f857600080fd5b81516121e1816137cc565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261493960a0840182613a7c565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561496857600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526143a06060840182613a7c565b6000602082840312156149af57600080fd5b81516121e18161377e565b634e487b7160e01b600052603260045260246000fd5b81516001600160601b031681526020808301516001600160a01b03169082015260408083015190820152606080830151610160830191614a1c9084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b03811661014084015261366e565b81516001600160a01b0316815261020081016020830151614a9f60208401826001600160a01b03169052565b506040830151614aba60408401826001600160601b03169052565b506060830151614ad560608401826001600160601b03169052565b506080830151614af2608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c0830151610100614b288185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e0850152905061366e565b600060208284031215614b8757600080fd5b81516121e1816138ba565b602081528151602082015260208201516040820152600060408301516080606084015261493960a0840182613a7c565b600060408284031215614bd457600080fd5b614bdc613807565b825181526020830151614bee8161390a565b60208201529392505050565b602081526001600160601b03825116602082015260006020830151614c2c604084018280518252602090810151910152565b506040830151610120806080850152614c49610140850183613a7c565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151614c8261010086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b60208152614cb96020820183516001600160601b03169052565b60006020830151614cd560408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506102006101208181860152614d4d610220860184613a7c565b9250808601519050610140601f198685030181870152614d6d8483613a7c565b935080870151915050610160614d888187018361ffff169052565b8601519050610180614d9f8682018361ffff169052565b8601516101a08681019190915286015190506101c0614dc68187018364ffffffffff169052565b86015190506101e0614de08682018364ffffffffff169052565b86015164ffffffffff8116838701529050614c95565b60008085851115614e0657600080fd5b83861115614e1357600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015614e485780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251614ea2818460208701613a58565b9190910192915050565b60008060408385031215614ebf57600080fd5b8251614eca8161390a565b6020840151909250613a4d81613b7d565b600060208284031215614eed57600080fd5b81516121e1816139f3565b601f8211156111b057600081815260208120601f850160051c81016020861015614f1f5750805b601f850160051c820191505b81811015610fd957828155600101614f2b565b81516001600160401b03811115614f5757614f576137f1565b614f6b81614f65845461488f565b84614ef8565b602080601f831160018114614fa05760008415614f885750858301515b600019600386901b1c1916600185901b178555610fd9565b600085815260208120601f198616915b82811015614fcf57888601518255948401946001909101908401614fb0565b5085821015614fed5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020828403121561500f57600080fd5b81516121e1816147f1565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b1957634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b805160208083015191908110156148c35760001960209190910360031b1b1691905056fea2646970667358221220b64a138085edbaddcd2700f1850b7d0d6a9c208f12e1b37f0d19359d9802353064736f6c63430008140033",
2971
+ "bytecode": "0x608060405234801561001057600080fd5b50615d7e80620000216000396000f3fe608060405234801561001057600080fd5b50600436106104d85760003560e01c80637b8c388f11610283578063c0c53b8b1161015c578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610bcb578063fa145b6d14610bde578063fb4a8e3414610bf1578063fbc1a3a014610c04578063fe1f18d614610c17578063fed3d63f14610c2a57600080fd5b8063e9e96c7014610b54578063f21de1e81461080a578063f48016ce14610b92578063f7b442d114610ba5578063f7bc431c14610bb857600080fd5b8063d2f21a2911610120578063d2f21a2914610aea578063d5c9d77d14610afd578063dee3262314610b10578063e1033e7d14610b23578063e5f6cd2714610b2b578063e7f7fb8614610b4157600080fd5b8063c0c53b8b14610ab4578063c29948fc1461060f578063ca600b1c14610ac7578063cde749f414610acf578063cf947d2014610ad757600080fd5b8063a671495e116101f5578063afcc7439116101b9578063afcc743914610a4d578063b3260e9314610a60578063b6d7cd6214610a73578063bb1e0e5914610a86578063bf1db3f914610a99578063bf7e214f14610aac57600080fd5b8063a671495e146109ff578063a76ee01814610a12578063a898967514610a25578063ada9652e14610a38578063afa5e1301461079e57600080fd5b806397affbf51161024757806397affbf5146109025780639df0280b146105df5780639e90178c14610915578063a13df2ab14610928578063a4eeee591461093b578063a5961b4c1461094e57600080fd5b80637b8c388f146108935780637cef4842146108a6578063893d20e8146108b95780638eaa6ac0146108c15780638fb36037146108e157600080fd5b80633ca7c02a116103b55780635772b1011161032757806361f5f420116102eb57806361f5f42014610824578063644c45e014610835578063675393bf1461085d5780636b9bf08b1461087057806375b238fc146108785780637a9e5e4b1461088057600080fd5b80635772b101146107e457806359852426146107f75780635ab1bd531461080a5780635d4345cc146105df5780635dfa73db1461081b57600080fd5b8063447fc48f11610379578063447fc48f14610770578063468a186714610783578063468bce06146107965780635378cd3c1461079e57806354d747a8146107b157806354f6127f146107c457600080fd5b80633ca7c02a146107095780633e35aba81461072f57806340529b0f14610742578063422c9d00146107555780634288121d1461076857600080fd5b80631b38d5f41161044e57806327bb7a331161041257806327bb7a33146106985780632f61088a146106ab57806336fc697e146106be57806337f135d7146106c657806338a699a4146106e35780633c0d6a41146106f657600080fd5b80631b38d5f4146106225780631eff4b2214610643578063214cdb801461066a5780632781d4431461067d57806327953f481461068557600080fd5b80630f526f7d116104a05780630f526f7d146105b95780630f749a89146105cc5780630fad0eb1146105df5780630fec111c146105f2578063138461e0146106075780631518afb91461060f57600080fd5b806301ffc9a7146104dd57806302cd30711461051f57806309648a9d146105445780630cbc6b891461057e5780630d35818114610593575b600080fd5b61050a6104eb366004613eca565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b039091168152602001610516565b61056c610552366004613ef4565b600090815260046020526040902054610100900460ff1690565b60405160ff9091168152602001610516565b61059161058c36600461413e565b610c32565b005b61056c6105a136600461418a565b60ff9081166000908152600260205260409020541690565b6105916105c73660046141a7565b610c78565b6105916105da3660046141e0565b610c99565b6105916105ed3660046141a7565b610e07565b6105fa610e1c565b604051610516919061424d565b610591610fcb565b61059161061d36600461450a565b6111cd565b610635610630366004614562565b6111f3565b604051908152602001610516565b6106357f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b610591610678366004613eca565b611292565b610635600381565b61059161069336600461466f565b6112bf565b6105916106a63660046146b5565b6112f1565b6105916106b93660046147a7565b61137d565b610591611418565b6106ce600081565b60405163ffffffff9091168152602001610516565b61050a6106f1366004613ef4565b61145e565b610591610704366004614863565b6114ed565b6107176001600160401b0381565b6040516001600160401b039091168152602001610516565b61063561073d366004614562565b611513565b6105916107503660046141a7565b611540565b6105916107633660046141e0565b611555565b61052c61175b565b61059161077e3660046148c4565b6117ee565b610635610791366004614562565b61181a565b610591611847565b6105916107ac366004614938565b611871565b6105916107bf366004614a19565b611884565b6107d76107d2366004613ef4565b6118a2565b6040516105169190614a55565b6105916107f2366004614aab565b611947565b610591610805366004614bcc565b61196d565b6001546001600160a01b031661052c565b61071761271081565b6007546001600160a01b031661052c565b600080516020615d09833981519152546040516001600160601b039091168152602001610516565b61059161086b3660046141e0565b611993565b61052c611a9f565b610717600081565b61059161088e3660046141e0565b611ac8565b6106356108a1366004614562565b611b4b565b6105916108b4366004614c13565b611b78565b61052c611c02565b6108d46108cf366004613ef4565b611d39565b6040516105169190614c7b565b6108e9611e7a565b6040516001600160e01b03199091168152602001610516565b610591610910366004614ca7565b611eb2565b610591610923366004614d91565b611ed8565b610635610936366004614562565b611f00565b610591610949366004614e59565b611f2d565b6109f261095c366004613ef4565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516105169190614ea0565b610591610a0d366004614f51565b611f55565b610591610a20366004614f96565b611f7b565b610591610a33366004614fdd565b612016565b610635600080516020615d0983398151915281565b610591610a5b36600461501d565b612107565b610591610a6e366004615062565b61212d565b610591610a813660046150a0565b61214b565b610591610a943660046150d0565b612160565b61050a610aa736600461418a565b612325565b61052c612372565b610591610ac23660046150fc565b61238e565b61052c61253b565b61056c612564565b610591610ae536600461513c565b6125db565b610591610af83660046141a7565b6125f9565b610591610b0b36600461517a565b612610565b610591610b1e3660046141a7565b612638565b61052c61264f565b60055461010090046001600160a01b031661052c565b610591610b4f3660046151bf565b612678565b61050a610b62366004614fdd565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b610635610ba0366004615210565b612852565b610591610bb336600461523e565b6128dd565b610591610bc63660046141e0565b612905565b610591610bd936600461527f565b6129f2565b610591610bec3660046152ad565b612a69565b610591610bff366004615304565b612a8f565b610591610c1236600461534b565b612ab5565b610591610c253660046141a7565b612add565b61052c612af2565b610c3f335b600036612b1b565b610c73610c4d84606e612c21565b83604051602001610c5e9190615379565b60405160208183030381529060405283612c6d565b505050565b610c8133610c37565b610c95610c8f83608c612c21565b82612c78565b5050565b610ca233610c37565b60055461010090046001600160a01b031615610d055760405162461bcd60e51b815260206004820152601c60248201527f496e7374616e63654163636573734d616e61676572206973207365740000000060448201526064015b60405180910390fd5b610d0d612372565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d789190615428565b6001600160a01b031614610ddf5760405162461bcd60e51b815260206004820152602860248201527f496e7374616e63654163636573734d616e6167657220617574686f72697479206044820152670dad2e6dac2e8c6d60c31b6064820152608401610cfc565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610e1033610c37565b610c95610c8f8361181a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610ec790615445565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef390615445565b8015610f405780601f10610f1557610100808354040283529160200191610f40565b820191906000526020600020905b815481529060010190602001808311610f2357829003601f168201915b50505050508152505090506040518060e00160405280610f5e600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610faf611c02565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615d0983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e919061547f565b1561108a5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610cfc565b3061109d6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611109919061547f565b6111315760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610cfc565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015611185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a9919061549c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6111d633610c37565b610c736111e28461181a565b83604051602001610c5e91906154b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611268573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128c919061561e565b92915050565b61129a612c82565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6112c833610c37565b610c9582826040516020016112dd9190615637565b604051602081830303815290604052612ccb565b6112f9612c82565b61130382876129f2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611373838261572d565b5050505050505050565b61138633610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610c959073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156113e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611407919061561e565b826040516020016112dd91906157ec565b611420612c82565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156114c9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128c919061547f565b6114f633610c37565b610c736115028461181a565b826040516020016112dd919061581a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861121c565b61154933610c37565b610c95610c8f83611b4b565b61155e33610c37565b6007546001600160a01b0316156115ae5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610cfc565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161a9190615428565b6001600160a01b0316146116705760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610cfc565b611678612372565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e39190615428565b6001600160a01b0316146117395760405162461bcd60e51b815260206004820181905260248201527f42756e646c654d616e6167657220617574686f72697479206d69736d617463686044820152606401610cfc565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061176f6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa1580156117c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615428565b905090565b6117f733610c37565b6118146118038561181a565b83604051602001610c5e919061581a565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361121c565b61184f612c82565b611857612cd5565b61185f612df8565b611867612eeb565b61186f612ff9565b565b61187a33610c37565b610c958282612c78565b61188d33610c37565b610c9582826040516020016112dd919061586b565b60008181526004602052604090206001018054606091906118c290615445565b80601f01602080910402602001604051908101604052809291908181526020018280546118ee90615445565b801561193b5780601f106119105761010080835404028352916020019161193b565b820191906000526020600020905b81548152906001019060200180831161191e57829003601f168201915b50505050509050919050565b61195033610c37565b61181461195c8561181a565b83604051602001610c5e9190615907565b61197633610c37565b610c7361198284611f00565b83604051602001610c5e9190615937565b61199b612c82565b806001600160a01b03163b6000036119d15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610cfc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611a4b575060408051601f3d908101601f19168201909252611a489181019061547f565b60015b611a735760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610cfc565b80610c955760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610cfc565b50565b6000611ab36001546001600160a01b031690565b6001600160a01b031663d39e6043608c611780565b33611ad1612372565b6001600160a01b0316816001600160a01b031614611b0c5760405162d1953b60e31b81526001600160a01b0382166004820152602401610cfc565b816001600160a01b03163b600003611b42576040516361798f2f60e11b81526001600160a01b0383166004820152602401610cfc565b610c95826130b5565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61121c565b611b8133610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610c959073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611bde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8f919061561e565b600080600080516020615d0983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c96919061547f565b15611d23576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1d9190615428565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611df190615445565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1d90615445565b8015611e6a5780601f10611e3f57610100808354040283529160200191611e6a565b820191906000526020600020905b815481529060010190602001808311611e4d57829003601f168201915b5050505050815250509050919050565b600080516020615d29833981519152805460009190600160a01b900460ff16611ea4576000611d1d565b638fb3603760e01b91505090565b611ebb33610c37565b610c95611ec783611f00565b826040516020016112dd9190615937565b611ee133610c37565b610c95611eef836078612c21565b826040516020016112dd9190615a07565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61121c565b611f3633610c37565b610c73611f4484608c612c21565b83604051602001610c5e9190615a7b565b611f5e33610c37565b610c95611f6a83611b4b565b826040516020016112dd9190615afc565b611f8433610c37565b6040516355ee627560e01b81526001600160c01b031984166004820152610c739073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611fe1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612005919061561e565b83604051602001610c5e91906157ec565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801561207b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209f919061547f565b156120a957505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610c7357604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610cfc565b61211033610c37565b610c9561211c8361181a565b826040516020016112dd91906154b9565b61213633610c37565b610c738383604051602001610c5e9190615637565b61215433610c37565b610c73610c8f8461181a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cd9190615428565b6001600160a01b0316336001600160a01b0316146121ea57600080fd5b60055461010090046001600160a01b03166303014974612208613116565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561224c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612270919061561e565b1561227d5761227d615b5a565b60055461010090046001600160a01b031663b428b0b061229b613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af11580156122f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612314919061547f565b1515600114610c9557610c95615b5a565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016114ac565b600080516020615d29833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156123d35750825b90506000826001600160401b031660011480156123ef5750303b155b9050811580156123fd575080155b1561241b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561244557845460ff60401b1916600160401b1785555b61244e8861318e565b60008790506124d388826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b9919061549c565b604660018b604051806020016040528060008152506112f1565b6124db611847565b6124eb632a78f40560e11b611292565b50831561137357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b600061254f6001546001600160a01b031690565b6001600160a01b031663d39e60436078611780565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156125b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615b70565b6125e433610c37565b610c738383604051602001610c5e919061586b565b61260233610c37565b610c95610c8f836078612c21565b61261933610c37565b610c9561262783608c612c21565b826040516020016112dd9190615a7b565b61264133610c37565b610c95610c8f83606e612c21565b60006126636001546001600160a01b031690565b6001600160a01b031663d39e604360d3611780565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e59190615428565b6001600160a01b0316336001600160a01b03161461270257600080fd5b60055461010090046001600160a01b031663b7d2b162612720613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af1158015612775573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612799919061547f565b15156001146127aa576127aa615b5a565b60055461010090046001600160a01b031663b428b0b06127c8613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af115801561281d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612841919061547f565b1515600114610c7357610c73615b5a565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156128b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d6919061561e565b9392505050565b6128e633610c37565b610c736128f4846078612c21565b83604051602001610c5e9190615a07565b61290e33610c37565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612956573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297a9190615428565b6001600160a01b0316146129d05760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610cfc565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6129fa612c82565b612a0381611993565b612a0b611418565b6001600160a01b038216612a325760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615d0983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612a7233610c37565b610c73612a7e8461181a565b826040516020016112dd9190615907565b612a9833610c37565b610c73612aa484611b4b565b83604051602001610c5e9190615afc565b612abe33610c37565b610c95612acc83606e612c21565b826040516020016112dd9190615379565b612ae633610c37565b610c95610c8f83611f00565b6000612b066001546001600160a01b031690565b6001600160a01b031663d39e604360dc611780565b600080516020615d29833981519152600080612b56612b38612372565b8730612b48600460008a8c615b8d565b612b5191615bb7565b61319f565b9150915081612c195763ffffffff811615612bf657825460ff60a01b1916600160a01b178355612b84612372565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612bb393929190615be7565b600060405180830381600087803b158015612bcd57600080fd5b505af1158015612be1573d6000803e3d6000fd5b5050845460ff60a01b1916855550612c199050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610cfc565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612895565b610c738383836132ab565b610c95828261375c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661186f57604051631afcd79f60e31b815260040160405180910390fd5b610c958282613aa0565b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff1681526020019081526020016000206000612dd460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff1681526020019081526020016000206000612ecd606e90565b60ff1660ff1681526020019081526020016000206000612dd460d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa906064612db6565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c8612eaf565b600080516020615d2983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561316a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615c27565b613196612c82565b611a9c81613eb9565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161320e9190615c50565b600060405180830381855afa9150503d8060008114613249576040519150601f19603f3d011682016040523d82523d6000602084013e61324e565b606091505b509150915081156132a057604081511061328057808060200190518101906132769190615c6c565b90945092506132a0565b60208151106132a0578080602001905181019061329d919061547f565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156132fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613321919061547f565b61336d5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610cfc565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156133d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133fd919061547f565b6134495760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610cfc565b6000858152600460205260409020600101613464858261572d565b5060ff8084161461348257815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166134b24390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135689190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135dc9190615c9b565b85888632876040516135f49796959493929190615cb8565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561366e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136929190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156136e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137069190615c9b565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156137ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d2919061547f565b61381e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610cfc565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561388a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138ae919061547f565b6138fa5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610cfc565b815461390a9060ff168285612016565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661394e4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156139e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a049190615b70565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a789190615c9b565b8588863287604051613a909796959493929190615cb8565b60405180910390a1505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b179190615b70565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015613b6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b90919061547f565b613bdc5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610cfc565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613c49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c6d919061547f565b613cb95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610cfc565b33436000613cc685612325565b613cd1576064613ce7565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101613d71878261572d565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613de4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e089190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7c9190615c9b565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a00161374b565b613ec1612c82565b611a9c816130b5565b600060208284031215613edc57600080fd5b81356001600160e01b0319811681146128d657600080fd5b600060208284031215613f0657600080fd5b5035919050565b6001600160601b0381168114611a9c57600080fd5b8035613f2d81613f0d565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f6a57613f6a613f32565b60405290565b60405161010081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161020081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161012081016001600160401b0381118282101715613f6a57613f6a613f32565b604051608081016001600160401b0381118282101715613f6a57613f6a613f32565b60405160e081016001600160401b0381118282101715613f6a57613f6a613f32565b6001600160a01b0381168114611a9c57600080fd5b8035613f2d8161401d565b60006040828403121561404f57600080fd5b614057613f48565b9050813581526020820135602082015292915050565b8015158114611a9c57600080fd5b8035613f2d8161406d565b6000610140828403121561409957600080fd5b6140a1613f70565b90506140ac82614032565b81526140ba60208301614032565b60208201526140cb60408301613f22565b60408201526140dc60608301613f22565b60608201526140ee836080840161403d565b60808201526141008360c0840161403d565b60a0820152614112610100830161407b565b60c08201526141246101208301614032565b60e082015292915050565b60ff81168114611a9c57600080fd5b6000806000610180848603121561415457600080fd5b833561415f81613f0d565b925061416e8560208601614086565b915061016084013561417f8161412f565b809150509250925092565b60006020828403121561419c57600080fd5b81356128d68161412f565b600080604083850312156141ba57600080fd5b82356141c581613f0d565b915060208301356141d58161412f565b809150509250929050565b6000602082840312156141f257600080fd5b81356128d68161401d565b60005b83811015614218578181015183820152602001614200565b50506000910152565b600081518084526142398160208601602086016141fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516142b660c08401826001600160a01b03169052565b5060c083015160e0808401526142d0610100840182614221565b949350505050565b6001600160c01b031981168114611a9c57600080fd5b8035613f2d816142d8565b64ffffffffff81168114611a9c57600080fd5b8035613f2d816142f9565b600082601f83011261432857600080fd5b81356001600160401b038082111561434257614342613f32565b604051601f8301601f19908116603f0116810190828211818310171561436a5761436a613f32565b8160405283815286602085880101111561438357600080fd5b836020870160208301376000602085830101528094505050505092915050565b61ffff81168114611a9c57600080fd5b8035613f2d816143a3565b600061020082840312156143d157600080fd5b6143d9613f93565b90506143e482613f22565b81526143f260208301613f22565b6020820152614403604083016142ee565b6040820152614414606083016142ee565b60608201526080820135608082015260a082013560a082015260c082013560c082015261444360e0830161430c565b60e0820152610100808301356001600160401b038082111561446457600080fd5b61447086838701614317565b8385015261012092508285013591508082111561448c57600080fd5b5061449985828601614317565b8284015250506101406144ad8184016143b3565b908201526101606144bf8382016143b3565b9082015261018082810135908201526101a06144dc81840161430c565b908201526101c06144ee83820161430c565b908201526101e061450083820161430c565b9082015292915050565b60008060006060848603121561451f57600080fd5b833561452a81613f0d565b925060208401356001600160401b0381111561454557600080fd5b614551868287016143be565b925050604084013561417f8161412f565b60006020828403121561457457600080fd5b81356128d681613f0d565b63ffffffff81168114611a9c57600080fd5b8035613f2d8161457f565b600061012082840312156145af57600080fd5b6145b7613fb6565b905081356001600160401b03808211156145d057600080fd5b6145dc85838601614317565b835260208401356020840152604084013560408401526060840135606084015261460860808501614591565b608084015261461960a08501614591565b60a084015261462a60c0850161407b565b60c084015261463b60e0850161407b565b60e08401526101009150818401358181111561465657600080fd5b61466286828701614317565b8385015250505092915050565b6000806040838503121561468257600080fd5b8235915060208301356001600160401b0381111561469f57600080fd5b6146ab8582860161459c565b9150509250929050565b60008060008060008060c087890312156146ce57600080fd5b86356146d98161401d565b955060208701356146e981613f0d565b945060408701356146f98161412f565b935060608701356147098161406d565b925060808701356147198161401d565b915060a08701356001600160401b0381111561473457600080fd5b61474089828a01614317565b9150509295509295509295565b60006040828403121561475f57600080fd5b614767613f48565b9050813561477481613f0d565b815260208201356001600160401b0381111561478f57600080fd5b61479b84828501614317565b60208301525092915050565b600080604083850312156147ba57600080fd5b82356147c5816142d8565b915060208301356001600160401b038111156147e057600080fd5b6146ab8582860161474d565b6000608082840312156147fe57600080fd5b614806613fd9565b90508135614813816143a3565b81526020828101359082015260408201356001600160401b0381111561483857600080fd5b61484484828501614317565b6040830152506060820135614858816142f9565b606082015292915050565b60008060006060848603121561487857600080fd5b833561488381613f0d565b925060208401356148938161457f565b915060408401356001600160401b038111156148ae57600080fd5b6148ba868287016147ec565b9150509250925092565b600080600080608085870312156148da57600080fd5b84356148e581613f0d565b935060208501356148f58161457f565b925060408501356001600160401b0381111561491057600080fd5b61491c878288016147ec565b925050606085013561492d8161412f565b939692955090935050565b6000806040838503121561494b57600080fd5b8235915060208301356141d58161412f565b600060e0828403121561496f57600080fd5b614977613ffb565b905061498282613f22565b815260208201356001600160401b038082111561499e57600080fd5b6149aa85838601614317565b6020840152604084013560408401526149c560608501614591565b60608401526149d660808501614591565b60808401526149e760a0850161430c565b60a084015260c0840135915080821115614a0057600080fd5b50614a0d84828501614317565b60c08301525092915050565b60008060408385031215614a2c57600080fd5b8235915060208301356001600160401b03811115614a4957600080fd5b6146ab8582860161495d565b6020815260006128d66020830184614221565b600060808284031215614a7a57600080fd5b614a82613fd9565b9050813581526020820135602082015260408201356001600160401b0381111561483857600080fd5b60008060008060808587031215614ac157600080fd5b8435614acc81613f0d565b93506020850135614adc816143a3565b925060408501356001600160401b03811115614af757600080fd5b61491c87828801614a68565b60006101408284031215614b1657600080fd5b614b1e613fb6565b9050614b2982613f22565b8152614b38836020840161403d565b602082015260608201356001600160401b03811115614b5657600080fd5b614b6284828501614317565b604083015250614b7460808301613f22565b6060820152614b8560a08301613f22565b6080820152614b9660c08301613f22565b60a0820152614ba760e0830161430c565b60c0820152610100614bba81840161430c565b60e0830152614500610120840161430c565b600080600060608486031215614be157600080fd5b8335614bec81613f0d565b925060208401356001600160401b03811115614c0757600080fd5b61455186828701614b03565b60008060408385031215614c2657600080fd5b82356141c5816142d8565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614c8d602082018351614c31565b6000602083015160c0808401526142d060e0840182614221565b60008060408385031215614cba57600080fd5b8235614cc581613f0d565b915060208301356001600160401b03811115614ce057600080fd5b6146ab85828601614b03565b60006101008284031215614cff57600080fd5b60405160c081018181106001600160401b0382111715614d2157614d21613f32565b6040529050808235614d3281613f0d565b81526020830135614d428161401d565b6020820152614d54846040850161403d565b6040820152614d66846080850161403d565b606082015260c0830135614d798161401d565b8060808301525060e083013560a08201525092915050565b6000806101208385031215614da557600080fd5b8235614db081613f0d565b9150614dbf8460208501614cec565b90509250929050565b600060e08284031215614dda57600080fd5b614de2613ffb565b905081356001600160401b0380821115614dfb57600080fd5b614e0785838601614317565b8352614e1560208501614032565b6020840152614e2660408501614032565b6040840152614e3760608501614032565b6060840152614e4860808501613f22565b60808401526149e760a08501613f22565b600080600060608486031215614e6e57600080fd5b8335614e7981613f0d565b925060208401356001600160401b03811115614e9457600080fd5b61455186828701614dc8565b60a0810161128c8284614c31565b600060a08284031215614ec057600080fd5b60405160a081016001600160401b038282108183111715614ee357614ee3613f32565b8160405282935084359150614ef7826142d8565b908252602084013590614f098261406d565b8160208401526040850135915080821115614f2357600080fd5b50614f3085828601614317565b60408301525060608301356060820152608083013560808201525092915050565b60008060408385031215614f6457600080fd5b8235614f6f81613f0d565b915060208301356001600160401b03811115614f8a57600080fd5b6146ab85828601614eae565b600080600060608486031215614fab57600080fd5b8335614fb6816142d8565b925060208401356001600160401b03811115614fd157600080fd5b6145518682870161474d565b600080600060608486031215614ff257600080fd5b8335614ffd8161412f565b9250602084013561500d8161412f565b9150604084013561417f8161412f565b6000806040838503121561503057600080fd5b823561503b81613f0d565b915060208301356001600160401b0381111561505657600080fd5b6146ab858286016143be565b60008060006060848603121561507757600080fd5b8335925060208401356001600160401b0381111561509457600080fd5b6145518682870161459c565b6000806000606084860312156150b557600080fd5b83356150c081613f0d565b9250602084013561500d816143a3565b600080604083850312156150e357600080fd5b82356150ee8161401d565b946020939093013593505050565b60008060006060848603121561511157600080fd5b833561511c8161401d565b9250602084013561512c8161401d565b9150604084013561417f8161401d565b60008060006060848603121561515157600080fd5b8335925060208401356001600160401b0381111561516e57600080fd5b6145518682870161495d565b6000806040838503121561518d57600080fd5b823561519881613f0d565b915060208301356001600160401b038111156151b357600080fd5b6146ab85828601614dc8565b6000806000606084860312156151d457600080fd5b83356151df8161401d565b925060208401356151ef8161401d565b929592945050506040919091013590565b60ff1981168114611a9c57600080fd5b6000806040838503121561522357600080fd5b823561522e8161412f565b915060208301356141d581615200565b6000806000610140848603121561525457600080fd5b833561525f81613f0d565b925061526e8560208601614cec565b915061012084013561417f8161412f565b6000806040838503121561529257600080fd5b823561529d8161401d565b915060208301356141d58161401d565b6000806000606084860312156152c257600080fd5b83356152cd81613f0d565b925060208401356152dd816143a3565b915060408401356001600160401b038111156152f857600080fd5b6148ba86828701614a68565b60008060006060848603121561531957600080fd5b833561532481613f0d565b925060208401356001600160401b0381111561533f57600080fd5b61455186828701614eae565b600080610160838503121561535f57600080fd5b823561536a81613f0d565b9150614dbf8460208501614086565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916153c8908401826001600160601b03169052565b5060808301516153e5608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b60006020828403121561543a57600080fd5b81516128d68161401d565b600181811c9082168061545957607f821691505b60208210810361547957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561549157600080fd5b81516128d68161406d565b6000602082840312156154ae57600080fd5b81516128d681613f0d565b602081526154d36020820183516001600160601b03169052565b600060208301516154ef60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006155548185018364ffffffffff169052565b808501519150506102006101208181860152615574610220860184614221565b9250808601519050610140601f1986850301818701526155948483614221565b9350808701519150506101606155af8187018361ffff169052565b86015190506101806155c68682018361ffff169052565b8601516101a08681019190915286015190506101c06155ed8187018364ffffffffff169052565b86015190506101e06156078682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60006020828403121561563057600080fd5b5051919050565b6020815260008251610120806020850152615656610140850183614221565b9150602085015160408501526040850151606085015260608501516080850152608085015161568d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006156c38187018315159052565b860151858403601f19018387015290506156dd8382614221565b9695505050505050565b601f821115610c7357600081815260208120601f850160051c8101602086101561570e5750805b601f850160051c820191505b81811015612c195782815560010161571a565b81516001600160401b0381111561574657615746613f32565b61575a816157548454615445565b846156e7565b602080601f83116001811461578f57600084156157775750858301515b600019600386901b1c1916600185901b178555612c19565b600085815260208120601f198616915b828110156157be5788860151825594840194600190910190840161579f565b50858210156157dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526142d06060840182614221565b6020815261ffff825116602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261589b610100840182614221565b90506040840151606084015263ffffffff606085015116608084015260808401516158ce60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526158fe8282614221565b95945050505050565b602081528151602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b602081526159516020820183516001600160601b03169052565b6000602083015161596f604084018280518252602090810151910152565b50604083015161014080608085015261598c610160850183614221565b915060608501516159a860a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006159ed8187018364ffffffffff169052565b60e087015164ffffffffff81166101208801529150615607565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615a98610100840182614221565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615ae260a08501826001600160601b03169052565b5060a08401516001600160601b03811660c08501526158e2565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615b3a60c0840182614221565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615b8257600080fd5b81516128d68161412f565b60008085851115615b9d57600080fd5b83861115615baa57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615bdf5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615c3957600080fd5b81516001600160401b03811681146128d657600080fd5b60008251615c628184602087016141fd565b9190910192915050565b60008060408385031215615c7f57600080fd5b8251615c8a8161406d565b60208401519092506141d58161457f565b600060208284031215615cad57600080fd5b81516128d681615200565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220e231fe40bbf4f2ae96c0066eb4264e00f78e57e383a153cf2c6646c4606e153064736f6c63430008140033",
2972
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104d85760003560e01c80637b8c388f11610283578063c0c53b8b1161015c578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610bcb578063fa145b6d14610bde578063fb4a8e3414610bf1578063fbc1a3a014610c04578063fe1f18d614610c17578063fed3d63f14610c2a57600080fd5b8063e9e96c7014610b54578063f21de1e81461080a578063f48016ce14610b92578063f7b442d114610ba5578063f7bc431c14610bb857600080fd5b8063d2f21a2911610120578063d2f21a2914610aea578063d5c9d77d14610afd578063dee3262314610b10578063e1033e7d14610b23578063e5f6cd2714610b2b578063e7f7fb8614610b4157600080fd5b8063c0c53b8b14610ab4578063c29948fc1461060f578063ca600b1c14610ac7578063cde749f414610acf578063cf947d2014610ad757600080fd5b8063a671495e116101f5578063afcc7439116101b9578063afcc743914610a4d578063b3260e9314610a60578063b6d7cd6214610a73578063bb1e0e5914610a86578063bf1db3f914610a99578063bf7e214f14610aac57600080fd5b8063a671495e146109ff578063a76ee01814610a12578063a898967514610a25578063ada9652e14610a38578063afa5e1301461079e57600080fd5b806397affbf51161024757806397affbf5146109025780639df0280b146105df5780639e90178c14610915578063a13df2ab14610928578063a4eeee591461093b578063a5961b4c1461094e57600080fd5b80637b8c388f146108935780637cef4842146108a6578063893d20e8146108b95780638eaa6ac0146108c15780638fb36037146108e157600080fd5b80633ca7c02a116103b55780635772b1011161032757806361f5f420116102eb57806361f5f42014610824578063644c45e014610835578063675393bf1461085d5780636b9bf08b1461087057806375b238fc146108785780637a9e5e4b1461088057600080fd5b80635772b101146107e457806359852426146107f75780635ab1bd531461080a5780635d4345cc146105df5780635dfa73db1461081b57600080fd5b8063447fc48f11610379578063447fc48f14610770578063468a186714610783578063468bce06146107965780635378cd3c1461079e57806354d747a8146107b157806354f6127f146107c457600080fd5b80633ca7c02a146107095780633e35aba81461072f57806340529b0f14610742578063422c9d00146107555780634288121d1461076857600080fd5b80631b38d5f41161044e57806327bb7a331161041257806327bb7a33146106985780632f61088a146106ab57806336fc697e146106be57806337f135d7146106c657806338a699a4146106e35780633c0d6a41146106f657600080fd5b80631b38d5f4146106225780631eff4b2214610643578063214cdb801461066a5780632781d4431461067d57806327953f481461068557600080fd5b80630f526f7d116104a05780630f526f7d146105b95780630f749a89146105cc5780630fad0eb1146105df5780630fec111c146105f2578063138461e0146106075780631518afb91461060f57600080fd5b806301ffc9a7146104dd57806302cd30711461051f57806309648a9d146105445780630cbc6b891461057e5780630d35818114610593575b600080fd5b61050a6104eb366004613eca565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b039091168152602001610516565b61056c610552366004613ef4565b600090815260046020526040902054610100900460ff1690565b60405160ff9091168152602001610516565b61059161058c36600461413e565b610c32565b005b61056c6105a136600461418a565b60ff9081166000908152600260205260409020541690565b6105916105c73660046141a7565b610c78565b6105916105da3660046141e0565b610c99565b6105916105ed3660046141a7565b610e07565b6105fa610e1c565b604051610516919061424d565b610591610fcb565b61059161061d36600461450a565b6111cd565b610635610630366004614562565b6111f3565b604051908152602001610516565b6106357f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b610591610678366004613eca565b611292565b610635600381565b61059161069336600461466f565b6112bf565b6105916106a63660046146b5565b6112f1565b6105916106b93660046147a7565b61137d565b610591611418565b6106ce600081565b60405163ffffffff9091168152602001610516565b61050a6106f1366004613ef4565b61145e565b610591610704366004614863565b6114ed565b6107176001600160401b0381565b6040516001600160401b039091168152602001610516565b61063561073d366004614562565b611513565b6105916107503660046141a7565b611540565b6105916107633660046141e0565b611555565b61052c61175b565b61059161077e3660046148c4565b6117ee565b610635610791366004614562565b61181a565b610591611847565b6105916107ac366004614938565b611871565b6105916107bf366004614a19565b611884565b6107d76107d2366004613ef4565b6118a2565b6040516105169190614a55565b6105916107f2366004614aab565b611947565b610591610805366004614bcc565b61196d565b6001546001600160a01b031661052c565b61071761271081565b6007546001600160a01b031661052c565b600080516020615d09833981519152546040516001600160601b039091168152602001610516565b61059161086b3660046141e0565b611993565b61052c611a9f565b610717600081565b61059161088e3660046141e0565b611ac8565b6106356108a1366004614562565b611b4b565b6105916108b4366004614c13565b611b78565b61052c611c02565b6108d46108cf366004613ef4565b611d39565b6040516105169190614c7b565b6108e9611e7a565b6040516001600160e01b03199091168152602001610516565b610591610910366004614ca7565b611eb2565b610591610923366004614d91565b611ed8565b610635610936366004614562565b611f00565b610591610949366004614e59565b611f2d565b6109f261095c366004613ef4565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516105169190614ea0565b610591610a0d366004614f51565b611f55565b610591610a20366004614f96565b611f7b565b610591610a33366004614fdd565b612016565b610635600080516020615d0983398151915281565b610591610a5b36600461501d565b612107565b610591610a6e366004615062565b61212d565b610591610a813660046150a0565b61214b565b610591610a943660046150d0565b612160565b61050a610aa736600461418a565b612325565b61052c612372565b610591610ac23660046150fc565b61238e565b61052c61253b565b61056c612564565b610591610ae536600461513c565b6125db565b610591610af83660046141a7565b6125f9565b610591610b0b36600461517a565b612610565b610591610b1e3660046141a7565b612638565b61052c61264f565b60055461010090046001600160a01b031661052c565b610591610b4f3660046151bf565b612678565b61050a610b62366004614fdd565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b610635610ba0366004615210565b612852565b610591610bb336600461523e565b6128dd565b610591610bc63660046141e0565b612905565b610591610bd936600461527f565b6129f2565b610591610bec3660046152ad565b612a69565b610591610bff366004615304565b612a8f565b610591610c1236600461534b565b612ab5565b610591610c253660046141a7565b612add565b61052c612af2565b610c3f335b600036612b1b565b610c73610c4d84606e612c21565b83604051602001610c5e9190615379565b60405160208183030381529060405283612c6d565b505050565b610c8133610c37565b610c95610c8f83608c612c21565b82612c78565b5050565b610ca233610c37565b60055461010090046001600160a01b031615610d055760405162461bcd60e51b815260206004820152601c60248201527f496e7374616e63654163636573734d616e61676572206973207365740000000060448201526064015b60405180910390fd5b610d0d612372565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d789190615428565b6001600160a01b031614610ddf5760405162461bcd60e51b815260206004820152602860248201527f496e7374616e63654163636573734d616e6167657220617574686f72697479206044820152670dad2e6dac2e8c6d60c31b6064820152608401610cfc565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610e1033610c37565b610c95610c8f8361181a565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610ec790615445565b80601f0160208091040260200160405190810160405280929190818152602001828054610ef390615445565b8015610f405780601f10610f1557610100808354040283529160200191610f40565b820191906000526020600020905b815481529060010190602001808311610f2357829003601f168201915b50505050508152505090506040518060e00160405280610f5e600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610faf611c02565b6001600160a01b03168152602001826060015181525091505090565b6000600080516020615d0983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e919061547f565b1561108a5780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610cfc565b3061109d6001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156110e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611109919061547f565b6111315760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610cfc565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015611185573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a9919061549c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6111d633610c37565b610c736111e28461181a565b83604051602001610c5e91906154b9565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af4158015611268573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128c919061561e565b92915050565b61129a612c82565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6112c833610c37565b610c9582826040516020016112dd9190615637565b604051602081830303815290604052612ccb565b6112f9612c82565b61130382876129f2565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101611373838261572d565b5050505050505050565b61138633610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610c959073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156113e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611407919061561e565b826040516020016112dd91906157ec565b611420612c82565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156114c9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061128c919061547f565b6114f633610c37565b610c736115028461181a565b826040516020016112dd919061581a565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607861121c565b61154933610c37565b610c95610c8f83611b4b565b61155e33610c37565b6007546001600160a01b0316156115ae5760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610cfc565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156115f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061161a9190615428565b6001600160a01b0316146116705760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610cfc565b611678612372565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156116bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116e39190615428565b6001600160a01b0316146117395760405162461bcd60e51b815260206004820181905260248201527f42756e646c654d616e6167657220617574686f72697479206d69736d617463686044820152606401610cfc565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061176f6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa1580156117c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615428565b905090565b6117f733610c37565b6118146118038561181a565b83604051602001610c5e919061581a565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d361121c565b61184f612c82565b611857612cd5565b61185f612df8565b611867612eeb565b61186f612ff9565b565b61187a33610c37565b610c958282612c78565b61188d33610c37565b610c9582826040516020016112dd919061586b565b60008181526004602052604090206001018054606091906118c290615445565b80601f01602080910402602001604051908101604052809291908181526020018280546118ee90615445565b801561193b5780601f106119105761010080835404028352916020019161193b565b820191906000526020600020905b81548152906001019060200180831161191e57829003601f168201915b50505050509050919050565b61195033610c37565b61181461195c8561181a565b83604051602001610c5e9190615907565b61197633610c37565b610c7361198284611f00565b83604051602001610c5e9190615937565b61199b612c82565b806001600160a01b03163b6000036119d15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610cfc565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015611a4b575060408051601f3d908101601f19168201909252611a489181019061547f565b60015b611a735760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610cfc565b80610c955760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610cfc565b50565b6000611ab36001546001600160a01b031690565b6001600160a01b031663d39e6043608c611780565b33611ad1612372565b6001600160a01b0316816001600160a01b031614611b0c5760405162d1953b60e31b81526001600160a01b0382166004820152602401610cfc565b816001600160a01b03163b600003611b42576040516361798f2f60e11b81526001600160a01b0383166004820152602401610cfc565b610c95826130b5565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a61121c565b611b8133610c37565b6040516355ee627560e01b81526001600160c01b031983166004820152610c959073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611bde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8f919061561e565b600080600080516020615d0983398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611c72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c96919061547f565b15611d23576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611cf9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d1d9190615428565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611df190615445565b80601f0160208091040260200160405190810160405280929190818152602001828054611e1d90615445565b8015611e6a5780601f10611e3f57610100808354040283529160200191611e6a565b820191906000526020600020905b815481529060010190602001808311611e4d57829003601f168201915b5050505050815250509050919050565b600080516020615d29833981519152805460009190600160a01b900460ff16611ea4576000611d1d565b638fb3603760e01b91505090565b611ebb33610c37565b610c95611ec783611f00565b826040516020016112dd9190615937565b611ee133610c37565b610c95611eef836078612c21565b826040516020016112dd9190615a07565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61121c565b611f3633610c37565b610c73611f4484608c612c21565b83604051602001610c5e9190615a7b565b611f5e33610c37565b610c95611f6a83611b4b565b826040516020016112dd9190615afc565b611f8433610c37565b6040516355ee627560e01b81526001600160c01b031984166004820152610c739073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611fe1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612005919061561e565b83604051602001610c5e91906157ec565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801561207b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061209f919061547f565b156120a957505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610c7357604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610cfc565b61211033610c37565b610c9561211c8361181a565b826040516020016112dd91906154b9565b61213633610c37565b610c738383604051602001610c5e9190615637565b61215433610c37565b610c73610c8f8461181a565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156121a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121cd9190615428565b6001600160a01b0316336001600160a01b0316146121ea57600080fd5b60055461010090046001600160a01b03166303014974612208613116565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa15801561224c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612270919061561e565b1561227d5761227d615b5a565b60055461010090046001600160a01b031663b428b0b061229b613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af11580156122f0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612314919061547f565b1515600114610c9557610c95615b5a565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016114ac565b600080516020615d29833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156123d35750825b90506000826001600160401b031660011480156123ef5750303b155b9050811580156123fd575080155b1561241b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561244557845460ff60401b1916600160401b1785555b61244e8861318e565b60008790506124d388826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124b9919061549c565b604660018b604051806020016040528060008152506112f1565b6124db611847565b6124eb632a78f40560e11b611292565b50831561137357845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b600061254f6001546001600160a01b031690565b6001600160a01b031663d39e60436078611780565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156125b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615b70565b6125e433610c37565b610c738383604051602001610c5e919061586b565b61260233610c37565b610c95610c8f836078612c21565b61261933610c37565b610c9561262783608c612c21565b826040516020016112dd9190615a7b565b61264133610c37565b610c95610c8f83606e612c21565b60006126636001546001600160a01b031690565b6001600160a01b031663d39e604360d3611780565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156126c1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126e59190615428565b6001600160a01b0316336001600160a01b03161461270257600080fd5b60055461010090046001600160a01b031663b7d2b162612720613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af1158015612775573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612799919061547f565b15156001146127aa576127aa615b5a565b60055461010090046001600160a01b031663b428b0b06127c8613116565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af115801561281d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612841919061547f565b1515600114610c7357610c73615b5a565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156128b2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128d6919061561e565b9392505050565b6128e633610c37565b610c736128f4846078612c21565b83604051602001610c5e9190615a07565b61290e33610c37565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015612956573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061297a9190615428565b6001600160a01b0316146129d05760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610cfc565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6129fa612c82565b612a0381611993565b612a0b611418565b6001600160a01b038216612a325760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615d0983398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b612a7233610c37565b610c73612a7e8461181a565b826040516020016112dd9190615907565b612a9833610c37565b610c73612aa484611b4b565b83604051602001610c5e9190615afc565b612abe33610c37565b610c95612acc83606e612c21565b826040516020016112dd9190615379565b612ae633610c37565b610c95610c8f83611f00565b6000612b066001546001600160a01b031690565b6001600160a01b031663d39e604360dc611780565b600080516020615d29833981519152600080612b56612b38612372565b8730612b48600460008a8c615b8d565b612b5191615bb7565b61319f565b9150915081612c195763ffffffff811615612bf657825460ff60a01b1916600160a01b178355612b84612372565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612bb393929190615be7565b600060405180830381600087803b158015612bcd57600080fd5b505af1158015612be1573d6000803e3d6000fd5b5050845460ff60a01b1916855550612c199050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610cfc565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401612895565b610c738383836132ab565b610c95828261375c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661186f57604051631afcd79f60e31b815260040160405180910390fd5b610c958282613aa0565b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff1681526020019081526020016000206000612dd460c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff1681526020019081526020016000206000612ecd606e90565b60ff1660ff1681526020019081526020016000206000612dd460d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa906064612db6565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c8612eaf565b600080516020615d2983398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801561316a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e99190615c27565b613196612c82565b611a9c81613eb9565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525161320e9190615c50565b600060405180830381855afa9150503d8060008114613249576040519150601f19603f3d011682016040523d82523d6000602084013e61324e565b606091505b509150915081156132a057604081511061328057808060200190518101906132769190615c6c565b90945092506132a0565b60208151106132a0578080602001905181019061329d919061547f565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156132fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613321919061547f565b61336d5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610cfc565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156133d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133fd919061547f565b6134495760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610cfc565b6000858152600460205260409020600101613464858261572d565b5060ff8084161461348257815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166134b24390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613544573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135689190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135dc9190615c9b565b85888632876040516135f49796959493929190615cb8565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561366e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136929190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156136e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137069190615c9b565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156137ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d2919061547f565b61381e5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610cfc565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561388a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138ae919061547f565b6138fa5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610cfc565b815461390a9060ff168285612016565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661394e4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156139e0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a049190615b70565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613a54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a789190615c9b565b8588863287604051613a909796959493929190615cb8565b60405180910390a1505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613af3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b179190615b70565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015613b6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b90919061547f565b613bdc5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610cfc565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613c49573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613c6d919061547f565b613cb95760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610cfc565b33436000613cc685612325565b613cd1576064613ce7565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600460205260409020909150600101613d71878261572d565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613de4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e089190615b70565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7c9190615c9b565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a00161374b565b613ec1612c82565b611a9c816130b5565b600060208284031215613edc57600080fd5b81356001600160e01b0319811681146128d657600080fd5b600060208284031215613f0657600080fd5b5035919050565b6001600160601b0381168114611a9c57600080fd5b8035613f2d81613f0d565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f6a57613f6a613f32565b60405290565b60405161010081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161020081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161012081016001600160401b0381118282101715613f6a57613f6a613f32565b604051608081016001600160401b0381118282101715613f6a57613f6a613f32565b60405160e081016001600160401b0381118282101715613f6a57613f6a613f32565b6001600160a01b0381168114611a9c57600080fd5b8035613f2d8161401d565b60006040828403121561404f57600080fd5b614057613f48565b9050813581526020820135602082015292915050565b8015158114611a9c57600080fd5b8035613f2d8161406d565b6000610140828403121561409957600080fd5b6140a1613f70565b90506140ac82614032565b81526140ba60208301614032565b60208201526140cb60408301613f22565b60408201526140dc60608301613f22565b60608201526140ee836080840161403d565b60808201526141008360c0840161403d565b60a0820152614112610100830161407b565b60c08201526141246101208301614032565b60e082015292915050565b60ff81168114611a9c57600080fd5b6000806000610180848603121561415457600080fd5b833561415f81613f0d565b925061416e8560208601614086565b915061016084013561417f8161412f565b809150509250925092565b60006020828403121561419c57600080fd5b81356128d68161412f565b600080604083850312156141ba57600080fd5b82356141c581613f0d565b915060208301356141d58161412f565b809150509250929050565b6000602082840312156141f257600080fd5b81356128d68161401d565b60005b83811015614218578181015183820152602001614200565b50506000910152565b600081518084526142398160208601602086016141fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516142b660c08401826001600160a01b03169052565b5060c083015160e0808401526142d0610100840182614221565b949350505050565b6001600160c01b031981168114611a9c57600080fd5b8035613f2d816142d8565b64ffffffffff81168114611a9c57600080fd5b8035613f2d816142f9565b600082601f83011261432857600080fd5b81356001600160401b038082111561434257614342613f32565b604051601f8301601f19908116603f0116810190828211818310171561436a5761436a613f32565b8160405283815286602085880101111561438357600080fd5b836020870160208301376000602085830101528094505050505092915050565b61ffff81168114611a9c57600080fd5b8035613f2d816143a3565b600061020082840312156143d157600080fd5b6143d9613f93565b90506143e482613f22565b81526143f260208301613f22565b6020820152614403604083016142ee565b6040820152614414606083016142ee565b60608201526080820135608082015260a082013560a082015260c082013560c082015261444360e0830161430c565b60e0820152610100808301356001600160401b038082111561446457600080fd5b61447086838701614317565b8385015261012092508285013591508082111561448c57600080fd5b5061449985828601614317565b8284015250506101406144ad8184016143b3565b908201526101606144bf8382016143b3565b9082015261018082810135908201526101a06144dc81840161430c565b908201526101c06144ee83820161430c565b908201526101e061450083820161430c565b9082015292915050565b60008060006060848603121561451f57600080fd5b833561452a81613f0d565b925060208401356001600160401b0381111561454557600080fd5b614551868287016143be565b925050604084013561417f8161412f565b60006020828403121561457457600080fd5b81356128d681613f0d565b63ffffffff81168114611a9c57600080fd5b8035613f2d8161457f565b600061012082840312156145af57600080fd5b6145b7613fb6565b905081356001600160401b03808211156145d057600080fd5b6145dc85838601614317565b835260208401356020840152604084013560408401526060840135606084015261460860808501614591565b608084015261461960a08501614591565b60a084015261462a60c0850161407b565b60c084015261463b60e0850161407b565b60e08401526101009150818401358181111561465657600080fd5b61466286828701614317565b8385015250505092915050565b6000806040838503121561468257600080fd5b8235915060208301356001600160401b0381111561469f57600080fd5b6146ab8582860161459c565b9150509250929050565b60008060008060008060c087890312156146ce57600080fd5b86356146d98161401d565b955060208701356146e981613f0d565b945060408701356146f98161412f565b935060608701356147098161406d565b925060808701356147198161401d565b915060a08701356001600160401b0381111561473457600080fd5b61474089828a01614317565b9150509295509295509295565b60006040828403121561475f57600080fd5b614767613f48565b9050813561477481613f0d565b815260208201356001600160401b0381111561478f57600080fd5b61479b84828501614317565b60208301525092915050565b600080604083850312156147ba57600080fd5b82356147c5816142d8565b915060208301356001600160401b038111156147e057600080fd5b6146ab8582860161474d565b6000608082840312156147fe57600080fd5b614806613fd9565b90508135614813816143a3565b81526020828101359082015260408201356001600160401b0381111561483857600080fd5b61484484828501614317565b6040830152506060820135614858816142f9565b606082015292915050565b60008060006060848603121561487857600080fd5b833561488381613f0d565b925060208401356148938161457f565b915060408401356001600160401b038111156148ae57600080fd5b6148ba868287016147ec565b9150509250925092565b600080600080608085870312156148da57600080fd5b84356148e581613f0d565b935060208501356148f58161457f565b925060408501356001600160401b0381111561491057600080fd5b61491c878288016147ec565b925050606085013561492d8161412f565b939692955090935050565b6000806040838503121561494b57600080fd5b8235915060208301356141d58161412f565b600060e0828403121561496f57600080fd5b614977613ffb565b905061498282613f22565b815260208201356001600160401b038082111561499e57600080fd5b6149aa85838601614317565b6020840152604084013560408401526149c560608501614591565b60608401526149d660808501614591565b60808401526149e760a0850161430c565b60a084015260c0840135915080821115614a0057600080fd5b50614a0d84828501614317565b60c08301525092915050565b60008060408385031215614a2c57600080fd5b8235915060208301356001600160401b03811115614a4957600080fd5b6146ab8582860161495d565b6020815260006128d66020830184614221565b600060808284031215614a7a57600080fd5b614a82613fd9565b9050813581526020820135602082015260408201356001600160401b0381111561483857600080fd5b60008060008060808587031215614ac157600080fd5b8435614acc81613f0d565b93506020850135614adc816143a3565b925060408501356001600160401b03811115614af757600080fd5b61491c87828801614a68565b60006101408284031215614b1657600080fd5b614b1e613fb6565b9050614b2982613f22565b8152614b38836020840161403d565b602082015260608201356001600160401b03811115614b5657600080fd5b614b6284828501614317565b604083015250614b7460808301613f22565b6060820152614b8560a08301613f22565b6080820152614b9660c08301613f22565b60a0820152614ba760e0830161430c565b60c0820152610100614bba81840161430c565b60e0830152614500610120840161430c565b600080600060608486031215614be157600080fd5b8335614bec81613f0d565b925060208401356001600160401b03811115614c0757600080fd5b61455186828701614b03565b60008060408385031215614c2657600080fd5b82356141c5816142d8565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614c8d602082018351614c31565b6000602083015160c0808401526142d060e0840182614221565b60008060408385031215614cba57600080fd5b8235614cc581613f0d565b915060208301356001600160401b03811115614ce057600080fd5b6146ab85828601614b03565b60006101008284031215614cff57600080fd5b60405160c081018181106001600160401b0382111715614d2157614d21613f32565b6040529050808235614d3281613f0d565b81526020830135614d428161401d565b6020820152614d54846040850161403d565b6040820152614d66846080850161403d565b606082015260c0830135614d798161401d565b8060808301525060e083013560a08201525092915050565b6000806101208385031215614da557600080fd5b8235614db081613f0d565b9150614dbf8460208501614cec565b90509250929050565b600060e08284031215614dda57600080fd5b614de2613ffb565b905081356001600160401b0380821115614dfb57600080fd5b614e0785838601614317565b8352614e1560208501614032565b6020840152614e2660408501614032565b6040840152614e3760608501614032565b6060840152614e4860808501613f22565b60808401526149e760a08501613f22565b600080600060608486031215614e6e57600080fd5b8335614e7981613f0d565b925060208401356001600160401b03811115614e9457600080fd5b61455186828701614dc8565b60a0810161128c8284614c31565b600060a08284031215614ec057600080fd5b60405160a081016001600160401b038282108183111715614ee357614ee3613f32565b8160405282935084359150614ef7826142d8565b908252602084013590614f098261406d565b8160208401526040850135915080821115614f2357600080fd5b50614f3085828601614317565b60408301525060608301356060820152608083013560808201525092915050565b60008060408385031215614f6457600080fd5b8235614f6f81613f0d565b915060208301356001600160401b03811115614f8a57600080fd5b6146ab85828601614eae565b600080600060608486031215614fab57600080fd5b8335614fb6816142d8565b925060208401356001600160401b03811115614fd157600080fd5b6145518682870161474d565b600080600060608486031215614ff257600080fd5b8335614ffd8161412f565b9250602084013561500d8161412f565b9150604084013561417f8161412f565b6000806040838503121561503057600080fd5b823561503b81613f0d565b915060208301356001600160401b0381111561505657600080fd5b6146ab858286016143be565b60008060006060848603121561507757600080fd5b8335925060208401356001600160401b0381111561509457600080fd5b6145518682870161459c565b6000806000606084860312156150b557600080fd5b83356150c081613f0d565b9250602084013561500d816143a3565b600080604083850312156150e357600080fd5b82356150ee8161401d565b946020939093013593505050565b60008060006060848603121561511157600080fd5b833561511c8161401d565b9250602084013561512c8161401d565b9150604084013561417f8161401d565b60008060006060848603121561515157600080fd5b8335925060208401356001600160401b0381111561516e57600080fd5b6145518682870161495d565b6000806040838503121561518d57600080fd5b823561519881613f0d565b915060208301356001600160401b038111156151b357600080fd5b6146ab85828601614dc8565b6000806000606084860312156151d457600080fd5b83356151df8161401d565b925060208401356151ef8161401d565b929592945050506040919091013590565b60ff1981168114611a9c57600080fd5b6000806040838503121561522357600080fd5b823561522e8161412f565b915060208301356141d581615200565b6000806000610140848603121561525457600080fd5b833561525f81613f0d565b925061526e8560208601614cec565b915061012084013561417f8161412f565b6000806040838503121561529257600080fd5b823561529d8161401d565b915060208301356141d58161401d565b6000806000606084860312156152c257600080fd5b83356152cd81613f0d565b925060208401356152dd816143a3565b915060408401356001600160401b038111156152f857600080fd5b6148ba86828701614a68565b60008060006060848603121561531957600080fd5b833561532481613f0d565b925060208401356001600160401b0381111561533f57600080fd5b61455186828701614eae565b600080610160838503121561535f57600080fd5b823561536a81613f0d565b9150614dbf8460208501614086565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916153c8908401826001600160601b03169052565b5060808301516153e5608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b60006020828403121561543a57600080fd5b81516128d68161401d565b600181811c9082168061545957607f821691505b60208210810361547957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561549157600080fd5b81516128d68161406d565b6000602082840312156154ae57600080fd5b81516128d681613f0d565b602081526154d36020820183516001600160601b03169052565b600060208301516154ef60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006155548185018364ffffffffff169052565b808501519150506102006101208181860152615574610220860184614221565b9250808601519050610140601f1986850301818701526155948483614221565b9350808701519150506101606155af8187018361ffff169052565b86015190506101806155c68682018361ffff169052565b8601516101a08681019190915286015190506101c06155ed8187018364ffffffffff169052565b86015190506101e06156078682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60006020828403121561563057600080fd5b5051919050565b6020815260008251610120806020850152615656610140850183614221565b9150602085015160408501526040850151606085015260608501516080850152608085015161568d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006156c38187018315159052565b860151858403601f19018387015290506156dd8382614221565b9695505050505050565b601f821115610c7357600081815260208120601f850160051c8101602086101561570e5750805b601f850160051c820191505b81811015612c195782815560010161571a565b81516001600160401b0381111561574657615746613f32565b61575a816157548454615445565b846156e7565b602080601f83116001811461578f57600084156157775750858301515b600019600386901b1c1916600185901b178555612c19565b600085815260208120601f198616915b828110156157be5788860151825594840194600190910190840161579f565b50858210156157dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526142d06060840182614221565b6020815261ffff825116602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261589b610100840182614221565b90506040840151606084015263ffffffff606085015116608084015260808401516158ce60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526158fe8282614221565b95945050505050565b602081528151602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b602081526159516020820183516001600160601b03169052565b6000602083015161596f604084018280518252602090810151910152565b50604083015161014080608085015261598c610160850183614221565b915060608501516159a860a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006159ed8187018364ffffffffff169052565b60e087015164ffffffffff81166101208801529150615607565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615a98610100840182614221565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615ae260a08501826001600160601b03169052565b5060a08401516001600160601b03811660c08501526158e2565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615b3a60c0840182614221565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615b8257600080fd5b81516128d68161412f565b60008085851115615b9d57600080fd5b83861115615baa57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615bdf5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615c3957600080fd5b81516001600160401b03811681146128d657600080fd5b60008251615c628184602087016141fd565b9190910192915050565b60008060408385031215615c7f57600080fd5b8251615c8a8161406d565b60208401519092506141d58161457f565b600060208284031215615cad57600080fd5b81516128d681615200565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220e231fe40bbf4f2ae96c0066eb4264e00f78e57e383a153cf2c6646c4606e153064736f6c63430008140033",
3091
2973
  "linkReferences": {
3092
2974
  "contracts/types/Key32.sol": {
3093
2975
  "Key32Lib": [
3094
2976
  {
3095
2977
  "length": 20,
3096
- "start": 4267
2978
+ "start": 10392
3097
2979
  },
3098
2980
  {
3099
2981
  "length": 20,
3100
- "start": 5035
2982
+ "start": 13611
3101
2983
  },
3102
2984
  {
3103
2985
  "length": 20,
3104
- "start": 5154
2986
+ "start": 13727
3105
2987
  },
3106
2988
  {
3107
2989
  "length": 20,
3108
- "start": 11068
2990
+ "start": 13909
3109
2991
  },
3110
2992
  {
3111
2993
  "length": 20,
3112
- "start": 15413
2994
+ "start": 14025
3113
2995
  },
3114
2996
  {
3115
2997
  "length": 20,
3116
- "start": 17332
2998
+ "start": 14791
3117
2999
  },
3118
3000
  {
3119
3001
  "length": 20,
3120
- "start": 18081
3002
+ "start": 14907
3121
3003
  },
3122
3004
  {
3123
3005
  "length": 20,
3124
- "start": 18197
3006
+ "start": 15066
3125
3007
  },
3126
3008
  {
3127
3009
  "length": 20,
3128
- "start": 18935
3010
+ "start": 15819
3129
3011
  },
3130
3012
  {
3131
3013
  "length": 20,
3132
- "start": 19051
3133
- },
3014
+ "start": 15935
3015
+ }
3016
+ ]
3017
+ },
3018
+ "contracts/types/NftId.sol": {
3019
+ "NftIdLib": [
3134
3020
  {
3135
3021
  "length": 20,
3136
- "start": 19783
3022
+ "start": 4129
3137
3023
  },
3138
3024
  {
3139
3025
  "length": 20,
3140
- "start": 19899
3026
+ "start": 4632
3141
3027
  },
3142
3028
  {
3143
3029
  "length": 20,
3144
- "start": 20081
3030
+ "start": 5432
3145
3031
  },
3146
3032
  {
3147
3033
  "length": 20,
3148
- "start": 20197
3149
- }
3150
- ]
3151
- },
3152
- "contracts/types/NftId.sol": {
3153
- "NftIdLib": [
3154
- {
3155
- "length": 20,
3156
- "start": 10064
3034
+ "start": 6207
3157
3035
  },
3158
3036
  {
3159
3037
  "length": 20,
3160
- "start": 11824
3038
+ "start": 7024
3161
3039
  },
3162
3040
  {
3163
3041
  "length": 20,
3164
- "start": 12950
3042
+ "start": 7257
3165
3043
  },
3166
3044
  {
3167
3045
  "length": 20,
3168
- "start": 13739
3046
+ "start": 7973
3169
3047
  },
3170
3048
  {
3171
3049
  "length": 20,
3172
- "start": 15954
3050
+ "start": 11372
3173
3051
  }
3174
3052
  ]
3175
3053
  },
@@ -3177,11 +3055,7 @@
3177
3055
  "ObjectTypeLib": [
3178
3056
  {
3179
3057
  "length": 20,
3180
- "start": 4391
3181
- },
3182
- {
3183
- "length": 20,
3184
- "start": 17453
3058
+ "start": 15187
3185
3059
  }
3186
3060
  ]
3187
3061
  },
@@ -3189,15 +3063,15 @@
3189
3063
  "RiskIdLib": [
3190
3064
  {
3191
3065
  "length": 20,
3192
- "start": 10907
3066
+ "start": 5066
3193
3067
  },
3194
3068
  {
3195
3069
  "length": 20,
3196
- "start": 12560
3070
+ "start": 7109
3197
3071
  },
3198
3072
  {
3199
3073
  "length": 20,
3200
- "start": 13824
3074
+ "start": 8136
3201
3075
  }
3202
3076
  ]
3203
3077
  },
@@ -3205,43 +3079,7 @@
3205
3079
  "RoleIdLib": [
3206
3080
  {
3207
3081
  "length": 20,
3208
- "start": 233
3209
- },
3210
- {
3211
- "length": 20,
3212
- "start": 404
3213
- },
3214
- {
3215
- "length": 20,
3216
- "start": 3337
3217
- },
3218
- {
3219
- "length": 20,
3220
- "start": 3662
3221
- },
3222
- {
3223
- "length": 20,
3224
- "start": 11359
3225
- },
3226
- {
3227
- "length": 20,
3228
- "start": 12687
3229
- },
3230
- {
3231
- "length": 20,
3232
- "start": 12773
3233
- },
3234
- {
3235
- "length": 20,
3236
- "start": 14426
3237
- },
3238
- {
3239
- "length": 20,
3240
- "start": 14839
3241
- },
3242
- {
3243
- "length": 20,
3244
- "start": 16720
3082
+ "start": 12625
3245
3083
  }
3246
3084
  ]
3247
3085
  },
@@ -3249,47 +3087,43 @@
3249
3087
  "StateIdLib": [
3250
3088
  {
3251
3089
  "length": 20,
3252
- "start": 3863
3253
- },
3254
- {
3255
- "length": 20,
3256
- "start": 4613
3257
- },
3258
- {
3259
- "length": 20,
3260
- "start": 5730
3090
+ "start": 5295
3261
3091
  },
3262
3092
  {
3263
3093
  "length": 20,
3264
- "start": 11656
3094
+ "start": 8290
3265
3095
  },
3266
3096
  {
3267
3097
  "length": 20,
3268
- "start": 13978
3098
+ "start": 9073
3269
3099
  },
3270
3100
  {
3271
3101
  "length": 20,
3272
- "start": 15232
3102
+ "start": 13028
3273
3103
  },
3274
3104
  {
3275
3105
  "length": 20,
3276
- "start": 17670
3106
+ "start": 13248
3277
3107
  },
3278
3108
  {
3279
3109
  "length": 20,
3280
- "start": 18389
3110
+ "start": 14229
3281
3111
  },
3282
3112
  {
3283
3113
  "length": 20,
3284
- "start": 18609
3114
+ "start": 14449
3285
3115
  },
3286
3116
  {
3287
3117
  "length": 20,
3288
- "start": 19209
3289
- },
3118
+ "start": 15408
3119
+ }
3120
+ ]
3121
+ },
3122
+ "contracts/types/Version.sol": {
3123
+ "VersionPartLib": [
3290
3124
  {
3291
3125
  "length": 20,
3292
- "start": 19429
3126
+ "start": 9630
3293
3127
  }
3294
3128
  ]
3295
3129
  }
@@ -3299,47 +3133,43 @@
3299
3133
  "Key32Lib": [
3300
3134
  {
3301
3135
  "length": 20,
3302
- "start": 4395
3136
+ "start": 10359
3303
3137
  },
3304
3138
  {
3305
3139
  "length": 20,
3306
- "start": 8740
3140
+ "start": 13578
3307
3141
  },
3308
3142
  {
3309
3143
  "length": 20,
3310
- "start": 10659
3144
+ "start": 13694
3311
3145
  },
3312
3146
  {
3313
3147
  "length": 20,
3314
- "start": 11408
3148
+ "start": 13876
3315
3149
  },
3316
3150
  {
3317
3151
  "length": 20,
3318
- "start": 11524
3152
+ "start": 13992
3319
3153
  },
3320
3154
  {
3321
3155
  "length": 20,
3322
- "start": 12262
3156
+ "start": 14758
3323
3157
  },
3324
3158
  {
3325
3159
  "length": 20,
3326
- "start": 12378
3160
+ "start": 14874
3327
3161
  },
3328
3162
  {
3329
3163
  "length": 20,
3330
- "start": 13110
3164
+ "start": 15033
3331
3165
  },
3332
3166
  {
3333
3167
  "length": 20,
3334
- "start": 13226
3168
+ "start": 15786
3335
3169
  },
3336
3170
  {
3337
3171
  "length": 20,
3338
- "start": 13408
3339
- },
3340
- {
3341
- "length": 20,
3342
- "start": 13524
3172
+ "start": 15902
3343
3173
  }
3344
3174
  ]
3345
3175
  },
@@ -3347,23 +3177,35 @@
3347
3177
  "NftIdLib": [
3348
3178
  {
3349
3179
  "length": 20,
3350
- "start": 3391
3180
+ "start": 4096
3181
+ },
3182
+ {
3183
+ "length": 20,
3184
+ "start": 4599
3185
+ },
3186
+ {
3187
+ "length": 20,
3188
+ "start": 5399
3189
+ },
3190
+ {
3191
+ "length": 20,
3192
+ "start": 6174
3351
3193
  },
3352
3194
  {
3353
3195
  "length": 20,
3354
- "start": 5151
3196
+ "start": 6991
3355
3197
  },
3356
3198
  {
3357
3199
  "length": 20,
3358
- "start": 6277
3200
+ "start": 7224
3359
3201
  },
3360
3202
  {
3361
3203
  "length": 20,
3362
- "start": 7066
3204
+ "start": 7940
3363
3205
  },
3364
3206
  {
3365
3207
  "length": 20,
3366
- "start": 9281
3208
+ "start": 11339
3367
3209
  }
3368
3210
  ]
3369
3211
  },
@@ -3371,7 +3213,7 @@
3371
3213
  "ObjectTypeLib": [
3372
3214
  {
3373
3215
  "length": 20,
3374
- "start": 10780
3216
+ "start": 15154
3375
3217
  }
3376
3218
  ]
3377
3219
  },
@@ -3379,15 +3221,15 @@
3379
3221
  "RiskIdLib": [
3380
3222
  {
3381
3223
  "length": 20,
3382
- "start": 4234
3224
+ "start": 5033
3383
3225
  },
3384
3226
  {
3385
3227
  "length": 20,
3386
- "start": 5887
3228
+ "start": 7076
3387
3229
  },
3388
3230
  {
3389
3231
  "length": 20,
3390
- "start": 7151
3232
+ "start": 8103
3391
3233
  }
3392
3234
  ]
3393
3235
  },
@@ -3395,27 +3237,7 @@
3395
3237
  "RoleIdLib": [
3396
3238
  {
3397
3239
  "length": 20,
3398
- "start": 4686
3399
- },
3400
- {
3401
- "length": 20,
3402
- "start": 6014
3403
- },
3404
- {
3405
- "length": 20,
3406
- "start": 6100
3407
- },
3408
- {
3409
- "length": 20,
3410
- "start": 7753
3411
- },
3412
- {
3413
- "length": 20,
3414
- "start": 8166
3415
- },
3416
- {
3417
- "length": 20,
3418
- "start": 10047
3240
+ "start": 12592
3419
3241
  }
3420
3242
  ]
3421
3243
  },
@@ -3423,35 +3245,43 @@
3423
3245
  "StateIdLib": [
3424
3246
  {
3425
3247
  "length": 20,
3426
- "start": 4983
3248
+ "start": 5262
3427
3249
  },
3428
3250
  {
3429
3251
  "length": 20,
3430
- "start": 7305
3252
+ "start": 8257
3431
3253
  },
3432
3254
  {
3433
3255
  "length": 20,
3434
- "start": 8559
3256
+ "start": 9040
3435
3257
  },
3436
3258
  {
3437
3259
  "length": 20,
3438
- "start": 10997
3260
+ "start": 12995
3439
3261
  },
3440
3262
  {
3441
3263
  "length": 20,
3442
- "start": 11716
3264
+ "start": 13215
3443
3265
  },
3444
3266
  {
3445
3267
  "length": 20,
3446
- "start": 11936
3268
+ "start": 14196
3447
3269
  },
3448
3270
  {
3449
3271
  "length": 20,
3450
- "start": 12536
3272
+ "start": 14416
3451
3273
  },
3452
3274
  {
3453
3275
  "length": 20,
3454
- "start": 12756
3276
+ "start": 15375
3277
+ }
3278
+ ]
3279
+ },
3280
+ "contracts/types/Version.sol": {
3281
+ "VersionPartLib": [
3282
+ {
3283
+ "length": 20,
3284
+ "start": 9597
3455
3285
  }
3456
3286
  ]
3457
3287
  }