@etherisc/gif-next 0.0.2-ecbd488-936 → 0.0.2-edc084c-558

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 +71 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +842 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +941 -230
  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 +825 -231
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +638 -190
  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 +1833 -480
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +321 -168
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +943 -1206
  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 +148 -247
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +509 -261
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +331 -98
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +247 -180
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  53. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  58. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +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 +1 -1
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1341 -259
  72. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +440 -79
  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 +82 -371
  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 +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +649 -251
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +305 -92
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +270 -476
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +304 -99
  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 +261 -131
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +149 -230
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  108. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/Registry.sol/Registry.json +275 -226
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +200 -335
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +298 -141
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  123. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  125. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  127. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  129. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  130. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  131. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  132. package/artifacts/contracts/shared/IService.sol/IService.json +86 -172
  133. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  135. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  137. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  143. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  145. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  146. package/artifacts/contracts/shared/Service.sol/Service.json +191 -163
  147. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  149. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  151. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  153. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  155. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  157. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +6 -6
  159. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestService.sol/TestService.json +210 -214
  161. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  164. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  166. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  167. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  168. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/Amount.sol/AmountLib.json +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 +2 -2
  210. package/contracts/components/Component.sol +253 -0
  211. package/contracts/components/Distribution.sol +200 -79
  212. package/contracts/components/IComponent.sol +76 -0
  213. package/contracts/components/IDistributionComponent.sol +44 -17
  214. package/contracts/components/IPoolComponent.sol +88 -37
  215. package/contracts/components/IProductComponent.sol +10 -5
  216. package/contracts/components/Pool.sol +221 -160
  217. package/contracts/components/Product.sol +125 -116
  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 +61 -11
  222. package/contracts/instance/IInstanceService.sol +47 -5
  223. package/contracts/instance/Instance.sol +144 -260
  224. package/contracts/instance/InstanceAccessManager.sol +414 -175
  225. package/contracts/instance/InstanceReader.sol +19 -34
  226. package/contracts/instance/InstanceService.sol +417 -117
  227. package/contracts/instance/InstanceServiceManager.sol +6 -9
  228. package/contracts/instance/ObjectManager.sol +82 -0
  229. package/contracts/instance/base/ComponentService.sol +121 -0
  230. package/contracts/instance/base/KeyValueStore.sol +13 -5
  231. package/contracts/instance/base/Lifecycle.sol +11 -2
  232. package/contracts/instance/module/IAccess.sol +36 -20
  233. package/contracts/instance/module/IBundle.sol +8 -5
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +2 -0
  236. package/contracts/instance/module/IPolicy.sol +30 -3
  237. package/contracts/instance/module/ISetup.sol +9 -20
  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 +378 -31
  245. package/contracts/instance/service/DistributionServiceManager.sol +7 -10
  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 +3 -70
  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 +217 -108
  256. package/contracts/instance/service/PoolServiceManager.sol +6 -9
  257. package/contracts/instance/service/ProductService.sol +107 -440
  258. package/contracts/instance/service/ProductServiceManager.sol +2 -2
  259. package/contracts/registry/ChainNft.sol +9 -1
  260. package/contracts/registry/IRegistry.sol +41 -19
  261. package/contracts/registry/IRegistryService.sol +31 -13
  262. package/contracts/registry/ITransferInterceptor.sol +1 -0
  263. package/contracts/registry/Registry.sol +245 -222
  264. package/contracts/registry/RegistryAccessManager.sol +216 -0
  265. package/contracts/registry/RegistryService.sol +97 -173
  266. package/contracts/registry/RegistryServiceManager.sol +21 -39
  267. package/contracts/registry/ReleaseManager.sol +324 -0
  268. package/contracts/registry/TokenRegistry.sol +22 -17
  269. package/contracts/shared/ERC165.sol +14 -12
  270. package/contracts/shared/INftOwnable.sol +11 -10
  271. package/contracts/shared/IPolicyHolder.sol +26 -0
  272. package/contracts/shared/IRegisterable.sol +4 -6
  273. package/contracts/shared/IRegistryLinked.sol +12 -0
  274. package/contracts/shared/IService.sol +5 -4
  275. package/contracts/shared/IVersionable.sol +4 -47
  276. package/contracts/shared/NftOwnable.sol +66 -80
  277. package/contracts/shared/PolicyHolder.sol +81 -0
  278. package/contracts/shared/ProxyManager.sol +100 -25
  279. package/contracts/shared/Registerable.sol +16 -32
  280. package/contracts/shared/RegistryLinked.sol +48 -0
  281. package/contracts/shared/Service.sol +41 -24
  282. package/contracts/shared/TokenHandler.sol +11 -5
  283. package/contracts/shared/Versionable.sol +4 -92
  284. package/contracts/test/TestRegisterable.sol +1 -1
  285. package/contracts/test/TestService.sol +4 -3
  286. package/contracts/types/Amount.sol +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 -19
  297. package/contracts/types/Seconds.sol +54 -0
  298. package/contracts/types/StateId.sol +1 -0
  299. package/contracts/types/Timestamp.sol +13 -13
  300. package/contracts/types/UFixed.sol +1 -0
  301. package/contracts/types/Version.sol +1 -0
  302. package/package.json +3 -3
  303. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  305. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  307. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  309. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  311. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  324. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  327. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  329. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  344. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  346. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  347. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  349. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  350. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  351. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  352. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  353. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  354. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  355. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  356. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  357. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  358. package/contracts/components/BaseComponent.sol +0 -91
  359. package/contracts/components/IBaseComponent.sol +0 -25
  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 -115
  376. package/contracts/instance/AccessManagerSimple.sol +0 -692
  377. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  378. package/contracts/instance/base/ComponentServiceBase.sol +0 -124
  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,58 +423,81 @@
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": "uint256",
467
+ "internalType": "Seconds",
633
468
  "name": "lifetime",
469
+ "type": "uint40"
470
+ },
471
+ {
472
+ "internalType": "bytes",
473
+ "name": "applicationData",
474
+ "type": "bytes"
475
+ },
476
+ {
477
+ "internalType": "bytes",
478
+ "name": "policyData",
479
+ "type": "bytes"
480
+ },
481
+ {
482
+ "internalType": "uint16",
483
+ "name": "claimsCount",
484
+ "type": "uint16"
485
+ },
486
+ {
487
+ "internalType": "uint16",
488
+ "name": "openClaimsCount",
489
+ "type": "uint16"
490
+ },
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "payoutAmount",
634
494
  "type": "uint256"
635
495
  },
496
+ {
497
+ "internalType": "Timestamp",
498
+ "name": "activatedAt",
499
+ "type": "uint40"
500
+ },
636
501
  {
637
502
  "internalType": "Timestamp",
638
503
  "name": "expiredAt",
@@ -644,7 +509,84 @@
644
509
  "type": "uint40"
645
510
  }
646
511
  ],
647
- "internalType": "struct IBundle.BundleInfo",
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
+ ],
589
+ "internalType": "struct IBundle.BundleInfo",
648
590
  "name": "bundle",
649
591
  "type": "tuple"
650
592
  }
@@ -662,9 +604,9 @@
662
604
  "type": "uint96"
663
605
  },
664
606
  {
665
- "internalType": "NumberId",
607
+ "internalType": "ClaimId",
666
608
  "name": "claimId",
667
- "type": "uint32"
609
+ "type": "uint16"
668
610
  },
669
611
  {
670
612
  "components": [
@@ -699,24 +641,6 @@
699
641
  "stateMutability": "nonpayable",
700
642
  "type": "function"
701
643
  },
702
- {
703
- "inputs": [
704
- {
705
- "internalType": "RoleId",
706
- "name": "roleId",
707
- "type": "uint64"
708
- },
709
- {
710
- "internalType": "string",
711
- "name": "name",
712
- "type": "string"
713
- }
714
- ],
715
- "name": "createCustomRole",
716
- "outputs": [],
717
- "stateMutability": "nonpayable",
718
- "type": "function"
719
- },
720
644
  {
721
645
  "inputs": [
722
646
  {
@@ -750,18 +674,35 @@
750
674
  }
751
675
  ],
752
676
  "internalType": "struct Fee",
753
- "name": "distributionFee",
677
+ "name": "minDistributionOwnerFee",
754
678
  "type": "tuple"
755
679
  },
756
680
  {
757
- "internalType": "bool",
758
- "name": "isIntercepting",
759
- "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"
760
696
  },
761
697
  {
762
698
  "internalType": "address",
763
699
  "name": "wallet",
764
700
  "type": "address"
701
+ },
702
+ {
703
+ "internalType": "uint256",
704
+ "name": "sumDistributionOwnerFees",
705
+ "type": "uint256"
765
706
  }
766
707
  ],
767
708
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -778,25 +719,20 @@
778
719
  "inputs": [
779
720
  {
780
721
  "internalType": "NftId",
781
- "name": "policyNftId",
722
+ "name": "nftId",
782
723
  "type": "uint96"
783
724
  },
784
- {
785
- "internalType": "NumberId",
786
- "name": "payoutId",
787
- "type": "uint32"
788
- },
789
725
  {
790
726
  "components": [
791
727
  {
792
- "internalType": "NumberId",
793
- "name": "claimId",
794
- "type": "uint32"
728
+ "internalType": "DistributorType",
729
+ "name": "distributorType",
730
+ "type": "bytes8"
795
731
  },
796
732
  {
797
- "internalType": "uint256",
798
- "name": "amount",
799
- "type": "uint256"
733
+ "internalType": "bool",
734
+ "name": "active",
735
+ "type": "bool"
800
736
  },
801
737
  {
802
738
  "internalType": "bytes",
@@ -804,13 +740,18 @@
804
740
  "type": "bytes"
805
741
  },
806
742
  {
807
- "internalType": "Timestamp",
808
- "name": "paidAt",
809
- "type": "uint40"
743
+ "internalType": "uint256",
744
+ "name": "sumCommisions",
745
+ "type": "uint256"
746
+ },
747
+ {
748
+ "internalType": "uint256",
749
+ "name": "numPoliciesSold",
750
+ "type": "uint256"
810
751
  }
811
752
  ],
812
- "internalType": "struct IPolicy.PayoutInfo",
813
- "name": "payout",
753
+ "internalType": "struct IDistribution.DistributorInfo",
754
+ "name": "info",
814
755
  "type": "tuple"
815
756
  }
816
757
  ],
@@ -822,40 +763,60 @@
822
763
  {
823
764
  "inputs": [
824
765
  {
825
- "internalType": "NftId",
826
- "name": "policyNftId",
827
- "type": "uint96"
828
- },
829
- {
830
- "internalType": "NumberId",
831
- "name": "payoutId",
832
- "type": "uint32"
766
+ "internalType": "Key32",
767
+ "name": "distributorKey",
768
+ "type": "bytes32"
833
769
  },
834
770
  {
835
771
  "components": [
836
772
  {
837
- "internalType": "NumberId",
838
- "name": "claimId",
839
- "type": "uint32"
773
+ "internalType": "string",
774
+ "name": "name",
775
+ "type": "string"
840
776
  },
841
777
  {
842
- "internalType": "uint256",
843
- "name": "amount",
778
+ "internalType": "UFixed",
779
+ "name": "minDiscountPercentage",
844
780
  "type": "uint256"
845
781
  },
782
+ {
783
+ "internalType": "UFixed",
784
+ "name": "maxDiscountPercentage",
785
+ "type": "uint256"
786
+ },
787
+ {
788
+ "internalType": "UFixed",
789
+ "name": "commissionPercentage",
790
+ "type": "uint256"
791
+ },
792
+ {
793
+ "internalType": "uint32",
794
+ "name": "maxReferralCount",
795
+ "type": "uint32"
796
+ },
797
+ {
798
+ "internalType": "uint32",
799
+ "name": "maxReferralLifetime",
800
+ "type": "uint32"
801
+ },
802
+ {
803
+ "internalType": "bool",
804
+ "name": "allowSelfReferrals",
805
+ "type": "bool"
806
+ },
807
+ {
808
+ "internalType": "bool",
809
+ "name": "allowRenewals",
810
+ "type": "bool"
811
+ },
846
812
  {
847
813
  "internalType": "bytes",
848
814
  "name": "data",
849
815
  "type": "bytes"
850
- },
851
- {
852
- "internalType": "Timestamp",
853
- "name": "paidAt",
854
- "type": "uint40"
855
816
  }
856
817
  ],
857
- "internalType": "struct IPolicy.PayoutInfo",
858
- "name": "payout",
818
+ "internalType": "struct IDistribution.DistributorTypeInfo",
819
+ "name": "info",
859
820
  "type": "tuple"
860
821
  }
861
822
  ],
@@ -879,9 +840,9 @@
879
840
  {
880
841
  "components": [
881
842
  {
882
- "internalType": "NumberId",
843
+ "internalType": "ClaimId",
883
844
  "name": "claimId",
884
- "type": "uint32"
845
+ "type": "uint16"
885
846
  },
886
847
  {
887
848
  "internalType": "uint256",
@@ -913,115 +874,20 @@
913
874
  "inputs": [
914
875
  {
915
876
  "internalType": "NftId",
916
- "name": "policyNftId",
877
+ "name": "poolNftId",
917
878
  "type": "uint96"
918
879
  },
919
880
  {
920
881
  "components": [
921
882
  {
922
- "internalType": "NftId",
923
- "name": "productNftId",
924
- "type": "uint96"
925
- },
926
- {
927
- "internalType": "NftId",
928
- "name": "bundleNftId",
929
- "type": "uint96"
930
- },
931
- {
932
- "internalType": "ReferralId",
933
- "name": "referralId",
934
- "type": "bytes8"
935
- },
936
- {
937
- "internalType": "RiskId",
938
- "name": "riskId",
939
- "type": "bytes8"
940
- },
941
- {
942
- "internalType": "uint256",
943
- "name": "sumInsuredAmount",
944
- "type": "uint256"
945
- },
946
- {
947
- "internalType": "uint256",
948
- "name": "premiumAmount",
949
- "type": "uint256"
950
- },
951
- {
952
- "internalType": "uint256",
953
- "name": "premiumPaidAmount",
954
- "type": "uint256"
955
- },
956
- {
957
- "internalType": "uint256",
958
- "name": "lifetime",
959
- "type": "uint256"
960
- },
961
- {
962
- "internalType": "bytes",
963
- "name": "applicationData",
964
- "type": "bytes"
965
- },
966
- {
967
- "internalType": "bytes",
968
- "name": "policyData",
969
- "type": "bytes"
970
- },
971
- {
972
- "internalType": "uint16",
973
- "name": "claimsCount",
974
- "type": "uint16"
975
- },
976
- {
977
- "internalType": "uint16",
978
- "name": "openClaimsCount",
979
- "type": "uint16"
980
- },
981
- {
982
- "internalType": "uint256",
983
- "name": "payoutAmount",
984
- "type": "uint256"
985
- },
986
- {
987
- "internalType": "Timestamp",
988
- "name": "activatedAt",
989
- "type": "uint40"
990
- },
991
- {
992
- "internalType": "Timestamp",
993
- "name": "expiredAt",
994
- "type": "uint40"
883
+ "internalType": "string",
884
+ "name": "name",
885
+ "type": "string"
995
886
  },
996
887
  {
997
- "internalType": "Timestamp",
998
- "name": "closedAt",
999
- "type": "uint40"
1000
- }
1001
- ],
1002
- "internalType": "struct IPolicy.PolicyInfo",
1003
- "name": "policy",
1004
- "type": "tuple"
1005
- }
1006
- ],
1007
- "name": "createPolicy",
1008
- "outputs": [],
1009
- "stateMutability": "nonpayable",
1010
- "type": "function"
1011
- },
1012
- {
1013
- "inputs": [
1014
- {
1015
- "internalType": "NftId",
1016
- "name": "poolNftId",
1017
- "type": "uint96"
1018
- },
1019
- {
1020
- "components": [
1021
- {
1022
- "internalType": "NftId",
1023
- "name": "productNftId",
1024
- "type": "uint96"
888
+ "internalType": "contract IERC20Metadata",
889
+ "name": "token",
890
+ "type": "address"
1025
891
  },
1026
892
  {
1027
893
  "internalType": "contract TokenHandler",
@@ -1029,74 +895,28 @@
1029
895
  "type": "address"
1030
896
  },
1031
897
  {
1032
- "internalType": "UFixed",
1033
- "name": "collateralizationLevel",
1034
- "type": "uint256"
1035
- },
1036
- {
1037
- "components": [
1038
- {
1039
- "internalType": "UFixed",
1040
- "name": "fractionalFee",
1041
- "type": "uint256"
1042
- },
1043
- {
1044
- "internalType": "uint256",
1045
- "name": "fixedFee",
1046
- "type": "uint256"
1047
- }
1048
- ],
1049
- "internalType": "struct Fee",
1050
- "name": "poolFee",
1051
- "type": "tuple"
1052
- },
1053
- {
1054
- "components": [
1055
- {
1056
- "internalType": "UFixed",
1057
- "name": "fractionalFee",
1058
- "type": "uint256"
1059
- },
1060
- {
1061
- "internalType": "uint256",
1062
- "name": "fixedFee",
1063
- "type": "uint256"
1064
- }
1065
- ],
1066
- "internalType": "struct Fee",
1067
- "name": "stakingFee",
1068
- "type": "tuple"
898
+ "internalType": "address",
899
+ "name": "wallet",
900
+ "type": "address"
1069
901
  },
1070
902
  {
1071
- "components": [
1072
- {
1073
- "internalType": "UFixed",
1074
- "name": "fractionalFee",
1075
- "type": "uint256"
1076
- },
1077
- {
1078
- "internalType": "uint256",
1079
- "name": "fixedFee",
1080
- "type": "uint256"
1081
- }
1082
- ],
1083
- "internalType": "struct Fee",
1084
- "name": "performanceFee",
1085
- "type": "tuple"
903
+ "internalType": "Amount",
904
+ "name": "balanceAmount",
905
+ "type": "uint96"
1086
906
  },
1087
907
  {
1088
- "internalType": "bool",
1089
- "name": "isIntercepting",
1090
- "type": "bool"
908
+ "internalType": "Amount",
909
+ "name": "feeAmount",
910
+ "type": "uint96"
1091
911
  },
1092
912
  {
1093
- "internalType": "address",
1094
- "name": "wallet",
1095
- "type": "address"
913
+ "internalType": "bytes",
914
+ "name": "data",
915
+ "type": "bytes"
1096
916
  }
1097
917
  ],
1098
- "internalType": "struct ISetup.PoolSetupInfo",
1099
- "name": "setup",
918
+ "internalType": "struct IComponents.ComponentInfo",
919
+ "name": "info",
1100
920
  "type": "tuple"
1101
921
  }
1102
922
  ],
@@ -1148,58 +968,7 @@
1148
968
  }
1149
969
  ],
1150
970
  "internalType": "struct Fee",
1151
- "name": "distributionFee",
1152
- "type": "tuple"
1153
- },
1154
- {
1155
- "components": [
1156
- {
1157
- "internalType": "UFixed",
1158
- "name": "fractionalFee",
1159
- "type": "uint256"
1160
- },
1161
- {
1162
- "internalType": "uint256",
1163
- "name": "fixedFee",
1164
- "type": "uint256"
1165
- }
1166
- ],
1167
- "internalType": "struct Fee",
1168
- "name": "productFee",
1169
- "type": "tuple"
1170
- },
1171
- {
1172
- "components": [
1173
- {
1174
- "internalType": "UFixed",
1175
- "name": "fractionalFee",
1176
- "type": "uint256"
1177
- },
1178
- {
1179
- "internalType": "uint256",
1180
- "name": "fixedFee",
1181
- "type": "uint256"
1182
- }
1183
- ],
1184
- "internalType": "struct Fee",
1185
- "name": "processingFee",
1186
- "type": "tuple"
1187
- },
1188
- {
1189
- "components": [
1190
- {
1191
- "internalType": "UFixed",
1192
- "name": "fractionalFee",
1193
- "type": "uint256"
1194
- },
1195
- {
1196
- "internalType": "uint256",
1197
- "name": "fixedFee",
1198
- "type": "uint256"
1199
- }
1200
- ],
1201
- "internalType": "struct Fee",
1202
- "name": "poolFee",
971
+ "name": "productFee",
1203
972
  "type": "tuple"
1204
973
  },
1205
974
  {
@@ -1216,25 +985,18 @@
1216
985
  }
1217
986
  ],
1218
987
  "internalType": "struct Fee",
1219
- "name": "stakingFee",
988
+ "name": "processingFee",
1220
989
  "type": "tuple"
1221
990
  },
1222
991
  {
1223
- "components": [
1224
- {
1225
- "internalType": "UFixed",
1226
- "name": "fractionalFee",
1227
- "type": "uint256"
1228
- },
1229
- {
1230
- "internalType": "uint256",
1231
- "name": "fixedFee",
1232
- "type": "uint256"
1233
- }
1234
- ],
1235
- "internalType": "struct Fee",
1236
- "name": "performanceFee",
1237
- "type": "tuple"
992
+ "internalType": "bool",
993
+ "name": "isIntercepting",
994
+ "type": "bool"
995
+ },
996
+ {
997
+ "internalType": "address",
998
+ "name": "wallet",
999
+ "type": "address"
1238
1000
  }
