@etherisc/gif-next 0.0.2-bdd64e2-180 → 0.0.2-be8b3db-650

Sign up to get free protection for your applications and to get access to all the features.
Files changed (374) hide show
  1. package/README.md +136 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +814 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +871 -240
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → components/IComponent.sol/IComponent.json} +177 -176
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +684 -37
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +745 -58
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +564 -9
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +774 -309
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +601 -237
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +783 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1769 -242
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +194 -165
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +892 -1240
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +133 -237
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +428 -273
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +302 -101
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → instance/base/ComponentService.sol/ComponentService.json} +236 -126
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  42. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -10
  44. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  46. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  48. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  51. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  56. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  58. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  59. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  60. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  62. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  64. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  66. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  68. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  69. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1251 -184
  70. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +440 -75
  72. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  74. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  76. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/{IComponentOwnerService.sol/IComponentOwnerService.json → IClaimService.sol/IClaimService.json} +150 -207
  78. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +727 -160
  80. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  82. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +84 -217
  84. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +47 -414
  86. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  88. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  90. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +294 -274
  92. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +300 -95
  94. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  96. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  99. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +208 -224
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +243 -206
  104. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  105. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/Registry.sol/Registry.json +222 -330
  107. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  108. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  109. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +235 -295
  111. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +295 -150
  113. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  115. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  116. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +141 -53
  117. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  118. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  119. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  120. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  121. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  122. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  123. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  126. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  127. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  128. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IService.sol/IService.json +31 -183
  130. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  132. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  133. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  134. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  135. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  136. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  137. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  138. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  139. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  140. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  141. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  142. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  143. package/artifacts/contracts/shared/Service.sol/Service.json +127 -170
  144. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  145. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  146. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  147. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  148. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  149. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  150. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestFee.sol/TestFee.json +2 -2
  152. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  154. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  156. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestService.sol/TestService.json +148 -227
  158. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  161. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  163. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  164. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  165. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  167. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  170. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  172. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.json +2 -2
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  183. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  185. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  191. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  193. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  195. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +25 -7
  197. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/UFixed.sol/MathLib.json +2 -2
  199. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  200. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +2 -2
  201. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  203. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  205. package/contracts/components/Component.sol +241 -0
  206. package/contracts/components/Distribution.sol +197 -83
  207. package/contracts/components/IComponent.sol +74 -0
  208. package/contracts/components/IDistributionComponent.sol +43 -18
  209. package/contracts/components/IPoolComponent.sol +88 -37
  210. package/contracts/components/IProductComponent.sol +10 -5
  211. package/contracts/components/Pool.sol +214 -162
  212. package/contracts/components/Product.sol +130 -134
  213. package/contracts/instance/BundleManager.sol +127 -0
  214. package/contracts/instance/Cloneable.sol +46 -0
  215. package/contracts/instance/IInstance.sol +64 -10
  216. package/contracts/instance/IInstanceService.sol +34 -4
  217. package/contracts/instance/Instance.sol +119 -267
  218. package/contracts/instance/InstanceAccessManager.sol +87 -78
  219. package/contracts/instance/InstanceReader.sol +16 -28
  220. package/contracts/instance/InstanceService.sol +404 -97
  221. package/contracts/instance/InstanceServiceManager.sol +11 -13
  222. package/contracts/instance/ObjectManager.sol +84 -0
  223. package/contracts/instance/base/ComponentService.sol +134 -0
  224. package/contracts/instance/base/KeyValueStore.sol +5 -2
  225. package/contracts/instance/base/Lifecycle.sol +11 -2
  226. package/contracts/instance/module/IAccess.sol +27 -18
  227. package/contracts/instance/module/IBundle.sol +2 -1
  228. package/contracts/instance/module/IComponents.sol +35 -0
  229. package/contracts/instance/module/IDistribution.sol +2 -0
  230. package/contracts/instance/module/IPolicy.sol +30 -3
  231. package/contracts/instance/module/ISetup.sol +9 -20
  232. package/contracts/instance/service/ApplicationService.sol +350 -0
  233. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  234. package/contracts/instance/service/BundleService.sol +336 -0
  235. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  236. package/contracts/instance/service/ClaimService.sol +151 -0
  237. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  238. package/contracts/instance/service/DistributionService.sol +391 -46
  239. package/contracts/instance/service/DistributionServiceManager.sol +11 -13
  240. package/contracts/instance/service/IApplicationService.sol +82 -0
  241. package/contracts/instance/service/IBundleService.sol +62 -0
  242. package/contracts/instance/service/IClaimService.sol +61 -0
  243. package/contracts/instance/service/IDistributionService.sol +86 -0
  244. package/contracts/instance/service/IPolicyService.sol +72 -0
  245. package/contracts/instance/service/IPoolService.sol +21 -23
  246. package/contracts/instance/service/IProductService.sol +6 -73
  247. package/contracts/instance/service/PolicyService.sol +403 -0
  248. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  249. package/contracts/instance/service/PoolService.sol +96 -144
  250. package/contracts/instance/service/PoolServiceManager.sol +11 -13
  251. package/contracts/instance/service/ProductService.sol +233 -0
  252. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  253. package/contracts/registry/ChainNft.sol +5 -1
  254. package/contracts/registry/IRegistry.sol +38 -33
  255. package/contracts/registry/IRegistryService.sol +47 -13
  256. package/contracts/registry/Registry.sol +222 -249
  257. package/contracts/registry/RegistryAccessManager.sol +216 -0
  258. package/contracts/registry/RegistryService.sol +113 -229
  259. package/contracts/registry/RegistryServiceManager.sol +21 -39
  260. package/contracts/registry/ReleaseManager.sol +322 -0
  261. package/contracts/registry/TokenRegistry.sol +22 -17
  262. package/contracts/shared/ERC165.sol +14 -12
  263. package/contracts/shared/INftOwnable.sol +11 -10
  264. package/contracts/shared/IPolicyHolder.sol +26 -0
  265. package/contracts/shared/IRegisterable.sol +4 -6
  266. package/contracts/shared/IRegistryLinked.sol +12 -0
  267. package/contracts/shared/IService.sol +4 -1
  268. package/contracts/shared/IVersionable.sol +4 -47
  269. package/contracts/shared/NftOwnable.sol +67 -83
  270. package/contracts/shared/PolicyHolder.sol +81 -0
  271. package/contracts/shared/ProxyManager.sol +100 -25
  272. package/contracts/shared/Registerable.sol +16 -32
  273. package/contracts/shared/RegistryLinked.sol +48 -0
  274. package/contracts/shared/Service.sol +26 -22
  275. package/contracts/shared/TokenHandler.sol +11 -5
  276. package/contracts/shared/Versionable.sol +4 -92
  277. package/contracts/test/TestRegisterable.sol +1 -1
  278. package/contracts/test/TestService.sol +4 -3
  279. package/contracts/types/Blocknumber.sol +1 -0
  280. package/contracts/types/ClaimId.sol +52 -0
  281. package/contracts/types/DistributorType.sol +2 -2
  282. package/contracts/types/Fee.sol +1 -0
  283. package/contracts/types/NftId.sol +8 -0
  284. package/contracts/types/NftIdSet.sol +26 -24
  285. package/contracts/types/ObjectType.sol +10 -5
  286. package/contracts/types/PayoutId.sol +54 -0
  287. package/contracts/types/Referral.sol +4 -0
  288. package/contracts/types/RoleId.sol +19 -13
  289. package/contracts/types/Seconds.sol +54 -0
  290. package/contracts/types/StateId.sol +1 -0
  291. package/contracts/types/Timestamp.sol +13 -13
  292. package/contracts/types/UFixed.sol +1 -0
  293. package/contracts/types/Version.sol +1 -0
  294. package/package.json +3 -3
  295. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  296. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  297. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  298. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  299. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  300. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  301. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  302. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  303. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  304. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  305. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  306. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  307. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  309. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  310. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  311. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  313. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  314. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  315. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  316. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  317. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  318. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  319. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  320. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  321. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  322. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  324. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  326. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  328. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  329. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  330. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  332. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  334. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  336. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  338. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  339. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  340. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  341. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  342. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  343. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  344. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  345. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  346. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  347. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  348. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  349. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  350. package/contracts/components/BaseComponent.sol +0 -91
  351. package/contracts/components/IBaseComponent.sol +0 -25
  352. package/contracts/experiment/cloning/Cloner.sol +0 -47
  353. package/contracts/experiment/errors/Require.sol +0 -38
  354. package/contracts/experiment/errors/Revert.sol +0 -44
  355. package/contracts/experiment/inheritance/A.sol +0 -53
  356. package/contracts/experiment/inheritance/B.sol +0 -28
  357. package/contracts/experiment/inheritance/C.sol +0 -34
  358. package/contracts/experiment/inheritance/IA.sol +0 -13
  359. package/contracts/experiment/inheritance/IB.sol +0 -10
  360. package/contracts/experiment/inheritance/IC.sol +0 -12
  361. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  362. package/contracts/experiment/statemachine/ISM.sol +0 -25
  363. package/contracts/experiment/statemachine/SM.sol +0 -57
  364. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  365. package/contracts/experiment/types/TypeA.sol +0 -47
  366. package/contracts/experiment/types/TypeB.sol +0 -29
  367. package/contracts/instance/AccessManagedSimple.sol +0 -115
  368. package/contracts/instance/AccessManagerSimple.sol +0 -692
  369. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  370. package/contracts/instance/base/ComponentServiceBase.sol +0 -41
  371. package/contracts/instance/base/IInstanceBase.sol +0 -23
  372. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  373. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  374. 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,66 +423,166 @@
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
  },
636
496
  {
637
497
  "internalType": "Timestamp",
638
- "name": "expiredAt",
498
+ "name": "activatedAt",
639
499
  "type": "uint40"
640
500
  },
641
501
  {
642
502
  "internalType": "Timestamp",
643
- "name": "closedAt",
503
+ "name": "expiredAt",
504
+ "type": "uint40"
505
+ },
506
+ {
507
+ "internalType": "Timestamp",
508
+ "name": "closedAt",
509
+ "type": "uint40"
510
+ }
511
+ ],
512
+ "internalType": "struct IPolicy.PolicyInfo",
513
+ "name": "policy",
514
+ "type": "tuple"
515
+ }
516
+ ],
517
+ "name": "createApplication",
518
+ "outputs": [],
519
+ "stateMutability": "nonpayable",
520
+ "type": "function"
521
+ },
522
+ {
523
+ "inputs": [
524
+ {
525
+ "internalType": "NftId",
526
+ "name": "bundleNftId",
527
+ "type": "uint96"
528
+ },
529
+ {
530
+ "components": [
531
+ {
532
+ "internalType": "NftId",
533
+ "name": "poolNftId",
534
+ "type": "uint96"
535
+ },
536
+ {
537
+ "components": [
538
+ {
539
+ "internalType": "UFixed",
540
+ "name": "fractionalFee",
541
+ "type": "uint256"
542
+ },
543
+ {
544
+ "internalType": "uint256",
545
+ "name": "fixedFee",
546
+ "type": "uint256"
547
+ }
548
+ ],
549
+ "internalType": "struct Fee",
550
+ "name": "fee",
551
+ "type": "tuple"
552
+ },
553
+ {
554
+ "internalType": "bytes",
555
+ "name": "filter",
556
+ "type": "bytes"
557
+ },
558
+ {
559
+ "internalType": "uint256",
560
+ "name": "capitalAmount",
561
+ "type": "uint256"
562
+ },
563
+ {
564
+ "internalType": "uint256",
565
+ "name": "lockedAmount",
566
+ "type": "uint256"
567
+ },
568
+ {
569
+ "internalType": "uint256",
570
+ "name": "balanceAmount",
571
+ "type": "uint256"
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",
644
586
  "type": "uint40"
645
587
  }
646
588
  ],
@@ -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",
780
+ "type": "uint256"
781
+ },
782
+ {
783
+ "internalType": "UFixed",
784
+ "name": "maxDiscountPercentage",
785
+ "type": "uint256"
786
+ },
787
+ {
788
+ "internalType": "UFixed",
789
+ "name": "commissionPercentage",
844
790
  "type": "uint256"
845
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,190 +874,39 @@
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",
1028
894
  "name": "tokenHandler",
1029
895
  "type": "address"
1030
896
  },
1031
- {
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"
1069
- },
1070
- {
1071
- "components": [
1072
- {
1073
- "internalType": "UFixed",
1074
- "name": "fractionalFee",
1075
- "type": "uint256"
1076
- },
1077
- {
1078
- "internalType": "uint256",
1079
- "name": "fixedFee",
1080
- "type": "uint256"
1081
- }
1082
- ],
1083
- "internalType": "struct Fee",
1084
- "name": "performanceFee",
1085
- "type": "tuple"
1086
- },
1087
- {
1088
- "internalType": "bool",
1089
- "name": "isIntercepting",
1090
- "type": "bool"
1091
- },
1092
897
  {
1093
898
  "internalType": "address",
1094
899
  "name": "wallet",
1095
900
  "type": "address"
901
+ },
902
+ {
903
+ "internalType": "bytes",
904
+ "name": "data",
905
+ "type": "bytes"
1096
906
  }
1097
907
  ],
1098
- "internalType": "struct ISetup.PoolSetupInfo",
1099
- "name": "setup",
908
+ "internalType": "struct IComponents.ComponentInfo",
909
+ "name": "info",
1100
910
  "type": "tuple"
1101
911
  }
1102
912
  ],
@@ -1148,58 +958,7 @@
1148
958
  }
1149
959
  ],
1150
960
  "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",
961
+ "name": "productFee",
1203
962
  "type": "tuple"
1204
963
  },
1205
964
  {
@@ -1216,25 +975,18 @@
1216
975
  }
1217
976
  ],
1218
977
  "internalType": "struct Fee",
1219
- "name": "stakingFee",
978
+ "name": "processingFee",
1220
979
  "type": "tuple"
1221
980
  },
1222
981
  {
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"
982
+ "internalType": "bool",
983
+ "name": "isIntercepting",
984
+ "type": "bool"
985
+ },
986
+ {
987
+ "internalType": "address",
988
+ "name": "wallet",
989
+ "type": "address"
1238
990
  }
1239
991
  ],
1240
992
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -1250,40 +1002,50 @@
1250
1002
  {
1251
1003
  "inputs": [
1252
1004
  {
1253
- "internalType": "NftId",
1254
- "name": "policyNftId",
1255
- "type": "uint96"
1256
- },
1257
- {
1258
- "internalType": "NumberId",
1259
- "name": "payoutId",
1260
- "type": "uint32"
1005
+ "internalType": "Key32",
1006
+ "name": "referralKey",
1007
+ "type": "bytes32"
1261
1008
  },
1262
1009
  {
1263
1010
  "components": [
1264
1011
  {
1265
- "internalType": "NumberId",
1266
- "name": "claimId",
1267
- "type": "uint32"
1012
+ "internalType": "NftId",
1013
+ "name": "distributorNftId",
1014
+ "type": "uint96"
1268
1015
  },
1269
1016
  {
1270
- "internalType": "uint256",
1271
- "name": "amount",
1017
+ "internalType": "string",
1018
+ "name": "referralCode",
1019
+ "type": "string"
1020
+ },
1021
+ {
1022
+ "internalType": "UFixed",
1023
+ "name": "discountPercentage",
1272
1024
  "type": "uint256"
1273
1025
  },
1274
1026
  {
1275
- "internalType": "bytes",
1276
- "name": "data",
1277
- "type": "bytes"
1027
+ "internalType": "uint32",
1028
+ "name": "maxReferrals",
1029
+ "type": "uint32"
1030
+ },
1031
+ {
1032
+ "internalType": "uint32",
1033
+ "name": "usedReferrals",
1034
+ "type": "uint32"
1278
1035
  },
1279
1036
  {
1280
1037
  "internalType": "Timestamp",
1281
- "name": "paidAt",
1038
+ "name": "expiryAt",
1282
1039
  "type": "uint40"
1040
+ },
1041
+ {
1042
+ "internalType": "bytes",
1043
+ "name": "data",
1044
+ "type": "bytes"
1283
1045
  }
1284
1046
  ],
1285
- "internalType": "struct IPolicy.PayoutInfo",
1286
- "name": "payout",
1047
+ "internalType": "struct IDistribution.ReferralInfo",
1048
+ "name": "referralInfo",
1287
1049
  "type": "tuple"
1288
1050
  }
1289
1051
  ],
@@ -1322,54 +1084,6 @@
1322
1084
  "stateMutability": "nonpayable",
1323
1085
  "type": "function"
1324
1086
  },
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
1087
  {
1374
1088
  "inputs": [
1375
1089
  {
@@ -1449,10 +1163,23 @@
1449
1163
  },
1450
1164
  {
1451
1165
  "inputs": [],
1452
- "name": "getComponentOwnerService",
1166
+ "name": "getBundleManager",
1167
+ "outputs": [
1168
+ {
1169
+ "internalType": "contract BundleManager",
1170
+ "name": "",
1171
+ "type": "address"
1172
+ }
1173
+ ],
1174
+ "stateMutability": "view",
1175
+ "type": "function"
1176
+ },
1177
+ {
1178
+ "inputs": [],
1179
+ "name": "getBundleService",
1453
1180
  "outputs": [
1454
1181
  {
1455
- "internalType": "contract IComponentOwnerService",
1182
+ "internalType": "contract IBundleService",
1456
1183
  "name": "",
1457
1184
  "type": "address"
1458
1185
  }
@@ -1535,13 +1262,8 @@
1535
1262
  }
1536
1263
  ],
1537
1264
  "internalType": "struct IRegistry.ObjectInfo",
1538
- "name": "",
1265
+ "name": "info",
1539
1266
  "type": "tuple"
1540
- },
1541
- {
1542
- "internalType": "bytes",
1543
- "name": "data",
1544
- "type": "bytes"
1545
1267
  }
1546
1268
  ],
1547
1269
  "stateMutability": "view",
@@ -1579,6 +1301,19 @@
1579
1301
  "stateMutability": "view",
1580
1302
  "type": "function"
1581
1303
  },