1239
1001
  ],
1240
1002
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -1250,40 +1012,50 @@
1250
1012
  {
1251
1013
  "inputs": [
1252
1014
  {
1253
- "internalType": "NftId",
1254
- "name": "policyNftId",
1255
- "type": "uint96"
1256
- },
1257
- {
1258
- "internalType": "NumberId",
1259
- "name": "payoutId",
1260
- "type": "uint32"
1015
+ "internalType": "Key32",
1016
+ "name": "referralKey",
1017
+ "type": "bytes32"
1261
1018
  },
1262
1019
  {
1263
1020
  "components": [
1264
1021
  {
1265
- "internalType": "NumberId",
1266
- "name": "claimId",
1267
- "type": "uint32"
1022
+ "internalType": "NftId",
1023
+ "name": "distributorNftId",
1024
+ "type": "uint96"
1268
1025
  },
1269
1026
  {
1270
- "internalType": "uint256",
1271
- "name": "amount",
1027
+ "internalType": "string",
1028
+ "name": "referralCode",
1029
+ "type": "string"
1030
+ },
1031
+ {
1032
+ "internalType": "UFixed",
1033
+ "name": "discountPercentage",
1272
1034
  "type": "uint256"
1273
1035
  },
1274
1036
  {
1275
- "internalType": "bytes",
1276
- "name": "data",
1277
- "type": "bytes"
1037
+ "internalType": "uint32",
1038
+ "name": "maxReferrals",
1039
+ "type": "uint32"
1040
+ },
1041
+ {
1042
+ "internalType": "uint32",
1043
+ "name": "usedReferrals",
1044
+ "type": "uint32"
1278
1045
  },
1279
1046
  {
1280
1047
  "internalType": "Timestamp",
1281
- "name": "paidAt",
1048
+ "name": "expiryAt",
1282
1049
  "type": "uint40"
1050
+ },
1051
+ {
1052
+ "internalType": "bytes",
1053
+ "name": "data",
1054
+ "type": "bytes"
1283
1055
  }
1284
1056
  ],
1285
- "internalType": "struct IPolicy.PayoutInfo",
1286
- "name": "payout",
1057
+ "internalType": "struct IDistribution.ReferralInfo",
1058
+ "name": "referralInfo",
1287
1059
  "type": "tuple"
1288
1060
  }
1289
1061
  ],
@@ -1322,54 +1094,6 @@
1322
1094
  "stateMutability": "nonpayable",
1323
1095
  "type": "function"
1324
1096
  },
1325
- {
1326
- "inputs": [
1327
- {
1328
- "internalType": "RoleId",
1329
- "name": "roleId",
1330
- "type": "uint64"
1331
- },
1332
- {
1333
- "internalType": "string",
1334
- "name": "name",
1335
- "type": "string"
1336
- }
1337
- ],
1338
- "name": "createStandardRole",
1339
- "outputs": [],
1340
- "stateMutability": "nonpayable",
1341
- "type": "function"
1342
- },
1343
- {
1344
- "inputs": [
1345
- {
1346
- "internalType": "address",
1347
- "name": "target",
1348
- "type": "address"
1349
- },
1350
- {
1351
- "components": [
1352
- {
1353
- "internalType": "ShortString",
1354
- "name": "name",
1355
- "type": "bytes32"
1356
- },
1357
- {
1358
- "internalType": "bool",
1359
- "name": "isCustom",
1360
- "type": "bool"
1361
- }
1362
- ],
1363
- "internalType": "struct IAccess.TargetInfo",
1364
- "name": "targetInfo",
1365
- "type": "tuple"
1366
- }
1367
- ],
1368
- "name": "createTarget",
1369
- "outputs": [],
1370
- "stateMutability": "nonpayable",
1371
- "type": "function"
1372
- },
1373
1097
  {
1374
1098
  "inputs": [
1375
1099
  {
@@ -1449,10 +1173,23 @@
1449
1173
  },
1450
1174
  {
1451
1175
  "inputs": [],
1452
- "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",
1453
1190
  "outputs": [
1454
1191
  {
1455
- "internalType": "contract IComponentOwnerService",
1192
+ "internalType": "contract IBundleService",
1456
1193
  "name": "",
1457
1194
  "type": "address"
1458
1195
  }
@@ -1535,13 +1272,8 @@
1535
1272
  }
1536
1273
  ],
1537
1274
  "internalType": "struct IRegistry.ObjectInfo",
1538
- "name": "",
1275
+ "name": "info",
1539
1276
  "type": "tuple"
1540
- },
1541
- {
1542
- "internalType": "bytes",
1543
- "name": "data",
1544
- "type": "bytes"
1545
1277
  }
1546
1278
  ],
1547
1279
  "stateMutability": "view",
@@ -1566,6 +1298,19 @@
1566
1298
  "stateMutability": "view",
1567
1299
  "type": "function"