1304
+ {
1305
+ "inputs": [],
1306
+ "name": "getMajorVersion",
1307
+ "outputs": [
1308
+ {
1309
+ "internalType": "VersionPart",
1310
+ "name": "majorVersion",
1311
+ "type": "uint8"
1312
+ }
1313
+ ],
1314
+ "stateMutability": "pure",
1315
+ "type": "function"
1316
+ },
1582
1317
  {
1583
1318
  "inputs": [
1584
1319
  {
@@ -1653,10 +1388,10 @@
1653
1388
  },
1654
1389
  {
1655
1390
  "inputs": [],
1656
- "name": "getPoolService",
1391
+ "name": "getPolicyService",
1657
1392
  "outputs": [
1658
1393
  {
1659
- "internalType": "contract IPoolService",
1394
+ "internalType": "contract IPolicyService",
1660
1395
  "name": "",
1661
1396
  "type": "address"
1662
1397
  }
@@ -1666,10 +1401,10 @@
1666
1401
  },
1667
1402
  {
1668
1403
  "inputs": [],
1669
- "name": "getRegistry",
1404
+ "name": "getPoolService",
1670
1405
  "outputs": [
1671
1406
  {
1672
- "internalType": "contract IRegistry",
1407
+ "internalType": "contract IPoolService",
1673
1408
  "name": "",
1674
1409
  "type": "address"
1675
1410
  }
@@ -1678,73 +1413,38 @@
1678
1413
  "type": "function"
1679
1414
  },
1680
1415
  {
1681
- "inputs": [
1682
- {
1683
- "internalType": "RoleId",
1684
- "name": "roleId",
1685
- "type": "uint64"
1686
- }
1687
- ],
1688
- "name": "getRole",
1416
+ "inputs": [],
1417
+ "name": "getProductService",
1689
1418
  "outputs": [
1690
1419
  {
1691
- "components": [
1692
- {
1693
- "internalType": "ShortString",
1694
- "name": "name",
1695
- "type": "bytes32"
1696
- },
1697
- {
1698
- "internalType": "bool",
1699
- "name": "isCustom",
1700
- "type": "bool"
1701
- }
1702
- ],
1703
- "internalType": "struct IAccess.RoleInfo",
1704
- "name": "role",
1705
- "type": "tuple"
1420
+ "internalType": "contract IProductService",
1421
+ "name": "",
1422
+ "type": "address"
1706
1423
  }
1707
1424
  ],
1708
1425
  "stateMutability": "view",
1709
1426
  "type": "function"
1710
1427
  },
1711
1428
  {
1712
- "inputs": [
1713
- {
1714
- "internalType": "uint256",
1715
- "name": "idx",
1716
- "type": "uint256"
1717
- }
1718
- ],
1719
- "name": "getRoleId",
1429
+ "inputs": [],
1430
+ "name": "getRegistry",
1720
1431
  "outputs": [
1721
1432
  {
1722
- "internalType": "RoleId",
1723
- "name": "roleId",
1724
- "type": "uint64"
1433
+ "internalType": "contract IRegistry",
1434
+ "name": "",
1435
+ "type": "address"
1725
1436
  }
1726
1437
  ],
1727
1438
  "stateMutability": "view",
1728
1439
  "type": "function"
1729
1440
  },
1730
1441
  {
1731
- "inputs": [
1732
- {
1733
- "internalType": "RoleId",
1734
- "name": "roleId",
1735
- "type": "uint64"
1736
- },
1737
- {
1738
- "internalType": "uint256",
1739
- "name": "idx",
1740
- "type": "uint256"
1741
- }
1742
- ],
1743
- "name": "getRoleMember",
1442
+ "inputs": [],
1443
+ "name": "getRegistryAddress",
1744
1444
  "outputs": [
1745
1445
  {
1746
1446
  "internalType": "address",
1747
- "name": "roleMember",
1447
+ "name": "",
1748
1448
  "type": "address"
1749
1449
  }
1750
1450
  ],
@@ -1773,70 +1473,129 @@
1773
1473
  {
1774
1474
  "inputs": [
1775
1475
  {
1776
- "internalType": "RoleId",
1777
- "name": "roleId",
1778
- "type": "uint64"
1476
+ "internalType": "ObjectType",
1477
+ "name": "objectType",
1478
+ "type": "uint8"
1479
+ }
1480
+ ],
1481
+ "name": "hasLifecycle",
1482
+ "outputs": [
1483
+ {
1484
+ "internalType": "bool",
1485
+ "name": "",
1486
+ "type": "bool"
1487
+ }
1488
+ ],
1489
+ "stateMutability": "view",
1490
+ "type": "function"
1491
+ },
1492
+ {
1493
+ "inputs": [
1494
+ {
1495
+ "internalType": "address",
1496
+ "name": "accessManagerAddress",
1497
+ "type": "address"
1498
+ },
1499
+ {
1500
+ "internalType": "address",
1501
+ "name": "registryAddress",
1502
+ "type": "address"
1503
+ },
1504
+ {
1505
+ "internalType": "NftId",
1506
+ "name": "registryNftId",
1507
+ "type": "uint96"
1779
1508
  },
1780
1509
  {
1781
1510
  "internalType": "address",
1782
- "name": "member",
1511
+ "name": "initialOwner",
1783
1512
  "type": "address"
1784
1513
  }
1785
1514
  ],
1786
- "name": "grantRole",
1787
- "outputs": [
1515
+ "name": "initialize",
1516
+ "outputs": [],
1517
+ "stateMutability": "nonpayable",
1518
+ "type": "function"
1519
+ },
1520
+ {
1521
+ "inputs": [],
1522
+ "name": "initializeERC165",
1523
+ "outputs": [],
1524
+ "stateMutability": "nonpayable",
1525
+ "type": "function"
1526
+ },
1527
+ {
1528
+ "inputs": [],
1529
+ "name": "initializeLifecycle",
1530
+ "outputs": [],
1531
+ "stateMutability": "nonpayable",
1532
+ "type": "function"
1533
+ },
1534
+ {
1535
+ "inputs": [
1788
1536
  {
1789
- "internalType": "bool",
1790
- "name": "granted",
1791
- "type": "bool"
1537
+ "internalType": "address",
1538
+ "name": "initialOwner",
1539
+ "type": "address"
1540
+ },
1541
+ {
1542
+ "internalType": "address",
1543
+ "name": "registryAddress",
1544
+ "type": "address"
1792
1545
  }
1793
1546
  ],
1547
+ "name": "initializeNftOwnable",
1548
+ "outputs": [],
1794
1549
  "stateMutability": "nonpayable",
1795
1550
  "type": "function"
1796
1551
  },
1797
1552
  {
1798
1553
  "inputs": [
1554
+ {
1555
+ "internalType": "address",
1556
+ "name": "registryAddress",
1557
+ "type": "address"
1558
+ },
1559
+ {
1560
+ "internalType": "NftId",
1561
+ "name": "parentNftId",
1562
+ "type": "uint96"
1563
+ },
1799
1564
  {
1800
1565
  "internalType": "ObjectType",
1801
1566
  "name": "objectType",
1802
1567
  "type": "uint8"
1803
- }
1804
- ],
1805
- "name": "hasLifecycle",
1806
- "outputs": [
1568
+ },
1807
1569
  {
1808
1570
  "internalType": "bool",
1809
- "name": "",
1571
+ "name": "isInterceptor",
1810
1572
  "type": "bool"
1573
+ },
1574
+ {
1575
+ "internalType": "address",
1576
+ "name": "initialOwner",
1577
+ "type": "address"
1578
+ },
1579
+ {
1580
+ "internalType": "bytes",
1581
+ "name": "registryData",
1582
+ "type": "bytes"
1811
1583
  }
1812
1584
  ],
1813
- "stateMutability": "view",
1585
+ "name": "initializeRegisterable",
1586
+ "outputs": [],
1587
+ "stateMutability": "nonpayable",
1814
1588
  "type": "function"
1815
1589
  },
1816
1590
  {
1817
1591
  "inputs": [
1818
- {
1819
- "internalType": "address",
1820
- "name": "accessManagerAddress",
1821
- "type": "address"
1822
- },
1823
1592
  {
1824
1593
  "internalType": "address",
1825
1594
  "name": "registryAddress",
1826
1595
  "type": "address"
1827
- },
1828
- {
1829
- "internalType": "NftId",
1830
- "name": "registryNftId",
1831
- "type": "uint96"
1832
- },
1833
- {
1834
- "internalType": "address",
1835
- "name": "initialOwner",
1836
- "type": "address"
1837
1596
  }
1838
1597
  ],
1839
- "name": "initialize",
1598
+ "name": "initializeRegistryLinked",
1840
1599
  "outputs": [],
1841
1600
  "stateMutability": "nonpayable",
1842
1601
  "type": "function"
@@ -1893,78 +1652,16 @@
1893
1652
  {
1894
1653
  "inputs": [
1895
1654
  {
1896
- "internalType": "RoleId",
1897
- "name": "roleId",
1898
- "type": "uint64"
1899
- }
1900
- ],
1901
- "name": "renounceRole",
1902
- "outputs": [
1903
- {
1904
- "internalType": "bool",
1905
- "name": "revoked",
1906
- "type": "bool"
1907
- }
1908
- ],
1909
- "stateMutability": "nonpayable",
1910
- "type": "function"
1911
- },
1912
- {
1913
- "inputs": [
1914
- {
1915
- "internalType": "RoleId",
1916
- "name": "roleId",
1917
- "type": "uint64"
1918
- },
1919
- {
1920
- "internalType": "address",
1921
- "name": "member",
1922
- "type": "address"
1923
- }
1924
- ],
1925
- "name": "revokeRole",
1926
- "outputs": [
1927
- {
1928
- "internalType": "bool",
1929
- "name": "revoked",
1930
- "type": "bool"
1655
+ "internalType": "bytes4",
1656
+ "name": "interfaceId",
1657
+ "type": "bytes4"
1931
1658
  }
1932
1659
  ],
1660
+ "name": "registerInterface",
1661
+ "outputs": [],
1933
1662
  "stateMutability": "nonpayable",
1934
1663
  "type": "function"
1935
1664
  },
1936
- {
1937
- "inputs": [
1938
- {
1939
- "internalType": "RoleId",
1940
- "name": "roleId",
1941
- "type": "uint64"
1942
- }
1943
- ],
1944
- "name": "roleMembers",
1945
- "outputs": [
1946
- {
1947
- "internalType": "uint256",
1948
- "name": "numberOfMembers",
1949
- "type": "uint256"
1950
- }
1951
- ],
1952
- "stateMutability": "view",
1953
- "type": "function"
1954
- },
1955
- {
1956
- "inputs": [],
1957
- "name": "roles",
1958
- "outputs": [
1959
- {
1960
- "internalType": "uint256",
1961
- "name": "numberOfRoles",
1962
- "type": "uint256"
1963
- }
1964
- ],
1965
- "stateMutability": "view",
1966
- "type": "function"
1967
- },
1968
1665
  {
1969
1666
  "inputs": [
1970
1667
  {
@@ -1981,12 +1678,12 @@
1981
1678
  {
1982
1679
  "inputs": [
1983
1680
  {
1984
- "internalType": "contract InstanceReader",
1985
- "name": "instanceReader",
1681
+ "internalType": "contract BundleManager",
1682
+ "name": "bundleManager",
1986
1683
  "type": "address"
1987
1684
  }
1988
1685
  ],
1989
- "name": "setInstanceReader",
1686
+ "name": "setBundleManager",
1990
1687
  "outputs": [],
1991
1688
  "stateMutability": "nonpayable",
1992
1689
  "type": "function"
@@ -1994,17 +1691,12 @@
1994
1691
  {
1995
1692
  "inputs": [
1996
1693
  {
1997
- "internalType": "address",
1998
- "name": "target",
1694
+ "internalType": "contract InstanceReader",
1695
+ "name": "instanceReader",
1999
1696
  "type": "address"
2000
- },
2001
- {
2002
- "internalType": "bool",
2003
- "name": "closed",
2004
- "type": "bool"
2005
1697
  }
2006
1698
  ],
2007
- "name": "setTargetClosed",
1699
+ "name": "setInstanceReader",
2008
1700
  "outputs": [],
2009
1701
  "stateMutability": "nonpayable",
2010
1702
  "type": "function"
@@ -2050,17 +1742,31 @@
2050
1742
  {
2051
1743
  "inputs": [
2052
1744
  {
2053
- "internalType": "ObjectType",
2054
- "name": "objectType",
2055
- "type": "uint8"
2056
- },
1745
+ "internalType": "NftId",
1746
+ "name": "distNftId",
1747
+ "type": "uint96"
1748
+ }
1749
+ ],
1750
+ "name": "toDistributionKey32",
1751
+ "outputs": [
2057
1752
  {
2058
- "internalType": "KeyId",
2059
- "name": "id",
2060
- "type": "bytes31"
1753
+ "internalType": "Key32",
1754
+ "name": "",
1755
+ "type": "bytes32"
2061
1756
  }
2062
1757
  ],
2063
- "name": "toKey32",
1758
+ "stateMutability": "pure",
1759
+ "type": "function"
1760
+ },
1761
+ {
1762
+ "inputs": [
1763
+ {
1764
+ "internalType": "NftId",
1765
+ "name": "distNftId",
1766
+ "type": "uint96"
1767
+ }
1768
+ ],
1769
+ "name": "toDistributorKey32",
2064
1770
  "outputs": [
2065
1771
  {
2066
1772
  "internalType": "Key32",
@@ -2075,11 +1781,11 @@
2075
1781
  "inputs": [
2076
1782
  {
2077
1783
  "internalType": "NftId",
2078
- "name": "policyNftId",
1784
+ "name": "distNftId",
2079
1785
  "type": "uint96"
2080
1786
  }
2081
1787
  ],
2082
- "name": "toPolicyKey32",
1788
+ "name": "toDistributorTypeKey32",
2083
1789
  "outputs": [
2084
1790
  {
2085
1791
  "internalType": "Key32",
@@ -2093,12 +1799,17 @@
2093
1799
  {
2094
1800
  "inputs": [
2095
1801
  {
2096
- "internalType": "RoleId",
2097
- "name": "roleId",
2098
- "type": "uint64"
1802
+ "internalType": "ObjectType",
1803
+ "name": "objectType",
1804
+ "type": "uint8"
1805
+ },
1806
+ {
1807
+ "internalType": "KeyId",
1808
+ "name": "id",
1809
+ "type": "bytes31"
2099
1810
  }
2100
1811
  ],
2101
- "name": "toRoleKey32",
1812
+ "name": "toKey32",
2102
1813
  "outputs": [
2103
1814
  {
2104
1815
  "internalType": "Key32",
@@ -2112,12 +1823,12 @@
2112
1823
  {
2113
1824
  "inputs": [
2114
1825
  {
2115
- "internalType": "address",
2116
- "name": "target",
2117
- "type": "address"
1826
+ "internalType": "NftId",
1827
+ "name": "policyNftId",
1828
+ "type": "uint96"
2118
1829
  }
2119
1830
  ],
2120
- "name": "toTargetKey32",
1831
+ "name": "toPolicyKey32",
2121
1832
  "outputs": [
2122
1833
  {
2123
1834
  "internalType": "Key32",
@@ -2132,58 +1843,81 @@
2132
1843
  "inputs": [
2133
1844
  {
2134
1845
  "internalType": "NftId",
2135
- "name": "bundleNftId",
1846
+ "name": "applicationNftId",
2136
1847
  "type": "uint96"
2137
1848
  },
2138
1849
  {
2139
1850
  "components": [
2140
1851
  {
2141
1852
  "internalType": "NftId",
2142
- "name": "poolNftId",
1853
+ "name": "productNftId",
2143
1854
  "type": "uint96"
2144
1855
  },
2145
1856
  {
2146
- "components": [
2147
- {
2148
- "internalType": "UFixed",
2149
- "name": "fractionalFee",
2150
- "type": "uint256"
2151
- },
2152
- {
2153
- "internalType": "uint256",
2154
- "name": "fixedFee",
2155
- "type": "uint256"
2156
- }
2157
- ],
2158
- "internalType": "struct Fee",
2159
- "name": "fee",
2160
- "type": "tuple"
1857
+ "internalType": "NftId",
1858
+ "name": "bundleNftId",
1859
+ "type": "uint96"
2161
1860
  },
2162
1861
  {
2163
- "internalType": "bytes",
2164
- "name": "filter",
2165
- "type": "bytes"
1862
+ "internalType": "ReferralId",
1863
+ "name": "referralId",
1864
+ "type": "bytes8"
1865
+ },
1866
+ {
1867
+ "internalType": "RiskId",
1868
+ "name": "riskId",
1869
+ "type": "bytes8"
2166
1870
  },
2167
1871
  {
2168
1872
  "internalType": "uint256",
2169
- "name": "capitalAmount",
1873
+ "name": "sumInsuredAmount",
2170
1874
  "type": "uint256"
2171
1875
  },
2172
1876
  {
2173
1877
  "internalType": "uint256",
2174
- "name": "lockedAmount",
1878
+ "name": "premiumAmount",
2175
1879
  "type": "uint256"
2176
1880
  },
2177
1881
  {
2178
1882
  "internalType": "uint256",
2179
- "name": "balanceAmount",
1883
+ "name": "premiumPaidAmount",
2180
1884
  "type": "uint256"
2181
1885
  },
2182
1886
  {
2183
- "internalType": "uint256",
1887
+ "internalType": "Seconds",
2184
1888
  "name": "lifetime",
1889
+ "type": "uint40"
1890
+ },
1891
+ {
1892
+ "internalType": "bytes",
1893
+ "name": "applicationData",
1894
+ "type": "bytes"
1895
+ },
1896
+ {
1897
+ "internalType": "bytes",
1898
+ "name": "policyData",
1899
+ "type": "bytes"
1900
+ },
1901
+ {
1902
+ "internalType": "uint16",
1903
+ "name": "claimsCount",
1904
+ "type": "uint16"
1905
+ },
1906
+ {
1907
+ "internalType": "uint16",
1908
+ "name": "openClaimsCount",
1909
+ "type": "uint16"
1910
+ },
1911
+ {
1912
+ "internalType": "uint256",
1913
+ "name": "payoutAmount",
2185
1914
  "type": "uint256"
2186
1915
  },
1916
+ {
1917
+ "internalType": "Timestamp",
1918
+ "name": "activatedAt",
1919
+ "type": "uint40"
1920
+ },
2187
1921
  {
2188
1922
  "internalType": "Timestamp",
2189
1923
  "name": "expiredAt",
@@ -2195,8 +1929,8 @@
2195
1929
  "type": "uint40"
2196
1930
  }
2197
1931
  ],
2198
- "internalType": "struct IBundle.BundleInfo",
2199
- "name": "bundle",
1932
+ "internalType": "struct IPolicy.PolicyInfo",
1933
+ "name": "policy",
2200
1934
  "type": "tuple"
2201
1935
  },
2202
1936
  {
@@ -2205,7 +1939,7 @@
2205
1939
  "type": "uint8"
2206
1940
  }
2207
1941
  ],
2208
- "name": "updateBundle",
1942
+ "name": "updateApplication",
2209
1943
  "outputs": [],
2210
1944
  "stateMutability": "nonpayable",
2211
1945
  "type": "function"
@@ -2214,7 +1948,7 @@
2214
1948
  "inputs": [
2215
1949
  {
2216
1950
  "internalType": "NftId",
2217
- "name": "bundleNftId",
1951
+ "name": "applicationNftId",
2218
1952
  "type": "uint96"
2219
1953
  },
2220
1954
  {
@@ -2223,7 +1957,7 @@
2223
1957
  "type": "uint8"
2224
1958
  }
2225
1959
  ],
2226
- "name": "updateBundleState",
1960
+ "name": "updateApplicationState",
2227
1961
  "outputs": [],
2228
1962
  "stateMutability": "nonpayable",
2229
1963
  "type": "function"
@@ -2232,30 +1966,62 @@
2232
1966
  "inputs": [
2233
1967
  {
2234
1968
  "internalType": "NftId",
2235
- "name": "policyNftId",
1969
+ "name": "bundleNftId",
2236
1970
  "type": "uint96"
2237
1971
  },
2238
- {
2239
- "internalType": "NumberId",
2240
- "name": "claimId",
2241
- "type": "uint32"
2242
- },
2243
1972
  {
2244
1973
  "components": [
1974
+ {
1975
+ "internalType": "NftId",
1976
+ "name": "poolNftId",
1977
+ "type": "uint96"
1978
+ },
1979
+ {
1980
+ "components": [
1981
+ {
1982
+ "internalType": "UFixed",
1983
+ "name": "fractionalFee",
1984
+ "type": "uint256"
1985
+ },
1986
+ {
1987
+ "internalType": "uint256",
1988
+ "name": "fixedFee",
1989
+ "type": "uint256"
1990
+ }
1991
+ ],
1992
+ "internalType": "struct Fee",
1993
+ "name": "fee",
1994
+ "type": "tuple"
1995
+ },
1996
+ {
1997
+ "internalType": "bytes",
1998
+ "name": "filter",
1999
+ "type": "bytes"
2000
+ },
2245
2001
  {
2246
2002
  "internalType": "uint256",
2247
- "name": "claimAmount",
2003
+ "name": "capitalAmount",
2248
2004
  "type": "uint256"
2249
2005
  },
2250
2006
  {
2251
2007
  "internalType": "uint256",
2252
- "name": "paidAmount",
2008
+ "name": "lockedAmount",
2253
2009
  "type": "uint256"
2254
2010
  },
2255
2011
  {
2256
- "internalType": "bytes",
2257
- "name": "data",
2258
- "type": "bytes"
2012
+ "internalType": "uint256",
2013
+ "name": "balanceAmount",
2014
+ "type": "uint256"
2015
+ },
2016
+ {
2017
+ "internalType": "Seconds",
2018
+ "name": "lifetime",
2019
+ "type": "uint40"
2020
+ },
2021
+ {
2022
+ "internalType": "Timestamp",
2023
+ "name": "expiredAt",
2024
+ "type": "uint40"
2259
2025
  },
2260
2026
  {
2261
2027
  "internalType": "Timestamp",
@@ -2263,8 +2029,8 @@
2263
2029
  "type": "uint40"
2264
2030
  }
2265
2031
  ],
2266
- "internalType": "struct IPolicy.ClaimInfo",
2267
- "name": "claim",
2032
+ "internalType": "struct IBundle.BundleInfo",
2033
+ "name": "bundle",
2268
2034
  "type": "tuple"
2269
2035
  },
2270
2036
  {
@@ -2273,7 +2039,25 @@
2273
2039
  "type": "uint8"
2274
2040
  }
2275
2041
  ],
2276
- "name": "updateClaim",
2042
+ "name": "updateBundle",
2043
+ "outputs": [],
2044
+ "stateMutability": "nonpayable",
2045
+ "type": "function"
2046
+ },
2047
+ {
2048
+ "inputs": [
2049
+ {
2050
+ "internalType": "NftId",
2051
+ "name": "bundleNftId",
2052
+ "type": "uint96"
2053
+ },
2054
+ {
2055
+ "internalType": "StateId",
2056
+ "name": "newState",
2057
+ "type": "uint8"
2058
+ }
2059
+ ],
2060
+ "name": "updateBundleState",
2277
2061
  "outputs": [],
2278
2062
  "stateMutability": "nonpayable",
2279
2063
  "type": "function"
@@ -2286,20 +2070,20 @@
2286
2070
  "type": "uint96"
2287
2071
  },
2288
2072
  {
2289
- "internalType": "NumberId",
2290
- "name": "payoutId",
2291
- "type": "uint32"
2073
+ "internalType": "ClaimId",
2074
+ "name": "claimId",
2075
+ "type": "uint16"
2292
2076
  },
2293
2077
  {
2294
2078
  "components": [
2295
2079
  {
2296
- "internalType": "NumberId",
2297
- "name": "claimId",
2298
- "type": "uint32"
2080
+ "internalType": "uint256",
2081
+ "name": "claimAmount",
2082
+ "type": "uint256"
2299
2083
  },
2300
2084
  {
2301
2085
  "internalType": "uint256",
2302
- "name": "amount",
2086
+ "name": "paidAmount",
2303
2087
  "type": "uint256"
2304
2088
  },
2305
2089
  {
@@ -2309,12 +2093,12 @@
2309
2093
  },
2310
2094
  {
2311
2095
  "internalType": "Timestamp",
2312
- "name": "paidAt",
2096
+ "name": "closedAt",
2313
2097
  "type": "uint40"
2314
2098
  }
2315
2099
  ],
2316
- "internalType": "struct IPolicy.PayoutInfo",
2317
- "name": "payout",
2100
+ "internalType": "struct IPolicy.ClaimInfo",
2101
+ "name": "claim",
2318
2102
  "type": "tuple"
2319
2103
  },
2320
2104
  {
@@ -2335,6 +2119,11 @@
2335
2119
  "name": "policyNftId",
2336
2120
  "type": "uint96"
2337
2121
  },
2122
+ {
2123
+ "internalType": "ClaimId",
2124
+ "name": "claimId",
2125
+ "type": "uint16"
2126
+ },
2338
2127
  {
2339
2128
  "internalType": "StateId",
2340
2129
  "name": "newState",
@@ -2379,18 +2168,35 @@
2379
2168
  }
2380
2169
  ],
2381
2170
  "internalType": "struct Fee",
2382
- "name": "distributionFee",
2171
+ "name": "minDistributionOwnerFee",
2383
2172
  "type": "tuple"
2384
2173
  },
2385
2174
  {
2386
- "internalType": "bool",
2387
- "name": "isIntercepting",
2388
- "type": "bool"
2175
+ "components": [
2176
+ {
2177
+ "internalType": "UFixed",
2178
+ "name": "fractionalFee",
2179
+ "type": "uint256"
2180
+ },
2181
+ {
2182
+ "internalType": "uint256",
2183
+ "name": "fixedFee",
2184
+ "type": "uint256"
2185
+ }
2186
+ ],
2187
+ "internalType": "struct Fee",
2188
+ "name": "distributionFee",
2189
+ "type": "tuple"
2389
2190
  },
2390
2191
  {
2391
2192
  "internalType": "address",
2392
2193
  "name": "wallet",
2393
2194
  "type": "address"
2195
+ },
2196
+ {
2197
+ "internalType": "uint256",
2198
+ "name": "sumDistributionOwnerFees",
2199
+ "type": "uint256"
2394
2200
  }
2395
2201
  ],
2396
2202
  "internalType": "struct ISetup.DistributionSetupInfo",
@@ -2430,25 +2236,20 @@
2430
2236
  "inputs": [
2431
2237
  {
2432
2238
  "internalType": "NftId",
2433
- "name": "policyNftId",
2239
+ "name": "nftId",
2434
2240
  "type": "uint96"
2435
2241
  },
2436
- {
2437
- "internalType": "NumberId",
2438
- "name": "payoutId",
2439
- "type": "uint32"
2440
- },
2441
2242
  {
2442
2243
  "components": [
2443
2244
  {
2444
- "internalType": "NumberId",
2445
- "name": "claimId",
2446
- "type": "uint32"
2245
+ "internalType": "DistributorType",
2246
+ "name": "distributorType",
2247
+ "type": "bytes8"
2447
2248
  },
2448
2249
  {
2449
- "internalType": "uint256",
2450
- "name": "amount",
2451
- "type": "uint256"
2250
+ "internalType": "bool",
2251
+ "name": "active",
2252
+ "type": "bool"
2452
2253
  },
2453
2254
  {
2454
2255
  "internalType": "bytes",
@@ -2456,13 +2257,18 @@
2456
2257
  "type": "bytes"
2457
2258
  },
2458
2259
  {
2459
- "internalType": "Timestamp",
2460
- "name": "paidAt",
2461
- "type": "uint40"
2260
+ "internalType": "uint256",
2261
+ "name": "sumCommisions",
2262
+ "type": "uint256"
2263
+ },
2264
+ {
2265
+ "internalType": "uint256",
2266
+ "name": "numPoliciesSold",
2267
+ "type": "uint256"
2462
2268
  }
2463
2269
  ],
2464
- "internalType": "struct IPolicy.PayoutInfo",
2465
- "name": "payout",
2270
+ "internalType": "struct IDistribution.DistributorInfo",
2271
+ "name": "info",
2466
2272
  "type": "tuple"
2467
2273
  },
2468
2274
  {
@@ -2480,7 +2286,7 @@
2480
2286
  "inputs": [
2481
2287
  {
2482
2288
  "internalType": "NftId",
2483
- "name": "policyNftId",
2289
+ "name": "nftId",
2484
2290
  "type": "uint96"
2485
2291
  },
2486
2292
  {
@@ -2497,40 +2303,60 @@
2497
2303
  {
2498
2304
  "inputs": [
2499
2305
  {
2500
- "internalType": "NftId",
2501
- "name": "policyNftId",
2502
- "type": "uint96"
2503
- },
2504
- {
2505
- "internalType": "NumberId",
2506
- "name": "payoutId",
2507
- "type": "uint32"
2306
+ "internalType": "Key32",
2307
+ "name": "distributorKey",
2308
+ "type": "bytes32"
2508
2309
  },
2509
2310
  {
2510
2311
  "components": [
2511
2312
  {
2512
- "internalType": "NumberId",
2513
- "name": "claimId",
2514
- "type": "uint32"
2313
+ "internalType": "string",
2314
+ "name": "name",
2315
+ "type": "string"
2515
2316
  },
2516
2317
  {
2517
- "internalType": "uint256",
2518
- "name": "amount",
2318
+ "internalType": "UFixed",
2319
+ "name": "minDiscountPercentage",
2320
+ "type": "uint256"
2321
+ },
2322
+ {
2323
+ "internalType": "UFixed",
2324
+ "name": "maxDiscountPercentage",
2325
+ "type": "uint256"
2326
+ },
2327
+ {
2328
+ "internalType": "UFixed",
2329
+ "name": "commissionPercentage",
2519
2330
  "type": "uint256"
2520
2331
  },
2332
+ {
2333
+ "internalType": "uint32",
2334
+ "name": "maxReferralCount",
2335
+ "type": "uint32"
2336
+ },
2337
+ {
2338
+ "internalType": "uint32",
2339
+ "name": "maxReferralLifetime",
2340
+ "type": "uint32"
2341
+ },
2342
+ {
2343
+ "internalType": "bool",
2344
+ "name": "allowSelfReferrals",
2345
+ "type": "bool"
2346
+ },
2347
+ {
2348
+ "internalType": "bool",
2349
+ "name": "allowRenewals",
2350
+ "type": "bool"
2351
+ },
2521
2352
  {
2522
2353
  "internalType": "bytes",
2523
2354
  "name": "data",
2524
2355
  "type": "bytes"
2525
- },
2526
- {
2527
- "internalType": "Timestamp",
2528
- "name": "paidAt",
2529
- "type": "uint40"
2530
2356
  }
2531
2357
  ],
2532
- "internalType": "struct IPolicy.PayoutInfo",
2533
- "name": "payout",
2358
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2359
+ "name": "info",
2534
2360
  "type": "tuple"
2535
2361
  },
2536
2362
  {
@@ -2544,6 +2370,24 @@
2544
2370
  "stateMutability": "nonpayable",
2545
2371
  "type": "function"
2546
2372
  },
2373
+ {
2374
+ "inputs": [
2375
+ {
2376
+ "internalType": "Key32",
2377
+ "name": "distributorKey",
2378
+ "type": "bytes32"
2379
+ },
2380
+ {
2381
+ "internalType": "StateId",
2382
+ "name": "newState",
2383
+ "type": "uint8"
2384
+ }
2385
+ ],
2386
+ "name": "updateDistributorTypeState",
2387
+ "outputs": [],
2388
+ "stateMutability": "nonpayable",
2389
+ "type": "function"
2390
+ },
2547
2391
  {
2548
2392
  "inputs": [
2549
2393
  {
@@ -2551,13 +2395,45 @@
2551
2395
  "name": "policyNftId",
2552
2396
  "type": "uint96"
2553
2397
  },
2398
+ {
2399
+ "internalType": "NumberId",
2400
+ "name": "payoutId",
2401
+ "type": "uint32"
2402
+ },
2403
+ {
2404
+ "components": [
2405
+ {
2406
+ "internalType": "ClaimId",
2407
+ "name": "claimId",
2408
+ "type": "uint16"
2409
+ },
2410
+ {
2411
+ "internalType": "uint256",
2412
+ "name": "amount",
2413
+ "type": "uint256"
2414
+ },
2415
+ {
2416
+ "internalType": "bytes",
2417
+ "name": "data",
2418
+ "type": "bytes"
2419
+ },
2420
+ {
2421
+ "internalType": "Timestamp",
2422
+ "name": "paidAt",
2423
+ "type": "uint40"
2424
+ }
2425
+ ],
2426
+ "internalType": "struct IPolicy.PayoutInfo",
2427
+ "name": "payout",
2428
+ "type": "tuple"
2429
+ },
2554
2430
  {
2555
2431
  "internalType": "StateId",
2556
2432
  "name": "newState",
2557
2433
  "type": "uint8"
2558
2434
  }
2559
2435
  ],
2560
- "name": "updateDistributorTypeState",
2436
+ "name": "updatePayout",
2561
2437
  "outputs": [],
2562
2438
  "stateMutability": "nonpayable",
2563
2439
  "type": "function"
@@ -2625,9 +2501,9 @@
2625
2501
  "type": "uint256"
2626
2502
  },
2627
2503
  {
2628
- "internalType": "uint256",
2504
+ "internalType": "Seconds",
2629
2505
  "name": "lifetime",
2630
- "type": "uint256"
2506
+ "type": "uint40"
2631
2507
  },
2632
2508
  {
2633
2509
  "internalType": "bytes",
@@ -2712,85 +2588,34 @@
2712
2588
  },
2713
2589
  {
2714
2590
  "components": [
2715
- {
2716
- "internalType": "NftId",
2717
- "name": "productNftId",
2718
- "type": "uint96"
2719
- },
2720
- {
2721
- "internalType": "contract TokenHandler",
2722
- "name": "tokenHandler",
2723
- "type": "address"
2724
- },
2725
- {
2726
- "internalType": "UFixed",
2727
- "name": "collateralizationLevel",
2728
- "type": "uint256"
2729
- },
2730
- {
2731
- "components": [
2732
- {
2733
- "internalType": "UFixed",
2734
- "name": "fractionalFee",
2735
- "type": "uint256"
2736
- },
2737
- {
2738
- "internalType": "uint256",
2739
- "name": "fixedFee",
2740
- "type": "uint256"
2741
- }
2742
- ],
2743
- "internalType": "struct Fee",
2744
- "name": "poolFee",
2745
- "type": "tuple"
2746
- },
2747
- {
2748
- "components": [
2749
- {
2750
- "internalType": "UFixed",
2751
- "name": "fractionalFee",
2752
- "type": "uint256"
2753
- },
2754
- {
2755
- "internalType": "uint256",
2756
- "name": "fixedFee",
2757
- "type": "uint256"
2758
- }
2759
- ],
2760
- "internalType": "struct Fee",
2761
- "name": "stakingFee",
2762
- "type": "tuple"
2763
- },
2764
- {
2765
- "components": [
2766
- {
2767
- "internalType": "UFixed",
2768
- "name": "fractionalFee",
2769
- "type": "uint256"
2770
- },
2771
- {
2772
- "internalType": "uint256",
2773
- "name": "fixedFee",
2774
- "type": "uint256"
2775
- }
2776
- ],
2777
- "internalType": "struct Fee",
2778
- "name": "performanceFee",
2779
- "type": "tuple"
2591
+ {
2592
+ "internalType": "string",
2593
+ "name": "name",
2594
+ "type": "string"
2780
2595
  },
2781
2596
  {
2782
- "internalType": "bool",
2783
- "name": "isIntercepting",
2784
- "type": "bool"
2597
+ "internalType": "contract IERC20Metadata",
2598
+ "name": "token",
2599
+ "type": "address"
2600
+ },
2601
+ {
2602
+ "internalType": "contract TokenHandler",
2603
+ "name": "tokenHandler",
2604
+ "type": "address"
2785
2605
  },
2786
2606
  {
2787
2607
  "internalType": "address",
2788
2608
  "name": "wallet",
2789
2609
  "type": "address"
2610
+ },
2611
+ {
2612
+ "internalType": "bytes",
2613
+ "name": "data",
2614
+ "type": "bytes"
2790
2615
  }
2791
2616
  ],
2792
- "internalType": "struct ISetup.PoolSetupInfo",
2793
- "name": "setup",
2617
+ "internalType": "struct IComponents.ComponentInfo",
2618
+ "name": "info",
2794
2619
  "type": "tuple"
2795
2620
  },
2796
2621
  {
@@ -2851,23 +2676,6 @@
2851
2676
  "name": "poolNftId",
2852
2677
  "type": "uint96"
2853
2678
  },
2854
- {
2855
- "components": [
2856
- {
2857
- "internalType": "UFixed",
2858
- "name": "fractionalFee",
2859
- "type": "uint256"
2860
- },
2861
- {
2862
- "internalType": "uint256",
2863
- "name": "fixedFee",
2864
- "type": "uint256"
2865
- }
2866
- ],
2867
- "internalType": "struct Fee",
2868
- "name": "distributionFee",
2869
- "type": "tuple"
2870
- },
2871
2679
  {
2872
2680
  "components": [
2873
2681
  {
@@ -2903,55 +2711,14 @@
2903
2711
  "type": "tuple"
2904
2712
  },
2905
2713
  {
2906
- "components": [
2907
- {
2908
- "internalType": "UFixed",
2909
- "name": "fractionalFee",
2910
- "type": "uint256"
2911
- },
2912
- {
2913
- "internalType": "uint256",
2914
- "name": "fixedFee",
2915
- "type": "uint256"
2916
- }
2917
- ],
2918
- "internalType": "struct Fee",
2919
- "name": "poolFee",
2920
- "type": "tuple"
2921
- },
2922
- {
2923
- "components": [
2924
- {
2925
- "internalType": "UFixed",
2926
- "name": "fractionalFee",
2927
- "type": "uint256"
2928
- },
2929
- {
2930
- "internalType": "uint256",
2931
- "name": "fixedFee",
2932
- "type": "uint256"
2933
- }
2934
- ],
2935
- "internalType": "struct Fee",
2936
- "name": "stakingFee",
2937
- "type": "tuple"
2714
+ "internalType": "bool",
2715
+ "name": "isIntercepting",
2716
+ "type": "bool"
2938
2717
  },
2939
2718
  {
2940
- "components": [
2941
- {
2942
- "internalType": "UFixed",
2943
- "name": "fractionalFee",
2944
- "type": "uint256"
2945
- },
2946
- {
2947
- "internalType": "uint256",
2948
- "name": "fixedFee",
2949
- "type": "uint256"
2950
- }
2951
- ],
2952
- "internalType": "struct Fee",
2953
- "name": "performanceFee",
2954
- "type": "tuple"
2719
+ "internalType": "address",
2720
+ "name": "wallet",
2721
+ "type": "address"
2955
2722
  }
2956
2723
  ],
2957
2724
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -2990,40 +2757,50 @@
2990
2757
  {
2991
2758
  "inputs": [
2992
2759
  {
2993
- "internalType": "NftId",
2994
- "name": "policyNftId",
2995
- "type": "uint96"
2996
- },
2997
- {
2998
- "internalType": "NumberId",
2999
- "name": "payoutId",
3000
- "type": "uint32"
2760
+ "internalType": "Key32",
2761
+ "name": "referralKey",
2762
+ "type": "bytes32"
3001
2763
  },
3002
2764
  {
3003
2765
  "components": [
3004
2766
  {
3005
- "internalType": "NumberId",
3006
- "name": "claimId",
3007
- "type": "uint32"
2767
+ "internalType": "NftId",
2768
+ "name": "distributorNftId",
2769
+ "type": "uint96"
3008
2770
  },
3009
2771
  {
3010
- "internalType": "uint256",
3011
- "name": "amount",
2772
+ "internalType": "string",
2773
+ "name": "referralCode",
2774
+ "type": "string"
2775
+ },
2776
+ {
2777
+ "internalType": "UFixed",
2778
+ "name": "discountPercentage",
3012
2779
  "type": "uint256"
3013
2780
  },
3014
2781
  {
3015
- "internalType": "bytes",
3016
- "name": "data",
3017
- "type": "bytes"
2782
+ "internalType": "uint32",
2783
+ "name": "maxReferrals",
2784
+ "type": "uint32"
2785
+ },
2786
+ {
2787
+ "internalType": "uint32",
2788
+ "name": "usedReferrals",
2789
+ "type": "uint32"
3018
2790
  },
3019
2791
  {
3020
2792
  "internalType": "Timestamp",
3021
- "name": "paidAt",
2793
+ "name": "expiryAt",
3022
2794
  "type": "uint40"
2795
+ },
2796
+ {
2797
+ "internalType": "bytes",
2798
+ "name": "data",
2799
+ "type": "bytes"
3023
2800
  }
3024
2801
  ],
3025
- "internalType": "struct IPolicy.PayoutInfo",
3026
- "name": "payout",
2802
+ "internalType": "struct IDistribution.ReferralInfo",
2803
+ "name": "referralInfo",
3027
2804
  "type": "tuple"
3028
2805
  },
3029
2806
  {
@@ -3040,9 +2817,9 @@
3040
2817
  {
3041
2818
  "inputs": [
3042
2819
  {
3043
- "internalType": "NftId",
3044
- "name": "policyNftId",
3045
- "type": "uint96"
2820
+ "internalType": "Key32",
2821
+ "name": "referralKey",
2822
+ "type": "bytes32"
3046
2823
  },
3047
2824
  {
3048
2825
  "internalType": "StateId",
@@ -3107,133 +2884,88 @@
3107
2884
  "outputs": [],
3108
2885
  "stateMutability": "nonpayable",
3109
2886
  "type": "function"
3110
- },
3111
- {
3112
- "inputs": [
3113
- {
3114
- "internalType": "RoleId",
3115
- "name": "roleId",
3116
- "type": "uint64"
3117
- },
3118
- {
3119
- "internalType": "string",
3120
- "name": "name",
3121
- "type": "string"
3122
- },
3123
- {
3124
- "internalType": "StateId",
3125
- "name": "newState",
3126
- "type": "uint8"
3127
- }
3128
- ],
3129
- "name": "updateRole",
3130
- "outputs": [],
3131
- "stateMutability": "nonpayable",
3132
- "type": "function"
3133
- },
3134
- {
3135
- "inputs": [
3136
- {
3137
- "internalType": "RoleId",
3138
- "name": "roleId",
3139
- "type": "uint64"
3140
- },
3141
- {
3142
- "internalType": "StateId",
3143
- "name": "newState",
3144
- "type": "uint8"
3145
- }
3146
- ],
3147
- "name": "updateRoleState",
3148
- "outputs": [],
3149
- "stateMutability": "nonpayable",
3150
- "type": "function"
3151
2887
  }
3152
2888
  ],
3153
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620073343803806200733483398101604081905262000034916200180f565b6200003e620000cd565b6200004862000284565b62000052620003be565b6200005c6200062b565b6200009e6301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b600680546001600160a01b03191633908117909155620000c49084908490849062000772565b50505062001b6e565b60dc6000908152600160208190527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec805460ff19166064179055906002906200011460dc90565b60ff1660ff16815260200190815260200160002060006200013a620009dc60201b60201c565b60ff1660ff168152602001908152602001600020600062000160620009e160201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200019460dc90565b60ff1660ff1681526020019081526020016000206000620001ba620009e160201b60201c565b60ff1660ff1681526020019081526020016000206000620001e0620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200021460dc90565b60ff1660ff16815260200190815260200160002060006200023a620009e160201b60201c565b60ff1660ff168152602001908152602001600020600062000260620009e660201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c128054606460ff1991821681179092557f879b65b464eb639409179c76c21acf6fbada740970e2300d47ea857d08cacd3c8054909116600190811790915560009182526002602052907f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a9062000318606e90565b60ff1660ff16815260200190815260200160002060006200033e620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019060029062000372606490565b60ff1660ff168152602001908152602001600020600062000398620009e160201b60201c565b60ff1660ff168152602001908152602001600020600062000260620009eb60201b60201c565b60d26000908152600160208190527fcfa08e49dd9e66a4af3cdf0c2ef56f411154768307cac6dc23ee77c0386825be805460ff1916600a179055906002906200040560d290565b60ff1660ff16815260200190815260200160002060006200042b620009f060201b60201c565b60ff1660ff168152602001908152602001600020600062000451620009f560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200048560d290565b60ff1660ff1681526020019081526020016000206000620004ab620009f060201b60201c565b60ff1660ff1681526020019081526020016000206000620004d1620009fa60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200050560d290565b60ff1660ff16815260200190815260200160002060006200052b620009f060201b60201c565b60ff1660ff168152602001908152602001600020600062000551620009ff60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200058560d290565b60ff1660ff1681526020019081526020016000206000620005ab620009ff60201b60201c565b60ff1660ff1681526020019081526020016000206000620005d1620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200060560d290565b60ff1660ff16815260200190815260200160002060006200023a620009dc60201b60201c565b60c86000908152600160208190527f345f7c6c888721344af4147de0834159e0b302300ba13c4e7b6c0b60d8f2314e805460ff19166064179055906002906200067260c890565b60ff1660ff168152602001908152602001600020600062000698620009dc60201b60201c565b60ff1660ff1681526020019081526020016000206000620006be620009e160201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620006f260c890565b60ff1660ff168152602001908152602001600020600062000718620009e160201b60201c565b60ff1660ff16815260200190815260200160002060006200073e620009dc60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200037260c890565b600654600160a01b900460ff1615620007e95760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b620007f48462000a04565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152620008b49073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000865573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200088b919062001869565b60408051808201909152600981526841646d696e526f6c6560b81b602082015260008062000a7f565b6040516368aebf7b60e01b81526001600160401b036004820152620009609073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000910573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000936919062001869565b60408051808201909152600a8152695075626c6963526f6c6560b01b602082015260008062000a7f565b62000987838360466000856040518060200160405280600081525062000b6560201b60201c565b639f07a2f160e01b60005260046020527f98b2b8de78dda36b7dee248bec98f420711551cc2fa8e29eebd0984244713eb6805460ff1916600117905550506006805460ff60a01b1916600160a01b1790555050565b606490565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b602890565b60005460ff161562000a645760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401620007e0565b62000a6f8162000c78565b506000805460ff19166001179055565b801562000a965762000a9384848462000cd4565b50505b600062000aa585858562000f5e565b8051600090815260076020526040812080546001600160401b0319166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a928302199093169102179055905062000b5e62000b2f8662000f9a565b604080518451602080830191909152850151151581830152815180820383018152606090910190915262001022565b5050505050565b62000ba76301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b62000bb3828762001032565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166001600160681b0319909116176c0100000000000000000000000060ff8816021760ff60681b19166d01000000000000000000000000008615150217815590506001810162000c32838262001940565b506303fb044760e21b60005260046020527f91a409085efa2cad9dad64790cb14ef1d9b61e9173e901d74242d27ef0ced4a1805460ff1916600117905550505050505050565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6000808062000ce38662000f9a565b905062000cf08162001058565b9250821562000d255762000d0481620010e6565b80602001905181019062000d19919062001a1d565b60200151915062000d29565b8391505b856001600160401b038116158062000d4957506001600160401b03818116145b1562000d745760405163981bf42160e01b81526001600160401b0388166004820152602401620007e0565b82801562000d8c57506127106001600160401b038216105b1562000db757604051633119b9df60e21b81526001600160401b0388166004820152602401620007e0565b82801562000dd057506127106001600160401b03821610155b1562000dfb5760405163094fb39160e01b81526001600160401b0388166004820152602401620007e0565b600062000e088762001193565b905062000e1581620011d6565b60000362000e42576040516321ab17ab60e01b81526001600160401b0389166004820152602401620007e0565b60008181526007602090815260409182902054825163bc1b392d60e01b8152925162000ee9936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af415801562000eb1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ed7919062001869565b6001600160401b039081169116141590565b801562000f1057506000818152600760205260409020546001600160401b03898116911614155b1562000f535760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401620007e0565b505050935093915050565b604080518082018252600080825260208201528151808301909252908062000f868562001193565b815260200183151581525090509392505050565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801562000ff6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200101c919062001a76565b92915050565b6200102e8282620011ff565b5050565b600680546001600160a01b0319166001600160a01b0384161790556200102e8162001637565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015620010c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200101c919062001a90565b60008181526003602052604090206001018054606091906200110890620018b1565b80601f01602080910402602001604051908101604052809291908181526020018280546200113690620018b1565b8015620011875780601f106200115b5761010080835404028352916020019162001187565b820191906000526020600020905b8154815290600101906020018083116200116957829003601f168201915b50505050509050919050565b600080829050601f81511115620011c1578260405163305a27a960e01b8152600401620007e0919062001aae565b8051620011ce8262001afe565b179392505050565b600060ff8216601f8111156200101c57604051632cd44ac360e21b815260040160405180910390fd5b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801562001253573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001279919062001b23565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015620012cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012f5919062001a90565b620013435760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401620007e0565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015620013ad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013d3919062001a90565b620014215760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401620007e0565b334360006200143085620017a4565b6200143d57606462001453565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b919091021785556000888152600360205260409020909150600101620014df878262001940565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801562001553573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001579919062001b23565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015620015ca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620015f0919062001b48565b6040805160ff938416815260ff19929092166020830152918416818301526001600160a01b038616606082015232608082015290519081900360a00190a150505050505050565b6005546001600160a01b031615620016725760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401620007e0565b6001600160a01b0381166200169a5760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003620016d25760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007e0565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa9250505080156200174f575060408051601f3d908101601f191682019092526200174c9181019062001a90565b60015b620017795760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007e0565b806200102e5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007e0565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401620010a2565b80516001600160a01b03811681146200180a57600080fd5b919050565b6000806000606084860312156200182557600080fd5b6200183084620017f2565b92506200184060208501620017f2565b60408501519092506001600160601b03811681146200185e57600080fd5b809150509250925092565b6000602082840312156200187c57600080fd5b81516001600160401b03811681146200189457600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620018c657607f821691505b602082108103620018e757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200193b57600081815260208120601f850160051c81016020861015620019165750805b601f850160051c820191505b81811015620019375782815560010162001922565b5050505b505050565b81516001600160401b038111156200195c576200195c6200189b565b62001974816200196d8454620018b1565b84620018ed565b602080601f831160018114620019ac5760008415620019935750858301515b600019600386901b1c1916600185901b17855562001937565b600085815260208120601f198616915b82811015620019dd57888601518255948401946001909101908401620019bc565b5085821015620019fc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b805180151581146200180a57600080fd5b60006040828403121562001a3057600080fd5b604080519081016001600160401b038111828210171562001a555762001a556200189b565b6040528251815262001a6a6020840162001a0c565b60208201529392505050565b60006020828403121562001a8957600080fd5b5051919050565b60006020828403121562001aa357600080fd5b620018948262001a0c565b600060208083528351808285015260005b8181101562001add5785810183015185820160400152820162001abf565b506000604082860101526040601f19601f8301168501019250505092915050565b80516020808301519190811015620018e75760001960209190910360031b1b16919050565b60006020828403121562001b3657600080fd5b815160ff811681146200189457600080fd5b60006020828403121562001b5b57600080fd5b815160ff19811681146200189457600080fd5b6157b68062001b7e6000396000f3fe608060405234801561001057600080fd5b506004361061048b5760003560e01c80637a41580211610262578063b428b0b011610151578063cd50b97e116100ce578063e8951ee611610092578063e8951ee6146105b6578063e9e96c7014610aca578063f48016ce14610b08578063f7bc431c14610b1b578063f8b648ac1461066a578063fe1f18d614610b2e57600080fd5b8063cd50b97e14610a7e578063d2f21a2914610a91578063d5b221bd146105e4578063d78a83b114610aa4578063dee3262314610ab757600080fd5b8063bd5947e311610115578063bd5947e314610a3a578063bf1db3f914610a4d578063bf7e214f14610a60578063c2f1a2d2146105e4578063ca600b1c14610a7657600080fd5b8063b428b0b0146109ee578063b68ec1461461066a578063b7d2b16214610a01578063bc8d400014610a14578063bd4fe04e14610a2757600080fd5b80638fb36037116101df5780639df0280b116101a35780639df0280b146105b6578063a13df2ab14610904578063a5961b4c14610917578063a76ee018146109c8578063a8989675146109db57600080fd5b80638fb3603714610897578063950ad70b146108b8578063976b0a77146108cb5780639a960d52146108de5780639d7421f4146108f157600080fd5b806386f0c47b1161022657806386f0c47b1461083c5780638793a9ac1461085c578063893d20e81461086f5780638dc77f42146105b65780638eaa6ac01461087757600080fd5b80637a415802146105e45780637a9e5e4b146108035780637cef48421461081657806382f65adb1461066a578063835933c91461082957600080fd5b806338a699a41161037e5780635d4345cc116102fb5780636b9bf08b116102bf5780636b9bf08b146107c55780636fa29853146107cd57806373539127146107d557806375b238fc146107e857806375c82776146107f057600080fd5b80635d4345cc146105b65780635dfa73db1461076b5780636071a68e14610774578063644c45e01461078757806364c55d9c146107b257600080fd5b806340529b0f1161034257806340529b0f146105b6578063468a18671461071457806354f6127f1461072757806357f96805146107475780635ab1bd531461075a57600080fd5b806338a699a4146106ad578063392f5f64146106c05780633ca7c02a146106c85780633fc5ab98146106ee5780633fd855611461070157600080fd5b8063167bd3951161040c5780632f61088a116103d05780632f61088a1461064457806331d311a71461065757806333bb0a971461066a57806337f135d71461067d578063384c9a571461069a57600080fd5b8063167bd395146105d15780631c45fe7a146105e45780631e23a2f5146105f75780631eff4b221461060a57806322f46b841461063157600080fd5b80630d358181116104535780630d358181146105675780630f526f7d1461058d5780630fec111c146105a057806310203d2c146105b6578063138461e0146105c957600080fd5b806301ffc9a71461049057806302cd3071146104d257806303014974146104f757806309648a9d146105185780630b24cf5f14610552575b600080fd5b6104bd61049e366004613d99565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104c9565b61050a610505366004613dd8565b610b41565b6040519081526020016104c9565b610540610526366004613df5565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104c9565b610565610560366004614022565b610b68565b005b610540610575366004614067565b60ff9081166000908152600160205260409020541690565b61056561059b366004614084565b610bac565b6105a8610bc9565b6040516104c992919061410d565b6105656105c4366004614084565b610d4b565b610565610d60565b6105656105df3660046141b4565b610f82565b6105656105f236600461430a565b61102a565b61056561060536600461437e565b61106b565b61050a7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61056561063f3660046143df565b611091565b6105656106523660046144a9565b6110a7565b61050a6106653660046144ee565b611142565b61056561067836600461450b565b6111d3565b610685600081565b60405163ffffffff90911681526020016104c9565b6104bd6106a8366004613dd8565b6111fe565b6104bd6106bb366004613df5565b611394565b60095461050a565b6106d66001600160401b0381565b6040516001600160401b0390911681526020016104c9565b6105656106fc366004614623565b61141f565b6106d661070f366004613df5565b611445565b61050a610722366004614686565b61148a565b61073a610735366004613df5565b6114e7565b6040516104c991906146a3565b610565610755366004614759565b61158c565b6005546001600160a01b03166104df565b6106d661271081565b610565610782366004614787565b6115b4565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104c9565b6105656107c036600461489e565b6115da565b6104df611602565b6104df61169a565b6105656107e33660046148df565b6116fa565b6106d6600081565b6105656107fe366004614950565b611722565b6105656108113660046144ee565b611748565b6105656108243660046149a8565b6117c3565b61050a610837366004613dd8565b61184d565b61084f61084a366004613dd8565b611890565b6040516104c991906149c6565b61056561086a3660046149df565b611935565b6104df61194a565b61088a610885366004613df5565b611a27565b6040516104c99190614a47565b61089f611b68565b6040516001600160e01b031990911681526020016104c9565b6105656108c6366004614a7b565b611b8c565b6105656108d9366004614ac2565b611bee565b6105656108ec366004614c60565b611e16565b6105656108ff366004614ca7565b611e3c565b61050a610912366004614686565b611e62565b6109bb610925366004613df5565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104c99190614cfe565b6105656109d6366004614d0c565b611e8f565b6105656109e9366004614d53565b611f2a565b6104bd6109fc366004614d93565b61201b565b6104bd610a0f366004614d93565b61220f565b610565610a22366004614dc1565b61239a565b610565610a35366004614e06565b6123c0565b610565610a48366004614e47565b6123e8565b6104bd610a5b366004614067565b612410565b60005461010090046001600160a01b03166104df565b6104df61245d565b610565610a8c3660046143df565b6124bb565b610565610a9f366004614084565b6124d2565b6104df610ab2366004614e87565b6124e9565b610565610ac5366004614084565b612512565b6104bd610ad8366004614d53565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b61050a610b16366004614ec3565b612529565b610565610b293660046144ee565b6125ad565b610565610b3c366004614084565b612629565b6001600160401b0381166000908152600860205260408120610b629061263e565b92915050565b610b75335b600036612648565b610ba8610b8383607861275b565b82604051602001610b949190614ef1565b6040516020818303038152906040526127a7565b5050565b610bb533610b6d565b610ba8610bc383608c61275b565b826127b1565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c4c6005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610c9461194a565b6001600160a01b03168152602001826001018054610cb190614f51565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd90614f51565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d5433610b6d565b610ba8610bc38361148a565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de69190614f8b565b15610e2d576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e565760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec39190614f8b565b610eeb576040516372657a5160e01b81526001600160a01b0382166004820152602401610e24565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610f35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f599190614fa8565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f8b33610b6d565b610f976106bb83611142565b610fbf576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e24565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561100e57600080fd5b505af1158015611022573d6000803e3d6000fd5b505050505050565b61103333610b6d565b61106561103f8561148a565b836040516020016110509190614fc5565b604051602081830303815290604052836127bb565b50505050565b61107433610b6d565b610ba861108083611142565b82604051602001610b9491906149c6565b61109a33610b6d565b610ba882826001806127c6565b6110b033610b6d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ba89073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561110d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111319190615018565b82604051602001610b949190615031565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156111af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b629190615018565b6111dc33610b6d565b6111f96111e88461148a565b82604051602001610b949190614fc5565b505050565b6000338161120b8461184d565b905061121681611394565b61123d57604051627a416f60e01b81526001600160401b0385166004820152602401610e24565b6001600160401b038416600090815260086020526040902061125f908361286f565b1561138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156112d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f5919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561134557600080fd5b505af1158015611359573d6000803e3d6000fd5b5050506001600160401b038516600090815260086020526040902061137f915083612891565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b629190614f8b565b61142833610b6d565b6111f961143484611e62565b83604051602001611050919061507c565b60006009828154811061145a5761145a615130565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401611192565b600081815260036020526040902060010180546060919061150790614f51565b80601f016020809104026020016040519081016040528092919081815260200182805461153390614f51565b80156115805780601f1061155557610100808354040283529160200191611580565b820191906000526020600020905b81548152906001019060200180831161156357829003601f168201915b50505050509050919050565b61159533610b6d565b610ba86115a383608c61275b565b82604051602001610b949190615146565b6115bd33610b6d565b610ba86115c983611e62565b82604051602001610b94919061507c565b6115e333610b6d565b6111f96115f184606e61275b565b8360405160200161105091906151e9565b6005546040805163a3bcd81d60e01b81526004810191909152600b60448201526a506f6f6c5365727669636560a81b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa158015611671573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169591906152eb565b905090565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d90608401611654565b61170333610b6d565b610ba861171183606e61275b565b82604051602001610b9491906151e9565b61172b33610b6d565b6110656117378561148a565b836040516020016110509190615308565b600054339061010090046001600160a01b031681146117845760405162d1953b60e31b81526001600160a01b0382166004820152602401610e24565b816001600160a01b03163b6000036117ba576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e24565b610ba8826128a6565b6117cc33610b6d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ba89073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611829573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190615018565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401611192565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b03831660048201526119229073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af41580156118fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107359190615018565b806020019051810190610b629190615338565b61193e33610b6d565b610ba8610bc38361184d565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d39190614f8b565b15611a1757600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401611654565b506006546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611adf90614f51565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0b90614f51565b8015611b585780601f10611b2d57610100808354040283529160200191611b58565b820191906000526020600020905b815481529060010190602001808311611b3b57829003601f168201915b5050505050815250509050919050565b60008054600160a81b900460ff16611b805750600090565b50638fb3603760e01b90565b611b9533610b6d565b6000611ba384846000612902565b5090506000611bb3858584612b6d565b9050611be7611bc18661184d565b82604051602001611bd291906149c6565b604051602081830303815290604052856127bb565b5050505050565b600654600160a01b900460ff1615611c5f5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e24565b611c6884612ba9565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152611d259073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfb919061505f565b6040518060400160405280600981526020016841646d696e526f6c6560b81b8152506000806127c6565b6040516368aebf7b60e01b81526001600160401b036004820152611dce9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da3919061505f565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506000806127c6565b611ded8383604660008560405180602001604052806000815250612c20565b611dfd639f07a2f160e01b612cf5565b50506006805460ff60a01b1916600160a01b1790555050565b611e1f33610b6d565b6111f9611e2b8461148a565b836040516020016110509190615370565b611e4533610b6d565b6111f9611e518461148a565b82604051602001610b949190615308565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6114b3565b611e9833610b6d565b6040516355ee627560e01b81526001600160c01b0319841660048201526111f99073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611ef5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f199190615018565b836040516020016110509190615031565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb39190614f8b565b15611fbd57505050565b60ff8084166000908152600260209081526040808320868516845282528083208585168452909152902054166111f957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e24565b600061202633610b6d565b60006120318461184d565b905061203c81611394565b61206457604051636777365b60e01b81526001600160401b0385166004820152602401610e24565b60008181526003602052604090205461209390610100900460ff16612087606490565b60ff9081169116141590565b156120bc5760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e24565b6001600160401b03841660009081526008602052604090206120de908461286f565b61138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561214f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612173919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b1580156121ca57600080fd5b505af11580156121de573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612204915084612d1a565b506001915050610b62565b600061221a33610b6d565b60006122258461184d565b905061223081611394565b61225857604051634cee277360e11b81526001600160401b0385166004820152602401610e24565b6001600160401b038416600090815260086020526040902061227a908461286f565b1561138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612310919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b15801561236057600080fd5b505af1158015612374573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612204915084612891565b6123a333610b6d565b610ba86123af8361148a565b82604051602001610b949190615370565b6123c933610b6d565b6111f96123d784608c61275b565b836040516020016110509190615146565b6123f133610b6d565b6111f96123ff84607861275b565b836040516020016110509190614ef1565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113de565b6005546040805163a3bcd81d60e01b815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b6064820152600360248201526000916001600160a01b03169063a3bcd81d90608401611654565b6124c433610b6d565b610ba88282600060016127c6565b6124db33610b6d565b610ba8610bc383607861275b565b6001600160401b038216600090815260086020526040812061250b9083612d2f565b9392505050565b61251b33610b6d565b610ba8610bc383606e61275b565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015612589573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250b9190615018565b6125b633610b6d565b600c546001600160a01b0316156126075760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e24565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61263233610b6d565b610ba8610bc383611e62565b6000610b62825490565b6000806126846126666000546001600160a01b036101009091041690565b863061267660046000898b6154b1565b61267f916154db565b612d3b565b9150915081611be75763ffffffff811615612738576000805460ff60a81b1916600160a81b1790556126c46000546001600160a01b036101009091041690565b6001600160a01b03166394c7d7ee8686866040518463ffffffff1660e01b81526004016126f39392919061550b565b600060405180830381600087803b15801561270d57600080fd5b505af1158015612721573d6000803e3d6000fd5b50506000805460ff60a81b1916905550611be79050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610e24565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161256c565b610ba88282612e47565b610ba88282613269565b6111f983838361359d565b80156127da576127d7848484612902565b50505b60006127e7858585612b6d565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611be76110808661184d565b6001600160a01b0381166000908152600183016020526040812054151561250b565b600061250b836001600160a01b038416613a38565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60008060006129108661184d565b905061291b81611394565b9250821561294a5761292c816114e7565b80602001905181019061293f9190615338565b60200151915061294e565b8391505b856001600160401b038116158061296d57506001600160401b03818116145b156129965760405163981bf42160e01b81526001600160401b0388166004820152602401610e24565b8280156129ad57506127106001600160401b038216105b156129d657604051633119b9df60e21b81526001600160401b0388166004820152602401610e24565b8280156129ee57506127106001600160401b03821610155b15612a175760405163094fb39160e01b81526001600160401b0388166004820152602401610e24565b6000612a2287613b32565b9050612a2d81613b70565b600003612a58576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e24565b60008181526007602090815260409182902054825163bc1b392d60e01b81529251612afb936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612ac5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae9919061505f565b6001600160401b039081169116141590565b8015612b2157506000818152600760205260409020546001600160401b03898116911614155b15612b625760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e24565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612b9585613b32565b815260200183151581525090509392505050565b60005460ff1615612c075760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401610e24565b612c10816128a6565b506000805460ff19166001179055565b612c616301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b612c6b8287613b98565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612cdb8382615591565b50612cec6303fb044760e21b612cf5565b50505050505050565b6001600160e01b0319166000908152600460205260409020805460ff19166001179055565b600061250b836001600160a01b038416613bbc565b600061250b8383613c0b565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612daa9190615650565b600060405180830381855afa9150503d8060008114612de5576040519150601f19603f3d011682016040523d82523d6000602084013e612dea565b606091505b50915091508115612e3c576040815110612e1c5780806020019051810190612e12919061566c565b9094509250612e3c565b6020815110612e3c5780806020019051810190612e399190614f8b565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612e9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ebe919061569b565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612f13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f379190614f8b565b612f835760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e24565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612fec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130109190614f8b565b61305c5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e24565b3343600061306985612410565b61307457606461308a565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526003602052604090209091506001016131148782615591565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131ab919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156131fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321f91906156b8565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156132bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132df9190614f8b565b61332b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e24565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133bb9190614f8b565b6134075760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e24565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661344b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156134dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613501919061569b565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613551573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357591906156b8565b878686328760405161358d97969594939291906156d5565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156135ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136139190614f8b565b61365f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e24565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156136cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136ef9190614f8b565b61373b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e24565b60008581526003602052604090206001016137568582615591565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661379b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561382d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613851919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156138a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138c591906156b8565b87868632876040516138dd97969594939291906156d5565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613957573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061397b919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156139cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139ef91906156b8565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c001613258565b60008181526001830160205260408120548015613b21576000613a5c600183615725565b8554909150600090613a7090600190615725565b9050808214613ad5576000866000018281548110613a9057613a90615130565b9060005260206000200154905080876000018481548110613ab357613ab3615130565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613ae657613ae6615746565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b62565b6000915050610b62565b5092915050565b600080829050601f81511115613b5d578260405163305a27a960e01b8152600401610e2491906146a3565b8051613b688261575c565b179392505050565b600060ff8216601f811115610b6257604051632cd44ac360e21b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b038416179055610ba881613c35565b6000818152600183016020526040812054613c0357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b62565b506000610b62565b6000826000018281548110613c2257613c22615130565b9060005260206000200154905092915050565b6005546001600160a01b031615613c6e5760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e24565b6001600160a01b038116613c955760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613ccb5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e24565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613d45575060408051601f3d908101601f19168201909252613d4291810190614f8b565b60015b613d6d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e24565b80610ba85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e24565b50565b600060208284031215613dab57600080fd5b81356001600160e01b03198116811461250b57600080fd5b6001600160401b0381168114613d9657600080fd5b600060208284031215613dea57600080fd5b813561250b81613dc3565b600060208284031215613e0757600080fd5b5035919050565b6001600160601b0381168114613d9657600080fd5b8035613e2e81613e0e565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613e6b57613e6b613e33565b60405290565b604051608081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161012081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161010081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161014081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161020081016001600160401b0381118282101715613e6b57613e6b613e33565b6001600160a01b0381168114613d9657600080fd5b8035613e2e81613f1f565b600060408284031215613f5157600080fd5b613f59613e49565b9050813581526020820135602082015292915050565b8015158114613d9657600080fd5b8035613e2e81613f6f565b600060c08284031215613f9a57600080fd5b60405160a081018181106001600160401b0382111715613fbc57613fbc613e33565b6040529050808235613fcd81613e0e565b81526020830135613fdd81613f1f565b6020820152613fef8460408501613f3f565b6040820152608083013561400281613f6f565b606082015260a083013561401581613f1f565b6080919091015292915050565b60008060e0838503121561403557600080fd5b823561404081613e0e565b915061404f8460208501613f88565b90509250929050565b60ff81168114613d9657600080fd5b60006020828403121561407957600080fd5b813561250b81614058565b6000806040838503121561409757600080fd5b82356140a281613e0e565b915060208301356140b281614058565b809150509250929050565b60005b838110156140d85781810151838201526020016140c0565b50506000910152565b600081518084526140f98160208601602086016140bd565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161415160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526141976101208401826140e1565b905082810360208401526141ab81856140e1565b95945050505050565b600080604083850312156141c757600080fd5b82356141d281613f1f565b915060208301356140b281613f6f565b63ffffffff81168114613d9657600080fd5b600082601f83011261420557600080fd5b81356001600160401b038082111561421f5761421f613e33565b604051601f8301601f19908116603f0116810190828211818310171561424757614247613e33565b8160405283815286602085880101111561426057600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff81168114613e2e57600080fd5b6000608082840312156142a757600080fd5b6142af613e71565b905081356142bc816141e2565b81526020828101359082015260408201356001600160401b038111156142e157600080fd5b6142ed848285016141f4565b6040830152506142ff60608301614280565b606082015292915050565b6000806000806080858703121561432057600080fd5b843561432b81613e0e565b9350602085013561433b816141e2565b925060408501356001600160401b0381111561435657600080fd5b61436287828801614295565b925050606085013561437381614058565b939692955090935050565b600080828403606081121561439257600080fd5b833561439d81613f1f565b92506040601f19820112156143b157600080fd5b506143ba613e49565b6020840135815260408401356143cf81613f6f565b6020820152919491935090915050565b600080604083850312156143f257600080fd5b82356143fd81613dc3565b915060208301356001600160401b0381111561441857600080fd5b614424858286016141f4565b9150509250929050565b6001600160c01b031981168114613d9657600080fd5b8035613e2e8161442e565b60006040828403121561446157600080fd5b614469613e49565b9050813561447681613e0e565b815260208201356001600160401b0381111561449157600080fd5b61449d848285016141f4565b60208301525092915050565b600080604083850312156144bc57600080fd5b82356144c78161442e565b915060208301356001600160401b038111156144e257600080fd5b6144248582860161444f565b60006020828403121561450057600080fd5b813561250b81613f1f565b60008060006060848603121561452057600080fd5b833561452b81613e0e565b9250602084013561453b816141e2565b915060408401356001600160401b0381111561455657600080fd5b61456286828701614295565b9150509250925092565b6000610140828403121561457f57600080fd5b614587613e93565b905061459282613e23565b81526145a18360208401613f3f565b602082015260608201356001600160401b038111156145bf57600080fd5b6145cb848285016141f4565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100614607818401614280565b60e08301526146196101208401614280565b9082015292915050565b60008060006060848603121561463857600080fd5b833561464381613e0e565b925060208401356001600160401b0381111561465e57600080fd5b61466a8682870161456c565b925050604084013561467b81614058565b809150509250925092565b60006020828403121561469857600080fd5b813561250b81613e0e565b60208152600061250b60208301846140e1565b600061016082840312156146c957600080fd5b6146d1613eb6565b90506146dc82613e23565b81526146ea60208301613f34565b6020820152604082013560408201526147068360608401613f3f565b60608201526147188360a08401613f3f565b608082015261472a8360e08401613f3f565b60a082015261473c6101208301613f7d565b60c082015261474e6101408301613f34565b60e082015292915050565b600080610180838503121561476d57600080fd5b823561477881613e0e565b915061404f84602085016146b6565b6000806040838503121561479a57600080fd5b82356147a581613e0e565b915060208301356001600160401b038111156147c057600080fd5b6144248582860161456c565b600061020082840312156147df57600080fd5b6147e7613ed9565b90506147f282613f34565b815261480060208301613f34565b602082015261481160408301613e23565b604082015261482260608301613e23565b60608201526148348360808401613f3f565b60808201526148468360c08401613f3f565b60a082015261010061485a84828501613f3f565b60c083015261486d846101408501613f3f565b60e0830152614880846101808501613f3f565b90820152614892836101c08401613f3f565b61012082015292915050565b600080600061024084860312156148b457600080fd5b83356148bf81613e0e565b92506148ce85602086016147cc565b915061022084013561467b81614058565b60008061022083850312156148f357600080fd5b82356148fe81613e0e565b915061404f84602085016147cc565b60006080828403121561491f57600080fd5b614927613e71565b9050813581526020820135602082015260408201356001600160401b038111156142e157600080fd5b6000806000806080858703121561496657600080fd5b843561497181613e0e565b93506020850135614981816141e2565b925060408501356001600160401b0381111561499c57600080fd5b6143628782880161490d565b600080604083850312156149bb57600080fd5b82356140a28161442e565b8151815260208083015115159082015260408101610b62565b600080604083850312156149f257600080fd5b82356140a281613dc3565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614a596020820183516149fd565b6000602083015160c080840152614a7360e08401826140e1565b949350505050565b600080600060608486031215614a9057600080fd5b8335614a9b81613dc3565b925060208401356001600160401b03811115614ab657600080fd5b61466a868287016141f4565b60008060008060808587031215614ad857600080fd5b8435614ae381613f1f565b93506020850135614af381613f1f565b92506040850135614b0381613e0e565b9150606085013561437381613f1f565b803561ffff81168114613e2e57600080fd5b60006102008284031215614b3857600080fd5b614b40613efc565b9050614b4b82613e23565b8152614b5960208301613e23565b6020820152614b6a60408301614444565b6040820152614b7b60608301614444565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115614bc457600080fd5b614bd0868387016141f4565b83850152610120925082850135915080821115614bec57600080fd5b50614bf9858286016141f4565b828401525050610140614c0d818401614b13565b90820152610160614c1f838201614b13565b9082015261018082810135908201526101a0614c3c818401614280565b908201526101c0614c4e838201614280565b908201526101e0614619838201614280565b600080600060608486031215614c7557600080fd5b8335614c8081613e0e565b925060208401356001600160401b03811115614c9b57600080fd5b61466a86828701614b25565b600080600060608486031215614cbc57600080fd5b8335614cc781613e0e565b92506020840135614cd7816141e2565b915060408401356001600160401b03811115614cf257600080fd5b6145628682870161490d565b60a08101610b6282846149fd565b600080600060608486031215614d2157600080fd5b8335614d2c8161442e565b925060208401356001600160401b03811115614d4757600080fd5b61466a8682870161444f565b600080600060608486031215614d6857600080fd5b8335614d7381614058565b92506020840135614d8381614058565b9150604084013561467b81614058565b60008060408385031215614da657600080fd5b8235614db181613dc3565b915060208301356140b281613f1f565b60008060408385031215614dd457600080fd5b8235614ddf81613e0e565b915060208301356001600160401b03811115614dfa57600080fd5b61442485828601614b25565b60008060006101a08486031215614e1c57600080fd5b8335614e2781613e0e565b9250614e3685602086016146b6565b915061018084013561467b81614058565b60008060006101008486031215614e5d57600080fd5b8335614e6881613e0e565b9250614e778560208601613f88565b915060e084013561467b81614058565b60008060408385031215614e9a57600080fd5b8235614ea581613dc3565b946020939093013593505050565b60ff1981168114613d9657600080fd5b60008060408385031215614ed657600080fd5b8235614ee181614058565b915060208301356140b281614eb3565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c90821680614f6557607f821691505b602082108103614f8557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614f9d57600080fd5b815161250b81613f6f565b600060208284031215614fba57600080fd5b815161250b81613e0e565b6020815263ffffffff8251166020820152602082015160408201526000604083015160806060840152614ffb60a08401826140e1565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561502a57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152614a7360608401826140e1565b60006020828403121561507157600080fd5b815161250b81613dc3565b602081526150966020820183516001600160601b03169052565b600060208301516150b4604084018280518252602090810151910152565b5060408301516101408060808501526150d16101608501836140e1565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e0870151915061511961012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b634e487b7160e01b600052603260045260246000fd5b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916151929084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b038116610140840152613b2b565b81516001600160a01b031681526102008101602083015161521560208401826001600160a01b03169052565b50604083015161523060408401826001600160601b03169052565b50606083015161524b60608401826001600160601b03169052565b506080830151615268608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061529e8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050613b2b565b6000602082840312156152fd57600080fd5b815161250b81613f1f565b6020815281516020820152602082015160408201526000604083015160806060840152614ffb60a08401826140e1565b60006040828403121561534a57600080fd5b615352613e49565b82518152602083015161536481613f6f565b60208201529392505050565b6020815261538a6020820183516001600160601b03169052565b600060208301516153a660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261541e6102208601846140e1565b9250808601519050610140601f19868503018187015261543e84836140e1565b9350808701519150506101606154598187018361ffff169052565b86015190506101806154708682018361ffff169052565b8601516101a08681019190915286015190506101c06154978187018364ffffffffff169052565b86015190506101e06151198682018364ffffffffff169052565b600080858511156154c157600080fd5b838611156154ce57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156155035780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f8211156111f957600081815260208120601f850160051c810160208610156155725750805b601f850160051c820191505b818110156110225782815560010161557e565b81516001600160401b038111156155aa576155aa613e33565b6155be816155b88454614f51565b8461554b565b602080601f8311600181146155f357600084156155db5750858301515b600019600386901b1c1916600185901b178555611022565b600085815260208120601f198616915b8281101561562257888601518255948401946001909101908401615603565b50858210156156405787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516156628184602087016140bd565b9190910192915050565b6000806040838503121561567f57600080fd5b825161568a81613f6f565b60208401519092506140b2816141e2565b6000602082840312156156ad57600080fd5b815161250b81614058565b6000602082840312156156ca57600080fd5b815161250b81614eb3565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b6257634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b80516020808301519190811015614f855760001960209190910360031b1b1691905056fea26469706673582212206f7ab977be24d52112e5f7a3b6fc5462d3ccd5145634752661dcf21f319c0a1a64736f6c63430008140033",
3154
- "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061048b5760003560e01c80637a41580211610262578063b428b0b011610151578063cd50b97e116100ce578063e8951ee611610092578063e8951ee6146105b6578063e9e96c7014610aca578063f48016ce14610b08578063f7bc431c14610b1b578063f8b648ac1461066a578063fe1f18d614610b2e57600080fd5b8063cd50b97e14610a7e578063d2f21a2914610a91578063d5b221bd146105e4578063d78a83b114610aa4578063dee3262314610ab757600080fd5b8063bd5947e311610115578063bd5947e314610a3a578063bf1db3f914610a4d578063bf7e214f14610a60578063c2f1a2d2146105e4578063ca600b1c14610a7657600080fd5b8063b428b0b0146109ee578063b68ec1461461066a578063b7d2b16214610a01578063bc8d400014610a14578063bd4fe04e14610a2757600080fd5b80638fb36037116101df5780639df0280b116101a35780639df0280b146105b6578063a13df2ab14610904578063a5961b4c14610917578063a76ee018146109c8578063a8989675146109db57600080fd5b80638fb3603714610897578063950ad70b146108b8578063976b0a77146108cb5780639a960d52146108de5780639d7421f4146108f157600080fd5b806386f0c47b1161022657806386f0c47b1461083c5780638793a9ac1461085c578063893d20e81461086f5780638dc77f42146105b65780638eaa6ac01461087757600080fd5b80637a415802146105e45780637a9e5e4b146108035780637cef48421461081657806382f65adb1461066a578063835933c91461082957600080fd5b806338a699a41161037e5780635d4345cc116102fb5780636b9bf08b116102bf5780636b9bf08b146107c55780636fa29853146107cd57806373539127146107d557806375b238fc146107e857806375c82776146107f057600080fd5b80635d4345cc146105b65780635dfa73db1461076b5780636071a68e14610774578063644c45e01461078757806364c55d9c146107b257600080fd5b806340529b0f1161034257806340529b0f146105b6578063468a18671461071457806354f6127f1461072757806357f96805146107475780635ab1bd531461075a57600080fd5b806338a699a4146106ad578063392f5f64146106c05780633ca7c02a146106c85780633fc5ab98146106ee5780633fd855611461070157600080fd5b8063167bd3951161040c5780632f61088a116103d05780632f61088a1461064457806331d311a71461065757806333bb0a971461066a57806337f135d71461067d578063384c9a571461069a57600080fd5b8063167bd395146105d15780631c45fe7a146105e45780631e23a2f5146105f75780631eff4b221461060a57806322f46b841461063157600080fd5b80630d358181116104535780630d358181146105675780630f526f7d1461058d5780630fec111c146105a057806310203d2c146105b6578063138461e0146105c957600080fd5b806301ffc9a71461049057806302cd3071146104d257806303014974146104f757806309648a9d146105185780630b24cf5f14610552575b600080fd5b6104bd61049e366004613d99565b6001600160e01b03191660009081526004602052604090205460ff1690565b60405190151581526020015b60405180910390f35b600c546001600160a01b03165b6040516001600160a01b0390911681526020016104c9565b61050a610505366004613dd8565b610b41565b6040519081526020016104c9565b610540610526366004613df5565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104c9565b610565610560366004614022565b610b68565b005b610540610575366004614067565b60ff9081166000908152600160205260409020541690565b61056561059b366004614084565b610bac565b6105a8610bc9565b6040516104c992919061410d565b6105656105c4366004614084565b610d4b565b610565610d60565b6105656105df3660046141b4565b610f82565b6105656105f236600461430a565b61102a565b61056561060536600461437e565b61106b565b61050a7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61056561063f3660046143df565b611091565b6105656106523660046144a9565b6110a7565b61050a6106653660046144ee565b611142565b61056561067836600461450b565b6111d3565b610685600081565b60405163ffffffff90911681526020016104c9565b6104bd6106a8366004613dd8565b6111fe565b6104bd6106bb366004613df5565b611394565b60095461050a565b6106d66001600160401b0381565b6040516001600160401b0390911681526020016104c9565b6105656106fc366004614623565b61141f565b6106d661070f366004613df5565b611445565b61050a610722366004614686565b61148a565b61073a610735366004613df5565b6114e7565b6040516104c991906146a3565b610565610755366004614759565b61158c565b6005546001600160a01b03166104df565b6106d661271081565b610565610782366004614787565b6115b4565b600554600160a01b90046001600160601b03166040516001600160601b0390911681526020016104c9565b6105656107c036600461489e565b6115da565b6104df611602565b6104df61169a565b6105656107e33660046148df565b6116fa565b6106d6600081565b6105656107fe366004614950565b611722565b6105656108113660046144ee565b611748565b6105656108243660046149a8565b6117c3565b61050a610837366004613dd8565b61184d565b61084f61084a366004613dd8565b611890565b6040516104c991906149c6565b61056561086a3660046149df565b611935565b6104df61194a565b61088a610885366004613df5565b611a27565b6040516104c99190614a47565b61089f611b68565b6040516001600160e01b031990911681526020016104c9565b6105656108c6366004614a7b565b611b8c565b6105656108d9366004614ac2565b611bee565b6105656108ec366004614c60565b611e16565b6105656108ff366004614ca7565b611e3c565b61050a610912366004614686565b611e62565b6109bb610925366004613df5565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104c99190614cfe565b6105656109d6366004614d0c565b611e8f565b6105656109e9366004614d53565b611f2a565b6104bd6109fc366004614d93565b61201b565b6104bd610a0f366004614d93565b61220f565b610565610a22366004614dc1565b61239a565b610565610a35366004614e06565b6123c0565b610565610a48366004614e47565b6123e8565b6104bd610a5b366004614067565b612410565b60005461010090046001600160a01b03166104df565b6104df61245d565b610565610a8c3660046143df565b6124bb565b610565610a9f366004614084565b6124d2565b6104df610ab2366004614e87565b6124e9565b610565610ac5366004614084565b612512565b6104bd610ad8366004614d53565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b61050a610b16366004614ec3565b612529565b610565610b293660046144ee565b6125ad565b610565610b3c366004614084565b612629565b6001600160401b0381166000908152600860205260408120610b629061263e565b92915050565b610b75335b600036612648565b610ba8610b8383607861275b565b82604051602001610b949190614ef1565b6040516020818303038152906040526127a7565b5050565b610bb533610b6d565b610ba8610bc383608c61275b565b826127b1565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820181905290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e00160405280610c4c6005546001600160601b03600160a01b9091041690565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610c9461194a565b6001600160a01b03168152602001826001018054610cb190614f51565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd90614f51565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b50505050508152506040518060200160405280600081525092509250509091565b610d5433610b6d565b610ba8610bc38361148a565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610dc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610de69190614f8b565b15610e2d576005546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b6005546001600160a01b0316610e565760405163cf29926160e01b815260040160405180910390fd5b60055460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610e9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec39190614f8b565b610eeb576040516372657a5160e01b81526001600160a01b0382166004820152602401610e24565b600554604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610f35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f599190614fa8565b600560146101000a8154816001600160601b0302191690836001600160601b0316021790555050565b610f8b33610b6d565b610f976106bb83611142565b610fbf576040516325b6f39560e21b81526001600160a01b0383166004820152602401610e24565b600b5460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b15801561100e57600080fd5b505af1158015611022573d6000803e3d6000fd5b505050505050565b61103333610b6d565b61106561103f8561148a565b836040516020016110509190614fc5565b604051602081830303815290604052836127bb565b50505050565b61107433610b6d565b610ba861108083611142565b82604051602001610b9491906149c6565b61109a33610b6d565b610ba882826001806127c6565b6110b033610b6d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ba89073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561110d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111319190615018565b82604051602001610b949190615031565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af41580156111af573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b629190615018565b6111dc33610b6d565b6111f96111e88461148a565b82604051602001610b949190614fc5565b505050565b6000338161120b8461184d565b905061121681611394565b61123d57604051627a416f60e01b81526001600160401b0385166004820152602401610e24565b6001600160401b038416600090815260086020526040902061125f908361286f565b1561138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156112d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f5919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b15801561134557600080fd5b505af1158015611359573d6000803e3d6000fd5b5050506001600160401b038516600090815260086020526040902061137f915083612891565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b629190614f8b565b61142833610b6d565b6111f961143484611e62565b83604051602001611050919061507c565b60006009828154811061145a5761145a615130565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401611192565b600081815260036020526040902060010180546060919061150790614f51565b80601f016020809104026020016040519081016040528092919081815260200182805461153390614f51565b80156115805780601f1061155557610100808354040283529160200191611580565b820191906000526020600020905b81548152906001019060200180831161156357829003601f168201915b50505050509050919050565b61159533610b6d565b610ba86115a383608c61275b565b82604051602001610b949190615146565b6115bd33610b6d565b610ba86115c983611e62565b82604051602001610b94919061507c565b6115e333610b6d565b6111f96115f184606e61275b565b8360405160200161105091906151e9565b6005546040805163a3bcd81d60e01b81526004810191909152600b60448201526a506f6f6c5365727669636560a81b6064820152600360248201526000916001600160a01b03169063a3bcd81d906084015b602060405180830381865afa158015611671573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061169591906152eb565b905090565b6005546040805163a3bcd81d60e01b815260048101919091526015604482015274436f6d706f6e656e744f776e65725365727669636560581b6064820152600360248201526000916001600160a01b03169063a3bcd81d90608401611654565b61170333610b6d565b610ba861171183606e61275b565b82604051602001610b9491906151e9565b61172b33610b6d565b6110656117378561148a565b836040516020016110509190615308565b600054339061010090046001600160a01b031681146117845760405162d1953b60e31b81526001600160a01b0382166004820152602401610e24565b816001600160a01b03163b6000036117ba576040516361798f2f60e11b81526001600160a01b0383166004820152602401610e24565b610ba8826128a6565b6117cc33610b6d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ba89073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611829573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc39190615018565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401611192565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b03831660048201526119229073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af41580156118fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107359190615018565b806020019051810190610b629190615338565b61193e33610b6d565b610ba8610bc38361184d565b6005546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156119af573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d39190614f8b565b15611a1757600554604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401611654565b506006546001600160a01b031690565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611adf90614f51565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0b90614f51565b8015611b585780601f10611b2d57610100808354040283529160200191611b58565b820191906000526020600020905b815481529060010190602001808311611b3b57829003601f168201915b5050505050815250509050919050565b60008054600160a81b900460ff16611b805750600090565b50638fb3603760e01b90565b611b9533610b6d565b6000611ba384846000612902565b5090506000611bb3858584612b6d565b9050611be7611bc18661184d565b82604051602001611bd291906149c6565b604051602081830303815290604052856127bb565b5050505050565b600654600160a01b900460ff1615611c5f5760405162461bcd60e51b815260206004820152602e60248201527f436f6e747261637420696e7374616e63652068617320616c726561647920626560448201526d195b881a5b9a5d1a585b1a5e995960921b6064820152608401610e24565b611c6884612ba9565b600b80546001600160a01b0319166001600160a01b0386161790556040516368aebf7b60e01b815260006004820152611d259073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cfb919061505f565b6040518060400160405280600981526020016841646d696e526f6c6560b81b8152506000806127c6565b6040516368aebf7b60e01b81526001600160401b036004820152611dce9073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015611d7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da3919061505f565b6040518060400160405280600a8152602001695075626c6963526f6c6560b01b8152506000806127c6565b611ded8383604660008560405180602001604052806000815250612c20565b611dfd639f07a2f160e01b612cf5565b50506006805460ff60a01b1916600160a01b1790555050565b611e1f33610b6d565b6111f9611e2b8461148a565b836040516020016110509190615370565b611e4533610b6d565b6111f9611e518461148a565b82604051602001610b949190615308565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc6114b3565b611e9833610b6d565b6040516355ee627560e01b81526001600160c01b0319841660048201526111f99073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611ef5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f199190615018565b836040516020016110509190615031565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fb39190614f8b565b15611fbd57505050565b60ff8084166000908152600260209081526040808320868516845282528083208585168452909152902054166111f957604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610e24565b600061202633610b6d565b60006120318461184d565b905061203c81611394565b61206457604051636777365b60e01b81526001600160401b0385166004820152602401610e24565b60008181526003602052604090205461209390610100900460ff16612087606490565b60ff9081169116141590565b156120bc5760405163fe229d5d60e01b81526001600160401b0385166004820152602401610e24565b6001600160401b03841660009081526008602052604090206120de908461286f565b61138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af415801561214f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612173919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b1580156121ca57600080fd5b505af11580156121de573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612204915084612d1a565b506001915050610b62565b600061221a33610b6d565b60006122258461184d565b905061223081611394565b61225857604051634cee277360e11b81526001600160401b0385166004820152602401610e24565b6001600160401b038416600090815260086020526040902061227a908461286f565b1561138a57600b54604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af41580156122ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612310919061505f565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b15801561236057600080fd5b505af1158015612374573d6000803e3d6000fd5b5050506001600160401b0385166000908152600860205260409020612204915084612891565b6123a333610b6d565b610ba86123af8361148a565b82604051602001610b949190615370565b6123c933610b6d565b6111f96123d784608c61275b565b836040516020016110509190615146565b6123f133610b6d565b6111f96123ff84607861275b565b836040516020016110509190614ef1565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113de565b6005546040805163a3bcd81d60e01b815260048101919091526013604482015272446973747269627574696f6e5365727669636560681b6064820152600360248201526000916001600160a01b03169063a3bcd81d90608401611654565b6124c433610b6d565b610ba88282600060016127c6565b6124db33610b6d565b610ba8610bc383607861275b565b6001600160401b038216600090815260086020526040812061250b9083612d2f565b9392505050565b61251b33610b6d565b610ba8610bc383606e61275b565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015612589573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061250b9190615018565b6125b633610b6d565b600c546001600160a01b0316156126075760405162461bcd60e51b8152602060048201526015602482015274125b9cdd185b98d954995859195c881a5cc81cd95d605a1b6044820152606401610e24565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61263233610b6d565b610ba8610bc383611e62565b6000610b62825490565b6000806126846126666000546001600160a01b036101009091041690565b863061267660046000898b6154b1565b61267f916154db565b612d3b565b9150915081611be75763ffffffff811615612738576000805460ff60a81b1916600160a81b1790556126c46000546001600160a01b036101009091041690565b6001600160a01b03166394c7d7ee8686866040518463ffffffff1660e01b81526004016126f39392919061550b565b600060405180830381600087803b15801561270d57600080fd5b505af1158015612721573d6000803e3d6000fd5b50506000805460ff60a81b1916905550611be79050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610e24565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161256c565b610ba88282612e47565b610ba88282613269565b6111f983838361359d565b80156127da576127d7848484612902565b50505b60006127e7858585612b6d565b80516000908152600760205260408120805467ffffffffffffffff19166001600160401b038981169182179092556009805460018101825593527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af6004840401805460039094166008026101000a9283021990931691021790559050611be76110808661184d565b6001600160a01b0381166000908152600183016020526040812054151561250b565b600061250b836001600160a01b038416613a38565b60008054610100600160a81b0319166101006001600160a01b038416908102919091179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60008060006129108661184d565b905061291b81611394565b9250821561294a5761292c816114e7565b80602001905181019061293f9190615338565b60200151915061294e565b8391505b856001600160401b038116158061296d57506001600160401b03818116145b156129965760405163981bf42160e01b81526001600160401b0388166004820152602401610e24565b8280156129ad57506127106001600160401b038216105b156129d657604051633119b9df60e21b81526001600160401b0388166004820152602401610e24565b8280156129ee57506127106001600160401b03821610155b15612a175760405163094fb39160e01b81526001600160401b0388166004820152602401610e24565b6000612a2287613b32565b9050612a2d81613b70565b600003612a58576040516321ab17ab60e01b81526001600160401b0389166004820152602401610e24565b60008181526007602090815260409182902054825163bc1b392d60e01b81529251612afb936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612ac5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ae9919061505f565b6001600160401b039081169116141590565b8015612b2157506000818152600760205260409020546001600160401b03898116911614155b15612b625760008181526007602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610e24565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612b9585613b32565b815260200183151581525090509392505050565b60005460ff1615612c075760405162461bcd60e51b815260206004820152602260248201527f4163636573734d616e616765643a20616c726561647920696e697469616c697a604482015261195960f21b6064820152608401610e24565b612c10816128a6565b506000805460ff19166001179055565b612c616301ffc9a760e01b60005260046020527f9fe05126d2d9ecf60592e254dead906a4b2e492f36cca727682c38e9008c6ac1805460ff19166001179055565b612c6b8287613b98565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101612cdb8382615591565b50612cec6303fb044760e21b612cf5565b50505050505050565b6001600160e01b0319166000908152600460205260409020805460ff19166001179055565b600061250b836001600160a01b038416613bbc565b600061250b8383613c0b565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612daa9190615650565b600060405180830381855afa9150503d8060008114612de5576040519150601f19603f3d011682016040523d82523d6000602084013e612dea565b606091505b50915091508115612e3c576040815110612e1c5780806020019051810190612e12919061566c565b9094509250612e3c565b6020815110612e3c5780806020019051810190612e399190614f8b565b93505b505094509492505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612e9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ebe919061569b565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612f13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f379190614f8b565b612f835760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610e24565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612fec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130109190614f8b565b61305c5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610e24565b3343600061306985612410565b61307457606461308a565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526003602052604090209091506001016131148782615591565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613187573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131ab919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156131fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061321f91906156b8565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156132bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132df9190614f8b565b61332b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610e24565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613397573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133bb9190614f8b565b6134075760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610e24565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661344b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156134dd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613501919061569b565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613551573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061357591906156b8565b878686328760405161358d97969594939291906156d5565b60405180910390a1505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156135ef573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136139190614f8b565b61365f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610e24565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156136cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136ef9190614f8b565b61373b5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610e24565b60008581526003602052604090206001016137568582615591565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b9091041661379b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561382d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613851919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156138a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138c591906156b8565b87868632876040516138dd97969594939291906156d5565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613957573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061397b919061569b565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156139cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139ef91906156b8565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c001613258565b60008181526001830160205260408120548015613b21576000613a5c600183615725565b8554909150600090613a7090600190615725565b9050808214613ad5576000866000018281548110613a9057613a90615130565b9060005260206000200154905080876000018481548110613ab357613ab3615130565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613ae657613ae6615746565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b62565b6000915050610b62565b5092915050565b600080829050601f81511115613b5d578260405163305a27a960e01b8152600401610e2491906146a3565b8051613b688261575c565b179392505050565b600060ff8216601f811115610b6257604051632cd44ac360e21b815260040160405180910390fd5b600680546001600160a01b0319166001600160a01b038416179055610ba881613c35565b6000818152600183016020526040812054613c0357508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b62565b506000610b62565b6000826000018281548110613c2257613c22615130565b9060005260206000200154905092915050565b6005546001600160a01b031615613c6e5760055460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610e24565b6001600160a01b038116613c955760405163f5c4d07d60e01b815260040160405180910390fd5b806001600160a01b03163b600003613ccb5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e24565b600580546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263e14a543960e01b60048201526301ffc9a790602401602060405180830381865afa925050508015613d45575060408051601f3d908101601f19168201909252613d4291810190614f8b565b60015b613d6d5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610e24565b80610ba85760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610e24565b50565b600060208284031215613dab57600080fd5b81356001600160e01b03198116811461250b57600080fd5b6001600160401b0381168114613d9657600080fd5b600060208284031215613dea57600080fd5b813561250b81613dc3565b600060208284031215613e0757600080fd5b5035919050565b6001600160601b0381168114613d9657600080fd5b8035613e2e81613e0e565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613e6b57613e6b613e33565b60405290565b604051608081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161012081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161010081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161014081016001600160401b0381118282101715613e6b57613e6b613e33565b60405161020081016001600160401b0381118282101715613e6b57613e6b613e33565b6001600160a01b0381168114613d9657600080fd5b8035613e2e81613f1f565b600060408284031215613f5157600080fd5b613f59613e49565b9050813581526020820135602082015292915050565b8015158114613d9657600080fd5b8035613e2e81613f6f565b600060c08284031215613f9a57600080fd5b60405160a081018181106001600160401b0382111715613fbc57613fbc613e33565b6040529050808235613fcd81613e0e565b81526020830135613fdd81613f1f565b6020820152613fef8460408501613f3f565b6040820152608083013561400281613f6f565b606082015260a083013561401581613f1f565b6080919091015292915050565b60008060e0838503121561403557600080fd5b823561404081613e0e565b915061404f8460208501613f88565b90509250929050565b60ff81168114613d9657600080fd5b60006020828403121561407957600080fd5b813561250b81614058565b6000806040838503121561409757600080fd5b82356140a281613e0e565b915060208301356140b281614058565b809150509250929050565b60005b838110156140d85781810151838201526020016140c0565b50506000910152565b600081518084526140f98160208601602086016140bd565b601f01601f19169290920160200192915050565b6040815260006001600160601b038085511660408401528060208601511660608401525060ff6040850151166080830152606084015161415160a084018215159052565b5060808401516001600160a01b03811660c08401525060a08401516001600160a01b03811660e08401525060c084015160e06101008401526141976101208401826140e1565b905082810360208401526141ab81856140e1565b95945050505050565b600080604083850312156141c757600080fd5b82356141d281613f1f565b915060208301356140b281613f6f565b63ffffffff81168114613d9657600080fd5b600082601f83011261420557600080fd5b81356001600160401b038082111561421f5761421f613e33565b604051601f8301601f19908116603f0116810190828211818310171561424757614247613e33565b8160405283815286602085880101111561426057600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff81168114613e2e57600080fd5b6000608082840312156142a757600080fd5b6142af613e71565b905081356142bc816141e2565b81526020828101359082015260408201356001600160401b038111156142e157600080fd5b6142ed848285016141f4565b6040830152506142ff60608301614280565b606082015292915050565b6000806000806080858703121561432057600080fd5b843561432b81613e0e565b9350602085013561433b816141e2565b925060408501356001600160401b0381111561435657600080fd5b61436287828801614295565b925050606085013561437381614058565b939692955090935050565b600080828403606081121561439257600080fd5b833561439d81613f1f565b92506040601f19820112156143b157600080fd5b506143ba613e49565b6020840135815260408401356143cf81613f6f565b6020820152919491935090915050565b600080604083850312156143f257600080fd5b82356143fd81613dc3565b915060208301356001600160401b0381111561441857600080fd5b614424858286016141f4565b9150509250929050565b6001600160c01b031981168114613d9657600080fd5b8035613e2e8161442e565b60006040828403121561446157600080fd5b614469613e49565b9050813561447681613e0e565b815260208201356001600160401b0381111561449157600080fd5b61449d848285016141f4565b60208301525092915050565b600080604083850312156144bc57600080fd5b82356144c78161442e565b915060208301356001600160401b038111156144e257600080fd5b6144248582860161444f565b60006020828403121561450057600080fd5b813561250b81613f1f565b60008060006060848603121561452057600080fd5b833561452b81613e0e565b9250602084013561453b816141e2565b915060408401356001600160401b0381111561455657600080fd5b61456286828701614295565b9150509250925092565b6000610140828403121561457f57600080fd5b614587613e93565b905061459282613e23565b81526145a18360208401613f3f565b602082015260608201356001600160401b038111156145bf57600080fd5b6145cb848285016141f4565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c0820152610100614607818401614280565b60e08301526146196101208401614280565b9082015292915050565b60008060006060848603121561463857600080fd5b833561464381613e0e565b925060208401356001600160401b0381111561465e57600080fd5b61466a8682870161456c565b925050604084013561467b81614058565b809150509250925092565b60006020828403121561469857600080fd5b813561250b81613e0e565b60208152600061250b60208301846140e1565b600061016082840312156146c957600080fd5b6146d1613eb6565b90506146dc82613e23565b81526146ea60208301613f34565b6020820152604082013560408201526147068360608401613f3f565b60608201526147188360a08401613f3f565b608082015261472a8360e08401613f3f565b60a082015261473c6101208301613f7d565b60c082015261474e6101408301613f34565b60e082015292915050565b600080610180838503121561476d57600080fd5b823561477881613e0e565b915061404f84602085016146b6565b6000806040838503121561479a57600080fd5b82356147a581613e0e565b915060208301356001600160401b038111156147c057600080fd5b6144248582860161456c565b600061020082840312156147df57600080fd5b6147e7613ed9565b90506147f282613f34565b815261480060208301613f34565b602082015261481160408301613e23565b604082015261482260608301613e23565b60608201526148348360808401613f3f565b60808201526148468360c08401613f3f565b60a082015261010061485a84828501613f3f565b60c083015261486d846101408501613f3f565b60e0830152614880846101808501613f3f565b90820152614892836101c08401613f3f565b61012082015292915050565b600080600061024084860312156148b457600080fd5b83356148bf81613e0e565b92506148ce85602086016147cc565b915061022084013561467b81614058565b60008061022083850312156148f357600080fd5b82356148fe81613e0e565b915061404f84602085016147cc565b60006080828403121561491f57600080fd5b614927613e71565b9050813581526020820135602082015260408201356001600160401b038111156142e157600080fd5b6000806000806080858703121561496657600080fd5b843561497181613e0e565b93506020850135614981816141e2565b925060408501356001600160401b0381111561499c57600080fd5b6143628782880161490d565b600080604083850312156149bb57600080fd5b82356140a28161442e565b8151815260208083015115159082015260408101610b62565b600080604083850312156149f257600080fd5b82356140a281613dc3565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614a596020820183516149fd565b6000602083015160c080840152614a7360e08401826140e1565b949350505050565b600080600060608486031215614a9057600080fd5b8335614a9b81613dc3565b925060208401356001600160401b03811115614ab657600080fd5b61466a868287016141f4565b60008060008060808587031215614ad857600080fd5b8435614ae381613f1f565b93506020850135614af381613f1f565b92506040850135614b0381613e0e565b9150606085013561437381613f1f565b803561ffff81168114613e2e57600080fd5b60006102008284031215614b3857600080fd5b614b40613efc565b9050614b4b82613e23565b8152614b5960208301613e23565b6020820152614b6a60408301614444565b6040820152614b7b60608301614444565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115614bc457600080fd5b614bd0868387016141f4565b83850152610120925082850135915080821115614bec57600080fd5b50614bf9858286016141f4565b828401525050610140614c0d818401614b13565b90820152610160614c1f838201614b13565b9082015261018082810135908201526101a0614c3c818401614280565b908201526101c0614c4e838201614280565b908201526101e0614619838201614280565b600080600060608486031215614c7557600080fd5b8335614c8081613e0e565b925060208401356001600160401b03811115614c9b57600080fd5b61466a86828701614b25565b600080600060608486031215614cbc57600080fd5b8335614cc781613e0e565b92506020840135614cd7816141e2565b915060408401356001600160401b03811115614cf257600080fd5b6145628682870161490d565b60a08101610b6282846149fd565b600080600060608486031215614d2157600080fd5b8335614d2c8161442e565b925060208401356001600160401b03811115614d4757600080fd5b61466a8682870161444f565b600080600060608486031215614d6857600080fd5b8335614d7381614058565b92506020840135614d8381614058565b9150604084013561467b81614058565b60008060408385031215614da657600080fd5b8235614db181613dc3565b915060208301356140b281613f1f565b60008060408385031215614dd457600080fd5b8235614ddf81613e0e565b915060208301356001600160401b03811115614dfa57600080fd5b61442485828601614b25565b60008060006101a08486031215614e1c57600080fd5b8335614e2781613e0e565b9250614e3685602086016146b6565b915061018084013561467b81614058565b60008060006101008486031215614e5d57600080fd5b8335614e6881613e0e565b9250614e778560208601613f88565b915060e084013561467b81614058565b60008060408385031215614e9a57600080fd5b8235614ea581613dc3565b946020939093013593505050565b60ff1981168114613d9657600080fd5b60008060408385031215614ed657600080fd5b8235614ee181614058565b915060208301356140b281614eb3565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015260c0830191906060850151151560808501528060808601511660a0850152505092915050565b600181811c90821680614f6557607f821691505b602082108103614f8557634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614f9d57600080fd5b815161250b81613f6f565b600060208284031215614fba57600080fd5b815161250b81613e0e565b6020815263ffffffff8251166020820152602082015160408201526000604083015160806060840152614ffb60a08401826140e1565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561502a57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152614a7360608401826140e1565b60006020828403121561507157600080fd5b815161250b81613dc3565b602081526150966020820183516001600160601b03169052565b600060208301516150b4604084018280518252602090810151910152565b5060408301516101408060808501526150d16101608501836140e1565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e0870151915061511961012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b634e487b7160e01b600052603260045260246000fd5b81516001600160601b031681526020808301516001600160a01b031690820152604080830151908201526060808301516101608301916151929084018280518252602090810151910152565b506080830151805160a0840152602081015160c08401525060a0830151805160e084015260208101516101008401525060c0830151151561012083015260e08301516001600160a01b038116610140840152613b2b565b81516001600160a01b031681526102008101602083015161521560208401826001600160a01b03169052565b50604083015161523060408401826001600160601b03169052565b50606083015161524b60608401826001600160601b03169052565b506080830151615268608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061529e8185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e08501529050613b2b565b6000602082840312156152fd57600080fd5b815161250b81613f1f565b6020815281516020820152602082015160408201526000604083015160806060840152614ffb60a08401826140e1565b60006040828403121561534a57600080fd5b615352613e49565b82518152602083015161536481613f6f565b60208201529392505050565b6020815261538a6020820183516001600160601b03169052565b600060208301516153a660408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610200610120818186015261541e6102208601846140e1565b9250808601519050610140601f19868503018187015261543e84836140e1565b9350808701519150506101606154598187018361ffff169052565b86015190506101806154708682018361ffff169052565b8601516101a08681019190915286015190506101c06154978187018364ffffffffff169052565b86015190506101e06151198682018364ffffffffff169052565b600080858511156154c157600080fd5b838611156154ce57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156155035780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b601f8211156111f957600081815260208120601f850160051c810160208610156155725750805b601f850160051c820191505b818110156110225782815560010161557e565b81516001600160401b038111156155aa576155aa613e33565b6155be816155b88454614f51565b8461554b565b602080601f8311600181146155f357600084156155db5750858301515b600019600386901b1c1916600185901b178555611022565b600085815260208120601f198616915b8281101561562257888601518255948401946001909101908401615603565b50858210156156405787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516156628184602087016140bd565b9190910192915050565b6000806040838503121561567f57600080fd5b825161568a81613f6f565b60208401519092506140b2816141e2565b6000602082840312156156ad57600080fd5b815161250b81614058565b6000602082840312156156ca57600080fd5b815161250b81614eb3565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b81810381811115610b6257634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b80516020808301519190811015614f855760001960209190910360031b1b1691905056fea26469706673582212206f7ab977be24d52112e5f7a3b6fc5462d3ccd5145634752661dcf21f319c0a1a64736f6c63430008140033",
2889
+ "bytecode": "0x608060405234801561001057600080fd5b50615575806100206000396000f3fe608060405234801561001057600080fd5b50600436106104ac5760003560e01c80636b9bf08b1161026d578063b6d7cd6211610151578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610b50578063fa145b6d14610b63578063fb4a8e3414610b76578063fbc1a3a014610b89578063fe1f18d614610b9c578063fed3d63f14610baf57600080fd5b8063e9e96c7014610ad9578063f21de1e8146107f1578063f48016ce14610b17578063f7b442d114610b2a578063f7bc431c14610b3d57600080fd5b8063cde749f411610115578063cde749f414610a90578063cf947d2014610a98578063d2f21a2914610aab578063dee3262314610abe578063e1033e7d14610ad157600080fd5b8063b6d7cd6214610a5a578063bf1db3f914610a6d578063bf7e214f14610a80578063c29948fc146105f6578063ca600b1c14610a8857600080fd5b80639df0280b116101ea578063a76ee018116101ae578063a76ee018146109f9578063a898967514610a0c578063ada9652e14610a1f578063afa5e13014610785578063afcc743914610a34578063b3260e9314610a4757600080fd5b80639df0280b146105b35780639e90178c1461090f578063a13df2ab14610922578063a5961b4c14610935578063a671495e146109e657600080fd5b8063893d20e811610231578063893d20e8146108a05780638e28413f146108a85780638eaa6ac0146108bb5780638fb36037146108db578063976b0a77146108fc57600080fd5b80636b9bf08b1461085757806375b238fc1461085f5780637a9e5e4b146108675780637b8c388f1461087a5780637cef48421461088d57600080fd5b806338a699a4116103945780635378cd3c116103115780635ab1bd53116102d55780635ab1bd53146107f15780635d4345cc146105b35780635dfa73db1461080257806361f5f4201461080b578063644c45e01461081c578063675393bf1461084457600080fd5b80635378cd3c1461078557806354d747a81461079857806354f6127f146107ab5780635772b101146107cb57806358dff9ea146107de57600080fd5b8063422c9d0011610358578063422c9d001461073c5780634288121d1461074f578063447fc48f14610757578063468a18671461076a578063468bce061461077d57600080fd5b806338a699a4146106ca5780633c0d6a41146106dd5780633ca7c02a146106f05780633e35aba81461071657806340529b0f1461072957600080fd5b8063138461e01161042d5780632781d443116103f15780632781d4431461066457806327953f481461066c57806327bb7a331461067f5780632f61088a1461069257806336fc697e146106a557806337f135d7146106ad57600080fd5b8063138461e0146105ee5780631518afb9146105f65780631b38d5f4146106095780631eff4b221461062a578063214cdb801461065157600080fd5b80630f03144a116104745780630f03144a1461058d5780630f526f7d146105a05780630fad0eb1146105b35780630fec111c146105c65780631204b553146105db57600080fd5b806301ffc9a7146104b157806302cd3071146104f357806309648a9d146105185780630cbc6b89146105525780630d35818114610567575b600080fd5b6104de6104bf366004613798565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104ea565b6105406105263660046137c2565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104ea565b610565610560366004613a2e565b610bb7565b005b610540610575366004613a7a565b60ff9081166000908152600260205260409020541690565b61056561059b366004613bff565b610bfd565b6105656105ae366004613c4e565b610c3b565b6105656105c1366004613c4e565b610c58565b6105ce610c6d565b6040516104ea9190613cd7565b6105656105e9366004613d62565b610e1c565b610565610e42565b610565610604366004613f38565b611049565b61061c610617366004613f7f565b61106f565b6040519081526020016104ea565b61061c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61056561065f366004613798565b61110e565b61061c600381565b61056561067a36600461408c565b61113b565b61056561068d3660046140c8565b611159565b6105656106a03660046141ba565b6111e5565b610565611280565b6106b5600081565b60405163ffffffff90911681526020016104ea565b6104de6106d83660046137c2565b6112c6565b6105656106eb366004614276565b611355565b6106fe6001600160401b0381565b6040516001600160401b0390911681526020016104ea565b61061c610724366004613f7f565b61137b565b610565610737366004613c4e565b6113a8565b61056561074a3660046142d7565b6113bd565b6105006114fa565b6105656107653660046142f4565b61158d565b61061c610778366004613f7f565b6115b9565b6105656115e6565b610565610793366004614368565b611610565b6105656107a6366004614449565b611623565b6107be6107b93660046137c2565b611641565b6040516104ea9190614485565b6105656107d93660046144db565b6116e6565b6105656107ec3660046145e3565b61170c565b6001546001600160a01b0316610500565b6106fe61271081565b6007546001600160a01b0316610500565b600080516020615500833981519152546040516001600160601b0390911681526020016104ea565b6105656108523660046142d7565b611734565b610500611840565b6106fe600081565b6105656108753660046142d7565b611869565b61061c610888366004613f7f565b6118ec565b61056561089b36600461462a565b611919565b6105006119a3565b6105656108b6366004614648565b611ada565b6108ce6108c93660046137c2565b611b02565b6040516104ea91906146d7565b6108e3611c43565b6040516001600160e01b031990911681526020016104ea565b61056561090a366004614703565b611c7b565b61056561091d3660046147f9565b611dc3565b61061c610930366004613f7f565b611deb565b6109d96109433660046137c2565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104ea9190614830565b6105656109f43660046148bf565b611e18565b610565610a07366004614904565b611e3e565b610565610a1a36600461494b565b611ed9565b61061c60008051602061550083398151915281565b610565610a4236600461498b565b611fca565b610565610a553660046149d0565b611ff0565b610565610a68366004614a0e565b61200e565b6104de610a7b366004613a7a565b612023565b610500612070565b61050061208c565b6105406120b5565b610565610aa6366004614a3e565b61212c565b610565610ab9366004613c4e565b61214a565b610565610acc366004613c4e565b612161565b610500612178565b6104de610ae736600461494b565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b61061c610b25366004614a8c565b6121a1565b610565610b38366004614aba565b61222c565b610565610b4b3660046142d7565b612254565b610565610b5e366004614afb565b612341565b610565610b71366004614b29565b6123b8565b610565610b84366004614b80565b6123de565b610565610b97366004614bc7565b612404565b610565610baa366004613c4e565b61242c565b610500612441565b610bc4335b60003661246a565b610bf8610bd284606e612570565b83604051602001610be39190614bf5565b604051602081830303815290604052836125bc565b505050565b610c0633610bbc565b610c37610c1283611deb565b82604051602001610c239190614ca4565b6040516020818303038152906040526125c7565b5050565b610c4433610bbc565b610c37610c5283608c612570565b826125d1565b610c6133610bbc565b610c37610c52836115b9565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610d1890614d60565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4490614d60565b8015610d915780601f10610d6657610100808354040283529160200191610d91565b820191906000526020600020905b815481529060010190602001808311610d7457829003601f168201915b50505050508152505090506040518060e00160405280610daf600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610e006119a3565b6001600160a01b03168152602001826060015181525091505090565b610e2533610bbc565b610bf8610e3184611deb565b83604051602001610be39190614ca4565b600060008051602061550083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed59190614d9a565b15610f065780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30610f196001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f859190614d9a565b610fad5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610efd565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015611001573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110259190614db7565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61105233610bbc565b610bf861105e846115b9565b83604051602001610be39190614dd4565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111089190614f22565b92915050565b6111166125db565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61114433610bbc565b610c378282604051602001610c239190614f3b565b6111616125db565b61116b8287612341565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016111db8382615031565b5050505050505050565b6111ee33610bbc565b6040516355ee627560e01b81526001600160c01b031983166004820152610c379073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561124b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126f9190614f22565b82604051602001610c2391906150f0565b6112886125db565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015611331573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111089190614d9a565b61135e33610bbc565b610bf861136a846115b9565b82604051602001610c23919061511e565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078611098565b6113b133610bbc565b610c37610c52836118ec565b6113c633610bbc565b6007546001600160a01b0316156114165760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610efd565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561145e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611482919061516f565b6001600160a01b0316146114d85760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610efd565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061150e6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015611564573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611588919061516f565b905090565b61159633610bbc565b6115b36115a2856115b9565b83604051602001610be3919061511e565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3611098565b6115ee6125db565b6115f6612624565b6115fe612747565b61160661283a565b61160e612948565b565b61161933610bbc565b610c3782826125d1565b61162c33610bbc565b610c378282604051602001610c23919061518c565b600081815260046020526040902060010180546060919061166190614d60565b80601f016020809104026020016040519081016040528092919081815260200182805461168d90614d60565b80156116da5780601f106116af576101008083540402835291602001916116da565b820191906000526020600020905b8154815290600101906020018083116116bd57829003601f168201915b50505050509050919050565b6116ef33610bbc565b6115b36116fb856115b9565b83604051602001610be39190615227565b61171533610bbc565b610bf861172384608c612570565b83604051602001610be39190615257565b61173c6125db565b806001600160a01b03163b6000036117725760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610efd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156117ec575060408051601f3d908101601f191682019092526117e991810190614d9a565b60015b6118145760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610efd565b80610c375760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610efd565b50565b60006118546001546001600160a01b031690565b6001600160a01b031663d39e6043608c61151f565b33611872612070565b6001600160a01b0316816001600160a01b0316146118ad5760405162d1953b60e31b81526001600160a01b0382166004820152602401610efd565b816001600160a01b03163b6000036118e3576040516361798f2f60e11b81526001600160a01b0383166004820152602401610efd565b610c3782612a04565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a611098565b61192233610bbc565b6040516355ee627560e01b81526001600160c01b031983166004820152610c379073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561197f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c529190614f22565b60008060008051602061550083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611a13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a379190614d9a565b15611ac4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abe919061516f565b91505090565b54600160601b90046001600160a01b0316919050565b611ae333610bbc565b610c37611af183608c612570565b82604051602001610c239190615257565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611bba90614d60565b80601f0160208091040260200160405190810160405280929190818152602001828054611be690614d60565b8015611c335780601f10611c0857610100808354040283529160200191611c33565b820191906000526020600020905b815481529060010190602001808311611c1657829003601f168201915b5050505050815250509050919050565b600080516020615520833981519152805460009190600160a01b900460ff16611c6d576000611abe565b638fb3603760e01b91505090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611cc05750825b90506000826001600160401b03166001148015611cdc5750303b155b905081158015611cea575080155b15611d085760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d3257845460ff60401b1916600160401b1785555b611d3b89612a65565b611d5a8888604660008a60405180602001604052806000815250611159565b611d626115e6565b611d7263ca8e409f60e01b61110e565b8315611db857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611dcc33610bbc565b610c37611dda836078612570565b82604051602001610c2391906152be565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611098565b611e2133610bbc565b610c37611e2d836118ec565b82604051602001610c239190615332565b611e4733610bbc565b6040516355ee627560e01b81526001600160c01b031984166004820152610bf89073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611ea4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec89190614f22565b83604051602001610be391906150f0565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f629190614d9a565b15611f6c57505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610bf857604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610efd565b611fd333610bbc565b610c37611fdf836115b9565b82604051602001610c239190614dd4565b611ff933610bbc565b610bf88383604051602001610be39190614f3b565b61201733610bbc565b610bf8610c52846115b9565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611314565b600080516020615520833981519152546001600160a01b031690565b60006120a06001546001600160a01b031690565b6001600160a01b031663d39e6043607861151f565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612108573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115889190615390565b61213533610bbc565b610bf88383604051602001610be3919061518c565b61215333610bbc565b610c37610c52836078612570565b61216a33610bbc565b610c37610c5283606e612570565b600061218c6001546001600160a01b031690565b6001600160a01b031663d39e604360d361151f565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015612201573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122259190614f22565b9392505050565b61223533610bbc565b610bf8612243846078612570565b83604051602001610be391906152be565b61225d33610bbc565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c9919061516f565b6001600160a01b03161461231f5760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610efd565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6123496125db565b61235281611734565b61235a611280565b6001600160a01b0382166123815760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061550083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6123c133610bbc565b610bf86123cd846115b9565b82604051602001610c239190615227565b6123e733610bbc565b610bf86123f3846118ec565b83604051602001610be39190615332565b61240d33610bbc565b610c3761241b83606e612570565b82604051602001610c239190614bf5565b61243533610bbc565b610c37610c5283611deb565b60006124556001546001600160a01b031690565b6001600160a01b031663d39e604360dc61151f565b6000805160206155208339815191526000806124a5612487612070565b8730612497600460008a8c6153ad565b6124a0916153d7565b612a76565b91509150816125685763ffffffff81161561254557825460ff60a01b1916600160a01b1783556124d3612070565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161250293929190615407565b600060405180830381600087803b15801561251c57600080fd5b505af1158015612530573d6000803e3d6000fd5b5050845460ff60a01b19168555506125689050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610efd565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016121e4565b610bf8838383612b82565b610c37828261302a565b610c378282613443565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661160e57604051631afcd79f60e31b815260040160405180910390fd5b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff168152602001908152602001600020600061272360c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff168152602001908152602001600020600061281c606e90565b60ff1660ff168152602001908152602001600020600061272360d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa906064612705565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c86127fe565b60008051602061552083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612a6d6125db565b61183d81613787565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612ae59190615447565b600060405180830381855afa9150503d8060008114612b20576040519150601f19603f3d011682016040523d82523d6000602084013e612b25565b606091505b50915091508115612b77576040815110612b575780806020019051810190612b4d9190615463565b9094509250612b77565b6020815110612b775780806020019051810190612b749190614d9a565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612bd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf89190614d9a565b612c445760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610efd565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612cb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd49190614d9a565b612d205760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610efd565b6000858152600460205260409020600101612d3b8582615031565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612d804390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612e12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e369190615390565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612e86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eaa9190615492565b8588863287604051612ec297969594939291906154af565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f609190615390565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612fb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd49190615492565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561307d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130a19190615390565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156130f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311a9190614d9a565b6131665760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610efd565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156131d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131f79190614d9a565b6132435760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610efd565b3343600061325085612023565b61325b576064613271565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526004602052604090209091506001016132fb8782615031565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561336e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133929190615390565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156133e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134069190615492565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001613019565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134b99190614d9a565b6135055760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610efd565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613571573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135959190614d9a565b6135e15760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610efd565b81546135f19060ff168285611ed9565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166136354390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156136c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136eb9190615390565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561373b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061375f9190615492565b858886328760405161377797969594939291906154af565b60405180910390a1505050505050565b61378f6125db565b61183d81612a04565b6000602082840312156137aa57600080fd5b81356001600160e01b03198116811461222557600080fd5b6000602082840312156137d457600080fd5b5035919050565b6001600160601b038116811461183d57600080fd5b80356137fb816137db565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561383857613838613800565b60405290565b60405161010081016001600160401b038111828210171561383857613838613800565b60405161012081016001600160401b038111828210171561383857613838613800565b60405161020081016001600160401b038111828210171561383857613838613800565b604051608081016001600160401b038111828210171561383857613838613800565b60405160e081016001600160401b038111828210171561383857613838613800565b60405160a081016001600160401b038111828210171561383857613838613800565b6001600160a01b038116811461183d57600080fd5b80356137fb8161390d565b60006040828403121561393f57600080fd5b613947613816565b9050813581526020820135602082015292915050565b801515811461183d57600080fd5b80356137fb8161395d565b6000610140828403121561398957600080fd5b61399161383e565b905061399c82613922565b81526139aa60208301613922565b60208201526139bb604083016137f0565b60408201526139cc606083016137f0565b60608201526139de836080840161392d565b60808201526139f08360c0840161392d565b60a0820152613a02610100830161396b565b60c0820152613a146101208301613922565b60e082015292915050565b60ff8116811461183d57600080fd5b60008060006101808486031215613a4457600080fd5b8335613a4f816137db565b9250613a5e8560208601613976565b9150610160840135613a6f81613a1f565b809150509250925092565b600060208284031215613a8c57600080fd5b813561222581613a1f565b600082601f830112613aa857600080fd5b81356001600160401b0380821115613ac257613ac2613800565b604051601f8301601f19908116603f01168101908282118183101715613aea57613aea613800565b81604052838152866020858801011115613b0357600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff8116811461183d57600080fd5b80356137fb81613b23565b60006101408284031215613b5457600080fd5b613b5c613861565b9050613b67826137f0565b8152613b76836020840161392d565b602082015260608201356001600160401b03811115613b9457600080fd5b613ba084828501613a97565b6040830152506080820135606082015260a0820135608082015260c082013560a0820152613bd060e08301613b36565b60c0820152610100613be3818401613b36565b60e0830152613bf56101208401613b36565b9082015292915050565b60008060408385031215613c1257600080fd5b8235613c1d816137db565b915060208301356001600160401b03811115613c3857600080fd5b613c4485828601613b41565b9150509250929050565b60008060408385031215613c6157600080fd5b8235613c6c816137db565b91506020830135613c7c81613a1f565b809150509250929050565b60005b83811015613ca2578181015183820152602001613c8a565b50506000910152565b60008151808452613cc3816020860160208601613c87565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613d4060c08401826001600160a01b03169052565b5060c083015160e080840152613d5a610100840182613cab565b949350505050565b600080600060608486031215613d7757600080fd5b8335613d82816137db565b925060208401356001600160401b03811115613d9d57600080fd5b613da986828701613b41565b9250506040840135613a6f81613a1f565b6001600160c01b03198116811461183d57600080fd5b80356137fb81613dba565b61ffff8116811461183d57600080fd5b80356137fb81613ddb565b60006102008284031215613e0957600080fd5b613e11613884565b9050613e1c826137f0565b8152613e2a602083016137f0565b6020820152613e3b60408301613dd0565b6040820152613e4c60608301613dd0565b60608201526080820135608082015260a082013560a082015260c082013560c0820152613e7b60e08301613b36565b60e0820152610100808301356001600160401b0380821115613e9c57600080fd5b613ea886838701613a97565b83850152610120925082850135915080821115613ec457600080fd5b50613ed185828601613a97565b828401525050610140613ee5818401613deb565b90820152610160613ef7838201613deb565b9082015261018082810135908201526101a0613f14818401613b36565b908201526101c0613f26838201613b36565b908201526101e0613bf5838201613b36565b600080600060608486031215613f4d57600080fd5b8335613f58816137db565b925060208401356001600160401b03811115613f7357600080fd5b613da986828701613df6565b600060208284031215613f9157600080fd5b8135612225816137db565b63ffffffff8116811461183d57600080fd5b80356137fb81613f9c565b60006101208284031215613fcc57600080fd5b613fd4613861565b905081356001600160401b0380821115613fed57600080fd5b613ff985838601613a97565b835260208401356020840152604084013560408401526060840135606084015261402560808501613fae565b608084015261403660a08501613fae565b60a084015261404760c0850161396b565b60c084015261405860e0850161396b565b60e08401526101009150818401358181111561407357600080fd5b61407f86828701613a97565b8385015250505092915050565b6000806040838503121561409f57600080fd5b8235915060208301356001600160401b038111156140bc57600080fd5b613c4485828601613fb9565b60008060008060008060c087890312156140e157600080fd5b86356140ec8161390d565b955060208701356140fc816137db565b9450604087013561410c81613a1f565b9350606087013561411c8161395d565b9250608087013561412c8161390d565b915060a08701356001600160401b0381111561414757600080fd5b61415389828a01613a97565b9150509295509295509295565b60006040828403121561417257600080fd5b61417a613816565b90508135614187816137db565b815260208201356001600160401b038111156141a257600080fd5b6141ae84828501613a97565b60208301525092915050565b600080604083850312156141cd57600080fd5b82356141d881613dba565b915060208301356001600160401b038111156141f357600080fd5b613c4485828601614160565b60006080828403121561421157600080fd5b6142196138a7565b9050813561422681613ddb565b81526020828101359082015260408201356001600160401b0381111561424b57600080fd5b61425784828501613a97565b604083015250606082013561426b81613b23565b606082015292915050565b60008060006060848603121561428b57600080fd5b8335614296816137db565b925060208401356142a681613f9c565b915060408401356001600160401b038111156142c157600080fd5b6142cd868287016141ff565b9150509250925092565b6000602082840312156142e957600080fd5b81356122258161390d565b6000806000806080858703121561430a57600080fd5b8435614315816137db565b9350602085013561432581613f9c565b925060408501356001600160401b0381111561434057600080fd5b61434c878288016141ff565b925050606085013561435d81613a1f565b939692955090935050565b6000806040838503121561437b57600080fd5b823591506020830135613c7c81613a1f565b600060e0828403121561439f57600080fd5b6143a76138c9565b90506143b2826137f0565b815260208201356001600160401b03808211156143ce57600080fd5b6143da85838601613a97565b6020840152604084013560408401526143f560608501613fae565b606084015261440660808501613fae565b608084015261441760a08501613b36565b60a084015260c084013591508082111561443057600080fd5b5061443d84828501613a97565b60c08301525092915050565b6000806040838503121561445c57600080fd5b8235915060208301356001600160401b0381111561447957600080fd5b613c448582860161438d565b6020815260006122256020830184613cab565b6000608082840312156144aa57600080fd5b6144b26138a7565b9050813581526020820135602082015260408201356001600160401b0381111561424b57600080fd5b600080600080608085870312156144f157600080fd5b84356144fc816137db565b9350602085013561450c81613ddb565b925060408501356001600160401b0381111561452757600080fd5b61434c87828801614498565b600060a0828403121561454557600080fd5b61454d6138eb565b905081356001600160401b038082111561456657600080fd5b61457285838601613a97565b8352602084013591506145848261390d565b8160208401526040840135915061459a8261390d565b816040840152606084013591506145b08261390d565b81606084015260808401359150808211156145ca57600080fd5b506145d784828501613a97565b60808301525092915050565b6000806000606084860312156145f857600080fd5b8335614603816137db565b925060208401356001600160401b0381111561461e57600080fd5b613da986828701614533565b6000806040838503121561463d57600080fd5b8235613c6c81613dba565b6000806040838503121561465b57600080fd5b8235614666816137db565b915060208301356001600160401b0381111561468157600080fd5b613c4485828601614533565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526146e960208201835161468d565b6000602083015160c080840152613d5a60e0840182613cab565b6000806000806080858703121561471957600080fd5b84356147248161390d565b935060208501356147348161390d565b92506040850135614744816137db565b9150606085013561435d8161390d565b6000610100828403121561476757600080fd5b60405160c081018181106001600160401b038211171561478957614789613800565b604052905080823561479a816137db565b815260208301356147aa8161390d565b60208201526147bc846040850161392d565b60408201526147ce846080850161392d565b606082015260c08301356147e18161390d565b8060808301525060e083013560a08201525092915050565b600080610120838503121561480d57600080fd5b8235614818816137db565b91506148278460208501614754565b90509250929050565b60a08101611108828461468d565b600060a0828403121561485057600080fd5b6148586138eb565b9050813561486581613dba565b815260208201356148758161395d565b602082015260408201356001600160401b0381111561489357600080fd5b61489f84828501613a97565b604083015250606082013560608201526080820135608082015292915050565b600080604083850312156148d257600080fd5b82356148dd816137db565b915060208301356001600160401b038111156148f857600080fd5b613c448582860161483e565b60008060006060848603121561491957600080fd5b833561492481613dba565b925060208401356001600160401b0381111561493f57600080fd5b613da986828701614160565b60008060006060848603121561496057600080fd5b833561496b81613a1f565b9250602084013561497b81613a1f565b91506040840135613a6f81613a1f565b6000806040838503121561499e57600080fd5b82356149a9816137db565b915060208301356001600160401b038111156149c457600080fd5b613c4485828601613df6565b6000806000606084860312156149e557600080fd5b8335925060208401356001600160401b03811115614a0257600080fd5b613da986828701613fb9565b600080600060608486031215614a2357600080fd5b8335614a2e816137db565b9250602084013561497b81613ddb565b600080600060608486031215614a5357600080fd5b8335925060208401356001600160401b03811115614a7057600080fd5b613da98682870161438d565b60ff198116811461183d57600080fd5b60008060408385031215614a9f57600080fd5b8235614aaa81613a1f565b91506020830135613c7c81614a7c565b60008060006101408486031215614ad057600080fd5b8335614adb816137db565b9250614aea8560208601614754565b9150610120840135613a6f81613a1f565b60008060408385031215614b0e57600080fd5b8235614b198161390d565b91506020830135613c7c8161390d565b600080600060608486031215614b3e57600080fd5b8335614b49816137db565b92506020840135614b5981613ddb565b915060408401356001600160401b03811115614b7457600080fd5b6142cd86828701614498565b600080600060608486031215614b9557600080fd5b8335614ba0816137db565b925060208401356001600160401b03811115614bbb57600080fd5b613da98682870161483e565b6000806101608385031215614bdb57600080fd5b8235614be6816137db565b91506148278460208501613976565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191614c44908401826001600160601b03169052565b506080830151614c61608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b60208152614cbe6020820183516001600160601b03169052565b60006020830151614cdc604084018280518252602090810151910152565b506040830151610140806080850152614cf9610160850183613cab565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100614d338187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b600181811c90821680614d7457607f821691505b602082108103614d9457634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614dac57600080fd5b81516122258161395d565b600060208284031215614dc957600080fd5b8151612225816137db565b60208152614dee6020820183516001600160601b03169052565b60006020830151614e0a60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100614e6f8185018364ffffffffff169052565b808501519150506102006101208181860152614e8f610220860184613cab565b9250808601519050610140601f198685030181870152614eaf8483613cab565b935080870151915050610160614eca8187018361ffff169052565b8601519050610180614ee18682018361ffff169052565b8601516101a08681019190915286015190506101c0614f088187018364ffffffffff169052565b86015190506101e0614d498682018364ffffffffff169052565b600060208284031215614f3457600080fd5b5051919050565b6020815260008251610120806020850152614f5a610140850183613cab565b91506020850151604085015260408501516060850152606085015160808501526080850151614f9160a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614fc78187018315159052565b860151858403601f1901838701529050614fe18382613cab565b9695505050505050565b601f821115610bf857600081815260208120601f850160051c810160208610156150125750805b601f850160051c820191505b818110156125685782815560010161501e565b81516001600160401b0381111561504a5761504a613800565b61505e816150588454614d60565b84614feb565b602080601f831160018114615093576000841561507b5750858301515b600019600386901b1c1916600185901b178555612568565b600085815260208120601f198616915b828110156150c2578886015182559484019460019091019084016150a3565b50858210156150e05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b03825116602082015260006020830151604080840152613d5a6060840182613cab565b6020815261ffff825116602082015260208201516040820152600060408301516080606084015261515260a0840182613cab565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561518157600080fd5b81516122258161390d565b602081526001600160601b0382511660208201526000602083015160e060408401526151bc610100840182613cab565b90506040840151606084015263ffffffff606085015116608084015260808401516151ef60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261521e8282613cab565b95945050505050565b602081528151602082015260208201516040820152600060408301516080606084015261515260a0840182613cab565b602081526000825160a0602084015261527360c0840182613cab565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151601f198483030160a085015261521e8282613cab565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261537060c0840182613cab565b905060608401516080840152608084015160a08401528091505092915050565b6000602082840312156153a257600080fd5b815161222581613a1f565b600080858511156153bd57600080fd5b838611156153ca57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156153ff5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251615459818460208701613c87565b9190910192915050565b6000806040838503121561547657600080fd5b82516154818161395d565b6020840151909250613c7c81613f9c565b6000602082840312156154a457600080fd5b815161222581614a7c565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d48816e7ce53f71c1ae5d31dc916655ab3b3eb7ed35e0716cb3ee4639f688d3864736f6c63430008140033",
2890
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104ac5760003560e01c80636b9bf08b1161026d578063b6d7cd6211610151578063e9e96c70116100ce578063f7c34ee011610092578063f7c34ee014610b50578063fa145b6d14610b63578063fb4a8e3414610b76578063fbc1a3a014610b89578063fe1f18d614610b9c578063fed3d63f14610baf57600080fd5b8063e9e96c7014610ad9578063f21de1e8146107f1578063f48016ce14610b17578063f7b442d114610b2a578063f7bc431c14610b3d57600080fd5b8063cde749f411610115578063cde749f414610a90578063cf947d2014610a98578063d2f21a2914610aab578063dee3262314610abe578063e1033e7d14610ad157600080fd5b8063b6d7cd6214610a5a578063bf1db3f914610a6d578063bf7e214f14610a80578063c29948fc146105f6578063ca600b1c14610a8857600080fd5b80639df0280b116101ea578063a76ee018116101ae578063a76ee018146109f9578063a898967514610a0c578063ada9652e14610a1f578063afa5e13014610785578063afcc743914610a34578063b3260e9314610a4757600080fd5b80639df0280b146105b35780639e90178c1461090f578063a13df2ab14610922578063a5961b4c14610935578063a671495e146109e657600080fd5b8063893d20e811610231578063893d20e8146108a05780638e28413f146108a85780638eaa6ac0146108bb5780638fb36037146108db578063976b0a77146108fc57600080fd5b80636b9bf08b1461085757806375b238fc1461085f5780637a9e5e4b146108675780637b8c388f1461087a5780637cef48421461088d57600080fd5b806338a699a4116103945780635378cd3c116103115780635ab1bd53116102d55780635ab1bd53146107f15780635d4345cc146105b35780635dfa73db1461080257806361f5f4201461080b578063644c45e01461081c578063675393bf1461084457600080fd5b80635378cd3c1461078557806354d747a81461079857806354f6127f146107ab5780635772b101146107cb57806358dff9ea146107de57600080fd5b8063422c9d0011610358578063422c9d001461073c5780634288121d1461074f578063447fc48f14610757578063468a18671461076a578063468bce061461077d57600080fd5b806338a699a4146106ca5780633c0d6a41146106dd5780633ca7c02a146106f05780633e35aba81461071657806340529b0f1461072957600080fd5b8063138461e01161042d5780632781d443116103f15780632781d4431461066457806327953f481461066c57806327bb7a331461067f5780632f61088a1461069257806336fc697e146106a557806337f135d7146106ad57600080fd5b8063138461e0146105ee5780631518afb9146105f65780631b38d5f4146106095780631eff4b221461062a578063214cdb801461065157600080fd5b80630f03144a116104745780630f03144a1461058d5780630f526f7d146105a05780630fad0eb1146105b35780630fec111c146105c65780631204b553146105db57600080fd5b806301ffc9a7146104b157806302cd3071146104f357806309648a9d146105185780630cbc6b89146105525780630d35818114610567575b600080fd5b6104de6104bf366004613798565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104ea565b6105406105263660046137c2565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104ea565b610565610560366004613a2e565b610bb7565b005b610540610575366004613a7a565b60ff9081166000908152600260205260409020541690565b61056561059b366004613bff565b610bfd565b6105656105ae366004613c4e565b610c3b565b6105656105c1366004613c4e565b610c58565b6105ce610c6d565b6040516104ea9190613cd7565b6105656105e9366004613d62565b610e1c565b610565610e42565b610565610604366004613f38565b611049565b61061c610617366004613f7f565b61106f565b6040519081526020016104ea565b61061c7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b61056561065f366004613798565b61110e565b61061c600381565b61056561067a36600461408c565b61113b565b61056561068d3660046140c8565b611159565b6105656106a03660046141ba565b6111e5565b610565611280565b6106b5600081565b60405163ffffffff90911681526020016104ea565b6104de6106d83660046137c2565b6112c6565b6105656106eb366004614276565b611355565b6106fe6001600160401b0381565b6040516001600160401b0390911681526020016104ea565b61061c610724366004613f7f565b61137b565b610565610737366004613c4e565b6113a8565b61056561074a3660046142d7565b6113bd565b6105006114fa565b6105656107653660046142f4565b61158d565b61061c610778366004613f7f565b6115b9565b6105656115e6565b610565610793366004614368565b611610565b6105656107a6366004614449565b611623565b6107be6107b93660046137c2565b611641565b6040516104ea9190614485565b6105656107d93660046144db565b6116e6565b6105656107ec3660046145e3565b61170c565b6001546001600160a01b0316610500565b6106fe61271081565b6007546001600160a01b0316610500565b600080516020615500833981519152546040516001600160601b0390911681526020016104ea565b6105656108523660046142d7565b611734565b610500611840565b6106fe600081565b6105656108753660046142d7565b611869565b61061c610888366004613f7f565b6118ec565b61056561089b36600461462a565b611919565b6105006119a3565b6105656108b6366004614648565b611ada565b6108ce6108c93660046137c2565b611b02565b6040516104ea91906146d7565b6108e3611c43565b6040516001600160e01b031990911681526020016104ea565b61056561090a366004614703565b611c7b565b61056561091d3660046147f9565b611dc3565b61061c610930366004613f7f565b611deb565b6109d96109433660046137c2565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104ea9190614830565b6105656109f43660046148bf565b611e18565b610565610a07366004614904565b611e3e565b610565610a1a36600461494b565b611ed9565b61061c60008051602061550083398151915281565b610565610a4236600461498b565b611fca565b610565610a553660046149d0565b611ff0565b610565610a68366004614a0e565b61200e565b6104de610a7b366004613a7a565b612023565b610500612070565b61050061208c565b6105406120b5565b610565610aa6366004614a3e565b61212c565b610565610ab9366004613c4e565b61214a565b610565610acc366004613c4e565b612161565b610500612178565b6104de610ae736600461494b565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b61061c610b25366004614a8c565b6121a1565b610565610b38366004614aba565b61222c565b610565610b4b3660046142d7565b612254565b610565610b5e366004614afb565b612341565b610565610b71366004614b29565b6123b8565b610565610b84366004614b80565b6123de565b610565610b97366004614bc7565b612404565b610565610baa366004613c4e565b61242c565b610500612441565b610bc4335b60003661246a565b610bf8610bd284606e612570565b83604051602001610be39190614bf5565b604051602081830303815290604052836125bc565b505050565b610c0633610bbc565b610c37610c1283611deb565b82604051602001610c239190614ca4565b6040516020818303038152906040526125c7565b5050565b610c4433610bbc565b610c37610c5283608c612570565b826125d1565b610c6133610bbc565b610c37610c52836115b9565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610d1890614d60565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4490614d60565b8015610d915780601f10610d6657610100808354040283529160200191610d91565b820191906000526020600020905b815481529060010190602001808311610d7457829003601f168201915b50505050508152505090506040518060e00160405280610daf600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610e006119a3565b6001600160a01b03168152602001826060015181525091505090565b610e2533610bbc565b610bf8610e3184611deb565b83604051602001610be39190614ca4565b600060008051602061550083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610eb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed59190614d9a565b15610f065780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30610f196001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610f61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f859190614d9a565b610fad5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610efd565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015611001573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110259190614db7565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61105233610bbc565b610bf861105e846115b9565b83604051602001610be39190614dd4565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660795b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111089190614f22565b92915050565b6111166125db565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b61114433610bbc565b610c378282604051602001610c239190614f3b565b6111616125db565b61116b8287612341565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016111db8382615031565b5050505050505050565b6111ee33610bbc565b6040516355ee627560e01b81526001600160c01b031983166004820152610c379073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561124b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061126f9190614f22565b82604051602001610c2391906150f0565b6112886125db565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015611331573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111089190614d9a565b61135e33610bbc565b610bf861136a846115b9565b82604051602001610c23919061511e565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b0384166078611098565b6113b133610bbc565b610c37610c52836118ec565b6113c633610bbc565b6007546001600160a01b0316156114165760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610efd565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561145e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611482919061516f565b6001600160a01b0316146114d85760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610efd565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b600061150e6001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015611564573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611588919061516f565b905090565b61159633610bbc565b6115b36115a2856115b9565b83604051602001610be3919061511e565b50505050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d3611098565b6115ee6125db565b6115f6612624565b6115fe612747565b61160661283a565b61160e612948565b565b61161933610bbc565b610c3782826125d1565b61162c33610bbc565b610c378282604051602001610c23919061518c565b600081815260046020526040902060010180546060919061166190614d60565b80601f016020809104026020016040519081016040528092919081815260200182805461168d90614d60565b80156116da5780601f106116af576101008083540402835291602001916116da565b820191906000526020600020905b8154815290600101906020018083116116bd57829003601f168201915b50505050509050919050565b6116ef33610bbc565b6115b36116fb856115b9565b83604051602001610be39190615227565b61171533610bbc565b610bf861172384608c612570565b83604051602001610be39190615257565b61173c6125db565b806001600160a01b03163b6000036117725760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610efd565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa9250505080156117ec575060408051601f3d908101601f191682019092526117e991810190614d9a565b60015b6118145760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610efd565b80610c375760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610efd565b50565b60006118546001546001600160a01b031690565b6001600160a01b031663d39e6043608c61151f565b33611872612070565b6001600160a01b0316816001600160a01b0316146118ad5760405162d1953b60e31b81526001600160a01b0382166004820152602401610efd565b816001600160a01b03163b6000036118e3576040516361798f2f60e11b81526001600160a01b0383166004820152602401610efd565b610c3782612a04565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b038416607a611098565b61192233610bbc565b6040516355ee627560e01b81526001600160c01b031983166004820152610c379073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561197f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c529190614f22565b60008060008051602061550083398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611a13573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a379190614d9a565b15611ac4576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611a9a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611abe919061516f565b91505090565b54600160601b90046001600160a01b0316919050565b611ae333610bbc565b610c37611af183608c612570565b82604051602001610c239190615257565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611bba90614d60565b80601f0160208091040260200160405190810160405280929190818152602001828054611be690614d60565b8015611c335780601f10611c0857610100808354040283529160200191611c33565b820191906000526020600020905b815481529060010190602001808311611c1657829003601f168201915b5050505050815250509050919050565b600080516020615520833981519152805460009190600160a01b900460ff16611c6d576000611abe565b638fb3603760e01b91505090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611cc05750825b90506000826001600160401b03166001148015611cdc5750303b155b905081158015611cea575080155b15611d085760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611d3257845460ff60401b1916600160401b1785555b611d3b89612a65565b611d5a8888604660008a60405180602001604052806000815250611159565b611d626115e6565b611d7263ca8e409f60e01b61110e565b8315611db857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611dcc33610bbc565b610c37611dda836078612570565b82604051602001610c2391906152be565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611098565b611e2133610bbc565b610c37611e2d836118ec565b82604051602001610c239190615332565b611e4733610bbc565b6040516355ee627560e01b81526001600160c01b031984166004820152610bf89073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611ea4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ec89190614f22565b83604051602001610be391906150f0565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611f3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f629190614d9a565b15611f6c57505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610bf857604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610efd565b611fd333610bbc565b610c37611fdf836115b9565b82604051602001610c239190614dd4565b611ff933610bbc565b610bf88383604051602001610be39190614f3b565b61201733610bbc565b610bf8610c52846115b9565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611314565b600080516020615520833981519152546001600160a01b031690565b60006120a06001546001600160a01b031690565b6001600160a01b031663d39e6043607861151f565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015612108573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115889190615390565b61213533610bbc565b610bf88383604051602001610be3919061518c565b61215333610bbc565b610c37610c52836078612570565b61216a33610bbc565b610c37610c5283606e612570565b600061218c6001546001600160a01b031690565b6001600160a01b031663d39e604360d361151f565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015612201573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122259190614f22565b9392505050565b61223533610bbc565b610bf8612243846078612570565b83604051602001610be391906152be565b61225d33610bbc565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c9919061516f565b6001600160a01b03161461231f5760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610efd565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6123496125db565b61235281611734565b61235a611280565b6001600160a01b0382166123815760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061550083398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6123c133610bbc565b610bf86123cd846115b9565b82604051602001610c239190615227565b6123e733610bbc565b610bf86123f3846118ec565b83604051602001610be39190615332565b61240d33610bbc565b610c3761241b83606e612570565b82604051602001610c239190614bf5565b61243533610bbc565b610c37610c5283611deb565b60006124556001546001600160a01b031690565b6001600160a01b031663d39e604360dc61151f565b6000805160206155208339815191526000806124a5612487612070565b8730612497600460008a8c6153ad565b6124a0916153d7565b612a76565b91509150816125685763ffffffff81161561254557825460ff60a01b1916600160a01b1783556124d3612070565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161250293929190615407565b600060405180830381600087803b15801561251c57600080fd5b505af1158015612530573d6000803e3d6000fd5b5050845460ff60a01b19168555506125689050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610efd565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c8906044016121e4565b610bf8838383612b82565b610c37828261302a565b610c378282613443565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661160e57604051631afcd79f60e31b815260040160405180910390fd5b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff168152602001908152602001600020600061272360c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff168152602001908152602001600020600061281c606e90565b60ff1660ff168152602001908152602001600020600061272360d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa906064612705565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c86127fe565b60008051602061552083398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b612a6d6125db565b61183d81613787565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251612ae59190615447565b600060405180830381855afa9150503d8060008114612b20576040519150601f19603f3d011682016040523d82523d6000602084013e612b25565b606091505b50915091508115612b77576040815110612b575780806020019051810190612b4d9190615463565b9094509250612b77565b6020815110612b775780806020019051810190612b749190614d9a565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612bd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612bf89190614d9a565b612c445760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610efd565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612cb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd49190614d9a565b612d205760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610efd565b6000858152600460205260409020600101612d3b8582615031565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612d804390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612e12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e369190615390565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612e86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eaa9190615492565b8588863287604051612ec297969594939291906154af565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f609190615390565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612fb0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fd49190615492565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561307d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130a19190615390565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156130f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061311a9190614d9a565b6131665760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610efd565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156131d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131f79190614d9a565b6132435760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610efd565b3343600061325085612023565b61325b576064613271565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526004602052604090209091506001016132fb8782615031565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561336e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133929190615390565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156133e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134069190615492565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001613019565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613495573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134b99190614d9a565b6135055760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610efd565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613571573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135959190614d9a565b6135e15760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610efd565b81546135f19060ff168285611ed9565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166136354390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156136c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906136eb9190615390565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561373b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061375f9190615492565b858886328760405161377797969594939291906154af565b60405180910390a1505050505050565b61378f6125db565b61183d81612a04565b6000602082840312156137aa57600080fd5b81356001600160e01b03198116811461222557600080fd5b6000602082840312156137d457600080fd5b5035919050565b6001600160601b038116811461183d57600080fd5b80356137fb816137db565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b038111828210171561383857613838613800565b60405290565b60405161010081016001600160401b038111828210171561383857613838613800565b60405161012081016001600160401b038111828210171561383857613838613800565b60405161020081016001600160401b038111828210171561383857613838613800565b604051608081016001600160401b038111828210171561383857613838613800565b60405160e081016001600160401b038111828210171561383857613838613800565b60405160a081016001600160401b038111828210171561383857613838613800565b6001600160a01b038116811461183d57600080fd5b80356137fb8161390d565b60006040828403121561393f57600080fd5b613947613816565b9050813581526020820135602082015292915050565b801515811461183d57600080fd5b80356137fb8161395d565b6000610140828403121561398957600080fd5b61399161383e565b905061399c82613922565b81526139aa60208301613922565b60208201526139bb604083016137f0565b60408201526139cc606083016137f0565b60608201526139de836080840161392d565b60808201526139f08360c0840161392d565b60a0820152613a02610100830161396b565b60c0820152613a146101208301613922565b60e082015292915050565b60ff8116811461183d57600080fd5b60008060006101808486031215613a4457600080fd5b8335613a4f816137db565b9250613a5e8560208601613976565b9150610160840135613a6f81613a1f565b809150509250925092565b600060208284031215613a8c57600080fd5b813561222581613a1f565b600082601f830112613aa857600080fd5b81356001600160401b0380821115613ac257613ac2613800565b604051601f8301601f19908116603f01168101908282118183101715613aea57613aea613800565b81604052838152866020858801011115613b0357600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff8116811461183d57600080fd5b80356137fb81613b23565b60006101408284031215613b5457600080fd5b613b5c613861565b9050613b67826137f0565b8152613b76836020840161392d565b602082015260608201356001600160401b03811115613b9457600080fd5b613ba084828501613a97565b6040830152506080820135606082015260a0820135608082015260c082013560a0820152613bd060e08301613b36565b60c0820152610100613be3818401613b36565b60e0830152613bf56101208401613b36565b9082015292915050565b60008060408385031215613c1257600080fd5b8235613c1d816137db565b915060208301356001600160401b03811115613c3857600080fd5b613c4485828601613b41565b9150509250929050565b60008060408385031215613c6157600080fd5b8235613c6c816137db565b91506020830135613c7c81613a1f565b809150509250929050565b60005b83811015613ca2578181015183820152602001613c8a565b50506000910152565b60008151808452613cc3816020860160208601613c87565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151613d4060c08401826001600160a01b03169052565b5060c083015160e080840152613d5a610100840182613cab565b949350505050565b600080600060608486031215613d7757600080fd5b8335613d82816137db565b925060208401356001600160401b03811115613d9d57600080fd5b613da986828701613b41565b9250506040840135613a6f81613a1f565b6001600160c01b03198116811461183d57600080fd5b80356137fb81613dba565b61ffff8116811461183d57600080fd5b80356137fb81613ddb565b60006102008284031215613e0957600080fd5b613e11613884565b9050613e1c826137f0565b8152613e2a602083016137f0565b6020820152613e3b60408301613dd0565b6040820152613e4c60608301613dd0565b60608201526080820135608082015260a082013560a082015260c082013560c0820152613e7b60e08301613b36565b60e0820152610100808301356001600160401b0380821115613e9c57600080fd5b613ea886838701613a97565b83850152610120925082850135915080821115613ec457600080fd5b50613ed185828601613a97565b828401525050610140613ee5818401613deb565b90820152610160613ef7838201613deb565b9082015261018082810135908201526101a0613f14818401613b36565b908201526101c0613f26838201613b36565b908201526101e0613bf5838201613b36565b600080600060608486031215613f4d57600080fd5b8335613f58816137db565b925060208401356001600160401b03811115613f7357600080fd5b613da986828701613df6565b600060208284031215613f9157600080fd5b8135612225816137db565b63ffffffff8116811461183d57600080fd5b80356137fb81613f9c565b60006101208284031215613fcc57600080fd5b613fd4613861565b905081356001600160401b0380821115613fed57600080fd5b613ff985838601613a97565b835260208401356020840152604084013560408401526060840135606084015261402560808501613fae565b608084015261403660a08501613fae565b60a084015261404760c0850161396b565b60c084015261405860e0850161396b565b60e08401526101009150818401358181111561407357600080fd5b61407f86828701613a97565b8385015250505092915050565b6000806040838503121561409f57600080fd5b8235915060208301356001600160401b038111156140bc57600080fd5b613c4485828601613fb9565b60008060008060008060c087890312156140e157600080fd5b86356140ec8161390d565b955060208701356140fc816137db565b9450604087013561410c81613a1f565b9350606087013561411c8161395d565b9250608087013561412c8161390d565b915060a08701356001600160401b0381111561414757600080fd5b61415389828a01613a97565b9150509295509295509295565b60006040828403121561417257600080fd5b61417a613816565b90508135614187816137db565b815260208201356001600160401b038111156141a257600080fd5b6141ae84828501613a97565b60208301525092915050565b600080604083850312156141cd57600080fd5b82356141d881613dba565b915060208301356001600160401b038111156141f357600080fd5b613c4485828601614160565b60006080828403121561421157600080fd5b6142196138a7565b9050813561422681613ddb565b81526020828101359082015260408201356001600160401b0381111561424b57600080fd5b61425784828501613a97565b604083015250606082013561426b81613b23565b606082015292915050565b60008060006060848603121561428b57600080fd5b8335614296816137db565b925060208401356142a681613f9c565b915060408401356001600160401b038111156142c157600080fd5b6142cd868287016141ff565b9150509250925092565b6000602082840312156142e957600080fd5b81356122258161390d565b6000806000806080858703121561430a57600080fd5b8435614315816137db565b9350602085013561432581613f9c565b925060408501356001600160401b0381111561434057600080fd5b61434c878288016141ff565b925050606085013561435d81613a1f565b939692955090935050565b6000806040838503121561437b57600080fd5b823591506020830135613c7c81613a1f565b600060e0828403121561439f57600080fd5b6143a76138c9565b90506143b2826137f0565b815260208201356001600160401b03808211156143ce57600080fd5b6143da85838601613a97565b6020840152604084013560408401526143f560608501613fae565b606084015261440660808501613fae565b608084015261441760a08501613b36565b60a084015260c084013591508082111561443057600080fd5b5061443d84828501613a97565b60c08301525092915050565b6000806040838503121561445c57600080fd5b8235915060208301356001600160401b0381111561447957600080fd5b613c448582860161438d565b6020815260006122256020830184613cab565b6000608082840312156144aa57600080fd5b6144b26138a7565b9050813581526020820135602082015260408201356001600160401b0381111561424b57600080fd5b600080600080608085870312156144f157600080fd5b84356144fc816137db565b9350602085013561450c81613ddb565b925060408501356001600160401b0381111561452757600080fd5b61434c87828801614498565b600060a0828403121561454557600080fd5b61454d6138eb565b905081356001600160401b038082111561456657600080fd5b61457285838601613a97565b8352602084013591506145848261390d565b8160208401526040840135915061459a8261390d565b816040840152606084013591506145b08261390d565b81606084015260808401359150808211156145ca57600080fd5b506145d784828501613a97565b60808301525092915050565b6000806000606084860312156145f857600080fd5b8335614603816137db565b925060208401356001600160401b0381111561461e57600080fd5b613da986828701614533565b6000806040838503121561463d57600080fd5b8235613c6c81613dba565b6000806040838503121561465b57600080fd5b8235614666816137db565b915060208301356001600160401b0381111561468157600080fd5b613c4485828601614533565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b602081526146e960208201835161468d565b6000602083015160c080840152613d5a60e0840182613cab565b6000806000806080858703121561471957600080fd5b84356147248161390d565b935060208501356147348161390d565b92506040850135614744816137db565b9150606085013561435d8161390d565b6000610100828403121561476757600080fd5b60405160c081018181106001600160401b038211171561478957614789613800565b604052905080823561479a816137db565b815260208301356147aa8161390d565b60208201526147bc846040850161392d565b60408201526147ce846080850161392d565b606082015260c08301356147e18161390d565b8060808301525060e083013560a08201525092915050565b600080610120838503121561480d57600080fd5b8235614818816137db565b91506148278460208501614754565b90509250929050565b60a08101611108828461468d565b600060a0828403121561485057600080fd5b6148586138eb565b9050813561486581613dba565b815260208201356148758161395d565b602082015260408201356001600160401b0381111561489357600080fd5b61489f84828501613a97565b604083015250606082013560608201526080820135608082015292915050565b600080604083850312156148d257600080fd5b82356148dd816137db565b915060208301356001600160401b038111156148f857600080fd5b613c448582860161483e565b60008060006060848603121561491957600080fd5b833561492481613dba565b925060208401356001600160401b0381111561493f57600080fd5b613da986828701614160565b60008060006060848603121561496057600080fd5b833561496b81613a1f565b9250602084013561497b81613a1f565b91506040840135613a6f81613a1f565b6000806040838503121561499e57600080fd5b82356149a9816137db565b915060208301356001600160401b038111156149c457600080fd5b613c4485828601613df6565b6000806000606084860312156149e557600080fd5b8335925060208401356001600160401b03811115614a0257600080fd5b613da986828701613fb9565b600080600060608486031215614a2357600080fd5b8335614a2e816137db565b9250602084013561497b81613ddb565b600080600060608486031215614a5357600080fd5b8335925060208401356001600160401b03811115614a7057600080fd5b613da98682870161438d565b60ff198116811461183d57600080fd5b60008060408385031215614a9f57600080fd5b8235614aaa81613a1f565b91506020830135613c7c81614a7c565b60008060006101408486031215614ad057600080fd5b8335614adb816137db565b9250614aea8560208601614754565b9150610120840135613a6f81613a1f565b60008060408385031215614b0e57600080fd5b8235614b198161390d565b91506020830135613c7c8161390d565b600080600060608486031215614b3e57600080fd5b8335614b49816137db565b92506020840135614b5981613ddb565b915060408401356001600160401b03811115614b7457600080fd5b6142cd86828701614498565b600080600060608486031215614b9557600080fd5b8335614ba0816137db565b925060208401356001600160401b03811115614bbb57600080fd5b613da98682870161483e565b6000806101608385031215614bdb57600080fd5b8235614be6816137db565b91506148278460208501613976565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b031690820152606080830151610140830191614c44908401826001600160601b03169052565b506080830151614c61608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b60208152614cbe6020820183516001600160601b03169052565b60006020830151614cdc604084018280518252602090810151910152565b506040830151610140806080850152614cf9610160850183613cab565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100614d338187018364ffffffffff169052565b60e087015164ffffffffff811661012088015291505b9095015164ffffffffff1693019290925250919050565b600181811c90821680614d7457607f821691505b602082108103614d9457634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215614dac57600080fd5b81516122258161395d565b600060208284031215614dc957600080fd5b8151612225816137db565b60208152614dee6020820183516001600160601b03169052565b60006020830151614e0a60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e0830151610100614e6f8185018364ffffffffff169052565b808501519150506102006101208181860152614e8f610220860184613cab565b9250808601519050610140601f198685030181870152614eaf8483613cab565b935080870151915050610160614eca8187018361ffff169052565b8601519050610180614ee18682018361ffff169052565b8601516101a08681019190915286015190506101c0614f088187018364ffffffffff169052565b86015190506101e0614d498682018364ffffffffff169052565b600060208284031215614f3457600080fd5b5051919050565b6020815260008251610120806020850152614f5a610140850183613cab565b91506020850151604085015260408501516060850152606085015160808501526080850151614f9160a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e0850151610100614fc78187018315159052565b860151858403601f1901838701529050614fe18382613cab565b9695505050505050565b601f821115610bf857600081815260208120601f850160051c810160208610156150125750805b601f850160051c820191505b818110156125685782815560010161501e565b81516001600160401b0381111561504a5761504a613800565b61505e816150588454614d60565b84614feb565b602080601f831160018114615093576000841561507b5750858301515b600019600386901b1c1916600185901b178555612568565b600085815260208120601f198616915b828110156150c2578886015182559484019460019091019084016150a3565b50858210156150e05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b602081526001600160601b03825116602082015260006020830151604080840152613d5a6060840182613cab565b6020815261ffff825116602082015260208201516040820152600060408301516080606084015261515260a0840182613cab565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561518157600080fd5b81516122258161390d565b602081526001600160601b0382511660208201526000602083015160e060408401526151bc610100840182613cab565b90506040840151606084015263ffffffff606085015116608084015260808401516151ef60a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525060c0840151838203601f190160e085015261521e8282613cab565b95945050505050565b602081528151602082015260208201516040820152600060408301516080606084015261515260a0840182613cab565b602081526000825160a0602084015261527360c0840182613cab565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151601f198483030160a085015261521e8282613cab565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a0606084015261537060c0840182613cab565b905060608401516080840152608084015160a08401528091505092915050565b6000602082840312156153a257600080fd5b815161222581613a1f565b600080858511156153bd57600080fd5b838611156153ca57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156153ff5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251615459818460208701613c87565b9190910192915050565b6000806040838503121561547657600080fd5b82516154818161395d565b6020840151909250613c7c81613f9c565b6000602082840312156154a457600080fd5b815161222581614a7c565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220d48816e7ce53f71c1ae5d31dc916655ab3b3eb7ed35e0716cb3ee4639f688d3864736f6c63430008140033",
3155
2891
  "linkReferences": {
3156
2892
  "contracts/types/Key32.sol": {
3157
2893
  "Key32Lib": [
3158
2894
  {
3159
2895
  "length": 20,
3160
- "start": 4632
2896
+ "start": 8678
3161
2897
  },
3162
2898
  {
3163
2899
  "length": 20,
3164
- "start": 5400
2900
+ "start": 11768
3165
2901
  },
3166
2902
  {
3167
2903
  "length": 20,
3168
- "start": 5519
2904
+ "start": 11884
3169
2905
  },
3170
2906
  {
3171
2907
  "length": 20,
3172
- "start": 11506
2908
+ "start": 12066
3173
2909
  },
3174
2910
  {
3175
2911
  "length": 20,
3176
- "start": 16588
2912
+ "start": 12182
3177
2913
  },
3178
2914
  {
3179
2915
  "length": 20,
3180
- "start": 18910
2916
+ "start": 12387
3181
2917
  },
3182
2918
  {
3183
2919
  "length": 20,
3184
- "start": 19659
2920
+ "start": 13140
3185
2921
  },
3186
2922
  {
3187
2923
  "length": 20,
3188
- "start": 19775
2924
+ "start": 13256
3189
2925
  },
3190
2926
  {
3191
2927
  "length": 20,
3192
- "start": 20513
2928
+ "start": 13997
3193
2929
  },
3194
2930
  {
3195
2931
  "length": 20,
3196
- "start": 20629
3197
- },
2932
+ "start": 14113
2933
+ }
2934
+ ]
2935
+ },
2936
+ "contracts/types/NftId.sol": {
2937
+ "NftIdLib": [
3198
2938
  {
3199
2939
  "length": 20,
3200
- "start": 21361
2940
+ "start": 3735
3201
2941
  },
3202
2942
  {
3203
2943
  "length": 20,
3204
- "start": 21477
2944
+ "start": 4243
3205
2945
  },
3206
2946
  {
3207
2947
  "length": 20,
3208
- "start": 21659
2948
+ "start": 5023
3209
2949
  },
3210
2950
  {
3211
2951
  "length": 20,
3212
- "start": 21775
3213
- }
3214
- ]
3215
- },
3216
- "contracts/types/NftId.sol": {
3217
- "NftIdLib": [
3218
- {
3219
- "length": 20,
3220
- "start": 10502
2952
+ "start": 5597
3221
2953
  },
3222
2954
  {
3223
2955
  "length": 20,
3224
- "start": 12300
2956
+ "start": 6416
3225
2957
  },
3226
2958
  {
3227
2959
  "length": 20,
3228
- "start": 13555
2960
+ "start": 6649
3229
2961
  },
3230
2962
  {
3231
2963
  "length": 20,
3232
- "start": 14820
2964
+ "start": 7695
3233
2965
  },
3234
2966
  {
3235
2967
  "length": 20,
3236
- "start": 17155
2968
+ "start": 9658
3237
2969
  }
3238
2970
  ]
3239
2971
  },
@@ -3241,11 +2973,7 @@
3241
2973
  "ObjectTypeLib": [
3242
2974
  {
3243
2975
  "length": 20,
3244
- "start": 4756
3245
- },
3246
- {
3247
- "length": 20,
3248
- "start": 19031
2976
+ "start": 12508
3249
2977
  }
3250
2978
  ]
3251
2979
  },
@@ -3253,115 +2981,59 @@
3253
2981
  "RiskIdLib": [
3254
2982
  {
3255
2983
  "length": 20,
3256
- "start": 11345
2984
+ "start": 4657
3257
2985
  },
3258
2986
  {
3259
2987
  "length": 20,
3260
- "start": 13165
2988
+ "start": 6501
3261
2989
  },
3262
2990
  {
3263
2991
  "length": 20,
3264
- "start": 14905
2992
+ "start": 7818
3265
2993
  }
3266
2994
  ]
3267
2995
  },
3268
- "contracts/types/RoleId.sol": {
3269
- "RoleIdLib": [
3270
- {
3271
- "length": 20,
3272
- "start": 2090
3273
- },
3274
- {
3275
- "length": 20,
3276
- "start": 2261
3277
- },
3278
- {
3279
- "length": 20,
3280
- "start": 3702
3281
- },
3282
- {
3283
- "length": 20,
3284
- "start": 4027
3285
- },
2996
+ "contracts/types/StateId.sol": {
2997
+ "StateIdLib": [
3286
2998
  {
3287
2999
  "length": 20,
3288
- "start": 11797
3000
+ "start": 4886
3289
3001
  },
3290
3002
  {
3291
3003
  "length": 20,
3292
- "start": 13292
3004
+ "start": 7972
3293
3005
  },
3294
3006
  {
3295
3007
  "length": 20,
3296
- "start": 13378
3008
+ "start": 8302
3297
3009
  },
3298
3010
  {
3299
3011
  "length": 20,
3300
- "start": 14363
3012
+ "start": 11194
3301
3013
  },
3302
3014
  {
3303
3015
  "length": 20,
3304
- "start": 14531
3016
+ "start": 11414
3305
3017
  },
3306
3018
  {
3307
3019
  "length": 20,
3308
- "start": 15507
3020
+ "start": 12729
3309
3021
  },
3310
3022
  {
3311
3023
  "length": 20,
3312
- "start": 15920
3024
+ "start": 13435
3313
3025
  },
3314
3026
  {
3315
3027
  "length": 20,
3316
- "start": 17929
3028
+ "start": 13655
3317
3029
  }
3318
3030
  ]
3319
3031
  },
3320
- "contracts/types/StateId.sol": {
3321
- "StateIdLib": [
3322
- {
3323
- "length": 20,
3324
- "start": 4228
3325
- },
3032
+ "contracts/types/Version.sol": {
3033
+ "VersionPartLib": [
3326
3034
  {
3327
3035
  "length": 20,
3328
- "start": 4978
3329
- },
3330
- {
3331
- "length": 20,
3332
- "start": 6095
3333
- },
3334
- {
3335
- "length": 20,
3336
- "start": 12094
3337
- },
3338
- {
3339
- "length": 20,
3340
- "start": 15059
3341
- },
3342
- {
3343
- "length": 20,
3344
- "start": 16313
3345
- },
3346
- {
3347
- "length": 20,
3348
- "start": 19248
3349
- },
3350
- {
3351
- "length": 20,
3352
- "start": 19967
3353
- },
3354
- {
3355
- "length": 20,
3356
- "start": 20187
3357
- },
3358
- {
3359
- "length": 20,
3360
- "start": 20787
3361
- },
3362
- {
3363
- "length": 20,
3364
- "start": 21007
3036
+ "start": 8430
3365
3037
  }
3366
3038
  ]
3367
3039
  }
@@ -3371,47 +3043,43 @@
3371
3043
  "Key32Lib": [
3372
3044
  {
3373
3045
  "length": 20,
3374
- "start": 4468
3375
- },
3376
- {
3377
- "length": 20,
3378
- "start": 9550
3046
+ "start": 8646
3379
3047
  },
3380
3048
  {
3381
3049
  "length": 20,
3382
- "start": 11872
3050
+ "start": 11736
3383
3051
  },
3384
3052
  {
3385
3053
  "length": 20,
3386
- "start": 12621
3054
+ "start": 11852
3387
3055
  },
3388
3056
  {
3389
3057
  "length": 20,
3390
- "start": 12737
3058
+ "start": 12034
3391
3059
  },
3392
3060
  {
3393
3061
  "length": 20,
3394
- "start": 13475
3062
+ "start": 12150
3395
3063
  },
3396
3064
  {
3397
3065
  "length": 20,
3398
- "start": 13591
3066
+ "start": 12355
3399
3067
  },
3400
3068
  {
3401
3069
  "length": 20,
3402
- "start": 14323
3070
+ "start": 13108
3403
3071
  },
3404
3072
  {
3405
3073
  "length": 20,
3406
- "start": 14439
3074
+ "start": 13224
3407
3075
  },
3408
3076
  {
3409
3077
  "length": 20,
3410
- "start": 14621
3078
+ "start": 13965
3411
3079
  },
3412
3080
  {
3413
3081
  "length": 20,
3414
- "start": 14737
3082
+ "start": 14081
3415
3083
  }
3416
3084
  ]
3417
3085
  },
@@ -3419,23 +3087,35 @@
3419
3087
  "NftIdLib": [
3420
3088
  {
3421
3089
  "length": 20,
3422
- "start": 3464
3090
+ "start": 3703
3091
+ },
3092
+ {
3093
+ "length": 20,
3094
+ "start": 4211
3095
+ },
3096
+ {
3097
+ "length": 20,
3098
+ "start": 4991
3423
3099
  },
3424
3100
  {
3425
3101
  "length": 20,
3426
- "start": 5262
3102
+ "start": 5565
3427
3103
  },
3428
3104
  {
3429
3105
  "length": 20,
3430
- "start": 6517
3106
+ "start": 6384
3431
3107
  },
3432
3108
  {
3433
3109
  "length": 20,
3434
- "start": 7782
3110
+ "start": 6617
3435
3111
  },
3436
3112
  {
3437
3113
  "length": 20,
3438
- "start": 10117
3114
+ "start": 7663
3115
+ },
3116
+ {
3117
+ "length": 20,
3118
+ "start": 9626
3439
3119
  }
3440
3120
  ]
3441
3121
  },
@@ -3443,7 +3123,7 @@
3443
3123
  "ObjectTypeLib": [
3444
3124
  {
3445
3125
  "length": 20,
3446
- "start": 11993
3126
+ "start": 12476
3447
3127
  }
3448
3128
  ]
3449
3129
  },
@@ -3451,87 +3131,59 @@
3451
3131
  "RiskIdLib": [
3452
3132
  {
3453
3133
  "length": 20,
3454
- "start": 4307
3134
+ "start": 4625
3455
3135
  },
3456
3136
  {
3457
3137
  "length": 20,
3458
- "start": 6127
3138
+ "start": 6469
3459
3139
  },
3460
3140
  {
3461
3141
  "length": 20,
3462
- "start": 7867
3142
+ "start": 7786
3463
3143
  }
3464
3144
  ]
3465
3145
  },
3466
- "contracts/types/RoleId.sol": {
3467
- "RoleIdLib": [
3146
+ "contracts/types/StateId.sol": {
3147
+ "StateIdLib": [
3468
3148
  {
3469
3149
  "length": 20,
3470
- "start": 4759
3150
+ "start": 4854
3471
3151
  },
3472
3152
  {
3473
3153
  "length": 20,
3474
- "start": 6254
3154
+ "start": 7940
3475
3155
  },
3476
3156
  {
3477
3157
  "length": 20,
3478
- "start": 6340
3158
+ "start": 8270
3479
3159
  },
3480
3160
  {
3481
3161
  "length": 20,
3482
- "start": 7325
3162
+ "start": 11162
3483
3163
  },
3484
3164
  {
3485
3165
  "length": 20,
3486
- "start": 7493
3166
+ "start": 11382
3487
3167
  },
3488
3168
  {
3489
3169
  "length": 20,
3490
- "start": 8469
3170
+ "start": 12697
3491
3171
  },
3492
3172
  {
3493
3173
  "length": 20,
3494
- "start": 8882
3174
+ "start": 13403
3495
3175
  },
3496
3176
  {
3497
3177
  "length": 20,
3498
- "start": 10891
3178
+ "start": 13623
3499
3179
  }
3500
3180
  ]
3501
3181
  },
3502
- "contracts/types/StateId.sol": {
3503
- "StateIdLib": [
3504
- {
3505
- "length": 20,
3506
- "start": 5056
3507
- },
3508
- {
3509
- "length": 20,
3510
- "start": 8021
3511
- },
3512
- {
3513
- "length": 20,
3514
- "start": 9275
3515
- },
3516
- {
3517
- "length": 20,
3518
- "start": 12210
3519
- },
3520
- {
3521
- "length": 20,
3522
- "start": 12929
3523
- },
3524
- {
3525
- "length": 20,
3526
- "start": 13149
3527
- },
3528
- {
3529
- "length": 20,
3530
- "start": 13749
3531
- },
3182
+ "contracts/types/Version.sol": {
3183
+ "VersionPartLib": [
3532
3184
  {
3533
3185
  "length": 20,
3534
- "start": 13969
3186
+ "start": 8398
3535
3187
  }
3536
3188
  ]
3537
3189
  }