1568
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
+ },
1569
1314
  {
1570
1315
  "inputs": [],
1571
1316
  "name": "getInstanceReader",
@@ -1579,6 +1324,19 @@
1579
1324
  "stateMutability": "view",
1580
1325
  "type": "function"
1581
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
+ },
1582
1340
  {
1583
1341
  "inputs": [
1584
1342
  {
@@ -1651,6 +1409,19 @@
1651
1409
  "stateMutability": "view",
1652
1410
  "type": "function"
1653
1411
  },
1412
+ {
1413
+ "inputs": [],
1414
+ "name": "getPolicyService",
1415
+ "outputs": [
1416
+ {
1417
+ "internalType": "contract IPolicyService",
1418
+ "name": "",
1419
+ "type": "address"
1420
+ }
1421
+ ],
1422
+ "stateMutability": "view",
1423
+ "type": "function"
1424
+ },
1654
1425
  {
1655
1426
  "inputs": [],
1656
1427
  "name": "getPoolService",
@@ -1691,31 +1462,13 @@
1691
1462
  "type": "function"
1692
1463
  },
1693
1464
  {
1694
- "inputs": [
1695
- {
1696
- "internalType": "RoleId",
1697
- "name": "roleId",
1698
- "type": "uint64"
1699
- }
1700
- ],
1701
- "name": "getRole",
1465
+ "inputs": [],
1466
+ "name": "getRegistryAddress",
1702
1467
  "outputs": [
1703
1468
  {
1704
- "components": [
1705
- {
1706
- "internalType": "ShortString",
1707
- "name": "name",
1708
- "type": "bytes32"
1709
- },
1710
- {
1711
- "internalType": "bool",
1712
- "name": "isCustom",
1713
- "type": "bool"
1714
- }
1715
- ],
1716
- "internalType": "struct IAccess.RoleInfo",
1717
- "name": "role",
1718
- "type": "tuple"
1469
+ "internalType": "address",
1470
+ "name": "",
1471
+ "type": "address"
1719
1472
  }
1720
1473
  ],
1721
1474
  "stateMutability": "view",
@@ -1724,17 +1477,17 @@
1724
1477
  {
1725
1478
  "inputs": [
1726
1479
  {
1727
- "internalType": "uint256",
1728
- "name": "idx",
1729
- "type": "uint256"
1480
+ "internalType": "Key32",
1481
+ "name": "key32",
1482
+ "type": "bytes32"
1730
1483
  }
1731
1484
  ],
1732
- "name": "getRoleId",
1485
+ "name": "getState",
1733
1486
  "outputs": [
1734
1487
  {
1735
- "internalType": "RoleId",
1736
- "name": "roleId",
1737
- "type": "uint64"
1488
+ "internalType": "StateId",
1489
+ "name": "state",
1490
+ "type": "uint8"
1738
1491
  }
1739
1492
  ],
1740
1493
  "stateMutability": "view",
@@ -1743,22 +1496,17 @@
1743
1496
  {
1744
1497
  "inputs": [
1745
1498
  {
1746
- "internalType": "RoleId",
1747
- "name": "roleId",
1748
- "type": "uint64"
1749
- },
1750
- {
1751
- "internalType": "uint256",
1752
- "name": "idx",
1753
- "type": "uint256"
1499
+ "internalType": "ObjectType",
1500
+ "name": "objectType",
1501
+ "type": "uint8"
1754
1502
  }
1755
1503
  ],
1756
- "name": "getRoleMember",
1504
+ "name": "hasLifecycle",
1757
1505
  "outputs": [
1758
1506
  {
1759
- "internalType": "address",
1760
- "name": "roleMember",
1761
- "type": "address"
1507
+ "internalType": "bool",
1508
+ "name": "",
1509
+ "type": "bool"
1762
1510
  }
1763
1511
  ],
1764
1512
  "stateMutability": "view",
@@ -1767,89 +1515,105 @@
1767
1515
  {
1768
1516
  "inputs": [
1769
1517
  {
1770
- "internalType": "Key32",
1771
- "name": "key32",
1772
- "type": "bytes32"
1773
- }
1774
- ],
1775
- "name": "getState",
1776
- "outputs": [
1518
+ "internalType": "address",
1519
+ "name": "authority",
1520
+ "type": "address"
1521
+ },
1777
1522
  {
1778
- "internalType": "StateId",
1779
- "name": "state",
1780
- "type": "uint8"
1523
+ "internalType": "address",
1524
+ "name": "registryAddress",
1525
+ "type": "address"
1526
+ },
1527
+ {
1528
+ "internalType": "address",
1529
+ "name": "initialOwner",
1530
+ "type": "address"
1781
1531
  }
1782
1532
  ],
1783
- "stateMutability": "view",
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",
1784
1550
  "type": "function"
1785
1551
  },
1786
1552
  {
1787
1553
  "inputs": [
1788
1554
  {
1789
- "internalType": "RoleId",
1790
- "name": "roleId",
1791
- "type": "uint64"
1555
+ "internalType": "address",
1556
+ "name": "initialOwner",
1557
+ "type": "address"
1792
1558
  },
1793
1559
  {
1794
1560
  "internalType": "address",
1795
- "name": "member",
1561
+ "name": "registryAddress",
1796
1562
  "type": "address"
1797
1563
  }
1798
1564
  ],
1799
- "name": "grantRole",
1800
- "outputs": [
1801
- {
1802
- "internalType": "bool",
1803
- "name": "granted",
1804
- "type": "bool"
1805
- }
1806
- ],
1565
+ "name": "initializeNftOwnable",
1566
+ "outputs": [],
1807
1567
  "stateMutability": "nonpayable",
1808
1568
  "type": "function"
1809
1569
  },
1810
1570
  {
1811
1571
  "inputs": [
1572
+ {
1573
+ "internalType": "address",
1574
+ "name": "registryAddress",
1575
+ "type": "address"
1576
+ },
1577
+ {
1578
+ "internalType": "NftId",
1579
+ "name": "parentNftId",
1580
+ "type": "uint96"
1581
+ },
1812
1582
  {
1813
1583
  "internalType": "ObjectType",
1814
1584
  "name": "objectType",
1815
1585
  "type": "uint8"
1816
- }
1817
- ],
1818
- "name": "hasLifecycle",
1819
- "outputs": [
1586
+ },
1587
+ {
1588
+ "internalType": "bool",
1589
+ "name": "isInterceptor",
1590
+ "type": "bool"
1591
+ },
1592
+ {
1593
+ "internalType": "address",
1594
+ "name": "initialOwner",
1595
+ "type": "address"
1596
+ },
1820
1597
  {
1821
- "internalType": "bool",
1822
- "name": "",
1823
- "type": "bool"
1598
+ "internalType": "bytes",
1599
+ "name": "registryData",
1600
+ "type": "bytes"
1824
1601
  }
1825
1602
  ],
1826
- "stateMutability": "view",
1603
+ "name": "initializeRegisterable",
1604
+ "outputs": [],
1605
+ "stateMutability": "nonpayable",
1827
1606
  "type": "function"
1828
1607
  },
1829
1608
  {
1830
1609
  "inputs": [
1831
- {
1832
- "internalType": "address",
1833
- "name": "accessManagerAddress",
1834
- "type": "address"
1835
- },
1836
1610
  {
1837
1611
  "internalType": "address",
1838
1612
  "name": "registryAddress",
1839
1613
  "type": "address"
1840
- },
1841
- {
1842
- "internalType": "NftId",
1843
- "name": "registryNftId",
1844
- "type": "uint96"
1845
- },
1846
- {
1847
- "internalType": "address",
1848
- "name": "initialOwner",
1849
- "type": "address"
1850
1614
  }
1851
1615
  ],
1852
- "name": "initialize",
1616
+ "name": "initializeRegistryLinked",
1853
1617
  "outputs": [],
1854
1618
  "stateMutability": "nonpayable",
1855
1619
  "type": "function"
@@ -1906,87 +1670,79 @@
1906
1670
  {
1907
1671
  "inputs": [
1908
1672
  {
1909
- "internalType": "RoleId",
1910
- "name": "roleId",
1911
- "type": "uint64"
1912
- }
1913
- ],
1914
- "name": "renounceRole",
1915
- "outputs": [
1673
+ "internalType": "address",
1674
+ "name": "to",
1675
+ "type": "address"
1676
+ },
1916
1677
  {
1917
- "internalType": "bool",
1918
- "name": "revoked",
1919
- "type": "bool"
1678
+ "internalType": "uint256",
1679
+ "name": "tokenId",
1680
+ "type": "uint256"
1920
1681
  }
1921
1682
  ],
1683
+ "name": "nftMint",
1684
+ "outputs": [],
1922
1685
  "stateMutability": "nonpayable",
1923
1686
  "type": "function"
1924
1687
  },
1925
1688
  {
1926
1689
  "inputs": [
1927
1690
  {
1928
- "internalType": "RoleId",
1929
- "name": "roleId",
1930
- "type": "uint64"
1691
+ "internalType": "address",
1692
+ "name": "from",
1693
+ "type": "address"
1931
1694
  },
1932
1695
  {
1933
1696
  "internalType": "address",
1934
- "name": "member",
1697
+ "name": "to",
1935
1698
  "type": "address"
1936
- }
1937
- ],
1938
- "name": "revokeRole",
1939
- "outputs": [
1699
+ },
1940
1700
  {
1941
- "internalType": "bool",
1942
- "name": "revoked",
1943
- "type": "bool"
1701
+ "internalType": "uint256",
1702
+ "name": "tokenId",
1703
+ "type": "uint256"
1944
1704
  }
1945
1705
  ],
1706
+ "name": "nftTransferFrom",
1707
+ "outputs": [],
1946
1708
  "stateMutability": "nonpayable",
1947
1709
  "type": "function"
1948
1710
  },
1949
1711
  {
1950
1712
  "inputs": [
1951
1713
  {
1952
- "internalType": "RoleId",
1953
- "name": "roleId",
1954
- "type": "uint64"
1955
- }
1956
- ],
1957
- "name": "roleMembers",
1958
- "outputs": [
1959
- {
1960
- "internalType": "uint256",
1961
- "name": "numberOfMembers",
1962
- "type": "uint256"
1714
+ "internalType": "bytes4",
1715
+ "name": "interfaceId",
1716
+ "type": "bytes4"
1963
1717
  }
1964
1718
  ],
1965
- "stateMutability": "view",
1719
+ "name": "registerInterface",
1720
+ "outputs": [],
1721
+ "stateMutability": "nonpayable",
1966
1722
  "type": "function"
1967
1723
  },
1968
1724
  {
1969
- "inputs": [],
1970
- "name": "roles",
1971
- "outputs": [
1725
+ "inputs": [
1972
1726
  {
1973
- "internalType": "uint256",
1974
- "name": "numberOfRoles",
1975
- "type": "uint256"
1727
+ "internalType": "address",
1728
+ "name": "newAuthority",
1729
+ "type": "address"
1976
1730
  }
1977
1731
  ],
1978
- "stateMutability": "view",
1732
+ "name": "setAuthority",
1733
+ "outputs": [],
1734
+ "stateMutability": "nonpayable",
1979
1735
  "type": "function"
1980
1736
  },
1981
1737
  {
1982
1738
  "inputs": [
1983
1739
  {
1984
- "internalType": "address",
1985
- "name": "newAuthority",
1740
+ "internalType": "contract BundleManager",
1741
+ "name": "bundleManager",
1986
1742
  "type": "address"
1987
1743
  }
1988
1744
  ],
1989
- "name": "setAuthority",
1745
+ "name": "setBundleManager",
1990
1746
  "outputs": [],
1991
1747
  "stateMutability": "nonpayable",
1992
1748
  "type": "function"
@@ -1994,12 +1750,12 @@
1994
1750
  {
1995
1751
  "inputs": [
1996
1752
  {
1997
- "internalType": "contract InstanceReader",
1998
- "name": "instanceReader",
1753
+ "internalType": "contract InstanceAccessManager",
1754
+ "name": "accessManager",
1999
1755
  "type": "address"
2000
1756
  }
2001
1757
  ],
2002
- "name": "setInstanceReader",
1758
+ "name": "setInstanceAccessManager",
2003
1759
  "outputs": [],
2004
1760
  "stateMutability": "nonpayable",
2005
1761
  "type": "function"
@@ -2007,17 +1763,12 @@
2007
1763
  {
2008
1764
  "inputs": [
2009
1765
  {
2010
- "internalType": "address",
2011
- "name": "target",
1766
+ "internalType": "contract InstanceReader",
1767
+ "name": "instanceReader",
2012
1768
  "type": "address"
2013
- },
2014
- {
2015
- "internalType": "bool",
2016
- "name": "closed",
2017
- "type": "bool"
2018
1769
  }
2019
1770
  ],
2020
- "name": "setTargetClosed",
1771
+ "name": "setInstanceReader",
2021
1772
  "outputs": [],
2022
1773
  "stateMutability": "nonpayable",
2023
1774
  "type": "function"
@@ -2063,17 +1814,31 @@
2063
1814
  {
2064
1815
  "inputs": [
2065
1816
  {
2066
- "internalType": "ObjectType",
2067
- "name": "objectType",
2068
- "type": "uint8"
2069
- },
1817
+ "internalType": "NftId",
1818
+ "name": "distNftId",
1819
+ "type": "uint96"
1820
+ }
1821
+ ],
1822
+ "name": "toDistributionKey32",
1823
+ "outputs": [
2070
1824
  {
2071
- "internalType": "KeyId",
2072
- "name": "id",
2073
- "type": "bytes31"
1825
+ "internalType": "Key32",
1826
+ "name": "",
1827
+ "type": "bytes32"
2074
1828
  }
2075
1829
  ],
2076
- "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",
2077
1842
  "outputs": [
2078
1843
  {
2079
1844
  "internalType": "Key32",
@@ -2088,11 +1853,11 @@
2088
1853
  "inputs": [
2089
1854
  {
2090
1855
  "internalType": "NftId",
2091
- "name": "policyNftId",
1856
+ "name": "distNftId",
2092
1857
  "type": "uint96"
2093
1858
  }
2094
1859
  ],
2095
- "name": "toPolicyKey32",
1860
+ "name": "toDistributorTypeKey32",
2096
1861
  "outputs": [
2097
1862
  {
2098
1863
  "internalType": "Key32",
@@ -2106,12 +1871,17 @@
2106
1871
  {
2107
1872
  "inputs": [
2108
1873
  {
2109
- "internalType": "RoleId",
2110
- "name": "roleId",
2111
- "type": "uint64"
1874
+ "internalType": "ObjectType",
1875
+ "name": "objectType",
1876
+ "type": "uint8"
1877
+ },
1878
+ {
1879
+ "internalType": "KeyId",
1880
+ "name": "id",
1881
+ "type": "bytes31"
2112
1882
  }
2113
1883
  ],
2114
- "name": "toRoleKey32",
1884
+ "name": "toKey32",
2115
1885
  "outputs": [
2116
1886
  {
2117
1887
  "internalType": "Key32",
@@ -2125,12 +1895,12 @@
2125
1895
  {
2126
1896
  "inputs": [
2127
1897
  {
2128
- "internalType": "address",
2129
- "name": "target",
2130
- "type": "address"
1898
+ "internalType": "NftId",
1899
+ "name": "policyNftId",
1900
+ "type": "uint96"
2131
1901
  }
2132
1902
  ],
2133
- "name": "toTargetKey32",
1903
+ "name": "toPolicyKey32",
2134
1904
  "outputs": [
2135
1905
  {
2136
1906
  "internalType": "Key32",
@@ -2145,58 +1915,81 @@
2145
1915
  "inputs": [
2146
1916
  {
2147
1917
  "internalType": "NftId",
2148
- "name": "bundleNftId",
1918
+ "name": "applicationNftId",
2149
1919
  "type": "uint96"
2150
1920
  },
2151
1921
  {
2152
1922
  "components": [
2153
1923
  {
2154
1924
  "internalType": "NftId",
2155
- "name": "poolNftId",
1925
+ "name": "productNftId",
2156
1926
  "type": "uint96"
2157
1927
  },
2158
1928
  {
2159
- "components": [
2160
- {
2161
- "internalType": "UFixed",
2162
- "name": "fractionalFee",
2163
- "type": "uint256"
2164
- },
2165
- {
2166
- "internalType": "uint256",
2167
- "name": "fixedFee",
2168
- "type": "uint256"
2169
- }
2170
- ],
2171
- "internalType": "struct Fee",
2172
- "name": "fee",
2173
- "type": "tuple"
1929
+ "internalType": "NftId",
1930
+ "name": "bundleNftId",
1931
+ "type": "uint96"
2174
1932
  },
2175
1933
  {
2176
- "internalType": "bytes",
2177
- "name": "filter",
2178
- "type": "bytes"
1934
+ "internalType": "ReferralId",
1935
+ "name": "referralId",
1936
+ "type": "bytes8"
1937
+ },
1938
+ {
1939
+ "internalType": "RiskId",
1940
+ "name": "riskId",
1941
+ "type": "bytes8"
2179
1942
  },
2180
1943
  {
2181
1944
  "internalType": "uint256",
2182
- "name": "capitalAmount",
1945
+ "name": "sumInsuredAmount",
2183
1946
  "type": "uint256"
2184
1947
  },
2185
1948
  {
2186
1949
  "internalType": "uint256",
2187
- "name": "lockedAmount",
1950
+ "name": "premiumAmount",
2188
1951
  "type": "uint256"
2189
1952
  },
2190
1953
  {
2191
1954
  "internalType": "uint256",
2192
- "name": "balanceAmount",
1955
+ "name": "premiumPaidAmount",
2193
1956
  "type": "uint256"
2194
1957
  },
2195
1958
  {
2196
- "internalType": "uint256",
1959
+ "internalType": "Seconds",
2197
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",
2198
1986
  "type": "uint256"
2199
1987
  },
1988
+ {
1989
+ "internalType": "Timestamp",
1990
+ "name": "activatedAt",
1991
+ "type": "uint40"
1992
+ },
2200
1993
  {
2201
1994
  "internalType": "Timestamp",
2202
1995
  "name": "expiredAt",
@@ -2208,8 +2001,8 @@
2208
2001
  "type": "uint40"
2209
2002
  }
2210
2003
  ],
2211
- "internalType": "struct IBundle.BundleInfo",
2212
- "name": "bundle",
2004
+ "internalType": "struct IPolicy.PolicyInfo",
2005
+ "name": "policy",
2213
2006
  "type": "tuple"
2214
2007
  },
2215
2008
  {
@@ -2218,7 +2011,7 @@
2218
2011
  "type": "uint8"
2219
2012
  }
2220
2013
  ],
2221
- "name": "updateBundle",
2014
+ "name": "updateApplication",
2222
2015
  "outputs": [],
2223
2016
  "stateMutability": "nonpayable",
2224
2017
  "type": "function"
@@ -2227,7 +2020,7 @@
2227
2020
  "inputs": [
2228
2021
  {
2229
2022
  "internalType": "NftId",
2230
- "name": "bundleNftId",
2023
+ "name": "applicationNftId",
2231
2024
  "type": "uint96"
2232
2025
  },
2233
2026
  {
@@ -2236,7 +2029,7 @@
2236
2029
  "type": "uint8"
2237
2030
  }
2238
2031
  ],
2239
- "name": "updateBundleState",
2032
+ "name": "updateApplicationState",
2240
2033
  "outputs": [],
2241
2034
  "stateMutability": "nonpayable",
2242
2035
  "type": "function"
@@ -2245,39 +2038,71 @@
2245
2038
  "inputs": [
2246
2039
  {
2247
2040
  "internalType": "NftId",
2248
- "name": "policyNftId",
2041
+ "name": "bundleNftId",
2249
2042
  "type": "uint96"
2250
2043
  },
2251
- {
2252
- "internalType": "NumberId",
2253
- "name": "claimId",
2254
- "type": "uint32"
2255
- },
2256
2044
  {
2257
2045
  "components": [
2258
2046
  {
2259
- "internalType": "uint256",
2260
- "name": "claimAmount",
2261
- "type": "uint256"
2047
+ "internalType": "NftId",
2048
+ "name": "poolNftId",
2049
+ "type": "uint96"
2262
2050
  },
2263
2051
  {
2264
- "internalType": "uint256",
2265
- "name": "paidAmount",
2266
- "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"
2267
2067
  },
2268
2068
  {
2269
2069
  "internalType": "bytes",
2270
- "name": "data",
2070
+ "name": "filter",
2271
2071
  "type": "bytes"
2272
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
+ },
2273
2098
  {
2274
2099
  "internalType": "Timestamp",
2275
2100
  "name": "closedAt",
2276
2101
  "type": "uint40"
2277
2102
  }
2278
2103
  ],
2279
- "internalType": "struct IPolicy.ClaimInfo",
2280
- "name": "claim",
2104
+ "internalType": "struct IBundle.BundleInfo",
2105
+ "name": "bundle",
2281
2106
  "type": "tuple"
2282
2107
  },
2283
2108
  {
@@ -2286,7 +2111,25 @@
2286
2111
  "type": "uint8"
2287
2112
  }
2288
2113
  ],
2289
- "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",
2290
2133
  "outputs": [],
2291
2134
  "stateMutability": "nonpayable",
2292
2135
  "type": "function"
@@ -2299,20 +2142,20 @@
2299
2142
  "type": "uint96"
2300
2143
  },
2301
2144
  {
2302
- "internalType": "NumberId",
2303
- "name": "payoutId",
2304
- "type": "uint32"
2145
+ "internalType": "ClaimId",
2146
+ "name": "claimId",
2147
+ "type": "uint16"
2305
2148
  },
2306
2149
  {
2307
2150
  "components": [
2308
2151
  {
2309
- "internalType": "NumberId",
2310
- "name": "claimId",
2311
- "type": "uint32"
2152
+ "internalType": "uint256",
2153
+ "name": "claimAmount",
2154
+ "type": "uint256"
2312
2155
  },
2313
2156
  {
2314
2157
  "internalType": "uint256",
2315
- "name": "amount",
2158
+ "name": "paidAmount",
2316
2159
  "type": "uint256"
2317
2160
  },
2318
2161
  {
@@ -2322,12 +2165,12 @@
2322
2165
  },
2323
2166
  {
2324
2167
  "internalType": "Timestamp",
2325
- "name": "paidAt",
2168
+ "name": "closedAt",
2326
2169
  "type": "uint40"
2327
2170
  }
2328
2171
  ],
2329
- "internalType": "struct IPolicy.PayoutInfo",
2330
- "name": "payout",
2172
+ "internalType": "struct IPolicy.ClaimInfo",
2173
+ "name": "claim",
2331
2174
  "type": "tuple"
2332
2175
  },
2333
2176
  {
@@ -2348,6 +2191,11 @@
2348
2191
  "name": "policyNftId",
2349
2192
  "type": "uint96"
2350
2193
  },
2194
+ {
2195
+ "internalType": "ClaimId",
2196
+ "name": "claimId",
2197
+ "type": "uint16"
2198
+ },
2351
2199
  {
2352
2200
  "internalType": "StateId",
2353
2201
  "name": "newState",
@@ -2392,18 +2240,35 @@
2392
2240
  }
2393
2241
  ],
2394
2242
  "internalType": "struct Fee",
2395
- "name": "distributionFee",
2243
+ "name": "minDistributionOwnerFee",
2396
2244
  "type": "tuple"
2397
2245
  },
2398
2246
  {
2399
- "internalType": "bool",
2400
- "name": "isIntercepting",
2401
- "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"
2402
2262
  },
2403
2263
  {
2404
2264
  "internalType": "address",
2405
2265
  "name": "wallet",
2406
2266
  "type": "address"
2267
+ },
2268
+ {
2269
+ "internalType": "uint256",
2270
+ "name": "sumDistributionOwnerFees",
2271
+ "type": "uint256"
2407
2272
  }
2408
2273
  ],
2409
2274
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -2443,25 +2308,20 @@
2443
2308
  "inputs": [
2444
2309
  {
2445
2310
  "internalType": "NftId",
2446
- "name": "policyNftId",
2311
+ "name": "nftId",
2447
2312
  "type": "uint96"
2448
2313
  },
2449
- {
2450
- "internalType": "NumberId",
2451
- "name": "payoutId",
2452
- "type": "uint32"
2453
- },
2454
2314
  {
2455
2315
  "components": [
2456
2316
  {
2457
- "internalType": "NumberId",
2458
- "name": "claimId",
2459
- "type": "uint32"
2317
+ "internalType": "DistributorType",
2318
+ "name": "distributorType",
2319
+ "type": "bytes8"
2460
2320
  },
2461
2321
  {
2462
- "internalType": "uint256",
2463
- "name": "amount",
2464
- "type": "uint256"
2322
+ "internalType": "bool",
2323
+ "name": "active",
2324
+ "type": "bool"
2465
2325
  },
2466
2326
  {
2467
2327
  "internalType": "bytes",
@@ -2469,13 +2329,18 @@
2469
2329
  "type": "bytes"
2470
2330
  },
2471
2331
  {
2472
- "internalType": "Timestamp",
2473
- "name": "paidAt",
2474
- "type": "uint40"
2332
+ "internalType": "uint256",
2333
+ "name": "sumCommisions",
2334
+ "type": "uint256"
2335
+ },
2336
+ {
2337
+ "internalType": "uint256",
2338
+ "name": "numPoliciesSold",
2339
+ "type": "uint256"
2475
2340
  }
2476
2341
  ],
2477
- "internalType": "struct IPolicy.PayoutInfo",
2478
- "name": "payout",
2342
+ "internalType": "struct IDistribution.DistributorInfo",
2343
+ "name": "info",
2479
2344
  "type": "tuple"
2480
2345
  },
2481
2346
  {
@@ -2493,7 +2358,7 @@
2493
2358
  "inputs": [
2494
2359
  {
2495
2360
  "internalType": "NftId",
2496
- "name": "policyNftId",
2361
+ "name": "nftId",
2497
2362
  "type": "uint96"
2498
2363
  },
2499
2364
  {
@@ -2510,40 +2375,60 @@
2510
2375
  {
2511
2376
  "inputs": [
2512
2377
  {
2513
- "internalType": "NftId",
2514
- "name": "policyNftId",
2515
- "type": "uint96"
2516
- },
2517
- {
2518
- "internalType": "NumberId",
2519
- "name": "payoutId",
2520
- "type": "uint32"
2378
+ "internalType": "Key32",
2379
+ "name": "distributorKey",
2380
+ "type": "bytes32"
2521
2381
  },
2522
2382
  {
2523
2383
  "components": [
2524
2384
  {
2525
- "internalType": "NumberId",
2526
- "name": "claimId",
2527
- "type": "uint32"
2385
+ "internalType": "string",
2386
+ "name": "name",
2387
+ "type": "string"
2528
2388
  },
2529
2389
  {
2530
- "internalType": "uint256",
2531
- "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",
2532
2402
  "type": "uint256"
2533
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
+ },
2534
2424
  {
2535
2425
  "internalType": "bytes",
2536
2426
  "name": "data",
2537
2427
  "type": "bytes"
2538
- },
2539
- {
2540
- "internalType": "Timestamp",
2541
- "name": "paidAt",
2542
- "type": "uint40"
2543
2428
  }
2544
2429
  ],
2545
- "internalType": "struct IPolicy.PayoutInfo",
2546
- "name": "payout",
2430
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2431
+ "name": "info",
2547
2432
  "type": "tuple"
2548
2433
  },
2549
2434
  {
@@ -2557,6 +2442,24 @@
2557
2442
  "stateMutability": "nonpayable",
2558
2443
  "type": "function"
2559
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
+ },
2560
2463
  {
2561
2464
  "inputs": [
2562
2465
  {
@@ -2564,13 +2467,45 @@
2564
2467
  "name": "policyNftId",
2565
2468
  "type": "uint96"
2566
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
+ },
2567
2502
  {
2568
2503
  "internalType": "StateId",
2569
2504
  "name": "newState",
2570
2505
  "type": "uint8"
2571
2506
  }
2572
2507
  ],
2573
- "name": "updateDistributorTypeState",
2508
+ "name": "updatePayout",
2574
2509
  "outputs": [],
2575
2510
  "stateMutability": "nonpayable",
2576
2511
  "type": "function"
@@ -2638,9 +2573,9 @@
2638
2573
  "type": "uint256"
2639
2574
  },
2640
2575
  {
2641
- "internalType": "uint256",
2576
+ "internalType": "Seconds",
2642
2577
  "name": "lifetime",
2643
- "type": "uint256"
2578
+ "type": "uint40"
2644
2579
  },
2645
2580
  {
2646
2581
  "internalType": "bytes",
@@ -2726,84 +2661,43 @@
2726
2661
  {
2727
2662
  "components": [
2728
2663
  {
2729
- "internalType": "NftId",
2730
- "name": "productNftId",
2731
- "type": "uint96"
2664
+ "internalType": "string",
2665
+ "name": "name",
2666
+ "type": "string"
2732
2667
  },
2733
2668
  {
2734
- "internalType": "contract TokenHandler",
2735
- "name": "tokenHandler",
2669
+ "internalType": "contract IERC20Metadata",
2670
+ "name": "token",
2736
2671
  "type": "address"
2737
2672
  },
2738
2673
  {
2739
- "internalType": "UFixed",
2740
- "name": "collateralizationLevel",
2741
- "type": "uint256"
2742
- },
2743
- {
2744
- "components": [
2745
- {
2746
- "internalType": "UFixed",
2747
- "name": "fractionalFee",
2748
- "type": "uint256"
2749
- },
2750
- {
2751
- "internalType": "uint256",
2752
- "name": "fixedFee",
2753
- "type": "uint256"
2754
- }
2755
- ],
2756
- "internalType": "struct Fee",
2757
- "name": "poolFee",
2758
- "type": "tuple"
2759
- },
2760
- {
2761
- "components": [
2762
- {
2763
- "internalType": "UFixed",
2764
- "name": "fractionalFee",
2765
- "type": "uint256"
2766
- },
2767
- {
2768
- "internalType": "uint256",
2769
- "name": "fixedFee",
2770
- "type": "uint256"
2771
- }
2772
- ],
2773
- "internalType": "struct Fee",
2774
- "name": "stakingFee",
2775
- "type": "tuple"
2776
- },
2777
- {
2778
- "components": [
2779
- {
2780
- "internalType": "UFixed",
2781
- "name": "fractionalFee",
2782
- "type": "uint256"
2783
- },
2784
- {
2785
- "internalType": "uint256",
2786
- "name": "fixedFee",
2787
- "type": "uint256"
2788
- }
2789
- ],
2790
- "internalType": "struct Fee",
2791
- "name": "performanceFee",
2792
- "type": "tuple"
2793
- },
2794
- {
2795
- "internalType": "bool",
2796
- "name": "isIntercepting",
2797
- "type": "bool"
2674
+ "internalType": "contract TokenHandler",
2675
+ "name": "tokenHandler",
2676
+ "type": "address"
2798
2677
  },
2799
2678
  {
2800
2679
  "internalType": "address",
2801
2680
  "name": "wallet",
2802
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"
2803
2697
  }
2804
2698
  ],
2805
- "internalType": "struct ISetup.PoolSetupInfo",
2806
- "name": "setup",
2699
+ "internalType": "struct IComponents.ComponentInfo",
2700
+ "name": "info",
2807
2701
  "type": "tuple"
2808
2702
  },
2809
2703
  {
@@ -2864,23 +2758,6 @@
2864
2758
  "name": "poolNftId",
2865
2759
  "type": "uint96"
2866
2760
  },
2867
- {
2868
- "components": [
2869
- {
2870
- "internalType": "UFixed",
2871
- "name": "fractionalFee",
2872
- "type": "uint256"
2873
- },
2874
- {
2875
- "internalType": "uint256",
2876
- "name": "fixedFee",
2877
- "type": "uint256"
2878
- }
2879
- ],
2880
- "internalType": "struct Fee",
2881
- "name": "distributionFee",
2882
- "type": "tuple"
2883
- },
2884
2761
  {
2885
2762
  "components": [
2886
2763
  {
@@ -2916,55 +2793,14 @@
2916
2793
  "type": "tuple"
2917
2794
  },
2918
2795
  {
2919
- "components": [
2920
- {
2921
- "internalType": "UFixed",
2922
- "name": "fractionalFee",
2923
- "type": "uint256"
2924
- },
2925
- {
2926
- "internalType": "uint256",
2927
- "name": "fixedFee",
2928
- "type": "uint256"
2929
- }
2930
- ],
2931
- "internalType": "struct Fee",
2932
- "name": "poolFee",
2933
- "type": "tuple"
2934
- },
2935
- {
2936
- "components": [
2937
- {
2938
- "internalType": "UFixed",
2939
- "name": "fractionalFee",
2940
- "type": "uint256"
2941
- },
2942
- {
2943
- "internalType": "uint256",
2944
- "name": "fixedFee",
2945
- "type": "uint256"
2946
- }
2947
- ],
2948
- "internalType": "struct Fee",
2949
- "name": "stakingFee",
2950
- "type": "tuple"
2796
+ "internalType": "bool",
2797
+ "name": "isIntercepting",
2798
+ "type": "bool"
2951
2799
  },
2952
2800
  {
2953
- "components": [
2954
- {
2955
- "internalType": "UFixed",
2956
- "name": "fractionalFee",
2957
- "type": "uint256"
2958
- },
2959
- {
2960
- "internalType": "uint256",
2961
- "name": "fixedFee",
2962
- "type": "uint256"
2963
- }
2964
- ],
2965
- "internalType": "struct Fee",
2966
- "name": "performanceFee",
2967
- "type": "tuple"
2801
+ "internalType": "address",
2802
+ "name": "wallet",
2803
+ "type": "address"
2968
2804
  }
2969
2805
  ],
2970
2806
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -3003,40 +2839,50 @@
3003
2839
  {
3004
2840
  "inputs": [
3005
2841
  {
3006
- "internalType": "NftId",
3007
- "name": "policyNftId",
3008
- "type": "uint96"
3009
- },
3010
- {
3011
- "internalType": "NumberId",
3012
- "name": "payoutId",
3013
- "type": "uint32"
2842
+ "internalType": "Key32",
2843
+ "name": "referralKey",
2844
+ "type": "bytes32"
3014
2845
  },
3015
2846
  {
3016
2847
  "components": [
3017
2848
  {
3018
- "internalType": "NumberId",
3019
- "name": "claimId",
3020
- "type": "uint32"
2849
+ "internalType": "NftId",
2850
+ "name": "distributorNftId",
2851
+ "type": "uint96"
3021
2852
  },
3022
2853
  {
3023
- "internalType": "uint256",
3024
- "name": "amount",
2854
+ "internalType": "string",
2855
+ "name": "referralCode",
2856
+ "type": "string"
2857
+ },
2858
+ {
2859
+ "internalType": "UFixed",
2860
+ "name": "discountPercentage",
3025
2861
  "type": "uint256"
3026
2862
  },
3027
2863
  {
3028
- "internalType": "bytes",
3029
- "name": "data",
3030
- "type": "bytes"
2864
+ "internalType": "uint32",
2865
+ "name": "maxReferrals",
2866
+ "type": "uint32"
2867
+ },
2868
+ {
2869
+ "internalType": "uint32",
2870
+ "name": "usedReferrals",
2871
+ "type": "uint32"
3031
2872
  },
3032
2873
  {
3033
2874
  "internalType": "Timestamp",
3034
- "name": "paidAt",
2875
+ "name": "expiryAt",
3035
2876
  "type": "uint40"
2877
+ },
2878
+ {
2879
+ "internalType": "bytes",
2880
+ "name": "data",
2881
+ "type": "bytes"
3036
2882
  }
3037
2883
  ],
3038
- "internalType": "struct IPolicy.PayoutInfo",
3039
- "name": "payout",
2884
+ "internalType": "struct IDistribution.ReferralInfo",
2885
+ "name": "referralInfo",
3040
2886
  "type": "tuple"
3041
2887
  },
3042
2888
  {
@@ -3053,9 +2899,9 @@
3053
2899
  {
3054
2900
  "inputs": [
3055
2901
  {
3056
- "internalType": "NftId",
3057
- "name": "policyNftId",
3058
- "type": "uint96"
2902
+ "internalType": "Key32",
2903
+ "name": "referralKey",
2904
+ "type": "bytes32"
3059
2905
  },
3060
2906
  {
3061
2907
  "internalType": "StateId",
@@ -3120,133 +2966,88 @@
3120
2966
  "outputs": [],
3121
2967
  "stateMutability": "nonpayable",
3122
2968
  "type": "function"
3123
- },
3124
- {
3125
- "inputs": [
3126
- {
3127
- "internalType": "RoleId",
3128
- "name": "roleId",
3129
- "type": "uint64"
3130
- },
3131
- {
3132
- "internalType": "string",
3133
- "name": "name",
3134
- "type": "string"
3135
- },
3136
- {
3137
- "internalType": "StateId",
3138
- "name": "newState",
3139
- "type": "uint8"
3140
- }
3141
- ],
3142
- "name": "updateRole",
3143
- "outputs": [],
3144
- "stateMutability": "nonpayable",
3145
- "type": "function"
3146
- },
3147
- {
3148
- "inputs": [
3149
- {
3150
- "internalType": "RoleId",
3151
- "name": "roleId",
3152
- "type": "uint64"
3153
- },
3154
- {
3155
- "internalType": "StateId",
3156
- "name": "newState",
3157
- "type": "uint8"
3158
- }
3159
- ],
3160
- "name": "updateRoleState",
3161
- "outputs": [],
3162
- "stateMutability": "nonpayable",
3163
- "type": "function"
3164
2969
  }
3165
2970
  ],
3166
- "bytecode": "0x60806040523480156200001157600080fd5b506040516200744e3803806200744e833981016040819052620000349162001867565b6200003e620000cd565b6200004862000284565b62000052620003be565b6200005c6200062b565b6200009e6301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b600680546001600160a01b03191633908117909155620000c49084908490849062000772565b50505062001bc6565b60dc6000908152600160208190527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec805460ff19166064179055906002906200011460dc90565b60ff1660ff16815260200190815260200160002060006200013a620009dc60201b60201c565b60ff1660ff168152602001908152602001600020600062000160620009e160201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200019460dc90565b60ff1660ff1681526020019081526020016000206000620001ba620009e160201b60201c565b60ff1660ff1681526020019081526020016000206000620001e0620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200021460dc90565b60ff1660ff16815260200190815260200160002060006200023a620009e160201b60201c565b60ff1660ff168152602001908152602001600020600062000260620009e660201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c128054606460ff1991821681179092557f879b65b464eb639409179c76c21acf6fbada740970e2300d47ea857d08cacd3c8054909116600190811790915560009182526002602052907f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a9062000318606e90565b60ff1660ff16815260200190815260200160002060006200033e620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060029062000372606490565b60ff1660ff168152602001908152602001600020600062000398620009e160201b60201c565b60ff1660ff168152602001908152602001600020600062000260620009eb60201b60201c565b60d26000908152600160208190527fcfa08e49dd9e66a4af3cdf0c2ef56f411154768307cac6dc23ee77c0386825be805460ff1916600a179055906002906200040560d290565b60ff1660ff16815260200190815260200160002060006200042b620009f060201b60201c565b60ff1660ff168152602001908152602001600020600062000451620009f560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200048560d290565b60ff1660ff1681526020019081526020016000206000620004ab620009f060201b60201c565b60ff1660ff1681526020019081526020016000206000620004d1620009fa60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200050560d290565b60ff1660ff16815260200190815260200160002060006200052b620009f060201b60201c565b60ff1660ff168152602001908152602001600020600062000551620009ff60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200058560d290565b60ff1660ff1681526020019081526020016000206000620005ab620009ff60201b60201c565b60ff1660ff1681526020019081526020016000206000620005d1620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200060560d290565b60ff1660ff16815260200190815260200160002060006200023a620009dc60201b60201c565b60c86000908152600160208190527f345f7c6c888721344af4147de0834159e0b302300ba13c4e7b6c0b60d8f2314e805460ff19166064179055906002906200067260c890565b60ff1660ff168152602001908152602001600020600062000698620009dc60201b60201c565b60ff1660ff1681526020019081526020016000206000620006be620009e160201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620006f260c890565b60ff1660ff168152602001908152602001600020600062000718620009e160201b60201c565b60ff1660ff16815260200190815260200160002060006200073e620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200037260c890565b600654600160a01b900460ff1615620007e95760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b620007f48462000a04565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152620008b49073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000865573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200088b9190620018c1565b60408051808201909152600981526841646d696e526f6c6560b81b602082015260008062000a7f565b6040516368aebf7b60e01b81526001600160401b036004820152620009609073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000910573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009369190620018c1565b60408051808201909152600a8152695075626c6963526f6c6560b01b602082015260008062000a7f565b62000987838360466000856040518060200160405280600081525062000b6560201b60201c565b6393496b8360e01b60005260046020527ffaf0c1b83fd50dd4c90b005726ac2cc092b62a79f237fdfeb8ee830c8922707f805460ff1916600117905550506006805460ff60a01b1916600160a01b1790555050565b606490565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b602890565b60005460ff161562000a645760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401620007e0565b62000a6f8162000c78565b506000805460ff19166001179055565b801562000a965762000a9384848462000cd4565b50505b600062000aa585858562000f5e565b8051600090815260076020526040812080546001600160401b0319166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a928302199093169102179055905062000b5e62000b2f8662000f9a565b604080518451602080830191909152850151151581830152815180820383018152606090910190915262001022565b5050505050565b62000ba76301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b62000bb3828762001032565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000c32838262001998565b506303fb044760e21b60005260046020527f91a409085efa2cad9dad64790cb14ef1d9b61e9173e901d74242d27ef0ced4a1805460ff1916600117905550505050505050565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6000808062000ce38662000f9a565b905062000cf081620010b0565b9250821562000d255762000d04816200113e565b80602001905181019062000d19919062001a75565b60200151915062000d29565b8391505b856001600160401b038116158062000d4957506001600160401b03818116145b1562000d745760405163981bf42160e01b81526001600160401b0388166004820152602401620007e0565b82801562000d8c57506127106001600160401b038216105b1562000db757604051633119b9df60e21b81526001600160401b0388166004820152602401620007e0565b82801562000dd057506127106001600160401b03821610155b1562000dfb5760405163094fb39160e01b81526001600160401b0388166004820152602401620007e0565b600062000e0887620011eb565b905062000e15816200122e565b60000362000e42576040516321ab17ab60e01b81526001600160401b0389166004820152602401620007e0565b60008181526007602090815260409182902054825163bc1b392d60e01b8152925162000ee9936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af415801562000eb1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ed79190620018c1565b6001600160401b039081169116141590565b801562000f1057506000818152600760205260409020546001600160401b03898116911614155b1562000f535760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401620007e0565b505050935093915050565b604080518082018252600080825260208201528151808301909252908062000f8685620011eb565b815260200183151581525090509392505050565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801562000ff6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200101c919062001ace565b92915050565b6200102e828262001257565b5050565b6001600160a01b0382166200108a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401620007e0565b600680546001600160a01b0319166001600160a01b0384161790556200102e816200168f565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801562001118573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200101c919062001ae8565b6000818152600360205260409020600101805460609190620011609062001909565b80601f01602080910402602001604051908101604052809291908181526020018280546200118e9062001909565b8015620011df5780601f10620011b357610100808354040283529160200191620011df565b820191906000526020600020905b815481529060010190602001808311620011c157829003601f168201915b50505050509050919050565b600080829050601f8151111562001219578260405163305a27a960e01b8152600401620007e0919062001b06565b8051620012268262001b56565b179392505050565b600060ff8216601f8111156200101c57604051632cd44ac360e21b815260040160405180910390fd5b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015620012ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012d1919062001b7b565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af415801562001327573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200134d919062001ae8565b6200139b5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401620007e0565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801562001405573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200142b919062001ae8565b620014795760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401620007e0565b334360006200148885620017fc565b62001495576064620014ab565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260036020526040902090915060010162001537878262001998565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015620015ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015d1919062001b7b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801562001622573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001648919062001ba0565b6040805160ff938416815260ff19929092166020830152918416818301526001600160a01b038616606082015232608082015290519081900360a00190a150505050505050565b6005546001600160a01b031615620016ca5760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620007e0565b6001600160a01b038116620016f25760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b6000036200172a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007e0565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526376ceea7360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015620017a7575060408051601f3d908101601f19168201909252620017a49181019062001ae8565b60015b620017d15760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007e0565b806200102e5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007e0565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401620010fa565b80516001600160a01b03811681146200186257600080fd5b919050565b6000806000606084860312156200187d57600080fd5b62001888846200184a565b925062001898602085016200184a565b60408501519092506001600160601b0381168114620018b657600080fd5b809150509250925092565b600060208284031215620018d457600080fd5b81516001600160401b0381168114620018ec57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200191e57607f821691505b6020821081036200193f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200199357600081815260208120601f850160051c810160208610156200196e5750805b601f850160051c820191505b818110156200198f578281556001016200197a565b5050505b505050565b81516001600160401b03811115620019b457620019b4620018f3565b620019cc81620019c5845462001909565b8462001945565b602080601f83116001811462001a045760008415620019eb5750858301515b600019600386901b1c1916600185901b1785556200198f565b600085815260208120601f198616915b8281101562001a355788860151825594840194600190910190840162001a14565b508582101562001a545787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805180151581146200186257600080fd5b60006040828403121562001a8857600080fd5b604080519081016001600160401b038111828210171562001aad5762001aad620018f3565b6040528251815262001ac26020840162001a64565b60208201529392505050565b60006020828403121562001ae157600080fd5b5051919050565b60006020828403121562001afb57600080fd5b620018ec8262001a64565b600060208083528351808285015260005b8181101562001b355785810183015185820160400152820162001b17565b506000604082860101526040601f19601f8301168501019250505092915050565b805160208083015191908110156200193f5760001960209190910360031b1b16919050565b60006020828403121562001b8e57600080fd5b815160ff81168114620018ec57600080fd5b60006020828403121562001bb357600080fd5b815160ff1981168114620018ec57600080fd5b6158788062001bd66000396000f3fe608060405234801561001057600080fd5b50600436106104965760003560e01c80637a41580211610262578063b428b0b011610151578063cd50b97e116100ce578063e8951ee611610092578063e8951ee6146105c1578063e9e96c7014610add578063f48016ce14610b1b578063f7bc431c14610b2e578063f8b648ac14610675578063fe1f18d614610b4157600080fd5b8063cd50b97e14610a91578063d2f21a2914610aa4578063d5b221bd146105ef578063d78a83b114610ab7578063dee3262314610aca57600080fd5b8063bd5947e311610115578063bd5947e314610a4d578063bf1db3f914610a60578063bf7e214f14610a73578063c2f1a2d2146105ef578063ca600b1c14610a8957600080fd5b8063b428b0b014610a01578063b68ec14614610675578063b7d2b16214610a14578063bc8d400014610a27578063bd4fe04e14610a3a57600080fd5b80638fb36037116101df5780639df0280b116101a35780639df0280b146105c1578063a13df2ab14610917578063a5961b4c1461092a578063a76ee018146109db578063a8989675146109ee57600080fd5b80638fb36037146108aa578063950ad70b146108cb578063976b0a77146108de5780639a960d52146108f15780639d7421f41461090457600080fd5b806386f0c47b1161022657806386f0c47b1461084f5780638793a9ac1461086f578063893d20e8146108825780638dc77f42146105c15780638eaa6ac01461088a57600080fd5b80637a415802146105ef5780637a9e5e4b146108165780637cef48421461082957806382f65adb14610675578063835933c91461083c57600080fd5b806338a699a4116103895780635ab1bd531161030657806364c55d9c116102ca57806364c55d9c146107c55780636b9bf08b146107d85780636fa29853146107e057806373539127146107e857806375b238fc146107fb57806375c827761461080357600080fd5b80635ab1bd531461076d5780635d4345cc146105c15780635dfa73db1461077e5780636071a68e14610787578063644c45e01461079a57600080fd5b806340529b0f1161034d57806340529b0f146105c15780634288121d1461071f578063468a18671461072757806354f6127f1461073a57806357f968051461075a57600080fd5b806338a699a4146106b8578063392f5f64146106cb5780633ca7c02a146106d35780633fc5ab98146106f95780633fd855611461070c57600080fd5b8063167bd395116104175780632f61088a116103db5780632f61088a1461064f57806331d311a71461066257806333bb0a971461067557806337f135d714610688578063384c9a57146106a557600080fd5b8063167bd395146105dc5780631c45fe7a146105ef5780631e23a2f5146106025780631eff4b221461061557806322f46b841461063c57600080fd5b80630d3581811161045e5780630d358181146105725780630f526f7d146105985780630fec111c146105ab57806310203d2c146105c1578063138461e0146105d457600080fd5b806301ffc9a71461049b57806302cd3071146104dd578063030149741461050257806309648a9d146105235780630b24cf5f1461055d575b600080fd5b6104c86104a9366004613e5b565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104d4565b610515610510366004613e9a565b610b54565b6040519081526020016104d4565b61054b610531366004613eb7565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104d4565b61057061056b3660046140e4565b610b7b565b005b61054b610580366004614129565b60ff9081166000908152600160205260409020541690565b6105706105a6366004614146565b610bbf565b6105b3610bdc565b6040516104d49291906141cf565b6105706105cf366004614146565b610d5e565b610570610d73565b6105706105ea366004614276565b610f95565b6105706105fd3660046143cc565b61103d565b610570610610366004614440565b61107e565b6105157f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61057061064a3660046144a1565b6110a4565b61057061065d36600461456b565b6110ba565b6105156106703660046145b0565b611155565b6105706106833660046145cd565b6111e6565b610690600081565b60405163ffffffff90911681526020016104d4565b6104c86106b3366004613e9a565b611211565b6104c86106c6366004613eb7565b6113a7565b600954610515565b6106e16001600160401b0381565b6040516001600160401b0390911681526020016104d4565b6105706107073660046146e5565b611432565b6106e161071a366004613eb7565b611458565b6104ea61149d565b610515610735366004614748565b611538565b61074d610748366004613eb7565b611595565b6040516104d49190614765565b61057061076836600461481b565b61163a565b6005546001600160a01b03166104ea565b6106e161271081565b610570610795366004614849565b611662565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104d4565b6105706107d3366004614960565b611688565b6104ea6116b0565b6104ea611706565b6105706107f63660046149a1565b611766565b6106e1600081565b610570610811366004614a12565b61178e565b6105706108243660046145b0565b6117b4565b610570610837366004614a6a565b61182f565b61051561084a366004613e9a565b6118b9565b61086261085d366004613e9a565b6118fc565b6040516104d49190614a88565b61057061087d366004614aa1565b6119a1565b6104ea6119b6565b61089d610898366004613eb7565b611a93565b6040516104d49190614b09565b6108b2611bd4565b6040516001600160e01b031990911681526020016104d4565b6105706108d9366004614b3d565b611bf8565b6105706108ec366004614b84565b611c5a565b6105706108ff366004614d22565b611e82565b610570610912366004614d69565b611ea8565b610515610925366004614748565b611ece565b6109ce610938366004613eb7565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104d49190614dc0565b6105706109e9366004614dce565b611efb565b6105706109fc366004614e15565b611f96565b6104c8610a0f366004614e55565b612087565b6104c8610a22366004614e55565b61227b565b610570610a35366004614e83565b612406565b610570610a48366004614ec8565b61242c565b610570610a5b366004614f09565b612454565b6104c8610a6e366004614129565b61247c565b60005461010090046001600160a01b03166104ea565b6104ea6124c9565b610570610a9f3660046144a1565b612527565b610570610ab2366004614146565b61253e565b6104ea610ac5366004614f49565b612555565b610570610ad8366004614146565b61257e565b6104c8610aeb366004614e15565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b610515610b29366004614f85565b612595565b610570610b3c3660046145b0565b612619565b610570610b4f366004614146565b612695565b6001600160401b0381166000908152600860205260408120610b75906126aa565b92915050565b610b88335b6000366126b4565b610bbb610b968360786127c7565b82604051602001610ba79190614fb3565b604051602081830303815290604052612813565b5050565b610bc833610b80565b610bbb610bd683608c6127c7565b8261281d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c5f6005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ca76119b6565b6001600160a01b03168152602001826001018054610cc490615013565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf090615013565b8015610d3d5780601f10610d1257610100808354040283529160200191610d3d565b820191906000526020600020905b815481529060010190602001808311610d2057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d6733610b80565b610bbb610bd683611538565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df9919061504d565b15610e40576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e695760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed6919061504d565b610efe576040516372657a5160e01b81526001600160a01b0382166004820152602401610e37565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610f48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6c919061506a565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f9e33610b80565b610faa6106c683611155565b610fd2576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e37565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561102157600080fd5b505af1158015611035573d6000803e3d6000fd5b505050505050565b61104633610b80565b61107861105285611538565b836040516020016110639190615087565b60405160208183030381529060405283612827565b50505050565b61108733610b80565b610bbb61109383611155565b82604051602001610ba79190614a88565b6110ad33610b80565b610bbb8282600180612832565b6110c333610b80565b6040516355ee627560e01b81526001600160c01b031983166004820152610bbb9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611120573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114491906150da565b82604051602001610ba791906150f3565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7591906150da565b6111ef33610b80565b61120c6111fb84611538565b82604051602001610ba79190615087565b505050565b6000338161121e846118b9565b9050611229816113a7565b61125057604051627a416f60e01b81526001600160401b0385166004820152602401610e37565b6001600160401b038416600090815260086020526040902061127290836128db565b1561139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156112e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113089190615121565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561135857600080fd5b505af115801561136c573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206113929150836128fd565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561140e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b75919061504d565b61143b33610b80565b61120c61144784611ece565b83604051602001611063919061513e565b60006009828154811061146d5761146d6151f2565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6005546040805163a3bcd81d60e01b81526004810191909152600e60448201526d50726f647563745365727669636560901b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa15801561150f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115339190615208565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044016111a5565b60008181526003602052604090206001018054606091906115b590615013565b80601f01602080910402602001604051908101604052809291908181526020018280546115e190615013565b801561162e5780601f106116035761010080835404028352916020019161162e565b820191906000526020600020905b81548152906001019060200180831161161157829003601f168201915b50505050509050919050565b61164333610b80565b610bbb61165183608c6127c7565b82604051602001610ba79190615225565b61166b33610b80565b610bbb61167783611ece565b82604051602001610ba7919061513e565b61169133610b80565b61120c61169f84606e6127c7565b8360405160200161106391906152c8565b6005546040805163a3bcd81d60e01b81526004810191909152600b60448201526a506f6f6c5365727669636560a81b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b61176f33610b80565b610bbb61177d83606e6127c7565b82604051602001610ba791906152c8565b61179733610b80565b6110786117a385611538565b8360405160200161106391906153ca565b600054339061010090046001600160a01b031681146117f05760405162d1953b60e31b81526001600160a01b0382166004820152602401610e37565b816001600160a01b03163b600003611826576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e37565b610bbb82612912565b61183833610b80565b6040516355ee627560e01b81526001600160c01b031983166004820152610bbb9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611895573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd691906150da565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f0906024016111a5565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b038316600482015261198e9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801561196a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074891906150da565b806020019051810190610b7591906153fa565b6119aa33610b80565b610bbb610bd6836118b9565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3f919061504d565b15611a8357600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024016114f2565b506006546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611b4b90615013565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7790615013565b8015611bc45780601f10611b9957610100808354040283529160200191611bc4565b820191906000526020600020905b815481529060010190602001808311611ba757829003601f168201915b5050505050815250509050919050565b60008054600160a81b900460ff16611bec5750600090565b50638fb3603760e01b90565b611c0133610b80565b6000611c0f8484600061296e565b5090506000611c1f858584612bd9565b9050611c53611c2d866118b9565b82604051602001611c3e9190614a88565b60405160208183030381529060405285612827565b5050505050565b600654600160a01b900460ff1615611ccb5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e37565b611cd484612c15565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152611d919073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d679190615121565b6040518060400160405280600981526020016841646d696e526f6c6560b81b815250600080612832565b6040516368aebf7b60e01b81526001600160401b036004820152611e3a9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611deb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0f9190615121565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250600080612832565b611e598383604660008560405180602001604052806000815250612c8c565b611e696393496b8360e01b612d61565b50506006805460ff60a01b1916600160a01b1790555050565b611e8b33610b80565b61120c611e9784611538565b836040516020016110639190615432565b611eb133610b80565b61120c611ebd84611538565b82604051602001610ba791906153ca565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611561565b611f0433610b80565b6040516355ee627560e01b81526001600160c01b03198416600482015261120c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611f61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8591906150da565b8360405160200161106391906150f3565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201f919061504d565b1561202957505050565b60ff80841660009081526002602090815260408083208685168452825280832085851684529091529020541661120c57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e37565b600061209233610b80565b600061209d846118b9565b90506120a8816113a7565b6120d057604051636777365b60e01b81526001600160401b0385166004820152602401610e37565b6000818152600360205260409020546120ff90610100900460ff166120f3606490565b60ff9081169116141590565b156121285760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e37565b6001600160401b038416600090815260086020526040902061214a90846128db565b61139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156121bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121df9190615121565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b15801561223657600080fd5b505af115801561224a573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612270915084612d86565b506001915050610b75565b600061228633610b80565b6000612291846118b9565b905061229c816113a7565b6122c457604051634cee277360e11b81526001600160401b0385166004820152602401610e37565b6001600160401b03841660009081526008602052604090206122e690846128db565b1561139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612358573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237c9190615121565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b1580156123cc57600080fd5b505af11580156123e0573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206122709150846128fd565b61240f33610b80565b610bbb61241b83611538565b82604051602001610ba79190615432565b61243533610b80565b61120c61244384608c6127c7565b836040516020016110639190615225565b61245d33610b80565b61120c61246b8460786127c7565b836040516020016110639190614fb3565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113f1565b6005546040805163a3bcd81d60e01b815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b61253033610b80565b610bbb828260006001612832565b61254733610b80565b610bbb610bd68360786127c7565b6001600160401b03821660009081526008602052604081206125779083612d9b565b9392505050565b61258733610b80565b610bbb610bd683606e6127c7565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156125f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061257791906150da565b61262233610b80565b600c546001600160a01b0316156126735760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e37565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61269e33610b80565b610bbb610bd683611ece565b6000610b75825490565b6000806126f06126d26000546001600160a01b036101009091041690565b86306126e260046000898b615573565b6126eb9161559d565b612da7565b9150915081611c535763ffffffff8116156127a4576000805460ff60a81b1916600160a81b1790556127306000546001600160a01b036101009091041690565b6001600160a01b03166394c7d7ee8686866040518463ffffffff1660e01b815260040161275f939291906155cd565b600060405180830381600087803b15801561277957600080fd5b505af115801561278d573d6000803e3d6000fd5b50506000805460ff60a81b1916905550611c539050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610e37565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016125d8565b610bbb8282612eb3565b610bbb82826132d5565b61120c838383613609565b80156128465761284384848461296e565b50505b6000612853858585612bd9565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611c53611093866118b9565b6001600160a01b03811660009081526001830160205260408120541515612577565b6000612577836001600160a01b038416613aa4565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b600080600061297c866118b9565b9050612987816113a7565b925082156129b65761299881611595565b8060200190518101906129ab91906153fa565b6020015191506129ba565b8391505b856001600160401b03811615806129d957506001600160401b03818116145b15612a025760405163981bf42160e01b81526001600160401b0388166004820152602401610e37565b828015612a1957506127106001600160401b038216105b15612a4257604051633119b9df60e21b81526001600160401b0388166004820152602401610e37565b828015612a5a57506127106001600160401b03821610155b15612a835760405163094fb39160e01b81526001600160401b0388166004820152602401610e37565b6000612a8e87613b9e565b9050612a9981613bdc565b600003612ac4576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e37565b60008181526007602090815260409182902054825163bc1b392d60e01b81529251612b67936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612b31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b559190615121565b6001600160401b039081169116141590565b8015612b8d57506000818152600760205260409020546001600160401b03898116911614155b15612bce5760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e37565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612c0185613b9e565b815260200183151581525090509392505050565b60005460ff1615612c735760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401610e37565b612c7c81612912565b506000805460ff19166001179055565b612ccd6301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b612cd78287613c04565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612d478382615653565b50612d586303fb044760e21b612d61565b50505050505050565b6001600160e01b0319166000908152600460205260409020805460ff19166001179055565b6000612577836001600160a01b038416613c7e565b60006125778383613ccd565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612e169190615712565b600060405180830381855afa9150503d8060008114612e51576040519150601f19603f3d011682016040523d82523d6000602084013e612e56565b606091505b50915091508115612ea8576040815110612e885780806020019051810190612e7e919061572e565b9094509250612ea8565b6020815110612ea85780806020019051810190612ea5919061504d565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f2a919061575d565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa3919061504d565b612fef5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e37565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613058573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061307c919061504d565b6130c85760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e37565b334360006130d58561247c565b6130e05760646130f6565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526003602052604090209091506001016131808782615653565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156131f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613217919061575d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061328b919061577a565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061334b919061504d565b6133975760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e37565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613403573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613427919061504d565b6134735760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e37565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166134b74390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061356d919061575d565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e1919061577a565b87868632876040516135f99796959493929190615797565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561365b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061367f919061504d565b6136cb5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e37565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061375b919061504d565b6137a75760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e37565b60008581526003602052604090206001016137c28582615653565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166138074390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138bd919061575d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561390d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613931919061577a565b87868632876040516139499796959493929190615797565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156139c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139e7919061575d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613a37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a5b919061577a565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016132c4565b60008181526001830160205260408120548015613b8d576000613ac86001836157e7565b8554909150600090613adc906001906157e7565b9050808214613b41576000866000018281548110613afc57613afc6151f2565b9060005260206000200154905080876000018481548110613b1f57613b1f6151f2565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613b5257613b52615808565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b75565b6000915050610b75565b5092915050565b600080829050601f81511115613bc9578260405163305a27a960e01b8152600401610e379190614765565b8051613bd48261581e565b179392505050565b600060ff8216601f811115610b7557604051632cd44ac360e21b815260040160405180910390fd5b6001600160a01b038216613c5a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610e37565b600680546001600160a01b0319166001600160a01b038416179055610bbb81613cf7565b6000818152600183016020526040812054613cc557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b75565b506000610b75565b6000826000018281548110613ce457613ce46151f2565b9060005260206000200154905092915050565b6005546001600160a01b031615613d305760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e37565b6001600160a01b038116613d575760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613d8d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e37565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526376ceea7360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613e07575060408051601f3d908101601f19168201909252613e049181019061504d565b60015b613e2f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e37565b80610bbb5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e37565b50565b600060208284031215613e6d57600080fd5b81356001600160e01b03198116811461257757600080fd5b6001600160401b0381168114613e5857600080fd5b600060208284031215613eac57600080fd5b813561257781613e85565b600060208284031215613ec957600080fd5b5035919050565b6001600160601b0381168114613e5857600080fd5b8035613ef081613ed0565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405290565b604051608081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161012081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161010081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161014081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161020081016001600160401b0381118282101715613f2d57613f2d613ef5565b6001600160a01b0381168114613e5857600080fd5b8035613ef081613fe1565b60006040828403121561401357600080fd5b61401b613f0b565b9050813581526020820135602082015292915050565b8015158114613e5857600080fd5b8035613ef081614031565b600060c0828403121561405c57600080fd5b60405160a081018181106001600160401b038211171561407e5761407e613ef5565b604052905080823561408f81613ed0565b8152602083013561409f81613fe1565b60208201526140b18460408501614001565b604082015260808301356140c481614031565b606082015260a08301356140d781613fe1565b6080919091015292915050565b60008060e083850312156140f757600080fd5b823561410281613ed0565b9150614111846020850161404a565b90509250929050565b60ff81168114613e5857600080fd5b60006020828403121561413b57600080fd5b81356125778161411a565b6000806040838503121561415957600080fd5b823561416481613ed0565b915060208301356141748161411a565b809150509250929050565b60005b8381101561419a578181015183820152602001614182565b50506000910152565b600081518084526141bb81602086016020860161417f565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161421360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526142596101208401826141a3565b9050828103602084015261426d81856141a3565b95945050505050565b6000806040838503121561428957600080fd5b823561429481613fe1565b9150602083013561417481614031565b63ffffffff81168114613e5857600080fd5b600082601f8301126142c757600080fd5b81356001600160401b03808211156142e1576142e1613ef5565b604051601f8301601f19908116603f0116810190828211818310171561430957614309613ef5565b8160405283815286602085880101111561432257600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff81168114613ef057600080fd5b60006080828403121561436957600080fd5b614371613f33565b9050813561437e816142a4565b81526020828101359082015260408201356001600160401b038111156143a357600080fd5b6143af848285016142b6565b6040830152506143c160608301614342565b606082015292915050565b600080600080608085870312156143e257600080fd5b84356143ed81613ed0565b935060208501356143fd816142a4565b925060408501356001600160401b0381111561441857600080fd5b61442487828801614357565b92505060608501356144358161411a565b939692955090935050565b600080828403606081121561445457600080fd5b833561445f81613fe1565b92506040601f198201121561447357600080fd5b5061447c613f0b565b60208401358152604084013561449181614031565b6020820152919491935090915050565b600080604083850312156144b457600080fd5b82356144bf81613e85565b915060208301356001600160401b038111156144da57600080fd5b6144e6858286016142b6565b9150509250929050565b6001600160c01b031981168114613e5857600080fd5b8035613ef0816144f0565b60006040828403121561452357600080fd5b61452b613f0b565b9050813561453881613ed0565b815260208201356001600160401b0381111561455357600080fd5b61455f848285016142b6565b60208301525092915050565b6000806040838503121561457e57600080fd5b8235614589816144f0565b915060208301356001600160401b038111156145a457600080fd5b6144e685828601614511565b6000602082840312156145c257600080fd5b813561257781613fe1565b6000806000606084860312156145e257600080fd5b83356145ed81613ed0565b925060208401356145fd816142a4565b915060408401356001600160401b0381111561461857600080fd5b61462486828701614357565b9150509250925092565b6000610140828403121561464157600080fd5b614649613f55565b905061465482613ee5565b81526146638360208401614001565b602082015260608201356001600160401b0381111561468157600080fd5b61468d848285016142b6565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c08201526101006146c9818401614342565b60e08301526146db6101208401614342565b9082015292915050565b6000806000606084860312156146fa57600080fd5b833561470581613ed0565b925060208401356001600160401b0381111561472057600080fd5b61472c8682870161462e565b925050604084013561473d8161411a565b809150509250925092565b60006020828403121561475a57600080fd5b813561257781613ed0565b60208152600061257760208301846141a3565b6000610160828403121561478b57600080fd5b614793613f78565b905061479e82613ee5565b81526147ac60208301613ff6565b6020820152604082013560408201526147c88360608401614001565b60608201526147da8360a08401614001565b60808201526147ec8360e08401614001565b60a08201526147fe610120830161403f565b60c08201526148106101408301613ff6565b60e082015292915050565b600080610180838503121561482f57600080fd5b823561483a81613ed0565b91506141118460208501614778565b6000806040838503121561485c57600080fd5b823561486781613ed0565b915060208301356001600160401b0381111561488257600080fd5b6144e68582860161462e565b600061020082840312156148a157600080fd5b6148a9613f9b565b90506148b482613ff6565b81526148c260208301613ff6565b60208201526148d360408301613ee5565b60408201526148e460608301613ee5565b60608201526148f68360808401614001565b60808201526149088360c08401614001565b60a082015261010061491c84828501614001565b60c083015261492f846101408501614001565b60e0830152614942846101808501614001565b90820152614954836101c08401614001565b61012082015292915050565b6000806000610240848603121561497657600080fd5b833561498181613ed0565b9250614990856020860161488e565b915061022084013561473d8161411a565b60008061022083850312156149b557600080fd5b82356149c081613ed0565b9150614111846020850161488e565b6000608082840312156149e157600080fd5b6149e9613f33565b9050813581526020820135602082015260408201356001600160401b038111156143a357600080fd5b60008060008060808587031215614a2857600080fd5b8435614a3381613ed0565b93506020850135614a43816142a4565b925060408501356001600160401b03811115614a5e57600080fd5b614424878288016149cf565b60008060408385031215614a7d57600080fd5b8235614164816144f0565b8151815260208083015115159082015260408101610b75565b60008060408385031215614ab457600080fd5b823561416481613e85565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614b1b602082018351614abf565b6000602083015160c080840152614b3560e08401826141a3565b949350505050565b600080600060608486031215614b5257600080fd5b8335614b5d81613e85565b925060208401356001600160401b03811115614b7857600080fd5b61472c868287016142b6565b60008060008060808587031215614b9a57600080fd5b8435614ba581613fe1565b93506020850135614bb581613fe1565b92506040850135614bc581613ed0565b9150606085013561443581613fe1565b803561ffff81168114613ef057600080fd5b60006102008284031215614bfa57600080fd5b614c02613fbe565b9050614c0d82613ee5565b8152614c1b60208301613ee5565b6020820152614c2c60408301614506565b6040820152614c3d60608301614506565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115614c8657600080fd5b614c92868387016142b6565b83850152610120925082850135915080821115614cae57600080fd5b50614cbb858286016142b6565b828401525050610140614ccf818401614bd5565b90820152610160614ce1838201614bd5565b9082015261018082810135908201526101a0614cfe818401614342565b908201526101c0614d10838201614342565b908201526101e06146db838201614342565b600080600060608486031215614d3757600080fd5b8335614d4281613ed0565b925060208401356001600160401b03811115614d5d57600080fd5b61472c86828701614be7565b600080600060608486031215614d7e57600080fd5b8335614d8981613ed0565b92506020840135614d99816142a4565b915060408401356001600160401b03811115614db457600080fd5b614624868287016149cf565b60a08101610b758284614abf565b600080600060608486031215614de357600080fd5b8335614dee816144f0565b925060208401356001600160401b03811115614e0957600080fd5b61472c86828701614511565b600080600060608486031215614e2a57600080fd5b8335614e358161411a565b92506020840135614e458161411a565b9150604084013561473d8161411a565b60008060408385031215614e6857600080fd5b8235614e7381613e85565b9150602083013561417481613fe1565b60008060408385031215614e9657600080fd5b8235614ea181613ed0565b915060208301356001600160401b03811115614ebc57600080fd5b6144e685828601614be7565b60008060006101a08486031215614ede57600080fd5b8335614ee981613ed0565b9250614ef88560208601614778565b915061018084013561473d8161411a565b60008060006101008486031215614f1f57600080fd5b8335614f2a81613ed0565b9250614f39856020860161404a565b915060e084013561473d8161411a565b60008060408385031215614f5c57600080fd5b8235614f6781613e85565b946020939093013593505050565b60ff1981168114613e5857600080fd5b60008060408385031215614f9857600080fd5b8235614fa38161411a565b9150602083013561417481614f75565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c9082168061502757607f821691505b60208210810361504757634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561505f57600080fd5b815161257781614031565b60006020828403121561507c57600080fd5b815161257781613ed0565b6020815263ffffffff82511660208201526020820151604082015260006040830151608060608401526150bd60a08401826141a3565b905064ffffffffff60608501511660808401528091505092915050565b6000602082840312156150ec57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152614b3560608401826141a3565b60006020828403121561513357600080fd5b815161257781613e85565b602081526151586020820183516001600160601b03169052565b60006020830151615176604084018280518252602090810151910152565b5060408301516101408060808501526151936101608501836141a3565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e087015191506151db61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561521a57600080fd5b815161257781613fe1565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916152719084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b038116610140840152613b97565b81516001600160a01b03168152610200810160208301516152f460208401826001600160a01b03169052565b50604083015161530f60408401826001600160601b03169052565b50606083015161532a60608401826001600160601b03169052565b506080830151615347608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061537d8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050613b97565b60208152815160208201526020820151604082015260006040830151608060608401526150bd60a08401826141a3565b60006040828403121561540c57600080fd5b615414613f0b565b82518152602083015161542681614031565b60208201529392505050565b6020815261544c6020820183516001600160601b03169052565b6000602083015161546860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526154e06102208601846141a3565b9250808601519050610140601f19868503018187015261550084836141a3565b93508087015191505061016061551b8187018361ffff169052565b86015190506101806155328682018361ffff169052565b8601516101a08681019190915286015190506101c06155598187018364ffffffffff169052565b86015190506101e06151db8682018364ffffffffff169052565b6000808585111561558357600080fd5b8386111561559057600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156155c55780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561120c57600081815260208120601f850160051c810160208610156156345750805b601f850160051c820191505b8181101561103557828155600101615640565b81516001600160401b0381111561566c5761566c613ef5565b6156808161567a8454615013565b8461560d565b602080601f8311600181146156b5576000841561569d5750858301515b600019600386901b1c1916600185901b178555611035565b600085815260208120601f198616915b828110156156e4578886015182559484019460019091019084016156c5565b50858210156157025787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000825161572481846020870161417f565b9190910192915050565b6000806040838503121561574157600080fd5b825161574c81614031565b6020840151909250614174816142a4565b60006020828403121561576f57600080fd5b81516125778161411a565b60006020828403121561578c57600080fd5b815161257781614f75565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b7557634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b805160208083015191908110156150475760001960209190910360031b1b1691905056fea264697066735822122014a12cf8a8283b95cbea537587fb4b11fa393992d7f33e3691dab46204ae701c64736f6c63430008140033",
3167
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104965760003560e01c80637a41580211610262578063b428b0b011610151578063cd50b97e116100ce578063e8951ee611610092578063e8951ee6146105c1578063e9e96c7014610add578063f48016ce14610b1b578063f7bc431c14610b2e578063f8b648ac14610675578063fe1f18d614610b4157600080fd5b8063cd50b97e14610a91578063d2f21a2914610aa4578063d5b221bd146105ef578063d78a83b114610ab7578063dee3262314610aca57600080fd5b8063bd5947e311610115578063bd5947e314610a4d578063bf1db3f914610a60578063bf7e214f14610a73578063c2f1a2d2146105ef578063ca600b1c14610a8957600080fd5b8063b428b0b014610a01578063b68ec14614610675578063b7d2b16214610a14578063bc8d400014610a27578063bd4fe04e14610a3a57600080fd5b80638fb36037116101df5780639df0280b116101a35780639df0280b146105c1578063a13df2ab14610917578063a5961b4c1461092a578063a76ee018146109db578063a8989675146109ee57600080fd5b80638fb36037146108aa578063950ad70b146108cb578063976b0a77146108de5780639a960d52146108f15780639d7421f41461090457600080fd5b806386f0c47b1161022657806386f0c47b1461084f5780638793a9ac1461086f578063893d20e8146108825780638dc77f42146105c15780638eaa6ac01461088a57600080fd5b80637a415802146105ef5780637a9e5e4b146108165780637cef48421461082957806382f65adb14610675578063835933c91461083c57600080fd5b806338a699a4116103895780635ab1bd531161030657806364c55d9c116102ca57806364c55d9c146107c55780636b9bf08b146107d85780636fa29853146107e057806373539127146107e857806375b238fc146107fb57806375c827761461080357600080fd5b80635ab1bd531461076d5780635d4345cc146105c15780635dfa73db1461077e5780636071a68e14610787578063644c45e01461079a57600080fd5b806340529b0f1161034d57806340529b0f146105c15780634288121d1461071f578063468a18671461072757806354f6127f1461073a57806357f968051461075a57600080fd5b806338a699a4146106b8578063392f5f64146106cb5780633ca7c02a146106d35780633fc5ab98146106f95780633fd855611461070c57600080fd5b8063167bd395116104175780632f61088a116103db5780632f61088a1461064f57806331d311a71461066257806333bb0a971461067557806337f135d714610688578063384c9a57146106a557600080fd5b8063167bd395146105dc5780631c45fe7a146105ef5780631e23a2f5146106025780631eff4b221461061557806322f46b841461063c57600080fd5b80630d3581811161045e5780630d358181146105725780630f526f7d146105985780630fec111c146105ab57806310203d2c146105c1578063138461e0146105d457600080fd5b806301ffc9a71461049b57806302cd3071146104dd578063030149741461050257806309648a9d146105235780630b24cf5f1461055d575b600080fd5b6104c86104a9366004613e5b565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104d4565b610515610510366004613e9a565b610b54565b6040519081526020016104d4565b61054b610531366004613eb7565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104d4565b61057061056b3660046140e4565b610b7b565b005b61054b610580366004614129565b60ff9081166000908152600160205260409020541690565b6105706105a6366004614146565b610bbf565b6105b3610bdc565b6040516104d49291906141cf565b6105706105cf366004614146565b610d5e565b610570610d73565b6105706105ea366004614276565b610f95565b6105706105fd3660046143cc565b61103d565b610570610610366004614440565b61107e565b6105157f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61057061064a3660046144a1565b6110a4565b61057061065d36600461456b565b6110ba565b6105156106703660046145b0565b611155565b6105706106833660046145cd565b6111e6565b610690600081565b60405163ffffffff90911681526020016104d4565b6104c86106b3366004613e9a565b611211565b6104c86106c6366004613eb7565b6113a7565b600954610515565b6106e16001600160401b0381565b6040516001600160401b0390911681526020016104d4565b6105706107073660046146e5565b611432565b6106e161071a366004613eb7565b611458565b6104ea61149d565b610515610735366004614748565b611538565b61074d610748366004613eb7565b611595565b6040516104d49190614765565b61057061076836600461481b565b61163a565b6005546001600160a01b03166104ea565b6106e161271081565b610570610795366004614849565b611662565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104d4565b6105706107d3366004614960565b611688565b6104ea6116b0565b6104ea611706565b6105706107f63660046149a1565b611766565b6106e1600081565b610570610811366004614a12565b61178e565b6105706108243660046145b0565b6117b4565b610570610837366004614a6a565b61182f565b61051561084a366004613e9a565b6118b9565b61086261085d366004613e9a565b6118fc565b6040516104d49190614a88565b61057061087d366004614aa1565b6119a1565b6104ea6119b6565b61089d610898366004613eb7565b611a93565b6040516104d49190614b09565b6108b2611bd4565b6040516001600160e01b031990911681526020016104d4565b6105706108d9366004614b3d565b611bf8565b6105706108ec366004614b84565b611c5a565b6105706108ff366004614d22565b611e82565b610570610912366004614d69565b611ea8565b610515610925366004614748565b611ece565b6109ce610938366004613eb7565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104d49190614dc0565b6105706109e9366004614dce565b611efb565b6105706109fc366004614e15565b611f96565b6104c8610a0f366004614e55565b612087565b6104c8610a22366004614e55565b61227b565b610570610a35366004614e83565b612406565b610570610a48366004614ec8565b61242c565b610570610a5b366004614f09565b612454565b6104c8610a6e366004614129565b61247c565b60005461010090046001600160a01b03166104ea565b6104ea6124c9565b610570610a9f3660046144a1565b612527565b610570610ab2366004614146565b61253e565b6104ea610ac5366004614f49565b612555565b610570610ad8366004614146565b61257e565b6104c8610aeb366004614e15565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b610515610b29366004614f85565b612595565b610570610b3c3660046145b0565b612619565b610570610b4f366004614146565b612695565b6001600160401b0381166000908152600860205260408120610b75906126aa565b92915050565b610b88335b6000366126b4565b610bbb610b968360786127c7565b82604051602001610ba79190614fb3565b604051602081830303815290604052612813565b5050565b610bc833610b80565b610bbb610bd683608c6127c7565b8261281d565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c5f6005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610ca76119b6565b6001600160a01b03168152602001826001018054610cc490615013565b80601f0160208091040260200160405190810160405280929190818152602001828054610cf090615013565b8015610d3d5780601f10610d1257610100808354040283529160200191610d3d565b820191906000526020600020905b815481529060010190602001808311610d2057829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d6733610b80565b610bbb610bd683611538565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dd5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df9919061504d565b15610e40576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e695760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed6919061504d565b610efe576040516372657a5160e01b81526001600160a01b0382166004820152602401610e37565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610f48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6c919061506a565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f9e33610b80565b610faa6106c683611155565b610fd2576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e37565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561102157600080fd5b505af1158015611035573d6000803e3d6000fd5b505050505050565b61104633610b80565b61107861105285611538565b836040516020016110639190615087565b60405160208183030381529060405283612827565b50505050565b61108733610b80565b610bbb61109383611155565b82604051602001610ba79190614a88565b6110ad33610b80565b610bbb8282600180612832565b6110c333610b80565b6040516355ee627560e01b81526001600160c01b031983166004820152610bbb9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611120573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061114491906150da565b82604051602001610ba791906150f3565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156111c2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7591906150da565b6111ef33610b80565b61120c6111fb84611538565b82604051602001610ba79190615087565b505050565b6000338161121e846118b9565b9050611229816113a7565b61125057604051627a416f60e01b81526001600160401b0385166004820152602401610e37565b6001600160401b038416600090815260086020526040902061127290836128db565b1561139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156112e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113089190615121565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561135857600080fd5b505af115801561136c573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206113929150836128fd565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801561140e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b75919061504d565b61143b33610b80565b61120c61144784611ece565b83604051602001611063919061513e565b60006009828154811061146d5761146d6151f2565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b6005546040805163a3bcd81d60e01b81526004810191909152600e60448201526d50726f647563745365727669636560901b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa15801561150f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115339190615208565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff1660248201526044016111a5565b60008181526003602052604090206001018054606091906115b590615013565b80601f01602080910402602001604051908101604052809291908181526020018280546115e190615013565b801561162e5780601f106116035761010080835404028352916020019161162e565b820191906000526020600020905b81548152906001019060200180831161161157829003601f168201915b50505050509050919050565b61164333610b80565b610bbb61165183608c6127c7565b82604051602001610ba79190615225565b61166b33610b80565b610bbb61167783611ece565b82604051602001610ba7919061513e565b61169133610b80565b61120c61169f84606e6127c7565b8360405160200161106391906152c8565b6005546040805163a3bcd81d60e01b81526004810191909152600b60448201526a506f6f6c5365727669636560a81b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b61176f33610b80565b610bbb61177d83606e6127c7565b82604051602001610ba791906152c8565b61179733610b80565b6110786117a385611538565b8360405160200161106391906153ca565b600054339061010090046001600160a01b031681146117f05760405162d1953b60e31b81526001600160a01b0382166004820152602401610e37565b816001600160a01b03163b600003611826576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e37565b610bbb82612912565b61183833610b80565b6040516355ee627560e01b81526001600160c01b031983166004820152610bbb9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611895573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bd691906150da565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f0906024016111a5565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b038316600482015261198e9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801561196a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061074891906150da565b806020019051810190610b7591906153fa565b6119aa33610b80565b610bbb610bd6836118b9565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611a1b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3f919061504d565b15611a8357600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a906024016114f2565b506006546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611b4b90615013565b80601f0160208091040260200160405190810160405280929190818152602001828054611b7790615013565b8015611bc45780601f10611b9957610100808354040283529160200191611bc4565b820191906000526020600020905b815481529060010190602001808311611ba757829003601f168201915b5050505050815250509050919050565b60008054600160a81b900460ff16611bec5750600090565b50638fb3603760e01b90565b611c0133610b80565b6000611c0f8484600061296e565b5090506000611c1f858584612bd9565b9050611c53611c2d866118b9565b82604051602001611c3e9190614a88565b60405160208183030381529060405285612827565b5050505050565b600654600160a01b900460ff1615611ccb5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e37565b611cd484612c15565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152611d919073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d43573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d679190615121565b6040518060400160405280600981526020016841646d696e526f6c6560b81b815250600080612832565b6040516368aebf7b60e01b81526001600160401b036004820152611e3a9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611deb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0f9190615121565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b815250600080612832565b611e598383604660008560405180602001604052806000815250612c8c565b611e696393496b8360e01b612d61565b50506006805460ff60a01b1916600160a01b1790555050565b611e8b33610b80565b61120c611e9784611538565b836040516020016110639190615432565b611eb133610b80565b61120c611ebd84611538565b82604051602001610ba791906153ca565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611561565b611f0433610b80565b6040516355ee627560e01b81526001600160c01b03198416600482015261120c9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611f61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f8591906150da565b8360405160200161106391906150f3565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611ffb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201f919061504d565b1561202957505050565b60ff80841660009081526002602090815260408083208685168452825280832085851684529091529020541661120c57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e37565b600061209233610b80565b600061209d846118b9565b90506120a8816113a7565b6120d057604051636777365b60e01b81526001600160401b0385166004820152602401610e37565b6000818152600360205260409020546120ff90610100900460ff166120f3606490565b60ff9081169116141590565b156121285760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e37565b6001600160401b038416600090815260086020526040902061214a90846128db565b61139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156121bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121df9190615121565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b15801561223657600080fd5b505af115801561224a573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612270915084612d86565b506001915050610b75565b600061228633610b80565b6000612291846118b9565b905061229c816113a7565b6122c457604051634cee277360e11b81526001600160401b0385166004820152602401610e37565b6001600160401b03841660009081526008602052604090206122e690846128db565b1561139d57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015612358573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061237c9190615121565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b1580156123cc57600080fd5b505af11580156123e0573d6000803e3d6000fd5b5050506001600160401b03851660009081526008602052604090206122709150846128fd565b61240f33610b80565b610bbb61241b83611538565b82604051602001610ba79190615432565b61243533610b80565b61120c61244384608c6127c7565b836040516020016110639190615225565b61245d33610b80565b61120c61246b8460786127c7565b836040516020016110639190614fb3565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113f1565b6005546040805163a3bcd81d60e01b815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084016114f2565b61253033610b80565b610bbb828260006001612832565b61254733610b80565b610bbb610bd68360786127c7565b6001600160401b03821660009081526008602052604081206125779083612d9b565b9392505050565b61258733610b80565b610bbb610bd683606e6127c7565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156125f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061257791906150da565b61262233610b80565b600c546001600160a01b0316156126735760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e37565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61269e33610b80565b610bbb610bd683611ece565b6000610b75825490565b6000806126f06126d26000546001600160a01b036101009091041690565b86306126e260046000898b615573565b6126eb9161559d565b612da7565b9150915081611c535763ffffffff8116156127a4576000805460ff60a81b1916600160a81b1790556127306000546001600160a01b036101009091041690565b6001600160a01b03166394c7d7ee8686866040518463ffffffff1660e01b815260040161275f939291906155cd565b600060405180830381600087803b15801561277957600080fd5b505af115801561278d573d6000803e3d6000fd5b50506000805460ff60a81b1916905550611c539050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610e37565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016125d8565b610bbb8282612eb3565b610bbb82826132d5565b61120c838383613609565b80156128465761284384848461296e565b50505b6000612853858585612bd9565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611c53611093866118b9565b6001600160a01b03811660009081526001830160205260408120541515612577565b6000612577836001600160a01b038416613aa4565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b600080600061297c866118b9565b9050612987816113a7565b925082156129b65761299881611595565b8060200190518101906129ab91906153fa565b6020015191506129ba565b8391505b856001600160401b03811615806129d957506001600160401b03818116145b15612a025760405163981bf42160e01b81526001600160401b0388166004820152602401610e37565b828015612a1957506127106001600160401b038216105b15612a4257604051633119b9df60e21b81526001600160401b0388166004820152602401610e37565b828015612a5a57506127106001600160401b03821610155b15612a835760405163094fb39160e01b81526001600160401b0388166004820152602401610e37565b6000612a8e87613b9e565b9050612a9981613bdc565b600003612ac4576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e37565b60008181526007602090815260409182902054825163bc1b392d60e01b81529251612b67936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612b31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b559190615121565b6001600160401b039081169116141590565b8015612b8d57506000818152600760205260409020546001600160401b03898116911614155b15612bce5760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e37565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612c0185613b9e565b815260200183151581525090509392505050565b60005460ff1615612c735760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401610e37565b612c7c81612912565b506000805460ff19166001179055565b612ccd6301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b612cd78287613c04565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612d478382615653565b50612d586303fb044760e21b612d61565b50505050505050565b6001600160e01b0319166000908152600460205260409020805460ff19166001179055565b6000612577836001600160a01b038416613c7e565b60006125778383613ccd565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612e169190615712565b600060405180830381855afa9150503d8060008114612e51576040519150601f19603f3d011682016040523d82523d6000602084013e612e56565b606091505b50915091508115612ea8576040815110612e885780806020019051810190612e7e919061572e565b9094509250612ea8565b6020815110612ea85780806020019051810190612ea5919061504d565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612f06573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f2a919061575d565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612f7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fa3919061504d565b612fef5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e37565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613058573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061307c919061504d565b6130c85760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e37565b334360006130d58561247c565b6130e05760646130f6565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526003602052604090209091506001016131808782615653565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156131f3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613217919061575d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613267573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061328b919061577a565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613327573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061334b919061504d565b6133975760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e37565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613403573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613427919061504d565b6134735760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e37565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166134b74390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061356d919061575d565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156135bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135e1919061577a565b87868632876040516135f99796959493929190615797565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561365b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061367f919061504d565b6136cb5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e37565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061375b919061504d565b6137a75760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e37565b60008581526003602052604090206001016137c28582615653565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166138074390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613899573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138bd919061575d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561390d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613931919061577a565b87868632876040516139499796959493929190615797565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156139c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139e7919061575d565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613a37573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a5b919061577a565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0016132c4565b60008181526001830160205260408120548015613b8d576000613ac86001836157e7565b8554909150600090613adc906001906157e7565b9050808214613b41576000866000018281548110613afc57613afc6151f2565b9060005260206000200154905080876000018481548110613b1f57613b1f6151f2565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613b5257613b52615808565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b75565b6000915050610b75565b5092915050565b600080829050601f81511115613bc9578260405163305a27a960e01b8152600401610e379190614765565b8051613bd48261581e565b179392505050565b600060ff8216601f811115610b7557604051632cd44ac360e21b815260040160405180910390fd5b6001600160a01b038216613c5a5760405162461bcd60e51b815260206004820152601e60248201527f4e66744f776e61626c653a20696e697469616c206f776e6572206973203000006044820152606401610e37565b600680546001600160a01b0319166001600160a01b038416179055610bbb81613cf7565b6000818152600183016020526040812054613cc557508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b75565b506000610b75565b6000826000018281548110613ce457613ce46151f2565b9060005260206000200154905092915050565b6005546001600160a01b031615613d305760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e37565b6001600160a01b038116613d575760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613d8d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e37565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b81526376ceea7360e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613e07575060408051601f3d908101601f19168201909252613e049181019061504d565b60015b613e2f5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e37565b80610bbb5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e37565b50565b600060208284031215613e6d57600080fd5b81356001600160e01b03198116811461257757600080fd5b6001600160401b0381168114613e5857600080fd5b600060208284031215613eac57600080fd5b813561257781613e85565b600060208284031215613ec957600080fd5b5035919050565b6001600160601b0381168114613e5857600080fd5b8035613ef081613ed0565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405290565b604051608081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161012081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161010081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161014081016001600160401b0381118282101715613f2d57613f2d613ef5565b60405161020081016001600160401b0381118282101715613f2d57613f2d613ef5565b6001600160a01b0381168114613e5857600080fd5b8035613ef081613fe1565b60006040828403121561401357600080fd5b61401b613f0b565b9050813581526020820135602082015292915050565b8015158114613e5857600080fd5b8035613ef081614031565b600060c0828403121561405c57600080fd5b60405160a081018181106001600160401b038211171561407e5761407e613ef5565b604052905080823561408f81613ed0565b8152602083013561409f81613fe1565b60208201526140b18460408501614001565b604082015260808301356140c481614031565b606082015260a08301356140d781613fe1565b6080919091015292915050565b60008060e083850312156140f757600080fd5b823561410281613ed0565b9150614111846020850161404a565b90509250929050565b60ff81168114613e5857600080fd5b60006020828403121561413b57600080fd5b81356125778161411a565b6000806040838503121561415957600080fd5b823561416481613ed0565b915060208301356141748161411a565b809150509250929050565b60005b8381101561419a578181015183820152602001614182565b50506000910152565b600081518084526141bb81602086016020860161417f565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161421360a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526142596101208401826141a3565b9050828103602084015261426d81856141a3565b95945050505050565b6000806040838503121561428957600080fd5b823561429481613fe1565b9150602083013561417481614031565b63ffffffff81168114613e5857600080fd5b600082601f8301126142c757600080fd5b81356001600160401b03808211156142e1576142e1613ef5565b604051601f8301601f19908116603f0116810190828211818310171561430957614309613ef5565b8160405283815286602085880101111561432257600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff81168114613ef057600080fd5b60006080828403121561436957600080fd5b614371613f33565b9050813561437e816142a4565b81526020828101359082015260408201356001600160401b038111156143a357600080fd5b6143af848285016142b6565b6040830152506143c160608301614342565b606082015292915050565b600080600080608085870312156143e257600080fd5b84356143ed81613ed0565b935060208501356143fd816142a4565b925060408501356001600160401b0381111561441857600080fd5b61442487828801614357565b92505060608501356144358161411a565b939692955090935050565b600080828403606081121561445457600080fd5b833561445f81613fe1565b92506040601f198201121561447357600080fd5b5061447c613f0b565b60208401358152604084013561449181614031565b6020820152919491935090915050565b600080604083850312156144b457600080fd5b82356144bf81613e85565b915060208301356001600160401b038111156144da57600080fd5b6144e6858286016142b6565b9150509250929050565b6001600160c01b031981168114613e5857600080fd5b8035613ef0816144f0565b60006040828403121561452357600080fd5b61452b613f0b565b9050813561453881613ed0565b815260208201356001600160401b0381111561455357600080fd5b61455f848285016142b6565b60208301525092915050565b6000806040838503121561457e57600080fd5b8235614589816144f0565b915060208301356001600160401b038111156145a457600080fd5b6144e685828601614511565b6000602082840312156145c257600080fd5b813561257781613fe1565b6000806000606084860312156145e257600080fd5b83356145ed81613ed0565b925060208401356145fd816142a4565b915060408401356001600160401b0381111561461857600080fd5b61462486828701614357565b9150509250925092565b6000610140828403121561464157600080fd5b614649613f55565b905061465482613ee5565b81526146638360208401614001565b602082015260608201356001600160401b0381111561468157600080fd5b61468d848285016142b6565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c08201526101006146c9818401614342565b60e08301526146db6101208401614342565b9082015292915050565b6000806000606084860312156146fa57600080fd5b833561470581613ed0565b925060208401356001600160401b0381111561472057600080fd5b61472c8682870161462e565b925050604084013561473d8161411a565b809150509250925092565b60006020828403121561475a57600080fd5b813561257781613ed0565b60208152600061257760208301846141a3565b6000610160828403121561478b57600080fd5b614793613f78565b905061479e82613ee5565b81526147ac60208301613ff6565b6020820152604082013560408201526147c88360608401614001565b60608201526147da8360a08401614001565b60808201526147ec8360e08401614001565b60a08201526147fe610120830161403f565b60c08201526148106101408301613ff6565b60e082015292915050565b600080610180838503121561482f57600080fd5b823561483a81613ed0565b91506141118460208501614778565b6000806040838503121561485c57600080fd5b823561486781613ed0565b915060208301356001600160401b0381111561488257600080fd5b6144e68582860161462e565b600061020082840312156148a157600080fd5b6148a9613f9b565b90506148b482613ff6565b81526148c260208301613ff6565b60208201526148d360408301613ee5565b60408201526148e460608301613ee5565b60608201526148f68360808401614001565b60808201526149088360c08401614001565b60a082015261010061491c84828501614001565b60c083015261492f846101408501614001565b60e0830152614942846101808501614001565b90820152614954836101c08401614001565b61012082015292915050565b6000806000610240848603121561497657600080fd5b833561498181613ed0565b9250614990856020860161488e565b915061022084013561473d8161411a565b60008061022083850312156149b557600080fd5b82356149c081613ed0565b9150614111846020850161488e565b6000608082840312156149e157600080fd5b6149e9613f33565b9050813581526020820135602082015260408201356001600160401b038111156143a357600080fd5b60008060008060808587031215614a2857600080fd5b8435614a3381613ed0565b93506020850135614a43816142a4565b925060408501356001600160401b03811115614a5e57600080fd5b614424878288016149cf565b60008060408385031215614a7d57600080fd5b8235614164816144f0565b8151815260208083015115159082015260408101610b75565b60008060408385031215614ab457600080fd5b823561416481613e85565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614b1b602082018351614abf565b6000602083015160c080840152614b3560e08401826141a3565b949350505050565b600080600060608486031215614b5257600080fd5b8335614b5d81613e85565b925060208401356001600160401b03811115614b7857600080fd5b61472c868287016142b6565b60008060008060808587031215614b9a57600080fd5b8435614ba581613fe1565b93506020850135614bb581613fe1565b92506040850135614bc581613ed0565b9150606085013561443581613fe1565b803561ffff81168114613ef057600080fd5b60006102008284031215614bfa57600080fd5b614c02613fbe565b9050614c0d82613ee5565b8152614c1b60208301613ee5565b6020820152614c2c60408301614506565b6040820152614c3d60608301614506565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115614c8657600080fd5b614c92868387016142b6565b83850152610120925082850135915080821115614cae57600080fd5b50614cbb858286016142b6565b828401525050610140614ccf818401614bd5565b90820152610160614ce1838201614bd5565b9082015261018082810135908201526101a0614cfe818401614342565b908201526101c0614d10838201614342565b908201526101e06146db838201614342565b600080600060608486031215614d3757600080fd5b8335614d4281613ed0565b925060208401356001600160401b03811115614d5d57600080fd5b61472c86828701614be7565b600080600060608486031215614d7e57600080fd5b8335614d8981613ed0565b92506020840135614d99816142a4565b915060408401356001600160401b03811115614db457600080fd5b614624868287016149cf565b60a08101610b758284614abf565b600080600060608486031215614de357600080fd5b8335614dee816144f0565b925060208401356001600160401b03811115614e0957600080fd5b61472c86828701614511565b600080600060608486031215614e2a57600080fd5b8335614e358161411a565b92506020840135614e458161411a565b9150604084013561473d8161411a565b60008060408385031215614e6857600080fd5b8235614e7381613e85565b9150602083013561417481613fe1565b60008060408385031215614e9657600080fd5b8235614ea181613ed0565b915060208301356001600160401b03811115614ebc57600080fd5b6144e685828601614be7565b60008060006101a08486031215614ede57600080fd5b8335614ee981613ed0565b9250614ef88560208601614778565b915061018084013561473d8161411a565b60008060006101008486031215614f1f57600080fd5b8335614f2a81613ed0565b9250614f39856020860161404a565b915060e084013561473d8161411a565b60008060408385031215614f5c57600080fd5b8235614f6781613e85565b946020939093013593505050565b60ff1981168114613e5857600080fd5b60008060408385031215614f9857600080fd5b8235614fa38161411a565b9150602083013561417481614f75565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c9082168061502757607f821691505b60208210810361504757634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561505f57600080fd5b815161257781614031565b60006020828403121561507c57600080fd5b815161257781613ed0565b6020815263ffffffff82511660208201526020820151604082015260006040830151608060608401526150bd60a08401826141a3565b905064ffffffffff60608501511660808401528091505092915050565b6000602082840312156150ec57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152614b3560608401826141a3565b60006020828403121561513357600080fd5b815161257781613e85565b602081526151586020820183516001600160601b03169052565b60006020830151615176604084018280518252602090810151910152565b5060408301516101408060808501526151936101608501836141a3565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e087015191506151db61012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561521a57600080fd5b815161257781613fe1565b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916152719084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b038116610140840152613b97565b81516001600160a01b03168152610200810160208301516152f460208401826001600160a01b03169052565b50604083015161530f60408401826001600160601b03169052565b50606083015161532a60608401826001600160601b03169052565b506080830151615347608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061537d8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050613b97565b60208152815160208201526020820151604082015260006040830151608060608401526150bd60a08401826141a3565b60006040828403121561540c57600080fd5b615414613f0b565b82518152602083015161542681614031565b60208201529392505050565b6020815261544c6020820183516001600160601b03169052565b6000602083015161546860408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526154e06102208601846141a3565b9250808601519050610140601f19868503018187015261550084836141a3565b93508087015191505061016061551b8187018361ffff169052565b86015190506101806155328682018361ffff169052565b8601516101a08681019190915286015190506101c06155598187018364ffffffffff169052565b86015190506101e06151db8682018364ffffffffff169052565b6000808585111561558357600080fd5b8386111561559057600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156155c55780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f82111561120c57600081815260208120601f850160051c810160208610156156345750805b601f850160051c820191505b8181101561103557828155600101615640565b81516001600160401b0381111561566c5761566c613ef5565b6156808161567a8454615013565b8461560d565b602080601f8311600181146156b5576000841561569d5750858301515b600019600386901b1c1916600185901b178555611035565b600085815260208120601f198616915b828110156156e4578886015182559484019460019091019084016156c5565b50858210156157025787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000825161572481846020870161417f565b9190910192915050565b6000806040838503121561574157600080fd5b825161574c81614031565b6020840151909250614174816142a4565b60006020828403121561576f57600080fd5b81516125778161411a565b60006020828403121561578c57600080fd5b815161257781614f75565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b7557634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b805160208083015191908110156150475760001960209190910360031b1b1691905056fea264697066735822122014a12cf8a8283b95cbea537587fb4b11fa393992d7f33e3691dab46204ae701c64736f6c63430008140033",
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$__9063389e7d6890602401602060405180830381865af4158015613e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7c9190615c9b565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a00161374b565b613ec1612c82565b611a9c816130b5565b600060208284031215613edc57600080fd5b81356001600160e01b0319811681146128d657600080fd5b600060208284031215613f0657600080fd5b5035919050565b6001600160601b0381168114611a9c57600080fd5b8035613f2d81613f0d565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f6a57613f6a613f32565b60405290565b60405161010081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161020081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161012081016001600160401b0381118282101715613f6a57613f6a613f32565b604051608081016001600160401b0381118282101715613f6a57613f6a613f32565b60405160e081016001600160401b0381118282101715613f6a57613f6a613f32565b6001600160a01b0381168114611a9c57600080fd5b8035613f2d8161401d565b60006040828403121561404f57600080fd5b614057613f48565b9050813581526020820135602082015292915050565b8015158114611a9c57600080fd5b8035613f2d8161406d565b6000610140828403121561409957600080fd5b6140a1613f70565b90506140ac82614032565b81526140ba60208301614032565b60208201526140cb60408301613f22565b60408201526140dc60608301613f22565b60608201526140ee836080840161403d565b60808201526141008360c0840161403d565b60a0820152614112610100830161407b565b60c08201526141246101208301614032565b60e082015292915050565b60ff81168114611a9c57600080fd5b6000806000610180848603121561415457600080fd5b833561415f81613f0d565b925061416e8560208601614086565b915061016084013561417f8161412f565b809150509250925092565b60006020828403121561419c57600080fd5b81356128d68161412f565b600080604083850312156141ba57600080fd5b82356141c581613f0d565b915060208301356141d58161412f565b809150509250929050565b6000602082840312156141f257600080fd5b81356128d68161401d565b60005b83811015614218578181015183820152602001614200565b50506000910152565b600081518084526142398160208601602086016141fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516142b660c08401826001600160a01b03169052565b5060c083015160e0808401526142d0610100840182614221565b949350505050565b6001600160c01b031981168114611a9c57600080fd5b8035613f2d816142d8565b64ffffffffff81168114611a9c57600080fd5b8035613f2d816142f9565b600082601f83011261432857600080fd5b81356001600160401b038082111561434257614342613f32565b604051601f8301601f19908116603f0116810190828211818310171561436a5761436a613f32565b8160405283815286602085880101111561438357600080fd5b836020870160208301376000602085830101528094505050505092915050565b61ffff81168114611a9c57600080fd5b8035613f2d816143a3565b600061020082840312156143d157600080fd5b6143d9613f93565b90506143e482613f22565b81526143f260208301613f22565b6020820152614403604083016142ee565b6040820152614414606083016142ee565b60608201526080820135608082015260a082013560a082015260c082013560c082015261444360e0830161430c565b60e0820152610100808301356001600160401b038082111561446457600080fd5b61447086838701614317565b8385015261012092508285013591508082111561448c57600080fd5b5061449985828601614317565b8284015250506101406144ad8184016143b3565b908201526101606144bf8382016143b3565b9082015261018082810135908201526101a06144dc81840161430c565b908201526101c06144ee83820161430c565b908201526101e061450083820161430c565b9082015292915050565b60008060006060848603121561451f57600080fd5b833561452a81613f0d565b925060208401356001600160401b0381111561454557600080fd5b614551868287016143be565b925050604084013561417f8161412f565b60006020828403121561457457600080fd5b81356128d681613f0d565b63ffffffff81168114611a9c57600080fd5b8035613f2d8161457f565b600061012082840312156145af57600080fd5b6145b7613fb6565b905081356001600160401b03808211156145d057600080fd5b6145dc85838601614317565b835260208401356020840152604084013560408401526060840135606084015261460860808501614591565b608084015261461960a08501614591565b60a084015261462a60c0850161407b565b60c084015261463b60e0850161407b565b60e08401526101009150818401358181111561465657600080fd5b61466286828701614317565b8385015250505092915050565b6000806040838503121561468257600080fd5b8235915060208301356001600160401b0381111561469f57600080fd5b6146ab8582860161459c565b9150509250929050565b60008060008060008060c087890312156146ce57600080fd5b86356146d98161401d565b955060208701356146e981613f0d565b945060408701356146f98161412f565b935060608701356147098161406d565b925060808701356147198161401d565b915060a08701356001600160401b0381111561473457600080fd5b61474089828a01614317565b9150509295509295509295565b60006040828403121561475f57600080fd5b614767613f48565b9050813561477481613f0d565b815260208201356001600160401b0381111561478f57600080fd5b61479b84828501614317565b60208301525092915050565b600080604083850312156147ba57600080fd5b82356147c5816142d8565b915060208301356001600160401b038111156147e057600080fd5b6146ab8582860161474d565b6000608082840312156147fe57600080fd5b614806613fd9565b90508135614813816143a3565b81526020828101359082015260408201356001600160401b0381111561483857600080fd5b61484484828501614317565b6040830152506060820135614858816142f9565b606082015292915050565b60008060006060848603121561487857600080fd5b833561488381613f0d565b925060208401356148938161457f565b915060408401356001600160401b038111156148ae57600080fd5b6148ba868287016147ec565b9150509250925092565b600080600080608085870312156148da57600080fd5b84356148e581613f0d565b935060208501356148f58161457f565b925060408501356001600160401b0381111561491057600080fd5b61491c878288016147ec565b925050606085013561492d8161412f565b939692955090935050565b6000806040838503121561494b57600080fd5b8235915060208301356141d58161412f565b600060e0828403121561496f57600080fd5b614977613ffb565b905061498282613f22565b815260208201356001600160401b038082111561499e57600080fd5b6149aa85838601614317565b6020840152604084013560408401526149c560608501614591565b60608401526149d660808501614591565b60808401526149e760a0850161430c565b60a084015260c0840135915080821115614a0057600080fd5b50614a0d84828501614317565b60c08301525092915050565b60008060408385031215614a2c57600080fd5b8235915060208301356001600160401b03811115614a4957600080fd5b6146ab8582860161495d565b6020815260006128d66020830184614221565b600060808284031215614a7a57600080fd5b614a82613fd9565b9050813581526020820135602082015260408201356001600160401b0381111561483857600080fd5b60008060008060808587031215614ac157600080fd5b8435614acc81613f0d565b93506020850135614adc816143a3565b925060408501356001600160401b03811115614af757600080fd5b61491c87828801614a68565b60006101408284031215614b1657600080fd5b614b1e613fb6565b9050614b2982613f22565b8152614b38836020840161403d565b602082015260608201356001600160401b03811115614b5657600080fd5b614b6284828501614317565b604083015250614b7460808301613f22565b6060820152614b8560a08301613f22565b6080820152614b9660c08301613f22565b60a0820152614ba760e0830161430c565b60c0820152610100614bba81840161430c565b60e0830152614500610120840161430c565b600080600060608486031215614be157600080fd5b8335614bec81613f0d565b925060208401356001600160401b03811115614c0757600080fd5b61455186828701614b03565b60008060408385031215614c2657600080fd5b82356141c5816142d8565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614c8d602082018351614c31565b6000602083015160c0808401526142d060e0840182614221565b60008060408385031215614cba57600080fd5b8235614cc581613f0d565b915060208301356001600160401b03811115614ce057600080fd5b6146ab85828601614b03565b60006101008284031215614cff57600080fd5b60405160c081018181106001600160401b0382111715614d2157614d21613f32565b6040529050808235614d3281613f0d565b81526020830135614d428161401d565b6020820152614d54846040850161403d565b6040820152614d66846080850161403d565b606082015260c0830135614d798161401d565b8060808301525060e083013560a08201525092915050565b6000806101208385031215614da557600080fd5b8235614db081613f0d565b9150614dbf8460208501614cec565b90509250929050565b600060e08284031215614dda57600080fd5b614de2613ffb565b905081356001600160401b0380821115614dfb57600080fd5b614e0785838601614317565b8352614e1560208501614032565b6020840152614e2660408501614032565b6040840152614e3760608501614032565b6060840152614e4860808501613f22565b60808401526149e760a08501613f22565b600080600060608486031215614e6e57600080fd5b8335614e7981613f0d565b925060208401356001600160401b03811115614e9457600080fd5b61455186828701614dc8565b60a0810161128c8284614c31565b600060a08284031215614ec057600080fd5b60405160a081016001600160401b038282108183111715614ee357614ee3613f32565b8160405282935084359150614ef7826142d8565b908252602084013590614f098261406d565b8160208401526040850135915080821115614f2357600080fd5b50614f3085828601614317565b60408301525060608301356060820152608083013560808201525092915050565b60008060408385031215614f6457600080fd5b8235614f6f81613f0d565b915060208301356001600160401b03811115614f8a57600080fd5b6146ab85828601614eae565b600080600060608486031215614fab57600080fd5b8335614fb6816142d8565b925060208401356001600160401b03811115614fd157600080fd5b6145518682870161474d565b600080600060608486031215614ff257600080fd5b8335614ffd8161412f565b9250602084013561500d8161412f565b9150604084013561417f8161412f565b6000806040838503121561503057600080fd5b823561503b81613f0d565b915060208301356001600160401b0381111561505657600080fd5b6146ab858286016143be565b60008060006060848603121561507757600080fd5b8335925060208401356001600160401b0381111561509457600080fd5b6145518682870161459c565b6000806000606084860312156150b557600080fd5b83356150c081613f0d565b9250602084013561500d816143a3565b600080604083850312156150e357600080fd5b82356150ee8161401d565b946020939093013593505050565b60008060006060848603121561511157600080fd5b833561511c8161401d565b9250602084013561512c8161401d565b9150604084013561417f8161401d565b60008060006060848603121561515157600080fd5b8335925060208401356001600160401b0381111561516e57600080fd5b6145518682870161495d565b6000806040838503121561518d57600080fd5b823561519881613f0d565b915060208301356001600160401b038111156151b357600080fd5b6146ab85828601614dc8565b6000806000606084860312156151d457600080fd5b83356151df8161401d565b925060208401356151ef8161401d565b929592945050506040919091013590565b60ff1981168114611a9c57600080fd5b6000806040838503121561522357600080fd5b823561522e8161412f565b915060208301356141d581615200565b6000806000610140848603121561525457600080fd5b833561525f81613f0d565b925061526e8560208601614cec565b915061012084013561417f8161412f565b6000806040838503121561529257600080fd5b823561529d8161401d565b915060208301356141d58161401d565b6000806000606084860312156152c257600080fd5b83356152cd81613f0d565b925060208401356152dd816143a3565b915060408401356001600160401b038111156152f857600080fd5b6148ba86828701614a68565b60008060006060848603121561531957600080fd5b833561532481613f0d565b925060208401356001600160401b0381111561533f57600080fd5b61455186828701614eae565b600080610160838503121561535f57600080fd5b823561536a81613f0d565b9150614dbf8460208501614086565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916153c8908401826001600160601b03169052565b5060808301516153e5608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b60006020828403121561543a57600080fd5b81516128d68161401d565b600181811c9082168061545957607f821691505b60208210810361547957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561549157600080fd5b81516128d68161406d565b6000602082840312156154ae57600080fd5b81516128d681613f0d565b602081526154d36020820183516001600160601b03169052565b600060208301516154ef60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006155548185018364ffffffffff169052565b808501519150506102006101208181860152615574610220860184614221565b9250808601519050610140601f1986850301818701526155948483614221565b9350808701519150506101606155af8187018361ffff169052565b86015190506101806155c68682018361ffff169052565b8601516101a08681019190915286015190506101c06155ed8187018364ffffffffff169052565b86015190506101e06156078682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60006020828403121561563057600080fd5b5051919050565b6020815260008251610120806020850152615656610140850183614221565b9150602085015160408501526040850151606085015260608501516080850152608085015161568d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006156c38187018315159052565b860151858403601f19018387015290506156dd8382614221565b9695505050505050565b601f821115610c7357600081815260208120601f850160051c8101602086101561570e5750805b601f850160051c820191505b81811015612c195782815560010161571a565b81516001600160401b0381111561574657615746613f32565b61575a816157548454615445565b846156e7565b602080601f83116001811461578f57600084156157775750858301515b600019600386901b1c1916600185901b178555612c19565b600085815260208120601f198616915b828110156157be5788860151825594840194600190910190840161579f565b50858210156157dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526142d06060840182614221565b6020815261ffff825116602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261589b610100840182614221565b90506040840151606084015263ffffffff606085015116608084015260808401516158ce60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526158fe8282614221565b95945050505050565b602081528151602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b602081526159516020820183516001600160601b03169052565b6000602083015161596f604084018280518252602090810151910152565b50604083015161014080608085015261598c610160850183614221565b915060608501516159a860a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006159ed8187018364ffffffffff169052565b60e087015164ffffffffff81166101208801529150615607565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615a98610100840182614221565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615ae260a08501826001600160601b03169052565b5060a08401516001600160601b03811660c08501526158e2565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615b3a60c0840182614221565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615b8257600080fd5b81516128d68161412f565b60008085851115615b9d57600080fd5b83861115615baa57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615bdf5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615c3957600080fd5b81516001600160401b03811681146128d657600080fd5b60008251615c628184602087016141fd565b9190910192915050565b60008060408385031215615c7f57600080fd5b8251615c8a8161406d565b60208401519092506141d58161457f565b600060208284031215615cad57600080fd5b81516128d681615200565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212200d4192ff06f401c8cdda2d35764c94f68ea69ec91d6f1b49388ac28af3a4326b64736f6c63430008140033",
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$__9063389e7d6890602401602060405180830381865af4158015613e58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613e7c9190615c9b565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a00161374b565b613ec1612c82565b611a9c816130b5565b600060208284031215613edc57600080fd5b81356001600160e01b0319811681146128d657600080fd5b600060208284031215613f0657600080fd5b5035919050565b6001600160601b0381168114611a9c57600080fd5b8035613f2d81613f0d565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f6a57613f6a613f32565b60405290565b60405161010081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161020081016001600160401b0381118282101715613f6a57613f6a613f32565b60405161012081016001600160401b0381118282101715613f6a57613f6a613f32565b604051608081016001600160401b0381118282101715613f6a57613f6a613f32565b60405160e081016001600160401b0381118282101715613f6a57613f6a613f32565b6001600160a01b0381168114611a9c57600080fd5b8035613f2d8161401d565b60006040828403121561404f57600080fd5b614057613f48565b9050813581526020820135602082015292915050565b8015158114611a9c57600080fd5b8035613f2d8161406d565b6000610140828403121561409957600080fd5b6140a1613f70565b90506140ac82614032565b81526140ba60208301614032565b60208201526140cb60408301613f22565b60408201526140dc60608301613f22565b60608201526140ee836080840161403d565b60808201526141008360c0840161403d565b60a0820152614112610100830161407b565b60c08201526141246101208301614032565b60e082015292915050565b60ff81168114611a9c57600080fd5b6000806000610180848603121561415457600080fd5b833561415f81613f0d565b925061416e8560208601614086565b915061016084013561417f8161412f565b809150509250925092565b60006020828403121561419c57600080fd5b81356128d68161412f565b600080604083850312156141ba57600080fd5b82356141c581613f0d565b915060208301356141d58161412f565b809150509250929050565b6000602082840312156141f257600080fd5b81356128d68161401d565b60005b83811015614218578181015183820152602001614200565b50506000910152565b600081518084526142398160208601602086016141fd565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516142b660c08401826001600160a01b03169052565b5060c083015160e0808401526142d0610100840182614221565b949350505050565b6001600160c01b031981168114611a9c57600080fd5b8035613f2d816142d8565b64ffffffffff81168114611a9c57600080fd5b8035613f2d816142f9565b600082601f83011261432857600080fd5b81356001600160401b038082111561434257614342613f32565b604051601f8301601f19908116603f0116810190828211818310171561436a5761436a613f32565b8160405283815286602085880101111561438357600080fd5b836020870160208301376000602085830101528094505050505092915050565b61ffff81168114611a9c57600080fd5b8035613f2d816143a3565b600061020082840312156143d157600080fd5b6143d9613f93565b90506143e482613f22565b81526143f260208301613f22565b6020820152614403604083016142ee565b6040820152614414606083016142ee565b60608201526080820135608082015260a082013560a082015260c082013560c082015261444360e0830161430c565b60e0820152610100808301356001600160401b038082111561446457600080fd5b61447086838701614317565b8385015261012092508285013591508082111561448c57600080fd5b5061449985828601614317565b8284015250506101406144ad8184016143b3565b908201526101606144bf8382016143b3565b9082015261018082810135908201526101a06144dc81840161430c565b908201526101c06144ee83820161430c565b908201526101e061450083820161430c565b9082015292915050565b60008060006060848603121561451f57600080fd5b833561452a81613f0d565b925060208401356001600160401b0381111561454557600080fd5b614551868287016143be565b925050604084013561417f8161412f565b60006020828403121561457457600080fd5b81356128d681613f0d565b63ffffffff81168114611a9c57600080fd5b8035613f2d8161457f565b600061012082840312156145af57600080fd5b6145b7613fb6565b905081356001600160401b03808211156145d057600080fd5b6145dc85838601614317565b835260208401356020840152604084013560408401526060840135606084015261460860808501614591565b608084015261461960a08501614591565b60a084015261462a60c0850161407b565b60c084015261463b60e0850161407b565b60e08401526101009150818401358181111561465657600080fd5b61466286828701614317565b8385015250505092915050565b6000806040838503121561468257600080fd5b8235915060208301356001600160401b0381111561469f57600080fd5b6146ab8582860161459c565b9150509250929050565b60008060008060008060c087890312156146ce57600080fd5b86356146d98161401d565b955060208701356146e981613f0d565b945060408701356146f98161412f565b935060608701356147098161406d565b925060808701356147198161401d565b915060a08701356001600160401b0381111561473457600080fd5b61474089828a01614317565b9150509295509295509295565b60006040828403121561475f57600080fd5b614767613f48565b9050813561477481613f0d565b815260208201356001600160401b0381111561478f57600080fd5b61479b84828501614317565b60208301525092915050565b600080604083850312156147ba57600080fd5b82356147c5816142d8565b915060208301356001600160401b038111156147e057600080fd5b6146ab8582860161474d565b6000608082840312156147fe57600080fd5b614806613fd9565b90508135614813816143a3565b81526020828101359082015260408201356001600160401b0381111561483857600080fd5b61484484828501614317565b6040830152506060820135614858816142f9565b606082015292915050565b60008060006060848603121561487857600080fd5b833561488381613f0d565b925060208401356148938161457f565b915060408401356001600160401b038111156148ae57600080fd5b6148ba868287016147ec565b9150509250925092565b600080600080608085870312156148da57600080fd5b84356148e581613f0d565b935060208501356148f58161457f565b925060408501356001600160401b0381111561491057600080fd5b61491c878288016147ec565b925050606085013561492d8161412f565b939692955090935050565b6000806040838503121561494b57600080fd5b8235915060208301356141d58161412f565b600060e0828403121561496f57600080fd5b614977613ffb565b905061498282613f22565b815260208201356001600160401b038082111561499e57600080fd5b6149aa85838601614317565b6020840152604084013560408401526149c560608501614591565b60608401526149d660808501614591565b60808401526149e760a0850161430c565b60a084015260c0840135915080821115614a0057600080fd5b50614a0d84828501614317565b60c08301525092915050565b60008060408385031215614a2c57600080fd5b8235915060208301356001600160401b03811115614a4957600080fd5b6146ab8582860161495d565b6020815260006128d66020830184614221565b600060808284031215614a7a57600080fd5b614a82613fd9565b9050813581526020820135602082015260408201356001600160401b0381111561483857600080fd5b60008060008060808587031215614ac157600080fd5b8435614acc81613f0d565b93506020850135614adc816143a3565b925060408501356001600160401b03811115614af757600080fd5b61491c87828801614a68565b60006101408284031215614b1657600080fd5b614b1e613fb6565b9050614b2982613f22565b8152614b38836020840161403d565b602082015260608201356001600160401b03811115614b5657600080fd5b614b6284828501614317565b604083015250614b7460808301613f22565b6060820152614b8560a08301613f22565b6080820152614b9660c08301613f22565b60a0820152614ba760e0830161430c565b60c0820152610100614bba81840161430c565b60e0830152614500610120840161430c565b600080600060608486031215614be157600080fd5b8335614bec81613f0d565b925060208401356001600160401b03811115614c0757600080fd5b61455186828701614b03565b60008060408385031215614c2657600080fd5b82356141c5816142d8565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614c8d602082018351614c31565b6000602083015160c0808401526142d060e0840182614221565b60008060408385031215614cba57600080fd5b8235614cc581613f0d565b915060208301356001600160401b03811115614ce057600080fd5b6146ab85828601614b03565b60006101008284031215614cff57600080fd5b60405160c081018181106001600160401b0382111715614d2157614d21613f32565b6040529050808235614d3281613f0d565b81526020830135614d428161401d565b6020820152614d54846040850161403d565b6040820152614d66846080850161403d565b606082015260c0830135614d798161401d565b8060808301525060e083013560a08201525092915050565b6000806101208385031215614da557600080fd5b8235614db081613f0d565b9150614dbf8460208501614cec565b90509250929050565b600060e08284031215614dda57600080fd5b614de2613ffb565b905081356001600160401b0380821115614dfb57600080fd5b614e0785838601614317565b8352614e1560208501614032565b6020840152614e2660408501614032565b6040840152614e3760608501614032565b6060840152614e4860808501613f22565b60808401526149e760a08501613f22565b600080600060608486031215614e6e57600080fd5b8335614e7981613f0d565b925060208401356001600160401b03811115614e9457600080fd5b61455186828701614dc8565b60a0810161128c8284614c31565b600060a08284031215614ec057600080fd5b60405160a081016001600160401b038282108183111715614ee357614ee3613f32565b8160405282935084359150614ef7826142d8565b908252602084013590614f098261406d565b8160208401526040850135915080821115614f2357600080fd5b50614f3085828601614317565b60408301525060608301356060820152608083013560808201525092915050565b60008060408385031215614f6457600080fd5b8235614f6f81613f0d565b915060208301356001600160401b03811115614f8a57600080fd5b6146ab85828601614eae565b600080600060608486031215614fab57600080fd5b8335614fb6816142d8565b925060208401356001600160401b03811115614fd157600080fd5b6145518682870161474d565b600080600060608486031215614ff257600080fd5b8335614ffd8161412f565b9250602084013561500d8161412f565b9150604084013561417f8161412f565b6000806040838503121561503057600080fd5b823561503b81613f0d565b915060208301356001600160401b0381111561505657600080fd5b6146ab858286016143be565b60008060006060848603121561507757600080fd5b8335925060208401356001600160401b0381111561509457600080fd5b6145518682870161459c565b6000806000606084860312156150b557600080fd5b83356150c081613f0d565b9250602084013561500d816143a3565b600080604083850312156150e357600080fd5b82356150ee8161401d565b946020939093013593505050565b60008060006060848603121561511157600080fd5b833561511c8161401d565b9250602084013561512c8161401d565b9150604084013561417f8161401d565b60008060006060848603121561515157600080fd5b8335925060208401356001600160401b0381111561516e57600080fd5b6145518682870161495d565b6000806040838503121561518d57600080fd5b823561519881613f0d565b915060208301356001600160401b038111156151b357600080fd5b6146ab85828601614dc8565b6000806000606084860312156151d457600080fd5b83356151df8161401d565b925060208401356151ef8161401d565b929592945050506040919091013590565b60ff1981168114611a9c57600080fd5b6000806040838503121561522357600080fd5b823561522e8161412f565b915060208301356141d581615200565b6000806000610140848603121561525457600080fd5b833561525f81613f0d565b925061526e8560208601614cec565b915061012084013561417f8161412f565b6000806040838503121561529257600080fd5b823561529d8161401d565b915060208301356141d58161401d565b6000806000606084860312156152c257600080fd5b83356152cd81613f0d565b925060208401356152dd816143a3565b915060408401356001600160401b038111156152f857600080fd5b6148ba86828701614a68565b60008060006060848603121561531957600080fd5b833561532481613f0d565b925060208401356001600160401b0381111561533f57600080fd5b61455186828701614eae565b600080610160838503121561535f57600080fd5b823561536a81613f0d565b9150614dbf8460208501614086565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b0316908201526060808301516101408301916153c8908401826001600160601b03169052565b5060808301516153e5608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b60006020828403121561543a57600080fd5b81516128d68161401d565b600181811c9082168061545957607f821691505b60208210810361547957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561549157600080fd5b81516128d68161406d565b6000602082840312156154ae57600080fd5b81516128d681613f0d565b602081526154d36020820183516001600160601b03169052565b600060208301516154ef60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006155548185018364ffffffffff169052565b808501519150506102006101208181860152615574610220860184614221565b9250808601519050610140601f1986850301818701526155948483614221565b9350808701519150506101606155af8187018361ffff169052565b86015190506101806155c68682018361ffff169052565b8601516101a08681019190915286015190506101c06155ed8187018364ffffffffff169052565b86015190506101e06156078682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b60006020828403121561563057600080fd5b5051919050565b6020815260008251610120806020850152615656610140850183614221565b9150602085015160408501526040850151606085015260608501516080850152608085015161568d60a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e08501516101006156c38187018315159052565b860151858403601f19018387015290506156dd8382614221565b9695505050505050565b601f821115610c7357600081815260208120601f850160051c8101602086101561570e5750805b601f850160051c820191505b81811015612c195782815560010161571a565b81516001600160401b0381111561574657615746613f32565b61575a816157548454615445565b846156e7565b602080601f83116001811461578f57600084156157775750858301515b600019600386901b1c1916600185901b178555612c19565b600085815260208120601f198616915b828110156157be5788860151825594840194600190910190840161579f565b50858210156157dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b038251166020820152600060208301516040808401526142d06060840182614221565b6020815261ffff825116602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b905064ffffffffff60608501511660808401528091505092915050565b602081526001600160601b0382511660208201526000602083015160e0604084015261589b610100840182614221565b90506040840151606084015263ffffffff606085015116608084015260808401516158ce60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e08501526158fe8282614221565b95945050505050565b602081528151602082015260208201516040820152600060408301516080606084015261584e60a0840182614221565b602081526159516020820183516001600160601b03169052565b6000602083015161596f604084018280518252602090810151910152565b50604083015161014080608085015261598c610160850183614221565b915060608501516159a860a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c08501516101006159ed8187018364ffffffffff169052565b60e087015164ffffffffff81166101208801529150615607565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615a98610100840182614221565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615ae260a08501826001600160601b03169052565b5060a08401516001600160601b03811660c08501526158e2565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615b3a60c0840182614221565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615b8257600080fd5b81516128d68161412f565b60008085851115615b9d57600080fd5b83861115615baa57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615bdf5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615c3957600080fd5b81516001600160401b03811681146128d657600080fd5b60008251615c628184602087016141fd565b9190910192915050565b60008060408385031215615c7f57600080fd5b8251615c8a8161406d565b60208401519092506141d58161457f565b600060208284031215615cad57600080fd5b81516128d681615200565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212200d4192ff06f401c8cdda2d35764c94f68ea69ec91d6f1b49388ac28af3a4326b64736f6c63430008140033",
3168
2973
  "linkReferences": {
3169
2974
  "contracts/types/Key32.sol": {
3170
2975
  "Key32Lib": [
3171
2976
  {
3172
2977
  "length": 20,
3173
- "start": 4720
2978
+ "start": 10392
3174
2979
  },
3175
2980
  {
3176
2981
  "length": 20,
3177
- "start": 5488
2982
+ "start": 13611
3178
2983
  },
3179
2984
  {
3180
2985
  "length": 20,
3181
- "start": 5607
2986
+ "start": 13727
3182
2987
  },
3183
2988
  {
3184
2989
  "length": 20,
3185
- "start": 11613
2990
+ "start": 13909
3186
2991
  },
3187
2992
  {
3188
2993
  "length": 20,
3189
- "start": 16784
2994
+ "start": 14025
3190
2995
  },
3191
2996
  {
3192
2997
  "length": 20,
3193
- "start": 19106
2998
+ "start": 14791
3194
2999
  },
3195
3000
  {
3196
3001
  "length": 20,
3197
- "start": 19855
3002
+ "start": 14907
3198
3003
  },
3199
3004
  {
3200
3005
  "length": 20,
3201
- "start": 19971
3006
+ "start": 15066
3202
3007
  },
3203
3008
  {
3204
3009
  "length": 20,
3205
- "start": 20709
3010
+ "start": 15819
3206
3011
  },
3207
3012
  {
3208
3013
  "length": 20,
3209
- "start": 20825
3210
- },
3014
+ "start": 15935
3015
+ }
3016
+ ]
3017
+ },
3018
+ "contracts/types/NftId.sol": {
3019
+ "NftIdLib": [
3211
3020
  {
3212
3021
  "length": 20,
3213
- "start": 21557
3022
+ "start": 4129
3214
3023
  },
3215
3024
  {
3216
3025
  "length": 20,
3217
- "start": 21673
3026
+ "start": 4632
3218
3027
  },
3219
3028
  {
3220
3029
  "length": 20,
3221
- "start": 21855
3030
+ "start": 5432
3222
3031
  },
3223
3032
  {
3224
3033
  "length": 20,
3225
- "start": 21971
3226
- }
3227
- ]
3228
- },
3229
- "contracts/types/NftId.sol": {
3230
- "NftIdLib": [
3231
- {
3232
- "length": 20,
3233
- "start": 10609
3034
+ "start": 6207
3234
3035
  },
3235
3036
  {
3236
3037
  "length": 20,
3237
- "start": 12562
3038
+ "start": 7024
3238
3039
  },
3239
3040
  {
3240
3041
  "length": 20,
3241
- "start": 13751
3042
+ "start": 7257
3242
3043
  },
3243
3044
  {
3244
3045
  "length": 20,
3245
- "start": 15016
3046
+ "start": 7973
3246
3047
  },
3247
3048
  {
3248
3049
  "length": 20,
3249
- "start": 17351
3050
+ "start": 11372
3250
3051
  }
3251
3052
  ]
3252
3053
  },
@@ -3254,11 +3055,7 @@
3254
3055
  "ObjectTypeLib": [
3255
3056
  {
3256
3057
  "length": 20,
3257
- "start": 4844
3258
- },
3259
- {
3260
- "length": 20,
3261
- "start": 19227
3058
+ "start": 15187
3262
3059
  }
3263
3060
  ]
3264
3061
  },
@@ -3266,15 +3063,15 @@
3266
3063
  "RiskIdLib": [
3267
3064
  {
3268
3065
  "length": 20,
3269
- "start": 11452
3066
+ "start": 5066
3270
3067
  },
3271
3068
  {
3272
3069
  "length": 20,
3273
- "start": 13361
3070
+ "start": 7109
3274
3071
  },
3275
3072
  {
3276
3073
  "length": 20,
3277
- "start": 15101
3074
+ "start": 8136
3278
3075
  }
3279
3076
  ]
3280
3077
  },
@@ -3282,51 +3079,7 @@
3282
3079
  "RoleIdLib": [
3283
3080
  {
3284
3081
  "length": 20,
3285
- "start": 2090
3286
- },
3287
- {
3288
- "length": 20,
3289
- "start": 2261
3290
- },
3291
- {
3292
- "length": 20,
3293
- "start": 3702
3294
- },
3295
- {
3296
- "length": 20,
3297
- "start": 4027
3298
- },
3299
- {
3300
- "length": 20,
3301
- "start": 11904
3302
- },
3303
- {
3304
- "length": 20,
3305
- "start": 13488
3306
- },
3307
- {
3308
- "length": 20,
3309
- "start": 13574
3310
- },
3311
- {
3312
- "length": 20,
3313
- "start": 14559
3314
- },
3315
- {
3316
- "length": 20,
3317
- "start": 14727
3318
- },
3319
- {
3320
- "length": 20,
3321
- "start": 15703
3322
- },
3323
- {
3324
- "length": 20,
3325
- "start": 16116
3326
- },
3327
- {
3328
- "length": 20,
3329
- "start": 18125
3082
+ "start": 12625
3330
3083
  }
3331
3084
  ]
3332
3085
  },
@@ -3334,47 +3087,43 @@
3334
3087
  "StateIdLib": [
3335
3088
  {
3336
3089
  "length": 20,
3337
- "start": 4316
3338
- },
3339
- {
3340
- "length": 20,
3341
- "start": 5066
3342
- },
3343
- {
3344
- "length": 20,
3345
- "start": 6183
3090
+ "start": 5295
3346
3091
  },
3347
3092
  {
3348
3093
  "length": 20,
3349
- "start": 12201
3094
+ "start": 8290
3350
3095
  },
3351
3096
  {
3352
3097
  "length": 20,
3353
- "start": 15255
3098
+ "start": 9073
3354
3099
  },
3355
3100
  {
3356
3101
  "length": 20,
3357
- "start": 16509
3102
+ "start": 13028
3358
3103
  },
3359
3104
  {
3360
3105
  "length": 20,
3361
- "start": 19444
3106
+ "start": 13248
3362
3107
  },
3363
3108
  {
3364
3109
  "length": 20,
3365
- "start": 20163
3110
+ "start": 14229
3366
3111
  },
3367
3112
  {
3368
3113
  "length": 20,
3369
- "start": 20383
3114
+ "start": 14449
3370
3115
  },
3371
3116
  {
3372
3117
  "length": 20,
3373
- "start": 20983
3374
- },
3118
+ "start": 15408
3119
+ }
3120
+ ]
3121
+ },
3122
+ "contracts/types/Version.sol": {
3123
+ "VersionPartLib": [
3375
3124
  {
3376
3125
  "length": 20,
3377
- "start": 21203
3126
+ "start": 9630
3378
3127
  }
3379
3128
  ]
3380
3129
  }
@@ -3384,47 +3133,43 @@
3384
3133
  "Key32Lib": [
3385
3134
  {
3386
3135
  "length": 20,
3387
- "start": 4487
3388
- },
3389
- {
3390
- "length": 20,
3391
- "start": 9658
3136
+ "start": 10359
3392
3137
  },
3393
3138
  {
3394
3139
  "length": 20,
3395
- "start": 11980
3140
+ "start": 13578
3396
3141
  },
3397
3142
  {
3398
3143
  "length": 20,
3399
- "start": 12729
3144
+ "start": 13694
3400
3145
  },
3401
3146
  {
3402
3147
  "length": 20,
3403
- "start": 12845
3148
+ "start": 13876
3404
3149
  },
3405
3150
  {
3406
3151
  "length": 20,
3407
- "start": 13583
3152
+ "start": 13992
3408
3153
  },
3409
3154
  {
3410
3155
  "length": 20,
3411
- "start": 13699
3156
+ "start": 14758
3412
3157
  },
3413
3158
  {
3414
3159
  "length": 20,
3415
- "start": 14431
3160
+ "start": 14874
3416
3161
  },
3417
3162
  {
3418
3163
  "length": 20,
3419
- "start": 14547
3164
+ "start": 15033
3420
3165
  },
3421
3166
  {
3422
3167
  "length": 20,
3423
- "start": 14729
3168
+ "start": 15786
3424
3169
  },
3425
3170
  {
3426
3171
  "length": 20,
3427
- "start": 14845
3172
+ "start": 15902
3428
3173
  }
3429
3174
  ]
3430
3175
  },
@@ -3432,23 +3177,35 @@
3432
3177
  "NftIdLib": [
3433
3178
  {
3434
3179
  "length": 20,
3435
- "start": 3483
3180
+ "start": 4096
3181
+ },
3182
+ {
3183
+ "length": 20,
3184
+ "start": 4599
3436
3185
  },
3437
3186
  {
3438
3187
  "length": 20,
3439
- "start": 5436
3188
+ "start": 5399
3440
3189
  },
3441
3190
  {
3442
3191
  "length": 20,
3443
- "start": 6625
3192
+ "start": 6174
3444
3193
  },
3445
3194
  {
3446
3195
  "length": 20,
3447
- "start": 7890
3196
+ "start": 6991
3448
3197
  },
3449
3198
  {
3450
3199
  "length": 20,
3451
- "start": 10225
3200
+ "start": 7224
3201
+ },
3202
+ {
3203
+ "length": 20,
3204
+ "start": 7940
3205
+ },
3206
+ {
3207
+ "length": 20,
3208
+ "start": 11339
3452
3209
  }
3453
3210
  ]
3454
3211
  },
@@ -3456,7 +3213,7 @@
3456
3213
  "ObjectTypeLib": [
3457
3214
  {
3458
3215
  "length": 20,
3459
- "start": 12101
3216
+ "start": 15154
3460
3217
  }
3461
3218
  ]
3462
3219
  },
@@ -3464,15 +3221,15 @@
3464
3221
  "RiskIdLib": [
3465
3222
  {
3466
3223
  "length": 20,
3467
- "start": 4326
3224
+ "start": 5033
3468
3225
  },
3469
3226
  {
3470
3227
  "length": 20,
3471
- "start": 6235
3228
+ "start": 7076
3472
3229
  },
3473
3230
  {
3474
3231
  "length": 20,
3475
- "start": 7975
3232
+ "start": 8103
3476
3233
  }
3477
3234
  ]
3478
3235
  },
@@ -3480,35 +3237,7 @@
3480
3237
  "RoleIdLib": [
3481
3238
  {
3482
3239
  "length": 20,
3483
- "start": 4778
3484
- },
3485
- {
3486
- "length": 20,
3487
- "start": 6362
3488
- },
3489
- {
3490
- "length": 20,
3491
- "start": 6448
3492
- },
3493
- {
3494
- "length": 20,
3495
- "start": 7433
3496
- },
3497
- {
3498
- "length": 20,
3499
- "start": 7601
3500
- },
3501
- {
3502
- "length": 20,
3503
- "start": 8577
3504
- },
3505
- {
3506
- "length": 20,
3507
- "start": 8990
3508
- },
3509
- {
3510
- "length": 20,
3511
- "start": 10999
3240
+ "start": 12592
3512
3241
  }
3513
3242
  ]
3514
3243
  },
@@ -3516,35 +3245,43 @@
3516
3245
  "StateIdLib": [
3517
3246
  {
3518
3247
  "length": 20,
3519
- "start": 5075
3248
+ "start": 5262
3520
3249
  },
3521
3250
  {
3522
3251
  "length": 20,
3523
- "start": 8129
3252
+ "start": 8257
3524
3253
  },
3525
3254
  {
3526
3255
  "length": 20,
3527
- "start": 9383
3256
+ "start": 9040
3528
3257
  },
3529
3258
  {
3530
3259
  "length": 20,
3531
- "start": 12318
3260
+ "start": 12995
3532
3261
  },
3533
3262
  {
3534
3263
  "length": 20,
3535
- "start": 13037
3264
+ "start": 13215
3536
3265
  },
3537
3266
  {
3538
3267
  "length": 20,
3539
- "start": 13257
3268
+ "start": 14196
3540
3269
  },
3541
3270
  {
3542
3271
  "length": 20,
3543
- "start": 13857
3272
+ "start": 14416
3544
3273
  },
3545
3274
  {
3546
3275
  "length": 20,
3547
- "start": 14077
3276
+ "start": 15375
3277
+ }
3278
+ ]
3279
+ },
3280
+ "contracts/types/Version.sol": {
3281
+ "VersionPartLib": [
3282
+ {
3283
+ "length": 20,
3284
+ "start": 9597
3548
3285
  }
3549
3286
  ]
3550
3287
  }