@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ceb30b2-601

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 +178 -14
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +829 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1332 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +592 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +956 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1051 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +817 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1363 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +1154 -0
  18. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  19. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  20. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  22. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  23. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +91 -2
  24. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  25. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2719 -1
  26. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +600 -0
  28. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  29. package/artifacts/contracts/instance/Instance.sol/Instance.json +1220 -1347
  30. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +593 -180
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +586 -56
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1014 -32
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +724 -0
  38. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  39. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  40. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  42. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
  44. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +40 -244
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  48. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +36 -11
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  51. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  54. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  55. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  59. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1092 -0
  61. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +672 -0
  63. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1313 -0
  65. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +712 -0
  67. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1316 -0
  69. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +724 -0
  71. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1798 -0
  73. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  75. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +619 -0
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +701 -0
  79. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +731 -0
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1082 -0
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/{base/IService.sol/IService.json → service/IProductService.sol/IProductService.json} +178 -157
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1153 -0
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +676 -0
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1598 -0
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +696 -0
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  102. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +60 -2
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  104. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +255 -63
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +309 -196
  107. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  108. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  109. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  110. package/artifacts/contracts/registry/Registry.sol/Registry.json +229 -212
  111. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  112. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +421 -284
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +310 -129
  117. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  119. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  120. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  121. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  123. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  124. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  126. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  127. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +165 -0
  128. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  129. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  130. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  131. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  132. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  133. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +115 -29
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +107 -27
  138. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  139. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +271 -0
  140. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  141. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +283 -63
  142. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  143. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +116 -51
  144. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  145. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  146. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  147. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → shared/Service.sol/Service.json} +187 -167
  148. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  149. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  150. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  151. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  152. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  153. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  154. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  155. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  156. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  157. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +116 -51
  158. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  159. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
  160. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  161. package/artifacts/contracts/test/TestService.sol/TestService.json +204 -216
  162. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  163. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  164. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  165. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  166. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  167. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  168. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  169. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  170. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  171. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/Amount.sol/AmountLib.json +209 -0
  173. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  174. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  175. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  177. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  178. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  180. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/Fee.sol/FeeLib.json +42 -11
  182. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  183. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  184. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  185. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +17 -4
  186. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  187. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  188. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  191. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  192. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  193. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +23 -4
  195. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  196. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  197. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  198. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  199. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  201. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  202. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  203. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +38 -7
  205. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  206. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  207. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  209. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  211. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  212. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  213. package/contracts/components/Component.sol +253 -0
  214. package/contracts/components/Distribution.sol +284 -0
  215. package/contracts/components/IComponent.sol +76 -0
  216. package/contracts/components/IDistributionComponent.sol +71 -0
  217. package/contracts/components/IPoolComponent.sol +113 -0
  218. package/contracts/components/IProductComponent.sol +40 -0
  219. package/contracts/components/Pool.sol +302 -0
  220. package/contracts/components/Product.sol +371 -0
  221. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +13 -0
  222. package/contracts/instance/BundleManager.sol +126 -0
  223. package/contracts/instance/Cloneable.sol +51 -0
  224. package/contracts/instance/IInstance.sol +99 -1
  225. package/contracts/instance/IInstanceService.sol +63 -0
  226. package/contracts/instance/Instance.sol +169 -243
  227. package/contracts/instance/InstanceAccessManager.sol +417 -178
  228. package/contracts/instance/InstanceReader.sol +116 -34
  229. package/contracts/instance/InstanceService.sol +462 -23
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/ObjectManager.sol +82 -0
  232. package/contracts/instance/base/ComponentService.sol +130 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +5 -4
  234. package/contracts/instance/base/KeyValueStore.sol +13 -52
  235. package/contracts/instance/base/Lifecycle.sol +23 -6
  236. package/contracts/instance/module/IAccess.sol +37 -21
  237. package/contracts/instance/module/IBundle.sol +8 -4
  238. package/contracts/instance/module/IComponents.sol +41 -0
  239. package/contracts/instance/module/IDistribution.sol +2 -0
  240. package/contracts/instance/module/IPolicy.sol +42 -9
  241. package/contracts/instance/module/ISetup.sol +10 -18
  242. package/contracts/instance/module/ITreasury.sol +1 -1
  243. package/contracts/instance/service/ApplicationService.sol +356 -0
  244. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  245. package/contracts/instance/service/BundleService.sol +443 -0
  246. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  247. package/contracts/instance/service/ClaimService.sol +361 -0
  248. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  249. package/contracts/instance/service/DistributionService.sol +431 -0
  250. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  251. package/contracts/instance/service/IApplicationService.sol +78 -0
  252. package/contracts/instance/service/IBundleService.sol +102 -0
  253. package/contracts/instance/service/IClaimService.sol +90 -0
  254. package/contracts/instance/service/IDistributionService.sol +99 -0
  255. package/contracts/instance/service/IPolicyService.sol +80 -0
  256. package/contracts/instance/service/IPoolService.sol +144 -0
  257. package/contracts/instance/service/IProductService.sol +40 -0
  258. package/contracts/instance/service/PolicyService.sol +358 -0
  259. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  260. package/contracts/instance/service/PoolService.sol +349 -0
  261. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  262. package/contracts/instance/service/ProductService.sol +210 -0
  263. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  264. package/contracts/registry/ChainNft.sol +49 -26
  265. package/contracts/registry/IRegistry.sol +53 -25
  266. package/contracts/registry/IRegistryService.sol +53 -16
  267. package/contracts/registry/ITransferInterceptor.sol +1 -0
  268. package/contracts/registry/Registry.sol +289 -313
  269. package/contracts/registry/RegistryAccessManager.sol +216 -0
  270. package/contracts/registry/RegistryService.sol +169 -256
  271. package/contracts/registry/RegistryServiceManager.sol +30 -11
  272. package/contracts/registry/ReleaseManager.sol +324 -0
  273. package/contracts/registry/TokenRegistry.sol +116 -0
  274. package/contracts/shared/ERC165.sol +15 -9
  275. package/contracts/shared/INftOwnable.sol +11 -10
  276. package/contracts/shared/IPolicyHolder.sol +38 -0
  277. package/contracts/shared/IRegisterable.sol +4 -6
  278. package/contracts/shared/IRegistryLinked.sol +11 -0
  279. package/contracts/shared/IService.sol +18 -0
  280. package/contracts/shared/IVersionable.sol +4 -47
  281. package/contracts/shared/NftOwnable.sol +65 -83
  282. package/contracts/shared/PolicyHolder.sol +87 -0
  283. package/contracts/shared/ProxyManager.sol +101 -26
  284. package/contracts/shared/Registerable.sol +25 -39
  285. package/contracts/shared/RegistryLinked.sol +43 -0
  286. package/contracts/shared/Service.sol +72 -0
  287. package/contracts/shared/TokenHandler.sol +13 -7
  288. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  289. package/contracts/shared/Versionable.sol +5 -93
  290. package/contracts/test/TestFee.sol +2 -2
  291. package/contracts/test/TestRegisterable.sol +1 -1
  292. package/contracts/test/TestRoleId.sol +6 -6
  293. package/contracts/test/TestService.sol +6 -7
  294. package/contracts/types/Amount.sol +70 -0
  295. package/contracts/types/Blocknumber.sol +1 -0
  296. package/contracts/types/ClaimId.sol +75 -0
  297. package/contracts/types/DistributorType.sol +2 -2
  298. package/contracts/types/Fee.sol +15 -7
  299. package/contracts/types/NftId.sol +8 -0
  300. package/contracts/types/NftIdSet.sol +26 -24
  301. package/contracts/types/ObjectType.sol +11 -6
  302. package/contracts/types/PayoutId.sol +82 -0
  303. package/contracts/types/Referral.sol +4 -0
  304. package/contracts/types/RoleId.sol +26 -4
  305. package/contracts/types/Seconds.sol +54 -0
  306. package/contracts/types/StateId.sol +11 -2
  307. package/contracts/types/Timestamp.sol +18 -13
  308. package/contracts/types/UFixed.sol +129 -12
  309. package/contracts/types/Version.sol +5 -1
  310. package/package.json +6 -5
  311. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  312. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  314. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  316. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  318. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  320. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  322. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  323. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  324. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  325. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  326. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  327. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  328. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  329. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  330. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  331. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  332. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  333. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  335. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  337. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  339. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  341. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  343. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  344. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  345. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  346. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  347. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  348. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  349. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  350. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  351. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  353. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  354. package/contracts/components/IBaseComponent.sol +0 -19
  355. package/contracts/experiment/errors/Require.sol +0 -38
  356. package/contracts/experiment/errors/Revert.sol +0 -44
  357. package/contracts/experiment/inheritance/A.sol +0 -53
  358. package/contracts/experiment/inheritance/B.sol +0 -28
  359. package/contracts/experiment/inheritance/C.sol +0 -34
  360. package/contracts/experiment/inheritance/IA.sol +0 -13
  361. package/contracts/experiment/inheritance/IB.sol +0 -10
  362. package/contracts/experiment/inheritance/IC.sol +0 -12
  363. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  364. package/contracts/experiment/statemachine/ISM.sol +0 -25
  365. package/contracts/experiment/statemachine/SM.sol +0 -57
  366. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  367. package/contracts/experiment/types/TypeA.sol +0 -47
  368. package/contracts/experiment/types/TypeB.sol +0 -29
  369. package/contracts/instance/AccessManagedSimple.sol +0 -114
  370. package/contracts/instance/AccessManagerSimple.sol +0 -682
  371. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  372. package/contracts/instance/base/IService.sol +0 -15
  373. package/contracts/instance/base/ServiceBase.sol +0 -44
  374. package/contracts/registry/IChainNft.sol +0 -22
@@ -3,17 +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
- "stateMutability": "nonpayable",
15
- "type": "constructor"
16
- },
17
6
  {
18
7
  "inputs": [
19
8
  {
@@ -55,169 +44,168 @@
55
44
  {
56
45
  "inputs": [
57
46
  {
58
- "internalType": "RoleId",
59
- "name": "roleId",
60
- "type": "uint64"
47
+ "internalType": "address",
48
+ "name": "instanceBundleManager",
49
+ "type": "address"
61
50
  }
62
51
  ],
63
- "name": "ErrorGrantNonexstentRole",
52
+ "name": "ErrorInstanceBundleManagerAlreadySet",
64
53
  "type": "error"
65
54
  },
66
55
  {
67
56
  "inputs": [
68
57
  {
69
- "internalType": "ObjectType",
70
- "name": "objectType",
71
- "type": "uint8"
72
- },
73
- {
74
- "internalType": "StateId",
75
- "name": "fromStateId",
76
- "type": "uint8"
77
- },
78
- {
79
- "internalType": "StateId",
80
- "name": "toStateId",
81
- "type": "uint8"
58
+ "internalType": "address",
59
+ "name": "instanceAuthority",
60
+ "type": "address"
82
61
  }
83
62
  ],
84
- "name": "ErrorInvalidStateTransition",
63
+ "name": "ErrorInstanceBundleManagerAuthorityMismatch",
85
64
  "type": "error"
86
65
  },
87
66
  {
88
67
  "inputs": [
89
68
  {
90
- "internalType": "NftId",
91
- "name": "nftId",
92
- "type": "uint96"
93
- },
94
- {
95
- "internalType": "ObjectType",
96
- "name": "objectType",
97
- "type": "uint8"
69
+ "internalType": "address",
70
+ "name": "instance",
71
+ "type": "address"
98
72
  }
99
73
  ],
100
- "name": "ErrorNoLifecycle",
74
+ "name": "ErrorInstanceBundleManagerInstanceMismatch",
101
75
  "type": "error"
102
76
  },
103
77
  {
104
78
  "inputs": [
105
79
  {
106
- "internalType": "RoleId",
107
- "name": "roleId",
108
- "type": "uint64"
80
+ "internalType": "address",
81
+ "name": "instanceAccessManager",
82
+ "type": "address"
109
83
  }
110
84
  ],
111
- "name": "ErrorRenounceNonexstentRole",
85
+ "name": "ErrorInstanceInstanceAccessManagerAlreadySet",
112
86
  "type": "error"
113
87
  },
114
88
  {
115
89
  "inputs": [
116
90
  {
117
- "internalType": "RoleId",
118
- "name": "roleId",
119
- "type": "uint64"
91
+ "internalType": "address",
92
+ "name": "instanceAuthority",
93
+ "type": "address"
120
94
  }
121
95
  ],
122
- "name": "ErrorRevokeNonexstentRole",
96
+ "name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorInstanceInstanceAccessManagerZero",
123
102
  "type": "error"
124
103
  },
125
104
  {
126
105
  "inputs": [
127
106
  {
128
- "internalType": "RoleId",
129
- "name": "roleId",
130
- "type": "uint64"
107
+ "internalType": "address",
108
+ "name": "instanceAuthority",
109
+ "type": "address"
131
110
  }
132
111
  ],
133
- "name": "ErrorRoleIdInvalid",
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
134
113
  "type": "error"
135
114
  },
136
115
  {
137
116
  "inputs": [
138
117
  {
139
- "internalType": "RoleId",
140
- "name": "roleId",
141
- "type": "uint64"
118
+ "internalType": "ObjectType",
119
+ "name": "objectType",
120
+ "type": "uint8"
121
+ },
122
+ {
123
+ "internalType": "StateId",
124
+ "name": "fromStateId",
125
+ "type": "uint8"
126
+ },
127
+ {
128
+ "internalType": "StateId",
129
+ "name": "toStateId",
130
+ "type": "uint8"
142
131
  }
143
132
  ],
144
- "name": "ErrorRoleIdNotActive",
133
+ "name": "ErrorInvalidStateTransition",
145
134
  "type": "error"
146
135
  },
147
136
  {
148
137
  "inputs": [
149
138
  {
150
- "internalType": "RoleId",
151
- "name": "roleId",
152
- "type": "uint64"
139
+ "internalType": "NftId",
140
+ "name": "nftId",
141
+ "type": "uint96"
153
142
  }
154
143
  ],
155
- "name": "ErrorRoleIdTooBig",
144
+ "name": "ErrorNftOwnableAlreadyLinked",
156
145
  "type": "error"
157
146
  },
158
147
  {
159
148
  "inputs": [
160
149
  {
161
- "internalType": "RoleId",
162
- "name": "roleId",
163
- "type": "uint64"
150
+ "internalType": "address",
151
+ "name": "contractAddress",
152
+ "type": "address"
164
153
  }
165
154
  ],
166
- "name": "ErrorRoleIdTooSmall",
155
+ "name": "ErrorNftOwnableContractNotRegistered",
156
+ "type": "error"
157
+ },
158
+ {
159
+ "inputs": [],
160
+ "name": "ErrorNftOwnableInitialOwnerZero",
167
161
  "type": "error"
168
162
  },
169
163
  {
170
164
  "inputs": [
171
165
  {
172
- "internalType": "RoleId",
173
- "name": "roleId",
174
- "type": "uint64"
166
+ "internalType": "address",
167
+ "name": "account",
168
+ "type": "address"
175
169
  }
176
170
  ],
177
- "name": "ErrorRoleNameEmpty",
171
+ "name": "ErrorNftOwnableNotOwner",
178
172
  "type": "error"
179
173
  },
180
174
  {
181
175
  "inputs": [
182
176
  {
183
- "internalType": "RoleId",
184
- "name": "roleId",
185
- "type": "uint64"
177
+ "internalType": "NftId",
178
+ "name": "nftId",
179
+ "type": "uint96"
186
180
  },
187
181
  {
188
- "internalType": "ShortString",
189
- "name": "name",
190
- "type": "bytes32"
182
+ "internalType": "ObjectType",
183
+ "name": "objectType",
184
+ "type": "uint8"
191
185
  }
192
186
  ],
193
- "name": "ErrorRoleNameNotUnique",
187
+ "name": "ErrorNoLifecycle",
194
188
  "type": "error"
195
189
  },
196
190
  {
197
191
  "inputs": [
198
192
  {
199
193
  "internalType": "address",
200
- "name": "target",
194
+ "name": "registryAddress",
201
195
  "type": "address"
202
196
  }
203
197
  ],
204
- "name": "ErrorTargetDoesNotExist",
198
+ "name": "ErrorNotRegistry",
205
199
  "type": "error"
206
200
  },
207
201
  {
208
202
  "inputs": [],
209
- "name": "InvalidShortString",
203
+ "name": "InvalidInitialization",
210
204
  "type": "error"
211
205
  },
212
206
  {
213
- "inputs": [
214
- {
215
- "internalType": "string",
216
- "name": "str",
217
- "type": "string"
218
- }
219
- ],
220
- "name": "StringTooLong",
207
+ "inputs": [],
208
+ "name": "NotInitializing",
221
209
  "type": "error"
222
210
  },
223
211
  {
@@ -233,6 +221,19 @@
233
221
  "name": "AuthorityUpdated",
234
222
  "type": "event"
235
223
  },
224
+ {
225
+ "anonymous": false,
226
+ "inputs": [
227
+ {
228
+ "indexed": false,
229
+ "internalType": "uint64",
230
+ "name": "version",
231
+ "type": "uint64"
232
+ }
233
+ ],
234
+ "name": "Initialized",
235
+ "type": "event"
236
+ },
236
237
  {
237
238
  "anonymous": false,
238
239
  "inputs": [
@@ -401,6 +402,32 @@
401
402
  "stateMutability": "view",
402
403
  "type": "function"
403
404
  },
405
+ {
406
+ "inputs": [],
407
+ "name": "GIF_MAJOR_VERSION",
408
+ "outputs": [
409
+ {
410
+ "internalType": "uint256",
411
+ "name": "",
412
+ "type": "uint256"
413
+ }
414
+ ],
415
+ "stateMutability": "view",
416
+ "type": "function"
417
+ },
418
+ {
419
+ "inputs": [],
420
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
421
+ "outputs": [
422
+ {
423
+ "internalType": "bytes32",
424
+ "name": "",
425
+ "type": "bytes32"
426
+ }
427
+ ],
428
+ "stateMutability": "view",
429
+ "type": "function"
430
+ },
404
431
  {
405
432
  "inputs": [],
406
433
  "name": "PUBLIC_ROLE",
@@ -414,6 +441,19 @@
414
441
  "stateMutability": "view",
415
442
  "type": "function"
416
443
  },
444
+ {
445
+ "inputs": [],
446
+ "name": "REGISTERABLE_LOCATION_V1",
447
+ "outputs": [
448
+ {
449
+ "internalType": "bytes32",
450
+ "name": "",
451
+ "type": "bytes32"
452
+ }
453
+ ],
454
+ "stateMutability": "view",
455
+ "type": "function"
456
+ },
417
457
  {
418
458
  "inputs": [],
419
459
  "name": "authority",
@@ -453,17 +493,104 @@
453
493
  {
454
494
  "inputs": [
455
495
  {
456
- "internalType": "Key32",
457
- "name": "key32",
458
- "type": "bytes32"
496
+ "internalType": "NftId",
497
+ "name": "applicationNftId",
498
+ "type": "uint96"
459
499
  },
460
500
  {
461
- "internalType": "bytes",
462
- "name": "data",
463
- "type": "bytes"
501
+ "components": [
502
+ {
503
+ "internalType": "NftId",
504
+ "name": "productNftId",
505
+ "type": "uint96"
506
+ },
507
+ {
508
+ "internalType": "NftId",
509
+ "name": "bundleNftId",
510
+ "type": "uint96"
511
+ },
512
+ {
513
+ "internalType": "ReferralId",
514
+ "name": "referralId",
515
+ "type": "bytes8"
516
+ },
517
+ {
518
+ "internalType": "RiskId",
519
+ "name": "riskId",
520
+ "type": "bytes8"
521
+ },
522
+ {
523
+ "internalType": "uint256",
524
+ "name": "sumInsuredAmount",
525
+ "type": "uint256"
526
+ },
527
+ {
528
+ "internalType": "uint256",
529
+ "name": "premiumAmount",
530
+ "type": "uint256"
531
+ },
532
+ {
533
+ "internalType": "uint256",
534
+ "name": "premiumPaidAmount",
535
+ "type": "uint256"
536
+ },
537
+ {
538
+ "internalType": "Seconds",
539
+ "name": "lifetime",
540
+ "type": "uint40"
541
+ },
542
+ {
543
+ "internalType": "bytes",
544
+ "name": "applicationData",
545
+ "type": "bytes"
546
+ },
547
+ {
548
+ "internalType": "bytes",
549
+ "name": "policyData",
550
+ "type": "bytes"
551
+ },
552
+ {
553
+ "internalType": "uint16",
554
+ "name": "claimsCount",
555
+ "type": "uint16"
556
+ },
557
+ {
558
+ "internalType": "uint16",
559
+ "name": "openClaimsCount",
560
+ "type": "uint16"
561
+ },
562
+ {
563
+ "internalType": "Amount",
564
+ "name": "claimAmount",
565
+ "type": "uint96"
566
+ },
567
+ {
568
+ "internalType": "Amount",
569
+ "name": "payoutAmount",
570
+ "type": "uint96"
571
+ },
572
+ {
573
+ "internalType": "Timestamp",
574
+ "name": "activatedAt",
575
+ "type": "uint40"
576
+ },
577
+ {
578
+ "internalType": "Timestamp",
579
+ "name": "expiredAt",
580
+ "type": "uint40"
581
+ },
582
+ {
583
+ "internalType": "Timestamp",
584
+ "name": "closedAt",
585
+ "type": "uint40"
586
+ }
587
+ ],
588
+ "internalType": "struct IPolicy.PolicyInfo",
589
+ "name": "policy",
590
+ "type": "tuple"
464
591
  }
465
592
  ],
466
- "name": "create",
593
+ "name": "createApplication",
467
594
  "outputs": [],
468
595
  "stateMutability": "nonpayable",
469
596
  "type": "function"
@@ -505,19 +632,24 @@
505
632
  "type": "bytes"
506
633
  },
507
634
  {
508
- "internalType": "uint256",
635
+ "internalType": "Amount",
509
636
  "name": "capitalAmount",
510
- "type": "uint256"
637
+ "type": "uint96"
511
638
  },
512
639
  {
513
- "internalType": "uint256",
640
+ "internalType": "Amount",
514
641
  "name": "lockedAmount",
515
- "type": "uint256"
642
+ "type": "uint96"
516
643
  },
517
644
  {
518
- "internalType": "uint256",
519
- "name": "balanceAmount",
520
- "type": "uint256"
645
+ "internalType": "Amount",
646
+ "name": "feeAmount",
647
+ "type": "uint96"
648
+ },
649
+ {
650
+ "internalType": "Seconds",
651
+ "name": "lifetime",
652
+ "type": "uint40"
521
653
  },
522
654
  {
523
655
  "internalType": "Timestamp",
@@ -548,21 +680,31 @@
548
680
  "type": "uint96"
549
681
  },
550
682
  {
551
- "internalType": "NumberId",
683
+ "internalType": "ClaimId",
552
684
  "name": "claimId",
553
- "type": "uint32"
685
+ "type": "uint16"
554
686
  },
555
687
  {
556
688
  "components": [
557
689
  {
558
- "internalType": "uint256",
690
+ "internalType": "Amount",
559
691
  "name": "claimAmount",
560
- "type": "uint256"
692
+ "type": "uint96"
561
693
  },
562
694
  {
563
- "internalType": "uint256",
695
+ "internalType": "Amount",
564
696
  "name": "paidAmount",
565
- "type": "uint256"
697
+ "type": "uint96"
698
+ },
699
+ {
700
+ "internalType": "uint8",
701
+ "name": "payoutsCount",
702
+ "type": "uint8"
703
+ },
704
+ {
705
+ "internalType": "uint8",
706
+ "name": "openPayoutsCount",
707
+ "type": "uint8"
566
708
  },
567
709
  {
568
710
  "internalType": "bytes",
@@ -585,24 +727,6 @@
585
727
  "stateMutability": "nonpayable",
586
728
  "type": "function"
587
729
  },
588
- {
589
- "inputs": [
590
- {
591
- "internalType": "RoleId",
592
- "name": "roleId",
593
- "type": "uint64"
594
- },
595
- {
596
- "internalType": "string",
597
- "name": "name",
598
- "type": "string"
599
- }
600
- ],
601
- "name": "createCustomRole",
602
- "outputs": [],
603
- "stateMutability": "nonpayable",
604
- "type": "function"
605
- },
606
730
  {
607
731
  "inputs": [
608
732
  {
@@ -613,59 +737,15 @@
613
737
  {
614
738
  "components": [
615
739
  {
616
- "internalType": "contract IERC20Metadata",
617
- "name": "token",
618
- "type": "address"
740
+ "internalType": "NftId",
741
+ "name": "productNftId",
742
+ "type": "uint96"
619
743
  },
620
744
  {
621
745
  "internalType": "contract TokenHandler",
622
746
  "name": "tokenHandler",
623
747
  "type": "address"
624
748
  },
625
- {
626
- "internalType": "NftId",
627
- "name": "distributionNftId",
628
- "type": "uint96"
629
- },
630
- {
631
- "internalType": "NftId",
632
- "name": "poolNftId",
633
- "type": "uint96"
634
- },
635
- {
636
- "components": [
637
- {
638
- "internalType": "UFixed",
639
- "name": "fractionalFee",
640
- "type": "uint256"
641
- },
642
- {
643
- "internalType": "uint256",
644
- "name": "fixedFee",
645
- "type": "uint256"
646
- }
647
- ],
648
- "internalType": "struct Fee",
649
- "name": "distributionFee",
650
- "type": "tuple"
651
- },
652
- {
653
- "components": [
654
- {
655
- "internalType": "UFixed",
656
- "name": "fractionalFee",
657
- "type": "uint256"
658
- },
659
- {
660
- "internalType": "uint256",
661
- "name": "fixedFee",
662
- "type": "uint256"
663
- }
664
- ],
665
- "internalType": "struct Fee",
666
- "name": "productFee",
667
- "type": "tuple"
668
- },
669
749
  {
670
750
  "components": [
671
751
  {
@@ -680,7 +760,7 @@
680
760
  }
681
761
  ],
682
762
  "internalType": "struct Fee",
683
- "name": "processingFee",
763
+ "name": "minDistributionOwnerFee",
684
764
  "type": "tuple"
685
765
  },
686
766
  {
@@ -697,45 +777,21 @@
697
777
  }
698
778
  ],
699
779
  "internalType": "struct Fee",
700
- "name": "poolFee",
780
+ "name": "distributionFee",
701
781
  "type": "tuple"
702
782
  },
703
783
  {
704
- "components": [
705
- {
706
- "internalType": "UFixed",
707
- "name": "fractionalFee",
708
- "type": "uint256"
709
- },
710
- {
711
- "internalType": "uint256",
712
- "name": "fixedFee",
713
- "type": "uint256"
714
- }
715
- ],
716
- "internalType": "struct Fee",
717
- "name": "stakingFee",
718
- "type": "tuple"
784
+ "internalType": "address",
785
+ "name": "wallet",
786
+ "type": "address"
719
787
  },
720
788
  {
721
- "components": [
722
- {
723
- "internalType": "UFixed",
724
- "name": "fractionalFee",
725
- "type": "uint256"
726
- },
727
- {
728
- "internalType": "uint256",
729
- "name": "fixedFee",
730
- "type": "uint256"
731
- }
732
- ],
733
- "internalType": "struct Fee",
734
- "name": "performanceFee",
735
- "type": "tuple"
789
+ "internalType": "uint256",
790
+ "name": "sumDistributionOwnerFees",
791
+ "type": "uint256"
736
792
  }
737
793
  ],
738
- "internalType": "struct ISetup.ProductSetupInfo",
794
+ "internalType": "struct ISetup.DistributionSetupInfo",
739
795
  "name": "setup",
740
796
  "type": "tuple"
741
797
  }
@@ -749,25 +805,20 @@
749
805
  "inputs": [
750
806
  {
751
807
  "internalType": "NftId",
752
- "name": "policyNftId",
808
+ "name": "distributorNftId",
753
809
  "type": "uint96"
754
810
  },
755
- {
756
- "internalType": "NumberId",
757
- "name": "payoutId",
758
- "type": "uint32"
759
- },
760
811
  {
761
812
  "components": [
762
813
  {
763
- "internalType": "NumberId",
764
- "name": "claimId",
765
- "type": "uint32"
814
+ "internalType": "DistributorType",
815
+ "name": "distributorType",
816
+ "type": "bytes8"
766
817
  },
767
818
  {
768
- "internalType": "uint256",
769
- "name": "amount",
770
- "type": "uint256"
819
+ "internalType": "bool",
820
+ "name": "active",
821
+ "type": "bool"
771
822
  },
772
823
  {
773
824
  "internalType": "bytes",
@@ -775,13 +826,18 @@
775
826
  "type": "bytes"
776
827
  },
777
828
  {
778
- "internalType": "Timestamp",
779
- "name": "paidAt",
780
- "type": "uint40"
829
+ "internalType": "uint256",
830
+ "name": "sumCommisions",
831
+ "type": "uint256"
832
+ },
833
+ {
834
+ "internalType": "uint256",
835
+ "name": "numPoliciesSold",
836
+ "type": "uint256"
781
837
  }
782
838
  ],
783
- "internalType": "struct IPolicy.PayoutInfo",
784
- "name": "payout",
839
+ "internalType": "struct IDistribution.DistributorInfo",
840
+ "name": "info",
785
841
  "type": "tuple"
786
842
  }
787
843
  ],
@@ -793,40 +849,60 @@
793
849
  {
794
850
  "inputs": [
795
851
  {
796
- "internalType": "NftId",
797
- "name": "policyNftId",
798
- "type": "uint96"
799
- },
800
- {
801
- "internalType": "NumberId",
802
- "name": "payoutId",
803
- "type": "uint32"
852
+ "internalType": "DistributorType",
853
+ "name": "distributorType",
854
+ "type": "bytes8"
804
855
  },
805
856
  {
806
857
  "components": [
807
858
  {
808
- "internalType": "NumberId",
809
- "name": "claimId",
810
- "type": "uint32"
859
+ "internalType": "string",
860
+ "name": "name",
861
+ "type": "string"
811
862
  },
812
863
  {
813
- "internalType": "uint256",
814
- "name": "amount",
864
+ "internalType": "UFixed",
865
+ "name": "minDiscountPercentage",
866
+ "type": "uint256"
867
+ },
868
+ {
869
+ "internalType": "UFixed",
870
+ "name": "maxDiscountPercentage",
871
+ "type": "uint256"
872
+ },
873
+ {
874
+ "internalType": "UFixed",
875
+ "name": "commissionPercentage",
815
876
  "type": "uint256"
816
877
  },
878
+ {
879
+ "internalType": "uint32",
880
+ "name": "maxReferralCount",
881
+ "type": "uint32"
882
+ },
883
+ {
884
+ "internalType": "uint32",
885
+ "name": "maxReferralLifetime",
886
+ "type": "uint32"
887
+ },
888
+ {
889
+ "internalType": "bool",
890
+ "name": "allowSelfReferrals",
891
+ "type": "bool"
892
+ },
893
+ {
894
+ "internalType": "bool",
895
+ "name": "allowRenewals",
896
+ "type": "bool"
897
+ },
817
898
  {
818
899
  "internalType": "bytes",
819
900
  "name": "data",
820
901
  "type": "bytes"
821
- },
822
- {
823
- "internalType": "Timestamp",
824
- "name": "paidAt",
825
- "type": "uint40"
826
902
  }
827
903
  ],
828
- "internalType": "struct IPolicy.PayoutInfo",
829
- "name": "payout",
904
+ "internalType": "struct IDistribution.DistributorTypeInfo",
905
+ "name": "info",
830
906
  "type": "tuple"
831
907
  }
832
908
  ],
@@ -843,21 +919,21 @@
843
919
  "type": "uint96"
844
920
  },
845
921
  {
846
- "internalType": "NumberId",
922
+ "internalType": "PayoutId",
847
923
  "name": "payoutId",
848
- "type": "uint32"
924
+ "type": "uint24"
849
925
  },
850
926
  {
851
927
  "components": [
852
928
  {
853
- "internalType": "NumberId",
929
+ "internalType": "ClaimId",
854
930
  "name": "claimId",
855
- "type": "uint32"
931
+ "type": "uint16"
856
932
  },
857
933
  {
858
- "internalType": "uint256",
934
+ "internalType": "Amount",
859
935
  "name": "amount",
860
- "type": "uint256"
936
+ "type": "uint96"
861
937
  },
862
938
  {
863
939
  "internalType": "bytes",
@@ -884,98 +960,53 @@
884
960
  "inputs": [
885
961
  {
886
962
  "internalType": "NftId",
887
- "name": "policyNftId",
963
+ "name": "poolNftId",
888
964
  "type": "uint96"
889
965
  },
890
966
  {
891
967
  "components": [
892
968
  {
893
- "internalType": "NftId",
894
- "name": "productNftId",
895
- "type": "uint96"
896
- },
897
- {
898
- "internalType": "NftId",
899
- "name": "bundleNftId",
900
- "type": "uint96"
901
- },
902
- {
903
- "internalType": "ReferralId",
904
- "name": "referralId",
905
- "type": "bytes8"
906
- },
907
- {
908
- "internalType": "RiskId",
909
- "name": "riskId",
910
- "type": "bytes8"
969
+ "internalType": "string",
970
+ "name": "name",
971
+ "type": "string"
911
972
  },
912
973
  {
913
- "internalType": "uint256",
914
- "name": "sumInsuredAmount",
915
- "type": "uint256"
974
+ "internalType": "contract IERC20Metadata",
975
+ "name": "token",
976
+ "type": "address"
916
977
  },
917
978
  {
918
- "internalType": "uint256",
919
- "name": "premiumAmount",
920
- "type": "uint256"
979
+ "internalType": "contract TokenHandler",
980
+ "name": "tokenHandler",
981
+ "type": "address"
921
982
  },
922
983
  {
923
- "internalType": "uint256",
924
- "name": "premiumPaidAmount",
925
- "type": "uint256"
984
+ "internalType": "address",
985
+ "name": "wallet",
986
+ "type": "address"
926
987
  },
927
988
  {
928
- "internalType": "uint256",
929
- "name": "lifetime",
930
- "type": "uint256"
989
+ "internalType": "Amount",
990
+ "name": "balanceAmount",
991
+ "type": "uint96"
931
992
  },
932
993
  {
933
- "internalType": "bytes",
934
- "name": "applicationData",
935
- "type": "bytes"
994
+ "internalType": "Amount",
995
+ "name": "feeAmount",
996
+ "type": "uint96"
936
997
  },
937
998
  {
938
999
  "internalType": "bytes",
939
- "name": "policyData",
1000
+ "name": "data",
940
1001
  "type": "bytes"
941
- },
942
- {
943
- "internalType": "uint16",
944
- "name": "claimsCount",
945
- "type": "uint16"
946
- },
947
- {
948
- "internalType": "uint16",
949
- "name": "openClaimsCount",
950
- "type": "uint16"
951
- },
952
- {
953
- "internalType": "uint256",
954
- "name": "payoutAmount",
955
- "type": "uint256"
956
- },
957
- {
958
- "internalType": "Timestamp",
959
- "name": "activatedAt",
960
- "type": "uint40"
961
- },
962
- {
963
- "internalType": "Timestamp",
964
- "name": "expiredAt",
965
- "type": "uint40"
966
- },
967
- {
968
- "internalType": "Timestamp",
969
- "name": "closedAt",
970
- "type": "uint40"
971
1002
  }
972
1003
  ],
973
- "internalType": "struct IPolicy.PolicyInfo",
974
- "name": "policy",
1004
+ "internalType": "struct IComponents.ComponentInfo",
1005
+ "name": "info",
975
1006
  "type": "tuple"
976
1007
  }
977
1008
  ],
978
- "name": "createPolicy",
1009
+ "name": "createPoolSetup",
979
1010
  "outputs": [],
980
1011
  "stateMutability": "nonpayable",
981
1012
  "type": "function"
@@ -984,7 +1015,7 @@
984
1015
  "inputs": [
985
1016
  {
986
1017
  "internalType": "NftId",
987
- "name": "distributionNftId",
1018
+ "name": "productNftId",
988
1019
  "type": "uint96"
989
1020
  },
990
1021
  {
@@ -1009,23 +1040,6 @@
1009
1040
  "name": "poolNftId",
1010
1041
  "type": "uint96"
1011
1042
  },
1012
- {
1013
- "components": [
1014
- {
1015
- "internalType": "UFixed",
1016
- "name": "fractionalFee",
1017
- "type": "uint256"
1018
- },
1019
- {
1020
- "internalType": "uint256",
1021
- "name": "fixedFee",
1022
- "type": "uint256"
1023
- }
1024
- ],
1025
- "internalType": "struct Fee",
1026
- "name": "distributionFee",
1027
- "type": "tuple"
1028
- },
1029
1043
  {
1030
1044
  "components": [
1031
1045
  {
@@ -1061,55 +1075,14 @@
1061
1075
  "type": "tuple"
1062
1076
  },
1063
1077
  {
1064
- "components": [
1065
- {
1066
- "internalType": "UFixed",
1067
- "name": "fractionalFee",
1068
- "type": "uint256"
1069
- },
1070
- {
1071
- "internalType": "uint256",
1072
- "name": "fixedFee",
1073
- "type": "uint256"
1074
- }
1075
- ],
1076
- "internalType": "struct Fee",
1077
- "name": "poolFee",
1078
- "type": "tuple"
1079
- },
1080
- {
1081
- "components": [
1082
- {
1083
- "internalType": "UFixed",
1084
- "name": "fractionalFee",
1085
- "type": "uint256"
1086
- },
1087
- {
1088
- "internalType": "uint256",
1089
- "name": "fixedFee",
1090
- "type": "uint256"
1091
- }
1092
- ],
1093
- "internalType": "struct Fee",
1094
- "name": "stakingFee",
1095
- "type": "tuple"
1078
+ "internalType": "bool",
1079
+ "name": "isIntercepting",
1080
+ "type": "bool"
1096
1081
  },
1097
1082
  {
1098
- "components": [
1099
- {
1100
- "internalType": "UFixed",
1101
- "name": "fractionalFee",
1102
- "type": "uint256"
1103
- },
1104
- {
1105
- "internalType": "uint256",
1106
- "name": "fixedFee",
1107
- "type": "uint256"
1108
- }
1109
- ],
1110
- "internalType": "struct Fee",
1111
- "name": "performanceFee",
1112
- "type": "tuple"
1083
+ "internalType": "address",
1084
+ "name": "wallet",
1085
+ "type": "address"
1113
1086
  }
1114
1087
  ],
1115
1088
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -1117,7 +1090,7 @@
1117
1090
  "type": "tuple"
1118
1091
  }
1119
1092
  ],
1120
- "name": "createPoolSetup",
1093
+ "name": "createProductSetup",
1121
1094
  "outputs": [],
1122
1095
  "stateMutability": "nonpayable",
1123
1096
  "type": "function"
@@ -1125,182 +1098,50 @@
1125
1098
  {
1126
1099
  "inputs": [
1127
1100
  {
1128
- "internalType": "NftId",
1129
- "name": "productNftId",
1130
- "type": "uint96"
1101
+ "internalType": "ReferralId",
1102
+ "name": "referralId",
1103
+ "type": "bytes8"
1131
1104
  },
1132
1105
  {
1133
1106
  "components": [
1134
- {
1135
- "internalType": "contract IERC20Metadata",
1136
- "name": "token",
1137
- "type": "address"
1138
- },
1139
- {
1140
- "internalType": "contract TokenHandler",
1141
- "name": "tokenHandler",
1142
- "type": "address"
1143
- },
1144
- {
1145
- "internalType": "NftId",
1146
- "name": "distributionNftId",
1147
- "type": "uint96"
1148
- },
1149
1107
  {
1150
1108
  "internalType": "NftId",
1151
- "name": "poolNftId",
1109
+ "name": "distributorNftId",
1152
1110
  "type": "uint96"
1153
1111
  },
1154
1112
  {
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": "distributionFee",
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": "productFee",
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": "processingFee",
1203
- "type": "tuple"
1113
+ "internalType": "string",
1114
+ "name": "referralCode",
1115
+ "type": "string"
1204
1116
  },
1205
1117
  {
1206
- "components": [
1207
- {
1208
- "internalType": "UFixed",
1209
- "name": "fractionalFee",
1210
- "type": "uint256"
1211
- },
1212
- {
1213
- "internalType": "uint256",
1214
- "name": "fixedFee",
1215
- "type": "uint256"
1216
- }
1217
- ],
1218
- "internalType": "struct Fee",
1219
- "name": "poolFee",
1220
- "type": "tuple"
1118
+ "internalType": "UFixed",
1119
+ "name": "discountPercentage",
1120
+ "type": "uint256"
1221
1121
  },
1222
1122
  {
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": "stakingFee",
1237
- "type": "tuple"
1123
+ "internalType": "uint32",
1124
+ "name": "maxReferrals",
1125
+ "type": "uint32"
1238
1126
  },
1239
1127
  {
1240
- "components": [
1241
- {
1242
- "internalType": "UFixed",
1243
- "name": "fractionalFee",
1244
- "type": "uint256"
1245
- },
1246
- {
1247
- "internalType": "uint256",
1248
- "name": "fixedFee",
1249
- "type": "uint256"
1250
- }
1251
- ],
1252
- "internalType": "struct Fee",
1253
- "name": "performanceFee",
1254
- "type": "tuple"
1255
- }
1256
- ],
1257
- "internalType": "struct ISetup.ProductSetupInfo",
1258
- "name": "setup",
1259
- "type": "tuple"
1260
- }
1261
- ],
1262
- "name": "createProductSetup",
1263
- "outputs": [],
1264
- "stateMutability": "nonpayable",
1265
- "type": "function"
1266
- },
1267
- {
1268
- "inputs": [
1269
- {
1270
- "internalType": "NftId",
1271
- "name": "policyNftId",
1272
- "type": "uint96"
1273
- },
1274
- {
1275
- "internalType": "NumberId",
1276
- "name": "payoutId",
1277
- "type": "uint32"
1278
- },
1279
- {
1280
- "components": [
1281
- {
1282
- "internalType": "NumberId",
1283
- "name": "claimId",
1128
+ "internalType": "uint32",
1129
+ "name": "usedReferrals",
1284
1130
  "type": "uint32"
1285
1131
  },
1286
1132
  {
1287
- "internalType": "uint256",
1288
- "name": "amount",
1289
- "type": "uint256"
1133
+ "internalType": "Timestamp",
1134
+ "name": "expiryAt",
1135
+ "type": "uint40"
1290
1136
  },
1291
1137
  {
1292
1138
  "internalType": "bytes",
1293
1139
  "name": "data",
1294
1140
  "type": "bytes"
1295
- },
1296
- {
1297
- "internalType": "Timestamp",
1298
- "name": "paidAt",
1299
- "type": "uint40"
1300
1141
  }
1301
1142
  ],
1302
- "internalType": "struct IPolicy.PayoutInfo",
1303
- "name": "payout",
1143
+ "internalType": "struct IDistribution.ReferralInfo",
1144
+ "name": "referralInfo",
1304
1145
  "type": "tuple"
1305
1146
  }
1306
1147
  ],
@@ -1339,54 +1180,6 @@
1339
1180
  "stateMutability": "nonpayable",
1340
1181
  "type": "function"
1341
1182
  },
1342
- {
1343
- "inputs": [
1344
- {
1345
- "internalType": "RoleId",
1346
- "name": "roleId",
1347
- "type": "uint64"
1348
- },
1349
- {
1350
- "internalType": "string",
1351
- "name": "name",
1352
- "type": "string"
1353
- }
1354
- ],
1355
- "name": "createStandardRole",
1356
- "outputs": [],
1357
- "stateMutability": "nonpayable",
1358
- "type": "function"
1359
- },
1360
- {
1361
- "inputs": [
1362
- {
1363
- "internalType": "address",
1364
- "name": "target",
1365
- "type": "address"
1366
- },
1367
- {
1368
- "components": [
1369
- {
1370
- "internalType": "ShortString",
1371
- "name": "name",
1372
- "type": "bytes32"
1373
- },
1374
- {
1375
- "internalType": "bool",
1376
- "name": "isCustom",
1377
- "type": "bool"
1378
- }
1379
- ],
1380
- "internalType": "struct IAccess.TargetInfo",
1381
- "name": "targetInfo",
1382
- "type": "tuple"
1383
- }
1384
- ],
1385
- "name": "createTarget",
1386
- "outputs": [],
1387
- "stateMutability": "nonpayable",
1388
- "type": "function"
1389
- },
1390
1183
  {
1391
1184
  "inputs": [
1392
1185
  {
@@ -1465,8 +1258,21 @@
1465
1258
  "type": "function"
1466
1259
  },
1467
1260
  {
1468
- "inputs": [
1469
- {
1261
+ "inputs": [],
1262
+ "name": "getBundleManager",
1263
+ "outputs": [
1264
+ {
1265
+ "internalType": "contract BundleManager",
1266
+ "name": "",
1267
+ "type": "address"
1268
+ }
1269
+ ],
1270
+ "stateMutability": "view",
1271
+ "type": "function"
1272
+ },
1273
+ {
1274
+ "inputs": [
1275
+ {
1470
1276
  "internalType": "Key32",
1471
1277
  "name": "key32",
1472
1278
  "type": "bytes32"
@@ -1483,6 +1289,56 @@
1483
1289
  "stateMutability": "view",
1484
1290
  "type": "function"
1485
1291
  },
1292
+ {
1293
+ "inputs": [],
1294
+ "name": "getInitialInfo",
1295
+ "outputs": [
1296
+ {
1297
+ "components": [
1298
+ {
1299
+ "internalType": "NftId",
1300
+ "name": "nftId",
1301
+ "type": "uint96"
1302
+ },
1303
+ {
1304
+ "internalType": "NftId",
1305
+ "name": "parentNftId",
1306
+ "type": "uint96"
1307
+ },
1308
+ {
1309
+ "internalType": "ObjectType",
1310
+ "name": "objectType",
1311
+ "type": "uint8"
1312
+ },
1313
+ {
1314
+ "internalType": "bool",
1315
+ "name": "isInterceptor",
1316
+ "type": "bool"
1317
+ },
1318
+ {
1319
+ "internalType": "address",
1320
+ "name": "objectAddress",
1321
+ "type": "address"
1322
+ },
1323
+ {
1324
+ "internalType": "address",
1325
+ "name": "initialOwner",
1326
+ "type": "address"
1327
+ },
1328
+ {
1329
+ "internalType": "bytes",
1330
+ "name": "data",
1331
+ "type": "bytes"
1332
+ }
1333
+ ],
1334
+ "internalType": "struct IRegistry.ObjectInfo",
1335
+ "name": "info",
1336
+ "type": "tuple"
1337
+ }
1338
+ ],
1339
+ "stateMutability": "view",
1340
+ "type": "function"
1341
+ },
1486
1342
  {
1487
1343
  "inputs": [
1488
1344
  {
@@ -1502,6 +1358,45 @@
1502
1358
  "stateMutability": "view",
1503
1359
  "type": "function"
1504
1360
  },
1361
+ {
1362
+ "inputs": [],
1363
+ "name": "getInstanceAccessManager",
1364
+ "outputs": [
1365
+ {
1366
+ "internalType": "contract InstanceAccessManager",
1367
+ "name": "",
1368
+ "type": "address"
1369
+ }
1370
+ ],
1371
+ "stateMutability": "view",
1372
+ "type": "function"
1373
+ },
1374
+ {
1375
+ "inputs": [],
1376
+ "name": "getInstanceReader",
1377
+ "outputs": [
1378
+ {
1379
+ "internalType": "contract InstanceReader",
1380
+ "name": "",
1381
+ "type": "address"
1382
+ }
1383
+ ],
1384
+ "stateMutability": "view",
1385
+ "type": "function"
1386
+ },
1387
+ {
1388
+ "inputs": [],
1389
+ "name": "getMajorVersion",
1390
+ "outputs": [
1391
+ {
1392
+ "internalType": "VersionPart",
1393
+ "name": "majorVersion",
1394
+ "type": "uint8"
1395
+ }
1396
+ ],
1397
+ "stateMutability": "pure",
1398
+ "type": "function"
1399
+ },
1505
1400
  {
1506
1401
  "inputs": [
1507
1402
  {
@@ -1549,73 +1444,38 @@
1549
1444
  "type": "function"
1550
1445
  },
1551
1446
  {
1552
- "inputs": [
1553
- {
1554
- "internalType": "RoleId",
1555
- "name": "roleId",
1556
- "type": "uint64"
1557
- }
1558
- ],
1559
- "name": "getRole",
1447
+ "inputs": [],
1448
+ "name": "getNftId",
1560
1449
  "outputs": [
1561
1450
  {
1562
- "components": [
1563
- {
1564
- "internalType": "ShortString",
1565
- "name": "name",
1566
- "type": "bytes32"
1567
- },
1568
- {
1569
- "internalType": "bool",
1570
- "name": "isCustom",
1571
- "type": "bool"
1572
- }
1573
- ],
1574
- "internalType": "struct IAccess.RoleInfo",
1575
- "name": "role",
1576
- "type": "tuple"
1451
+ "internalType": "NftId",
1452
+ "name": "",
1453
+ "type": "uint96"
1577
1454
  }
1578
1455
  ],
1579
1456
  "stateMutability": "view",
1580
1457
  "type": "function"
1581
1458
  },
1582
1459
  {
1583
- "inputs": [
1584
- {
1585
- "internalType": "uint256",
1586
- "name": "idx",
1587
- "type": "uint256"
1588
- }
1589
- ],
1590
- "name": "getRoleId",
1460
+ "inputs": [],
1461
+ "name": "getOwner",
1591
1462
  "outputs": [
1592
1463
  {
1593
- "internalType": "RoleId",
1594
- "name": "roleId",
1595
- "type": "uint64"
1464
+ "internalType": "address",
1465
+ "name": "",
1466
+ "type": "address"
1596
1467
  }
1597
1468
  ],
1598
1469
  "stateMutability": "view",
1599
1470
  "type": "function"
1600
1471
  },
1601
1472
  {
1602
- "inputs": [
1603
- {
1604
- "internalType": "RoleId",
1605
- "name": "roleId",
1606
- "type": "uint64"
1607
- },
1608
- {
1609
- "internalType": "uint256",
1610
- "name": "idx",
1611
- "type": "uint256"
1612
- }
1613
- ],
1614
- "name": "getRoleMember",
1473
+ "inputs": [],
1474
+ "name": "getRegistry",
1615
1475
  "outputs": [
1616
1476
  {
1617
- "internalType": "address",
1618
- "name": "roleMember",
1477
+ "internalType": "contract IRegistry",
1478
+ "name": "",
1619
1479
  "type": "address"
1620
1480
  }
1621
1481
  ],
@@ -1644,44 +1504,126 @@
1644
1504
  {
1645
1505
  "inputs": [
1646
1506
  {
1647
- "internalType": "RoleId",
1648
- "name": "roleId",
1649
- "type": "uint64"
1507
+ "internalType": "ObjectType",
1508
+ "name": "objectType",
1509
+ "type": "uint8"
1510
+ }
1511
+ ],
1512
+ "name": "hasLifecycle",
1513
+ "outputs": [
1514
+ {
1515
+ "internalType": "bool",
1516
+ "name": "",
1517
+ "type": "bool"
1518
+ }
1519
+ ],
1520
+ "stateMutability": "view",
1521
+ "type": "function"
1522
+ },
1523
+ {
1524
+ "inputs": [
1525
+ {
1526
+ "internalType": "address",
1527
+ "name": "authority",
1528
+ "type": "address"
1650
1529
  },
1651
1530
  {
1652
1531
  "internalType": "address",
1653
- "name": "member",
1532
+ "name": "registryAddress",
1533
+ "type": "address"
1534
+ },
1535
+ {
1536
+ "internalType": "address",
1537
+ "name": "initialOwner",
1654
1538
  "type": "address"
1655
1539
  }
1656
1540
  ],
1657
- "name": "grantRole",
1658
- "outputs": [
1541
+ "name": "initialize",
1542
+ "outputs": [],
1543
+ "stateMutability": "nonpayable",
1544
+ "type": "function"
1545
+ },
1546
+ {
1547
+ "inputs": [],
1548
+ "name": "initializeERC165",
1549
+ "outputs": [],
1550
+ "stateMutability": "nonpayable",
1551
+ "type": "function"
1552
+ },
1553
+ {
1554
+ "inputs": [],
1555
+ "name": "initializeLifecycle",
1556
+ "outputs": [],
1557
+ "stateMutability": "nonpayable",
1558
+ "type": "function"
1559
+ },
1560
+ {
1561
+ "inputs": [
1659
1562
  {
1660
- "internalType": "bool",
1661
- "name": "granted",
1662
- "type": "bool"
1563
+ "internalType": "address",
1564
+ "name": "initialOwner",
1565
+ "type": "address"
1566
+ },
1567
+ {
1568
+ "internalType": "address",
1569
+ "name": "registryAddress",
1570
+ "type": "address"
1663
1571
  }
1664
1572
  ],
1573
+ "name": "initializeNftOwnable",
1574
+ "outputs": [],
1665
1575
  "stateMutability": "nonpayable",
1666
1576
  "type": "function"
1667
1577
  },
1668
1578
  {
1669
1579
  "inputs": [
1580
+ {
1581
+ "internalType": "address",
1582
+ "name": "registryAddress",
1583
+ "type": "address"
1584
+ },
1585
+ {
1586
+ "internalType": "NftId",
1587
+ "name": "parentNftId",
1588
+ "type": "uint96"
1589
+ },
1670
1590
  {
1671
1591
  "internalType": "ObjectType",
1672
1592
  "name": "objectType",
1673
1593
  "type": "uint8"
1674
- }
1675
- ],
1676
- "name": "hasLifecycle",
1677
- "outputs": [
1594
+ },
1678
1595
  {
1679
1596
  "internalType": "bool",
1680
- "name": "",
1597
+ "name": "isInterceptor",
1681
1598
  "type": "bool"
1599
+ },
1600
+ {
1601
+ "internalType": "address",
1602
+ "name": "initialOwner",
1603
+ "type": "address"
1604
+ },
1605
+ {
1606
+ "internalType": "bytes",
1607
+ "name": "registryData",
1608
+ "type": "bytes"
1682
1609
  }
1683
1610
  ],
1684
- "stateMutability": "view",
1611
+ "name": "initializeRegisterable",
1612
+ "outputs": [],
1613
+ "stateMutability": "nonpayable",
1614
+ "type": "function"
1615
+ },
1616
+ {
1617
+ "inputs": [
1618
+ {
1619
+ "internalType": "address",
1620
+ "name": "registryAddress",
1621
+ "type": "address"
1622
+ }
1623
+ ],
1624
+ "name": "initializeRegistryLinked",
1625
+ "outputs": [],
1626
+ "stateMutability": "nonpayable",
1685
1627
  "type": "function"
1686
1628
  },
1687
1629
  {
@@ -1726,90 +1668,102 @@
1726
1668
  "stateMutability": "view",
1727
1669
  "type": "function"
1728
1670
  },
1671
+ {
1672
+ "inputs": [],
1673
+ "name": "linkToRegisteredNftId",
1674
+ "outputs": [],
1675
+ "stateMutability": "nonpayable",
1676
+ "type": "function"
1677
+ },
1729
1678
  {
1730
1679
  "inputs": [
1731
1680
  {
1732
- "internalType": "RoleId",
1733
- "name": "roleId",
1734
- "type": "uint64"
1735
- }
1736
- ],
1737
- "name": "renounceRole",
1738
- "outputs": [
1681
+ "internalType": "address",
1682
+ "name": "to",
1683
+ "type": "address"
1684
+ },
1739
1685
  {
1740
- "internalType": "bool",
1741
- "name": "revoked",
1742
- "type": "bool"
1686
+ "internalType": "uint256",
1687
+ "name": "tokenId",
1688
+ "type": "uint256"
1743
1689
  }
1744
1690
  ],
1691
+ "name": "nftMint",
1692
+ "outputs": [],
1745
1693
  "stateMutability": "nonpayable",
1746
1694
  "type": "function"
1747
1695
  },
1748
1696
  {
1749
1697
  "inputs": [
1750
1698
  {
1751
- "internalType": "RoleId",
1752
- "name": "roleId",
1753
- "type": "uint64"
1699
+ "internalType": "address",
1700
+ "name": "from",
1701
+ "type": "address"
1754
1702
  },
1755
1703
  {
1756
1704
  "internalType": "address",
1757
- "name": "member",
1705
+ "name": "to",
1758
1706
  "type": "address"
1759
- }
1760
- ],
1761
- "name": "revokeRole",
1762
- "outputs": [
1707
+ },
1763
1708
  {
1764
- "internalType": "bool",
1765
- "name": "revoked",
1766
- "type": "bool"
1709
+ "internalType": "uint256",
1710
+ "name": "tokenId",
1711
+ "type": "uint256"
1767
1712
  }
1768
1713
  ],
1714
+ "name": "nftTransferFrom",
1715
+ "outputs": [],
1769
1716
  "stateMutability": "nonpayable",
1770
1717
  "type": "function"
1771
1718
  },
1772
1719
  {
1773
1720
  "inputs": [
1774
1721
  {
1775
- "internalType": "RoleId",
1776
- "name": "roleId",
1777
- "type": "uint64"
1722
+ "internalType": "bytes4",
1723
+ "name": "interfaceId",
1724
+ "type": "bytes4"
1778
1725
  }
1779
1726
  ],
1780
- "name": "roleMembers",
1781
- "outputs": [
1727
+ "name": "registerInterface",
1728
+ "outputs": [],
1729
+ "stateMutability": "nonpayable",
1730
+ "type": "function"
1731
+ },
1732
+ {
1733
+ "inputs": [
1782
1734
  {
1783
- "internalType": "uint256",
1784
- "name": "numberOfMembers",
1785
- "type": "uint256"
1735
+ "internalType": "address",
1736
+ "name": "newAuthority",
1737
+ "type": "address"
1786
1738
  }
1787
1739
  ],
1788
- "stateMutability": "view",
1740
+ "name": "setAuthority",
1741
+ "outputs": [],
1742
+ "stateMutability": "nonpayable",
1789
1743
  "type": "function"
1790
1744
  },
1791
1745
  {
1792
- "inputs": [],
1793
- "name": "roles",
1794
- "outputs": [
1746
+ "inputs": [
1795
1747
  {
1796
- "internalType": "uint256",
1797
- "name": "numberOfRoles",
1798
- "type": "uint256"
1748
+ "internalType": "contract BundleManager",
1749
+ "name": "bundleManager",
1750
+ "type": "address"
1799
1751
  }
1800
1752
  ],
1801
- "stateMutability": "view",
1753
+ "name": "setBundleManager",
1754
+ "outputs": [],
1755
+ "stateMutability": "nonpayable",
1802
1756
  "type": "function"
1803
1757
  },
1804
1758
  {
1805
1759
  "inputs": [
1806
1760
  {
1807
- "internalType": "address",
1808
- "name": "newAuthority",
1761
+ "internalType": "contract InstanceAccessManager",
1762
+ "name": "accessManager",
1809
1763
  "type": "address"
1810
1764
  }
1811
1765
  ],
1812
- "name": "setAuthority",
1766
+ "name": "setInstanceAccessManager",
1813
1767
  "outputs": [],
1814
1768
  "stateMutability": "nonpayable",
1815
1769
  "type": "function"
@@ -1817,17 +1771,12 @@
1817
1771
  {
1818
1772
  "inputs": [
1819
1773
  {
1820
- "internalType": "address",
1821
- "name": "target",
1774
+ "internalType": "contract InstanceReader",
1775
+ "name": "instanceReader",
1822
1776
  "type": "address"
1823
- },
1824
- {
1825
- "internalType": "bool",
1826
- "name": "closed",
1827
- "type": "bool"
1828
1777
  }
1829
1778
  ],
1830
- "name": "setTargetClosed",
1779
+ "name": "setInstanceReader",
1831
1780
  "outputs": [],
1832
1781
  "stateMutability": "nonpayable",
1833
1782
  "type": "function"
@@ -1835,20 +1784,20 @@
1835
1784
  {
1836
1785
  "inputs": [
1837
1786
  {
1838
- "internalType": "NftId",
1839
- "name": "bundleNftId",
1840
- "type": "uint96"
1787
+ "internalType": "bytes4",
1788
+ "name": "interfaceId",
1789
+ "type": "bytes4"
1841
1790
  }
1842
1791
  ],
1843
- "name": "toBundleKey32",
1792
+ "name": "supportsInterface",
1844
1793
  "outputs": [
1845
1794
  {
1846
- "internalType": "Key32",
1795
+ "internalType": "bool",
1847
1796
  "name": "",
1848
- "type": "bytes32"
1797
+ "type": "bool"
1849
1798
  }
1850
1799
  ],
1851
- "stateMutability": "pure",
1800
+ "stateMutability": "view",
1852
1801
  "type": "function"
1853
1802
  },
1854
1803
  {
@@ -1879,78 +1828,126 @@
1879
1828
  "inputs": [
1880
1829
  {
1881
1830
  "internalType": "NftId",
1882
- "name": "policyNftId",
1831
+ "name": "applicationNftId",
1883
1832
  "type": "uint96"
1884
- }
1885
- ],
1886
- "name": "toPolicyKey32",
1887
- "outputs": [
1888
- {
1889
- "internalType": "Key32",
1890
- "name": "",
1891
- "type": "bytes32"
1892
- }
1893
- ],
1894
- "stateMutability": "pure",
1895
- "type": "function"
1896
- },
1897
- {
1898
- "inputs": [
1899
- {
1900
- "internalType": "RoleId",
1901
- "name": "roleId",
1902
- "type": "uint64"
1903
- }
1904
- ],
1905
- "name": "toRoleKey32",
1906
- "outputs": [
1907
- {
1908
- "internalType": "Key32",
1909
- "name": "",
1910
- "type": "bytes32"
1911
- }
1912
- ],
1913
- "stateMutability": "pure",
1914
- "type": "function"
1915
- },
1916
- {
1917
- "inputs": [
1833
+ },
1918
1834
  {
1919
- "internalType": "address",
1920
- "name": "target",
1921
- "type": "address"
1922
- }
1923
- ],
1924
- "name": "toTargetKey32",
1925
- "outputs": [
1835
+ "components": [
1836
+ {
1837
+ "internalType": "NftId",
1838
+ "name": "productNftId",
1839
+ "type": "uint96"
1840
+ },
1841
+ {
1842
+ "internalType": "NftId",
1843
+ "name": "bundleNftId",
1844
+ "type": "uint96"
1845
+ },
1846
+ {
1847
+ "internalType": "ReferralId",
1848
+ "name": "referralId",
1849
+ "type": "bytes8"
1850
+ },
1851
+ {
1852
+ "internalType": "RiskId",
1853
+ "name": "riskId",
1854
+ "type": "bytes8"
1855
+ },
1856
+ {
1857
+ "internalType": "uint256",
1858
+ "name": "sumInsuredAmount",
1859
+ "type": "uint256"
1860
+ },
1861
+ {
1862
+ "internalType": "uint256",
1863
+ "name": "premiumAmount",
1864
+ "type": "uint256"
1865
+ },
1866
+ {
1867
+ "internalType": "uint256",
1868
+ "name": "premiumPaidAmount",
1869
+ "type": "uint256"
1870
+ },
1871
+ {
1872
+ "internalType": "Seconds",
1873
+ "name": "lifetime",
1874
+ "type": "uint40"
1875
+ },
1876
+ {
1877
+ "internalType": "bytes",
1878
+ "name": "applicationData",
1879
+ "type": "bytes"
1880
+ },
1881
+ {
1882
+ "internalType": "bytes",
1883
+ "name": "policyData",
1884
+ "type": "bytes"
1885
+ },
1886
+ {
1887
+ "internalType": "uint16",
1888
+ "name": "claimsCount",
1889
+ "type": "uint16"
1890
+ },
1891
+ {
1892
+ "internalType": "uint16",
1893
+ "name": "openClaimsCount",
1894
+ "type": "uint16"
1895
+ },
1896
+ {
1897
+ "internalType": "Amount",
1898
+ "name": "claimAmount",
1899
+ "type": "uint96"
1900
+ },
1901
+ {
1902
+ "internalType": "Amount",
1903
+ "name": "payoutAmount",
1904
+ "type": "uint96"
1905
+ },
1906
+ {
1907
+ "internalType": "Timestamp",
1908
+ "name": "activatedAt",
1909
+ "type": "uint40"
1910
+ },
1911
+ {
1912
+ "internalType": "Timestamp",
1913
+ "name": "expiredAt",
1914
+ "type": "uint40"
1915
+ },
1916
+ {
1917
+ "internalType": "Timestamp",
1918
+ "name": "closedAt",
1919
+ "type": "uint40"
1920
+ }
1921
+ ],
1922
+ "internalType": "struct IPolicy.PolicyInfo",
1923
+ "name": "policy",
1924
+ "type": "tuple"
1925
+ },
1926
1926
  {
1927
- "internalType": "Key32",
1928
- "name": "",
1929
- "type": "bytes32"
1927
+ "internalType": "StateId",
1928
+ "name": "newState",
1929
+ "type": "uint8"
1930
1930
  }
1931
1931
  ],
1932
- "stateMutability": "pure",
1932
+ "name": "updateApplication",
1933
+ "outputs": [],
1934
+ "stateMutability": "nonpayable",
1933
1935
  "type": "function"
1934
1936
  },
1935
- {
1936
- "inputs": [
1937
- {
1938
- "internalType": "Key32",
1939
- "name": "key32",
1940
- "type": "bytes32"
1941
- },
1937
+ {
1938
+ "inputs": [
1942
1939
  {
1943
- "internalType": "bytes",
1944
- "name": "data",
1945
- "type": "bytes"
1940
+ "internalType": "NftId",
1941
+ "name": "applicationNftId",
1942
+ "type": "uint96"
1946
1943
  },
1947
1944
  {
1948
1945
  "internalType": "StateId",
1949
- "name": "state",
1946
+ "name": "newState",
1950
1947
  "type": "uint8"
1951
1948
  }
1952
1949
  ],
1953
- "name": "update",
1950
+ "name": "updateApplicationState",
1954
1951
  "outputs": [],
1955
1952
  "stateMutability": "nonpayable",
1956
1953
  "type": "function"
@@ -1992,19 +1989,24 @@
1992
1989
  "type": "bytes"
1993
1990
  },
1994
1991
  {
1995
- "internalType": "uint256",
1992
+ "internalType": "Amount",
1996
1993
  "name": "capitalAmount",
1997
- "type": "uint256"
1994
+ "type": "uint96"
1998
1995
  },
1999
1996
  {
2000
- "internalType": "uint256",
1997
+ "internalType": "Amount",
2001
1998
  "name": "lockedAmount",
2002
- "type": "uint256"
1999
+ "type": "uint96"
2003
2000
  },
2004
2001
  {
2005
- "internalType": "uint256",
2006
- "name": "balanceAmount",
2007
- "type": "uint256"
2002
+ "internalType": "Amount",
2003
+ "name": "feeAmount",
2004
+ "type": "uint96"
2005
+ },
2006
+ {
2007
+ "internalType": "Seconds",
2008
+ "name": "lifetime",
2009
+ "type": "uint40"
2008
2010
  },
2009
2011
  {
2010
2012
  "internalType": "Timestamp",
@@ -2058,21 +2060,31 @@
2058
2060
  "type": "uint96"
2059
2061
  },
2060
2062
  {
2061
- "internalType": "NumberId",
2063
+ "internalType": "ClaimId",
2062
2064
  "name": "claimId",
2063
- "type": "uint32"
2065
+ "type": "uint16"
2064
2066
  },
2065
2067
  {
2066
2068
  "components": [
2067
2069
  {
2068
- "internalType": "uint256",
2070
+ "internalType": "Amount",
2069
2071
  "name": "claimAmount",
2070
- "type": "uint256"
2072
+ "type": "uint96"
2071
2073
  },
2072
2074
  {
2073
- "internalType": "uint256",
2075
+ "internalType": "Amount",
2074
2076
  "name": "paidAmount",
2075
- "type": "uint256"
2077
+ "type": "uint96"
2078
+ },
2079
+ {
2080
+ "internalType": "uint8",
2081
+ "name": "payoutsCount",
2082
+ "type": "uint8"
2083
+ },
2084
+ {
2085
+ "internalType": "uint8",
2086
+ "name": "openPayoutsCount",
2087
+ "type": "uint8"
2076
2088
  },
2077
2089
  {
2078
2090
  "internalType": "bytes",
@@ -2108,54 +2120,9 @@
2108
2120
  "type": "uint96"
2109
2121
  },
2110
2122
  {
2111
- "internalType": "NumberId",
2112
- "name": "payoutId",
2113
- "type": "uint32"
2114
- },
2115
- {
2116
- "components": [
2117
- {
2118
- "internalType": "NumberId",
2119
- "name": "claimId",
2120
- "type": "uint32"
2121
- },
2122
- {
2123
- "internalType": "uint256",
2124
- "name": "amount",
2125
- "type": "uint256"
2126
- },
2127
- {
2128
- "internalType": "bytes",
2129
- "name": "data",
2130
- "type": "bytes"
2131
- },
2132
- {
2133
- "internalType": "Timestamp",
2134
- "name": "paidAt",
2135
- "type": "uint40"
2136
- }
2137
- ],
2138
- "internalType": "struct IPolicy.PayoutInfo",
2139
- "name": "payout",
2140
- "type": "tuple"
2141
- },
2142
- {
2143
- "internalType": "StateId",
2144
- "name": "newState",
2145
- "type": "uint8"
2146
- }
2147
- ],
2148
- "name": "updateClaim",
2149
- "outputs": [],
2150
- "stateMutability": "nonpayable",
2151
- "type": "function"
2152
- },
2153
- {
2154
- "inputs": [
2155
- {
2156
- "internalType": "NftId",
2157
- "name": "policyNftId",
2158
- "type": "uint96"
2123
+ "internalType": "ClaimId",
2124
+ "name": "claimId",
2125
+ "type": "uint16"
2159
2126
  },
2160
2127
  {
2161
2128
  "internalType": "StateId",
@@ -2168,24 +2135,6 @@
2168
2135
  "stateMutability": "nonpayable",
2169
2136
  "type": "function"
2170
2137
  },
2171
- {
2172
- "inputs": [
2173
- {
2174
- "internalType": "Key32",
2175
- "name": "key32",
2176
- "type": "bytes32"
2177
- },
2178
- {
2179
- "internalType": "bytes",
2180
- "name": "data",
2181
- "type": "bytes"
2182
- }
2183
- ],
2184
- "name": "updateData",
2185
- "outputs": [],
2186
- "stateMutability": "nonpayable",
2187
- "type": "function"
2188
- },
2189
2138
  {
2190
2139
  "inputs": [
2191
2140
  {
@@ -2196,59 +2145,15 @@
2196
2145
  {
2197
2146
  "components": [
2198
2147
  {
2199
- "internalType": "contract IERC20Metadata",
2200
- "name": "token",
2201
- "type": "address"
2148
+ "internalType": "NftId",
2149
+ "name": "productNftId",
2150
+ "type": "uint96"
2202
2151
  },
2203
2152
  {
2204
2153
  "internalType": "contract TokenHandler",
2205
2154
  "name": "tokenHandler",
2206
2155
  "type": "address"
2207
2156
  },
2208
- {
2209
- "internalType": "NftId",
2210
- "name": "distributionNftId",
2211
- "type": "uint96"
2212
- },
2213
- {
2214
- "internalType": "NftId",
2215
- "name": "poolNftId",
2216
- "type": "uint96"
2217
- },
2218
- {
2219
- "components": [
2220
- {
2221
- "internalType": "UFixed",
2222
- "name": "fractionalFee",
2223
- "type": "uint256"
2224
- },
2225
- {
2226
- "internalType": "uint256",
2227
- "name": "fixedFee",
2228
- "type": "uint256"
2229
- }
2230
- ],
2231
- "internalType": "struct Fee",
2232
- "name": "distributionFee",
2233
- "type": "tuple"
2234
- },
2235
- {
2236
- "components": [
2237
- {
2238
- "internalType": "UFixed",
2239
- "name": "fractionalFee",
2240
- "type": "uint256"
2241
- },
2242
- {
2243
- "internalType": "uint256",
2244
- "name": "fixedFee",
2245
- "type": "uint256"
2246
- }
2247
- ],
2248
- "internalType": "struct Fee",
2249
- "name": "productFee",
2250
- "type": "tuple"
2251
- },
2252
2157
  {
2253
2158
  "components": [
2254
2159
  {
@@ -2263,7 +2168,7 @@
2263
2168
  }
2264
2169
  ],
2265
2170
  "internalType": "struct Fee",
2266
- "name": "processingFee",
2171
+ "name": "minDistributionOwnerFee",
2267
2172
  "type": "tuple"
2268
2173
  },
2269
2174
  {
@@ -2280,45 +2185,21 @@
2280
2185
  }
2281
2186
  ],
2282
2187
  "internalType": "struct Fee",
2283
- "name": "poolFee",
2188
+ "name": "distributionFee",
2284
2189
  "type": "tuple"
2285
2190
  },
2286
2191
  {
2287
- "components": [
2288
- {
2289
- "internalType": "UFixed",
2290
- "name": "fractionalFee",
2291
- "type": "uint256"
2292
- },
2293
- {
2294
- "internalType": "uint256",
2295
- "name": "fixedFee",
2296
- "type": "uint256"
2297
- }
2298
- ],
2299
- "internalType": "struct Fee",
2300
- "name": "stakingFee",
2301
- "type": "tuple"
2192
+ "internalType": "address",
2193
+ "name": "wallet",
2194
+ "type": "address"
2302
2195
  },
2303
2196
  {
2304
- "components": [
2305
- {
2306
- "internalType": "UFixed",
2307
- "name": "fractionalFee",
2308
- "type": "uint256"
2309
- },
2310
- {
2311
- "internalType": "uint256",
2312
- "name": "fixedFee",
2313
- "type": "uint256"
2314
- }
2315
- ],
2316
- "internalType": "struct Fee",
2317
- "name": "performanceFee",
2318
- "type": "tuple"
2197
+ "internalType": "uint256",
2198
+ "name": "sumDistributionOwnerFees",
2199
+ "type": "uint256"
2319
2200
  }
2320
2201
  ],
2321
- "internalType": "struct ISetup.ProductSetupInfo",
2202
+ "internalType": "struct ISetup.DistributionSetupInfo",
2322
2203
  "name": "setup",
2323
2204
  "type": "tuple"
2324
2205
  },
@@ -2355,39 +2236,127 @@
2355
2236
  "inputs": [
2356
2237
  {
2357
2238
  "internalType": "NftId",
2358
- "name": "policyNftId",
2239
+ "name": "distributorNftId",
2359
2240
  "type": "uint96"
2360
2241
  },
2361
2242
  {
2362
- "internalType": "NumberId",
2363
- "name": "payoutId",
2364
- "type": "uint32"
2243
+ "components": [
2244
+ {
2245
+ "internalType": "DistributorType",
2246
+ "name": "distributorType",
2247
+ "type": "bytes8"
2248
+ },
2249
+ {
2250
+ "internalType": "bool",
2251
+ "name": "active",
2252
+ "type": "bool"
2253
+ },
2254
+ {
2255
+ "internalType": "bytes",
2256
+ "name": "data",
2257
+ "type": "bytes"
2258
+ },
2259
+ {
2260
+ "internalType": "uint256",
2261
+ "name": "sumCommisions",
2262
+ "type": "uint256"
2263
+ },
2264
+ {
2265
+ "internalType": "uint256",
2266
+ "name": "numPoliciesSold",
2267
+ "type": "uint256"
2268
+ }
2269
+ ],
2270
+ "internalType": "struct IDistribution.DistributorInfo",
2271
+ "name": "info",
2272
+ "type": "tuple"
2273
+ },
2274
+ {
2275
+ "internalType": "StateId",
2276
+ "name": "newState",
2277
+ "type": "uint8"
2278
+ }
2279
+ ],
2280
+ "name": "updateDistributor",
2281
+ "outputs": [],
2282
+ "stateMutability": "nonpayable",
2283
+ "type": "function"
2284
+ },
2285
+ {
2286
+ "inputs": [
2287
+ {
2288
+ "internalType": "NftId",
2289
+ "name": "distributorNftId",
2290
+ "type": "uint96"
2291
+ },
2292
+ {
2293
+ "internalType": "StateId",
2294
+ "name": "newState",
2295
+ "type": "uint8"
2296
+ }
2297
+ ],
2298
+ "name": "updateDistributorState",
2299
+ "outputs": [],
2300
+ "stateMutability": "nonpayable",
2301
+ "type": "function"
2302
+ },
2303
+ {
2304
+ "inputs": [
2305
+ {
2306
+ "internalType": "DistributorType",
2307
+ "name": "distributorType",
2308
+ "type": "bytes8"
2365
2309
  },
2366
2310
  {
2367
2311
  "components": [
2368
2312
  {
2369
- "internalType": "NumberId",
2370
- "name": "claimId",
2313
+ "internalType": "string",
2314
+ "name": "name",
2315
+ "type": "string"
2316
+ },
2317
+ {
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",
2330
+ "type": "uint256"
2331
+ },
2332
+ {
2333
+ "internalType": "uint32",
2334
+ "name": "maxReferralCount",
2371
2335
  "type": "uint32"
2372
2336
  },
2373
2337
  {
2374
- "internalType": "uint256",
2375
- "name": "amount",
2376
- "type": "uint256"
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"
2377
2351
  },
2378
2352
  {
2379
2353
  "internalType": "bytes",
2380
2354
  "name": "data",
2381
2355
  "type": "bytes"
2382
- },
2383
- {
2384
- "internalType": "Timestamp",
2385
- "name": "paidAt",
2386
- "type": "uint40"
2387
2356
  }
2388
2357
  ],
2389
- "internalType": "struct IPolicy.PayoutInfo",
2390
- "name": "payout",
2358
+ "internalType": "struct IDistribution.DistributorTypeInfo",
2359
+ "name": "info",
2391
2360
  "type": "tuple"
2392
2361
  },
2393
2362
  {
@@ -2396,7 +2365,7 @@
2396
2365
  "type": "uint8"
2397
2366
  }
2398
2367
  ],
2399
- "name": "updateDistributor",
2368
+ "name": "updateDistributorType",
2400
2369
  "outputs": [],
2401
2370
  "stateMutability": "nonpayable",
2402
2371
  "type": "function"
@@ -2404,9 +2373,9 @@
2404
2373
  {
2405
2374
  "inputs": [
2406
2375
  {
2407
- "internalType": "NftId",
2408
- "name": "policyNftId",
2409
- "type": "uint96"
2376
+ "internalType": "DistributorType",
2377
+ "name": "distributorType",
2378
+ "type": "bytes8"
2410
2379
  },
2411
2380
  {
2412
2381
  "internalType": "StateId",
@@ -2414,7 +2383,7 @@
2414
2383
  "type": "uint8"
2415
2384
  }
2416
2385
  ],
2417
- "name": "updateDistributorState",
2386
+ "name": "updateDistributorTypeState",
2418
2387
  "outputs": [],
2419
2388
  "stateMutability": "nonpayable",
2420
2389
  "type": "function"
@@ -2427,21 +2396,21 @@
2427
2396
  "type": "uint96"
2428
2397
  },
2429
2398
  {
2430
- "internalType": "NumberId",
2399
+ "internalType": "PayoutId",
2431
2400
  "name": "payoutId",
2432
- "type": "uint32"
2401
+ "type": "uint24"
2433
2402
  },
2434
2403
  {
2435
2404
  "components": [
2436
2405
  {
2437
- "internalType": "NumberId",
2406
+ "internalType": "ClaimId",
2438
2407
  "name": "claimId",
2439
- "type": "uint32"
2408
+ "type": "uint16"
2440
2409
  },
2441
2410
  {
2442
- "internalType": "uint256",
2411
+ "internalType": "Amount",
2443
2412
  "name": "amount",
2444
- "type": "uint256"
2413
+ "type": "uint96"
2445
2414
  },
2446
2415
  {
2447
2416
  "internalType": "bytes",
@@ -2464,7 +2433,7 @@
2464
2433
  "type": "uint8"
2465
2434
  }
2466
2435
  ],
2467
- "name": "updateDistributorType",
2436
+ "name": "updatePayout",
2468
2437
  "outputs": [],
2469
2438
  "stateMutability": "nonpayable",
2470
2439
  "type": "function"
@@ -2476,13 +2445,18 @@
2476
2445
  "name": "policyNftId",
2477
2446
  "type": "uint96"
2478
2447
  },
2448
+ {
2449
+ "internalType": "PayoutId",
2450
+ "name": "payoutId",
2451
+ "type": "uint24"
2452
+ },
2479
2453
  {
2480
2454
  "internalType": "StateId",
2481
2455
  "name": "newState",
2482
2456
  "type": "uint8"
2483
2457
  }
2484
2458
  ],
2485
- "name": "updateDistributorTypeState",
2459
+ "name": "updatePayoutState",
2486
2460
  "outputs": [],
2487
2461
  "stateMutability": "nonpayable",
2488
2462
  "type": "function"
@@ -2494,13 +2468,105 @@
2494
2468
  "name": "policyNftId",
2495
2469
  "type": "uint96"
2496
2470
  },
2471
+ {
2472
+ "components": [
2473
+ {
2474
+ "internalType": "NftId",
2475
+ "name": "productNftId",
2476
+ "type": "uint96"
2477
+ },
2478
+ {
2479
+ "internalType": "NftId",
2480
+ "name": "bundleNftId",
2481
+ "type": "uint96"
2482
+ },
2483
+ {
2484
+ "internalType": "ReferralId",
2485
+ "name": "referralId",
2486
+ "type": "bytes8"
2487
+ },
2488
+ {
2489
+ "internalType": "RiskId",
2490
+ "name": "riskId",
2491
+ "type": "bytes8"
2492
+ },
2493
+ {
2494
+ "internalType": "uint256",
2495
+ "name": "sumInsuredAmount",
2496
+ "type": "uint256"
2497
+ },
2498
+ {
2499
+ "internalType": "uint256",
2500
+ "name": "premiumAmount",
2501
+ "type": "uint256"
2502
+ },
2503
+ {
2504
+ "internalType": "uint256",
2505
+ "name": "premiumPaidAmount",
2506
+ "type": "uint256"
2507
+ },
2508
+ {
2509
+ "internalType": "Seconds",
2510
+ "name": "lifetime",
2511
+ "type": "uint40"
2512
+ },
2513
+ {
2514
+ "internalType": "bytes",
2515
+ "name": "applicationData",
2516
+ "type": "bytes"
2517
+ },
2518
+ {
2519
+ "internalType": "bytes",
2520
+ "name": "policyData",
2521
+ "type": "bytes"
2522
+ },
2523
+ {
2524
+ "internalType": "uint16",
2525
+ "name": "claimsCount",
2526
+ "type": "uint16"
2527
+ },
2528
+ {
2529
+ "internalType": "uint16",
2530
+ "name": "openClaimsCount",
2531
+ "type": "uint16"
2532
+ },
2533
+ {
2534
+ "internalType": "Amount",
2535
+ "name": "claimAmount",
2536
+ "type": "uint96"
2537
+ },
2538
+ {
2539
+ "internalType": "Amount",
2540
+ "name": "payoutAmount",
2541
+ "type": "uint96"
2542
+ },
2543
+ {
2544
+ "internalType": "Timestamp",
2545
+ "name": "activatedAt",
2546
+ "type": "uint40"
2547
+ },
2548
+ {
2549
+ "internalType": "Timestamp",
2550
+ "name": "expiredAt",
2551
+ "type": "uint40"
2552
+ },
2553
+ {
2554
+ "internalType": "Timestamp",
2555
+ "name": "closedAt",
2556
+ "type": "uint40"
2557
+ }
2558
+ ],
2559
+ "internalType": "struct IPolicy.PolicyInfo",
2560
+ "name": "policy",
2561
+ "type": "tuple"
2562
+ },
2497
2563
  {
2498
2564
  "internalType": "StateId",
2499
2565
  "name": "newState",
2500
2566
  "type": "uint8"
2501
2567
  }
2502
2568
  ],
2503
- "name": "updatePayoutState",
2569
+ "name": "updatePolicy",
2504
2570
  "outputs": [],
2505
2571
  "stateMutability": "nonpayable",
2506
2572
  "type": "function"
@@ -2550,9 +2616,9 @@
2550
2616
  "type": "uint256"
2551
2617
  },
2552
2618
  {
2553
- "internalType": "uint256",
2619
+ "internalType": "Seconds",
2554
2620
  "name": "lifetime",
2555
- "type": "uint256"
2621
+ "type": "uint40"
2556
2622
  },
2557
2623
  {
2558
2624
  "internalType": "bytes",
@@ -2575,9 +2641,14 @@
2575
2641
  "type": "uint16"
2576
2642
  },
2577
2643
  {
2578
- "internalType": "uint256",
2644
+ "internalType": "Amount",
2645
+ "name": "claimAmount",
2646
+ "type": "uint96"
2647
+ },
2648
+ {
2649
+ "internalType": "Amount",
2579
2650
  "name": "payoutAmount",
2580
- "type": "uint256"
2651
+ "type": "uint96"
2581
2652
  },
2582
2653
  {
2583
2654
  "internalType": "Timestamp",
@@ -2605,7 +2676,7 @@
2605
2676
  "type": "uint8"
2606
2677
  }
2607
2678
  ],
2608
- "name": "updatePolicy",
2679
+ "name": "updatePolicyClaims",
2609
2680
  "outputs": [],
2610
2681
  "stateMutability": "nonpayable",
2611
2682
  "type": "function"
@@ -2632,11 +2703,16 @@
2632
2703
  "inputs": [
2633
2704
  {
2634
2705
  "internalType": "NftId",
2635
- "name": "distributionNftId",
2706
+ "name": "poolNftId",
2636
2707
  "type": "uint96"
2637
2708
  },
2638
2709
  {
2639
2710
  "components": [
2711
+ {
2712
+ "internalType": "string",
2713
+ "name": "name",
2714
+ "type": "string"
2715
+ },
2640
2716
  {
2641
2717
  "internalType": "contract IERC20Metadata",
2642
2718
  "name": "token",
@@ -2648,120 +2724,28 @@
2648
2724
  "type": "address"
2649
2725
  },
2650
2726
  {
2651
- "internalType": "NftId",
2652
- "name": "distributionNftId",
2653
- "type": "uint96"
2727
+ "internalType": "address",
2728
+ "name": "wallet",
2729
+ "type": "address"
2654
2730
  },
2655
2731
  {
2656
- "internalType": "NftId",
2657
- "name": "poolNftId",
2732
+ "internalType": "Amount",
2733
+ "name": "balanceAmount",
2658
2734
  "type": "uint96"
2659
2735
  },
2660
2736
  {
2661
- "components": [
2662
- {
2663
- "internalType": "UFixed",
2664
- "name": "fractionalFee",
2665
- "type": "uint256"
2666
- },
2667
- {
2668
- "internalType": "uint256",
2669
- "name": "fixedFee",
2670
- "type": "uint256"
2671
- }
2672
- ],
2673
- "internalType": "struct Fee",
2674
- "name": "distributionFee",
2675
- "type": "tuple"
2676
- },
2677
- {
2678
- "components": [
2679
- {
2680
- "internalType": "UFixed",
2681
- "name": "fractionalFee",
2682
- "type": "uint256"
2683
- },
2684
- {
2685
- "internalType": "uint256",
2686
- "name": "fixedFee",
2687
- "type": "uint256"
2688
- }
2689
- ],
2690
- "internalType": "struct Fee",
2691
- "name": "productFee",
2692
- "type": "tuple"
2693
- },
2694
- {
2695
- "components": [
2696
- {
2697
- "internalType": "UFixed",
2698
- "name": "fractionalFee",
2699
- "type": "uint256"
2700
- },
2701
- {
2702
- "internalType": "uint256",
2703
- "name": "fixedFee",
2704
- "type": "uint256"
2705
- }
2706
- ],
2707
- "internalType": "struct Fee",
2708
- "name": "processingFee",
2709
- "type": "tuple"
2710
- },
2711
- {
2712
- "components": [
2713
- {
2714
- "internalType": "UFixed",
2715
- "name": "fractionalFee",
2716
- "type": "uint256"
2717
- },
2718
- {
2719
- "internalType": "uint256",
2720
- "name": "fixedFee",
2721
- "type": "uint256"
2722
- }
2723
- ],
2724
- "internalType": "struct Fee",
2725
- "name": "poolFee",
2726
- "type": "tuple"
2727
- },
2728
- {
2729
- "components": [
2730
- {
2731
- "internalType": "UFixed",
2732
- "name": "fractionalFee",
2733
- "type": "uint256"
2734
- },
2735
- {
2736
- "internalType": "uint256",
2737
- "name": "fixedFee",
2738
- "type": "uint256"
2739
- }
2740
- ],
2741
- "internalType": "struct Fee",
2742
- "name": "stakingFee",
2743
- "type": "tuple"
2737
+ "internalType": "Amount",
2738
+ "name": "feeAmount",
2739
+ "type": "uint96"
2744
2740
  },
2745
2741
  {
2746
- "components": [
2747
- {
2748
- "internalType": "UFixed",
2749
- "name": "fractionalFee",
2750
- "type": "uint256"
2751
- },
2752
- {
2753
- "internalType": "uint256",
2754
- "name": "fixedFee",
2755
- "type": "uint256"
2756
- }
2757
- ],
2758
- "internalType": "struct Fee",
2759
- "name": "performanceFee",
2760
- "type": "tuple"
2742
+ "internalType": "bytes",
2743
+ "name": "data",
2744
+ "type": "bytes"
2761
2745
  }
2762
- ],
2763
- "internalType": "struct ISetup.ProductSetupInfo",
2764
- "name": "setup",
2746
+ ],
2747
+ "internalType": "struct IComponents.ComponentInfo",
2748
+ "name": "info",
2765
2749
  "type": "tuple"
2766
2750
  },
2767
2751
  {
@@ -2779,7 +2763,7 @@
2779
2763
  "inputs": [
2780
2764
  {
2781
2765
  "internalType": "NftId",
2782
- "name": "distributionNftId",
2766
+ "name": "poolNftId",
2783
2767
  "type": "uint96"
2784
2768
  },
2785
2769
  {
@@ -2822,23 +2806,6 @@
2822
2806
  "name": "poolNftId",
2823
2807
  "type": "uint96"
2824
2808
  },
2825
- {
2826
- "components": [
2827
- {
2828
- "internalType": "UFixed",
2829
- "name": "fractionalFee",
2830
- "type": "uint256"
2831
- },
2832
- {
2833
- "internalType": "uint256",
2834
- "name": "fixedFee",
2835
- "type": "uint256"
2836
- }
2837
- ],
2838
- "internalType": "struct Fee",
2839
- "name": "distributionFee",
2840
- "type": "tuple"
2841
- },
2842
2809
  {
2843
2810
  "components": [
2844
2811
  {
@@ -2874,55 +2841,14 @@
2874
2841
  "type": "tuple"
2875
2842
  },
2876
2843
  {
2877
- "components": [
2878
- {
2879
- "internalType": "UFixed",
2880
- "name": "fractionalFee",
2881
- "type": "uint256"
2882
- },
2883
- {
2884
- "internalType": "uint256",
2885
- "name": "fixedFee",
2886
- "type": "uint256"
2887
- }
2888
- ],
2889
- "internalType": "struct Fee",
2890
- "name": "poolFee",
2891
- "type": "tuple"
2892
- },
2893
- {
2894
- "components": [
2895
- {
2896
- "internalType": "UFixed",
2897
- "name": "fractionalFee",
2898
- "type": "uint256"
2899
- },
2900
- {
2901
- "internalType": "uint256",
2902
- "name": "fixedFee",
2903
- "type": "uint256"
2904
- }
2905
- ],
2906
- "internalType": "struct Fee",
2907
- "name": "stakingFee",
2908
- "type": "tuple"
2844
+ "internalType": "bool",
2845
+ "name": "isIntercepting",
2846
+ "type": "bool"
2909
2847
  },
2910
2848
  {
2911
- "components": [
2912
- {
2913
- "internalType": "UFixed",
2914
- "name": "fractionalFee",
2915
- "type": "uint256"
2916
- },
2917
- {
2918
- "internalType": "uint256",
2919
- "name": "fixedFee",
2920
- "type": "uint256"
2921
- }
2922
- ],
2923
- "internalType": "struct Fee",
2924
- "name": "performanceFee",
2925
- "type": "tuple"
2849
+ "internalType": "address",
2850
+ "name": "wallet",
2851
+ "type": "address"
2926
2852
  }
2927
2853
  ],
2928
2854
  "internalType": "struct ISetup.ProductSetupInfo",
@@ -2961,40 +2887,50 @@
2961
2887
  {
2962
2888
  "inputs": [
2963
2889
  {
2964
- "internalType": "NftId",
2965
- "name": "policyNftId",
2966
- "type": "uint96"
2967
- },
2968
- {
2969
- "internalType": "NumberId",
2970
- "name": "payoutId",
2971
- "type": "uint32"
2890
+ "internalType": "ReferralId",
2891
+ "name": "referralId",
2892
+ "type": "bytes8"
2972
2893
  },
2973
2894
  {
2974
2895
  "components": [
2975
2896
  {
2976
- "internalType": "NumberId",
2977
- "name": "claimId",
2978
- "type": "uint32"
2897
+ "internalType": "NftId",
2898
+ "name": "distributorNftId",
2899
+ "type": "uint96"
2979
2900
  },
2980
2901
  {
2981
- "internalType": "uint256",
2982
- "name": "amount",
2902
+ "internalType": "string",
2903
+ "name": "referralCode",
2904
+ "type": "string"
2905
+ },
2906
+ {
2907
+ "internalType": "UFixed",
2908
+ "name": "discountPercentage",
2983
2909
  "type": "uint256"
2984
2910
  },
2985
2911
  {
2986
- "internalType": "bytes",
2987
- "name": "data",
2988
- "type": "bytes"
2912
+ "internalType": "uint32",
2913
+ "name": "maxReferrals",
2914
+ "type": "uint32"
2915
+ },
2916
+ {
2917
+ "internalType": "uint32",
2918
+ "name": "usedReferrals",
2919
+ "type": "uint32"
2989
2920
  },
2990
2921
  {
2991
2922
  "internalType": "Timestamp",
2992
- "name": "paidAt",
2923
+ "name": "expiryAt",
2993
2924
  "type": "uint40"
2925
+ },
2926
+ {
2927
+ "internalType": "bytes",
2928
+ "name": "data",
2929
+ "type": "bytes"
2994
2930
  }
2995
2931
  ],
2996
- "internalType": "struct IPolicy.PayoutInfo",
2997
- "name": "payout",
2932
+ "internalType": "struct IDistribution.ReferralInfo",
2933
+ "name": "referralInfo",
2998
2934
  "type": "tuple"
2999
2935
  },
3000
2936
  {
@@ -3011,9 +2947,9 @@
3011
2947
  {
3012
2948
  "inputs": [
3013
2949
  {
3014
- "internalType": "NftId",
3015
- "name": "policyNftId",
3016
- "type": "uint96"
2950
+ "internalType": "ReferralId",
2951
+ "name": "referralId",
2952
+ "type": "bytes8"
3017
2953
  },
3018
2954
  {
3019
2955
  "internalType": "StateId",
@@ -3078,135 +3014,76 @@
3078
3014
  "outputs": [],
3079
3015
  "stateMutability": "nonpayable",
3080
3016
  "type": "function"
3081
- },
3082
- {
3083
- "inputs": [
3084
- {
3085
- "internalType": "RoleId",
3086
- "name": "roleId",
3087
- "type": "uint64"
3088
- },
3089
- {
3090
- "internalType": "string",
3091
- "name": "name",
3092
- "type": "string"
3093
- },
3094
- {
3095
- "internalType": "StateId",
3096
- "name": "newState",
3097
- "type": "uint8"
3098
- }
3099
- ],
3100
- "name": "updateRole",
3101
- "outputs": [],
3102
- "stateMutability": "nonpayable",
3103
- "type": "function"
3104
- },
3105
- {
3106
- "inputs": [
3107
- {
3108
- "internalType": "RoleId",
3109
- "name": "roleId",
3110
- "type": "uint64"
3111
- },
3112
- {
3113
- "internalType": "StateId",
3114
- "name": "newState",
3115
- "type": "uint8"
3116
- }
3117
- ],
3118
- "name": "updateRoleState",
3119
- "outputs": [],
3120
- "stateMutability": "nonpayable",
3121
- "type": "function"
3122
- },
3123
- {
3124
- "inputs": [
3125
- {
3126
- "internalType": "Key32",
3127
- "name": "key32",
3128
- "type": "bytes32"
3129
- },
3130
- {
3131
- "internalType": "StateId",
3132
- "name": "state",
3133
- "type": "uint8"
3134
- }
3135
- ],
3136
- "name": "updateState",
3137
- "outputs": [],
3138
- "stateMutability": "nonpayable",
3139
- "type": "function"
3140
3017
  }
3141
3018
  ],
3142
- "bytecode": "0x60806040523480156200001157600080fd5b5060405162006111380380620061118339810160408190526200003491620013dd565b806200004081620001eb565b506200004b6200023f565b62000055620003f6565b6200005f62000530565b620000696200079d565b60048054336001600160a01b0319918216178255600980549091166001600160a01b0384161790556040516368aebf7b60e01b8152600091810191909152620001389073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015620000e9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200010f91906200140f565b60408051808201909152600981526841646d696e526f6c6560b81b6020820152600080620008e4565b6040516368aebf7b60e01b81526001600160401b036004820152620001e49073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af415801562000194573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001ba91906200140f565b60408051808201909152600a8152695075626c6963526f6c6560b01b6020820152600080620008e4565b5062001712565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b60dc6000908152600160208190527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec805460ff19166064179055906002906200028660dc90565b60ff1660ff1681526020019081526020016000206000620002ac620009ca60201b60201c565b60ff1660ff1681526020019081526020016000206000620002d2620009cf60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200030660dc90565b60ff1660ff16815260200190815260200160002060006200032c620009cf60201b60201c565b60ff1660ff168152602001908152602001600020600062000352620009ca60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200038660dc90565b60ff1660ff1681526020019081526020016000206000620003ac620009cf60201b60201c565b60ff1660ff1681526020019081526020016000206000620003d2620009d460201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c128054606460ff1991821681179092557f879b65b464eb639409179c76c21acf6fbada740970e2300d47ea857d08cacd3c8054909116600190811790915560009182526002602052907f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a906200048a606e90565b60ff1660ff1681526020019081526020016000206000620004b0620009ca60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620004e4606490565b60ff1660ff16815260200190815260200160002060006200050a620009cf60201b60201c565b60ff1660ff1681526020019081526020016000206000620003d2620009d960201b60201c565b60d26000908152600160208190527fcfa08e49dd9e66a4af3cdf0c2ef56f411154768307cac6dc23ee77c0386825be805460ff1916600a179055906002906200057760d290565b60ff1660ff16815260200190815260200160002060006200059d620009de60201b60201c565b60ff1660ff1681526020019081526020016000206000620005c3620009e360201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620005f760d290565b60ff1660ff16815260200190815260200160002060006200061d620009de60201b60201c565b60ff1660ff168152602001908152602001600020600062000643620009e860201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200067760d290565b60ff1660ff16815260200190815260200160002060006200069d620009de60201b60201c565b60ff1660ff1681526020019081526020016000206000620006c3620009ed60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620006f760d290565b60ff1660ff16815260200190815260200160002060006200071d620009ed60201b60201c565b60ff1660ff168152602001908152602001600020600062000743620009ca60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200077760d290565b60ff1660ff1681526020019081526020016000206000620003ac620009ca60201b60201c565b60c86000908152600160208190527f345f7c6c888721344af4147de0834159e0b302300ba13c4e7b6c0b60d8f2314e805460ff1916606417905590600290620007e460c890565b60ff1660ff16815260200190815260200160002060006200080a620009ca60201b60201c565b60ff1660ff168152602001908152602001600020600062000830620009cf60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200086460c890565b60ff1660ff16815260200190815260200160002060006200088a620009cf60201b60201c565b60ff1660ff1681526020019081526020016000206000620008b0620009ca60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620004e460c890565b8015620008fb57620008f8848484620009f2565b50505b60006200090a85858562000c80565b8051600090815260056020526040812080546001600160401b0319166001600160401b038981169182179092556007805460018101825593527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6886004840401805460039094166008026101000a9283021990931691021790559050620009c3620009948662000cbc565b604080518451602080830191909152850151151581830152815180820383018152606090910190915262000d44565b5050505050565b606490565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b602890565b6000808062000a018662000cbc565b905062000a0e8162000db0565b9250821562000a435762000a228162000e3e565b80602001905181019062000a37919062001466565b60200151915062000a47565b8391505b856001600160401b038116158062000a6757506001600160401b03818116145b1562000a965760405163981bf42160e01b81526001600160401b03881660048201526024015b60405180910390fd5b82801562000aae57506127106001600160401b038216105b1562000ad957604051633119b9df60e21b81526001600160401b038816600482015260240162000a8d565b82801562000af257506127106001600160401b03821610155b1562000b1d5760405163094fb39160e01b81526001600160401b038816600482015260240162000a8d565b600062000b2a8762000eeb565b905062000b378162000f2e565b60000362000b64576040516321ab17ab60e01b81526001600160401b038916600482015260240162000a8d565b60008181526005602090815260409182902054825163bc1b392d60e01b8152925162000c0b936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af415801562000bd3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000bf991906200140f565b6001600160401b039081169116141590565b801562000c3257506000818152600560205260409020546001600160401b03898116911614155b1562000c755760008181526005602052604090819020549051631660fb9360e21b81526001600160401b0390911660048201526024810182905260440162000a8d565b505050935093915050565b604080518082018252600080825260208201528151808301909252908062000ca88562000eeb565b815260200183151581525090509392505050565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801562000d18573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d3e9190620014bf565b92915050565b6004546001600160a01b0316331462000da05760405162461bcd60e51b815260206004820152601760248201527f4552524f523a4b56532d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000a8d565b62000dac828262000f57565b5050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af415801562000e18573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d3e9190620014d9565b600081815260036020526040902060010180546060919062000e6090620014f7565b80601f016020809104026020016040519081016040528092919081815260200182805462000e8e90620014f7565b801562000edf5780601f1062000eb35761010080835404028352916020019162000edf565b820191906000526020600020905b81548152906001019060200180831162000ec157829003601f168201915b50505050509050919050565b600080829050601f8151111562000f19578260405163305a27a960e01b815260040162000a8d919062001533565b805162000f268262001583565b179392505050565b600060ff8216601f81111562000d3e57604051632cd44ac360e21b815260040160405180910390fd5b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801562000fab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fd19190620015a8565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af415801562001027573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200104d9190620014d9565b6200109b5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e454400000000604482015260640162000a8d565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af415801562001105573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200112b9190620014d9565b620011795760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f43524541544544000000604482015260640162000a8d565b3343600062001188856200138f565b62001195576064620011ab565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260036020526040902090915060010162001237878262001620565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015620012ab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012d19190620015a8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801562001322573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013489190620016ec565b6040805160ff938416815260ff19929092166020830152918416818301526001600160a01b038616606082015232608082015290519081900360a00190a150505050505050565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf9060240162000dfa565b600060208284031215620013f057600080fd5b81516001600160a01b03811681146200140857600080fd5b9392505050565b6000602082840312156200142257600080fd5b81516001600160401b03811681146200140857600080fd5b634e487b7160e01b600052604160045260246000fd5b805180151581146200146157600080fd5b919050565b6000604082840312156200147957600080fd5b604080519081016001600160401b03811182821017156200149e576200149e6200143a565b60405282518152620014b36020840162001450565b60208201529392505050565b600060208284031215620014d257600080fd5b5051919050565b600060208284031215620014ec57600080fd5b620014088262001450565b600181811c908216806200150c57607f821691505b6020821081036200152d57634e487b7160e01b600052602260045260246000fd5b50919050565b600060208083528351808285015260005b81811015620015625785810183015185820160400152820162001544565b506000604082860101526040601f19601f8301168501019250505092915050565b805160208083015191908110156200152d5760001960209190910360031b1b16919050565b600060208284031215620015bb57600080fd5b815160ff811681146200140857600080fd5b601f8211156200161b57600081815260208120601f850160051c81016020861015620015f65750805b601f850160051c820191505b81811015620016175782815560010162001602565b5050505b505050565b81516001600160401b038111156200163c576200163c6200143a565b62001654816200164d8454620014f7565b84620015cd565b602080601f8311600181146200168c5760008415620016735750858301515b600019600386901b1c1916600185901b17855562001617565b600085815260208120601f198616915b82811015620016bd578886015182559484019460019091019084016200169c565b5085821015620016dc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215620016ff57600080fd5b815160ff19811681146200140857600080fd5b6149ef80620017226000396000f3fe608060405234801561001057600080fd5b50600436106104285760003560e01c806386f0c47b1161022b578063b68ec14611610130578063d5b221bd116100b8578063e8951ee611610087578063e8951ee6146104db578063e9e96c70146109bc578063f48016ce146109fa578063f8b648ac14610573578063fe1f18d614610a0d57600080fd5b8063d5b221bd14610501578063d78a83b114610983578063d9cdf38814610996578063dee32623146109a957600080fd5b8063bf1db3f9116100ff578063bf1db3f914610925578063bf7e214f14610938578063c2f1a2d214610501578063cd50b97e1461095d578063d2f21a291461097057600080fd5b8063b68ec14614610573578063b7d2b162146108ec578063bc8d4000146108ff578063be60f7cc1461091257600080fd5b80639a960d52116101b3578063a238accd11610182578063a238accd146107ef578063a5961b4c14610802578063a76ee018146108b3578063a8989675146108c6578063b428b0b0146108d957600080fd5b80639a960d52146107b65780639d7421f4146107c95780639df0280b146104db578063a13df2ab146107dc57600080fd5b80638eaa6ac0116101fa5780638eaa6ac01461073c5780638fb360371461075c578063950ad70b1461077d578063954fab2c1461079057806396d8eec5146107a357600080fd5b806386f0c47b146106f65780638793a9ac146107165780638d4eae9d146107295780638dc77f42146104db57600080fd5b80633ca7c02a116103315780636ec3d940116102b95780637a415802116102885780637a415802146105015780637a9e5e4b146106bd5780637cef4842146106d057806382f65adb14610573578063835933c9146106e357600080fd5b80636ec3d9401461067c578063735391271461068f57806375b238fc146106a257806375c82776146106aa57600080fd5b806354f6127f1161030057806354f6127f1461062d5780635b37e1501461064d5780635d4345cc146104db5780635dfa73db1461066057806364c55d9c1461066957600080fd5b80633ca7c02a146105e15780633fd855611461060757806340529b0f146104db578063468a18671461061a57600080fd5b806322f46b84116103b457806333bb0a971161038357806333bb0a971461057357806337f135d714610586578063384c9a57146105a357806338a699a4146105c6578063392f5f64146105d957600080fd5b806322f46b84146105275780632f61088a1461053a57806331bf42361461054d57806331d311a71461056057600080fd5b80630f526f7d116103fb5780630f526f7d146104c857806310203d2c146104db578063167bd395146104ee5780631c45fe7a146105015780631e23a2f51461051457600080fd5b8063030149741461042d57806309648a9d146104535780630a19a43d1461048d5780630d358181146104a2575b600080fd5b61044061043b3660046133a5565b610a20565b6040519081526020015b60405180910390f35b61047b6104613660046133c2565b600090815260036020526040902054610100900460ff1690565b60405160ff909116815260200161044a565b6104a061049b36600461353f565b610a47565b005b61047b6104b0366004613599565b60ff9081166000908152600160205260409020541690565b6104a06104d63660046135d2565b610a8a565b6104a06104e93660046135d2565b610aaf565b6104a06104fc36600461362c565b610ac4565b6104a061050f3660046136f6565b610b6c565b6104a0610522366004613768565b610bad565b6104a06105353660046137c9565b610be7565b6104a0610548366004613891565b610bfd565b6104a061055b3660046139e3565b610c98565b61044061056e366004613a18565b610cc0565b6104a0610581366004613a35565b610d51565b61058e600081565b60405163ffffffff909116815260200161044a565b6105b66105b13660046133a5565b610d77565b604051901515815260200161044a565b6105b66105d43660046133c2565b610f0d565b600754610440565b6105ef6001600160401b0381565b6040516001600160401b03909116815260200161044a565b6105ef6106153660046133c2565b610f98565b610440610628366004613a94565b610fdd565b61064061063b3660046133c2565b61103a565b60405161044a9190613aff565b6104a061065b366004613b12565b6110df565b6105ef61271081565b6104a0610677366004613b42565b611113565b6104a061068a366004613b12565b61113b565b6104a061069d3660046139e3565b61116f565b6105ef600081565b6104a06106b8366004613bc4565b611186565b6104a06106cb366004613a18565b6111ac565b6104a06106de366004613c1a565b611222565b6104406106f13660046133a5565b6112ac565b6107096107043660046133a5565b6112ef565b60405161044a9190613c38565b6104a0610724366004613c51565b611394565b6104a0610737366004613d1b565b6113a9565b61074f61074a3660046133c2565b6113cf565b60405161044a9190613da8565b610764611510565b6040516001600160e01b0319909116815260200161044a565b6104a061078b366004613ddc565b611534565b6104a061079e366004613e17565b611596565b6104a06107b1366004613b42565b6115bc565b6104a06107c4366004613fb3565b6115d3565b6104a06107d7366004613ff8565b6115f9565b6104406107ea366004613a94565b61161f565b6104a06107fd36600461404d565b61164c565b6108a66108103660046133c2565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161044a9190614072565b6104a06108c1366004614080565b611680565b6104a06108d43660046140c7565b61171b565b6105b66108e7366004614107565b61180c565b6105b66108fa366004614107565b611a00565b6104a061090d366004614135565b611b8b565b6104a06109203660046139e3565b611bb1565b6105b6610933366004613599565b611bc8565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161044a565b6104a061096b3660046137c9565b611c15565b6104a061097e3660046135d2565b611c2c565b610945610991366004614178565b611c43565b6104a06109a4366004613b42565b611c6c565b6104a06109b73660046135d2565b611c83565b6105b66109ca3660046140c7565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b610440610a083660046141b4565b611c9a565b6104a0610a1b3660046135d2565b611d1e565b6001600160401b0381166000908152600660205260408120610a4190611d33565b92915050565b6004546001600160a01b03163314610a7a5760405162461bcd60e51b8152600401610a71906141e2565b60405180910390fd5b610a85838383611d3d565b505050565b610a97335b6000366121b6565b610aab610aa583608c6122af565b8261164c565b5050565b610ab833610a8f565b610aab610aa583610fdd565b610acd33610a8f565b610ad96105d483610cc0565b610b01576040516325b6f39560e21b81526001600160a01b0383166004820152602401610a71565b60095460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b158015610b5057600080fd5b505af1158015610b64573d6000803e3d6000fd5b505050505050565b610b7533610a8f565b610ba7610b8185610fdd565b83604051602001610b929190614219565b60405160208183030381529060405283610a47565b50505050565b610bb633610a8f565b610aab610bc283610cc0565b82604051602001610bd39190613c38565b6040516020818303038152906040526110df565b610bf033610a8f565b610aab82826001806122fb565b610c0633610a8f565b6040516355ee627560e01b81526001600160c01b031983166004820152610aab9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c87919061426c565b82604051602001610bd39190614285565b610ca133610a8f565b610aab610caf8360786122af565b82604051602001610bd391906142b3565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a41919061426c565b610d5a33610a8f565b610a85610d6684610fdd565b82604051602001610bd39190614219565b60003381610d84846112ac565b9050610d8f81610f0d565b610db657604051627a416f60e01b81526001600160401b0385166004820152602401610a71565b6001600160401b0384166000908152600660205260409020610dd890836123a4565b15610f0357600954604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6e91906143b5565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b158015610ebe57600080fd5b505af1158015610ed2573d6000803e3d6000fd5b5050506001600160401b0385166000908152600660205260409020610ef89150836123c6565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015610f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4191906143d2565b600060078281548110610fad57610fad6143ef565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401610d10565b600081815260036020526040902060010180546060919061105a90614405565b80601f016020809104026020016040519081016040528092919081815260200182805461108690614405565b80156110d35780601f106110a8576101008083540402835291602001916110d3565b820191906000526020600020905b8154815290600101906020018083116110b657829003601f168201915b50505050509050919050565b6004546001600160a01b031633146111095760405162461bcd60e51b8152600401610a71906141e2565b610aab82826123db565b61111c33610a8f565b610a8561112a84606e6122af565b83604051602001610b9291906142b3565b6004546001600160a01b031633146111655760405162461bcd60e51b8152600401610a71906141e2565b610aab82826127f0565b61117833610a8f565b610aab610caf83606e6122af565b61118f33610a8f565b610ba761119b85610fdd565b83604051602001610b92919061443f565b60005433906001600160a01b031681146111e35760405162d1953b60e31b81526001600160a01b0382166004820152602401610a71565b816001600160a01b03163b600003611219576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a71565b610aab82612a68565b61122b33610a8f565b6040516355ee627560e01b81526001600160c01b031983166004820152610aab9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611288573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa5919061426c565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401610d10565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b03831660048201526113819073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801561135d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b919061426c565b806020019051810190610a41919061446f565b61139d33610a8f565b610aab610aa5836112ac565b6113b233610a8f565b610aab6113be8361161f565b82604051602001610bd391906144a7565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019161148790614405565b80601f01602080910402602001604051908101604052809291908181526020018280546114b390614405565b80156115005780601f106114d557610100808354040283529160200191611500565b820191906000526020600020905b8154815290600101906020018083116114e357829003601f168201915b5050505050815250509050919050565b60008054600160a01b900460ff166115285750600090565b50638fb3603760e01b90565b61153d33610a8f565b600061154b84846000612abc565b509050600061155b858584612d27565b905061158f611569866112ac565b8260405160200161157a9190613c38565b60405160208183030381529060405285610a47565b5050505050565b61159f33610a8f565b610a856115ab8461161f565b83604051602001610b9291906144a7565b6115c533610a8f565b610a8561112a84608c6122af565b6115dc33610a8f565b610a856115e884610fdd565b83604051602001610b92919061454c565b61160233610a8f565b610a8561160e84610fdd565b82604051602001610bd3919061443f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611006565b6004546001600160a01b031633146116765760405162461bcd60e51b8152600401610a71906141e2565b610aab8282612d63565b61168933610a8f565b6040516355ee627560e01b81526001600160c01b031984166004820152610a859073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156116e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170a919061426c565b83604051602001610b929190614285565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611780573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a491906143d2565b156117ae57505050565b60ff808416600090815260026020908152604080832086851684528252808320858516845290915290205416610a8557604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610a71565b600061181733610a8f565b6000611822846112ac565b905061182d81610f0d565b61185557604051636777365b60e01b81526001600160401b0385166004820152602401610a71565b60008181526003602052604090205461188490610100900460ff16611878606490565b60ff9081169116141590565b156118ad5760405163fe229d5d60e01b81526001600160401b0385166004820152602401610a71565b6001600160401b03841660009081526006602052604090206118cf90846123a4565b610f0357600954604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611940573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196491906143b5565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b1580156119bb57600080fd5b505af11580156119cf573d6000803e3d6000fd5b5050506001600160401b03851660009081526006602052604090206119f5915084613087565b506001915050610a41565b6000611a0b33610a8f565b6000611a16846112ac565b9050611a2181610f0d565b611a4957604051634cee277360e11b81526001600160401b0385166004820152602401610a71565b6001600160401b0384166000908152600660205260409020611a6b90846123a4565b15610f0357600954604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611add573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0191906143b5565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b158015611b5157600080fd5b505af1158015611b65573d6000803e3d6000fd5b5050506001600160401b03851660009081526006602052604090206119f59150846123c6565b611b9433610a8f565b610aab611ba083610fdd565b82604051602001610bd3919061454c565b611bba33610a8f565b610aab610caf83608c6122af565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610f57565b611c1e33610a8f565b610aab8282600060016122fb565b611c3533610a8f565b610aab610aa58360786122af565b6001600160401b0382166000908152600660205260408120611c65908361309c565b9392505050565b611c7533610a8f565b610a8561112a8460786122af565b611c8c33610a8f565b610aab610aa583606e6122af565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611cfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c65919061426c565b611d2733610a8f565b610aab610aa58361161f565b6000610a41825490565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015611d8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db391906143d2565b611dff5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610a71565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015611e6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8f91906143d2565b611edb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610a71565b6000858152600360205260409020600101611ef685826146e9565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416611f3b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015611fcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff191906147a8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612041573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206591906147c5565b878686328760405161207d97969594939291906147e2565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156120f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061211b91906147a8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561216b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218f91906147c5565b878532866040516121a596959493929190614832565b60405180910390a150505050505050565b6000806121ec6121ce6000546001600160a01b031690565b86306121de60046000898b614879565b6121e7916148a3565b6130a8565b915091508161158f5763ffffffff81161561228c576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90612247908890889088906004016148d3565b600060405180830381600087803b15801561226157600080fd5b505af1158015612275573d6000803e3d6000fd5b50506000805460ff60a01b191690555061158f9050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610a71565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611cdd565b801561230f5761230c848484612abc565b50505b600061231c858585612d27565b80516000908152600560205260408120805467ffffffffffffffff19166001600160401b038981169182179092556007805460018101825593527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6886004840401805460039094166008026101000a928302199093169102179055905061158f610bc2866112ac565b6001600160a01b03811660009081526001830160205260408120541515611c65565b6000611c65836001600160a01b0384166131b4565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561242e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245291906147a8565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156124a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124cb91906143d2565b6125175760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610a71565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125a491906143d2565b6125f05760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610a71565b334360006125fd85611bc8565b61260857606461261e565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526003602052604090209091506001016126a887826146e9565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561271b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273f91906147a8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561278f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127b391906147c5565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0016121a5565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561285c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288091906143d2565b6128cc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3033303a4e4f545f4558495354494e470000000000006044820152606401610a71565b60008481526003602052604090206001016128e784826146e9565b508154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166129184390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156129aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ce91906147a8565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a4291906147c5565b85853286604051612a5896959493929190614832565b60405180910390a1505050505050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6000806000612aca866112ac565b9050612ad581610f0d565b92508215612b0457612ae68161103a565b806020019051810190612af9919061446f565b602001519150612b08565b8391505b856001600160401b0381161580612b2757506001600160401b03818116145b15612b505760405163981bf42160e01b81526001600160401b0388166004820152602401610a71565b828015612b6757506127106001600160401b038216105b15612b9057604051633119b9df60e21b81526001600160401b0388166004820152602401610a71565b828015612ba857506127106001600160401b03821610155b15612bd15760405163094fb39160e01b81526001600160401b0388166004820152602401610a71565b6000612bdc876132ae565b9050612be7816132ec565b600003612c12576040516321ab17ab60e01b81526001600160401b0389166004820152602401610a71565b60008181526005602090815260409182902054825163bc1b392d60e01b81529251612cb5936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612c7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca391906143b5565b6001600160401b039081169116141590565b8015612cdb57506000818152600560205260409020546001600160401b03898116911614155b15612d1c5760008181526005602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610a71565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612d4f856132ae565b815260200183151581525090509392505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612db5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd991906143d2565b612e255760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610a71565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eb591906143d2565b612f015760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610a71565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612f454390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612fd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ffb91906147a8565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561304b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306f91906147c5565b8786863287604051612a5897969594939291906147e2565b6000611c65836001600160a01b038416613314565b6000611c658383613363565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131179190614913565b600060405180830381855afa9150503d8060008114613152576040519150601f19603f3d011682016040523d82523d6000602084013e613157565b606091505b509150915081156131a9576040815110613189578080602001905181019061317f919061492f565b90945092506131a9565b60208151106131a957808060200190518101906131a691906143d2565b93505b505094509492505050565b6000818152600183016020526040812054801561329d5760006131d860018361495e565b85549091506000906131ec9060019061495e565b905080821461325157600086600001828154811061320c5761320c6143ef565b906000526020600020015490508087600001848154811061322f5761322f6143ef565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806132625761326261497f565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a41565b6000915050610a41565b5092915050565b600080829050601f815111156132d9578260405163305a27a960e01b8152600401610a719190613aff565b80516132e482614995565b179392505050565b600060ff8216601f811115610a4157604051632cd44ac360e21b815260040160405180910390fd5b600081815260018301602052604081205461335b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a41565b506000610a41565b600082600001828154811061337a5761337a6143ef565b9060005260206000200154905092915050565b6001600160401b03811681146133a257600080fd5b50565b6000602082840312156133b757600080fd5b8135611c658161338d565b6000602082840312156133d457600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715613413576134136133db565b60405290565b604080519081016001600160401b0381118282101715613413576134136133db565b60405161014081016001600160401b0381118282101715613413576134136133db565b60405161010081016001600160401b0381118282101715613413576134136133db565b60405161020081016001600160401b0381118282101715613413576134136133db565b600082601f8301126134b557600080fd5b81356001600160401b03808211156134cf576134cf6133db565b604051601f8301601f19908116603f011681019082821181831017156134f7576134f76133db565b8160405283815286602085880101111561351057600080fd5b836020870160208301376000602085830101528094505050505092915050565b60ff811681146133a257600080fd5b60008060006060848603121561355457600080fd5b8335925060208401356001600160401b0381111561357157600080fd5b61357d868287016134a4565b925050604084013561358e81613530565b809150509250925092565b6000602082840312156135ab57600080fd5b8135611c6581613530565b80356001600160601b03811681146135cd57600080fd5b919050565b600080604083850312156135e557600080fd5b6135ee836135b6565b915060208301356135fe81613530565b809150509250929050565b6001600160a01b03811681146133a257600080fd5b80151581146133a257600080fd5b6000806040838503121561363f57600080fd5b823561364a81613609565b915060208301356135fe8161361e565b63ffffffff811681146133a257600080fd5b803564ffffffffff811681146135cd57600080fd5b60006080828403121561369357600080fd5b61369b6133f1565b905081356136a88161365a565b81526020828101359082015260408201356001600160401b038111156136cd57600080fd5b6136d9848285016134a4565b6040830152506136eb6060830161366c565b606082015292915050565b6000806000806080858703121561370c57600080fd5b613715856135b6565b935060208501356137258161365a565b925060408501356001600160401b0381111561374057600080fd5b61374c87828801613681565b925050606085013561375d81613530565b939692955090935050565b600080828403606081121561377c57600080fd5b833561378781613609565b92506040601f198201121561379b57600080fd5b506137a4613419565b6020840135815260408401356137b98161361e565b6020820152919491935090915050565b600080604083850312156137dc57600080fd5b82356137e78161338d565b915060208301356001600160401b0381111561380257600080fd5b61380e858286016134a4565b9150509250929050565b6001600160c01b0319811681146133a257600080fd5b80356135cd81613818565b60006040828403121561384b57600080fd5b613853613419565b905061385e826135b6565b815260208201356001600160401b0381111561387957600080fd5b613885848285016134a4565b60208301525092915050565b600080604083850312156138a457600080fd5b82356138af81613818565b915060208301356001600160401b038111156138ca57600080fd5b61380e85828601613839565b80356135cd81613609565b6000604082840312156138f357600080fd5b6138fb613419565b9050813581526020820135602082015292915050565b6000610200828403121561392457600080fd5b61392c61343b565b9050613937826138d6565b8152613945602083016138d6565b6020820152613956604083016135b6565b6040820152613967606083016135b6565b606082015261397983608084016138e1565b608082015261398b8360c084016138e1565b60a082015261010061399f848285016138e1565b60c08301526139b28461014085016138e1565b60e08301526139c58461018085016138e1565b908201526139d7836101c084016138e1565b61012082015292915050565b60008061022083850312156139f757600080fd5b613a00836135b6565b9150613a0f8460208501613911565b90509250929050565b600060208284031215613a2a57600080fd5b8135611c6581613609565b600080600060608486031215613a4a57600080fd5b613a53846135b6565b92506020840135613a638161365a565b915060408401356001600160401b03811115613a7e57600080fd5b613a8a86828701613681565b9150509250925092565b600060208284031215613aa657600080fd5b611c65826135b6565b60005b83811015613aca578181015183820152602001613ab2565b50506000910152565b60008151808452613aeb816020860160208601613aaf565b601f01601f19169290920160200192915050565b602081526000611c656020830184613ad3565b60008060408385031215613b2557600080fd5b8235915060208301356001600160401b0381111561380257600080fd5b60008060006102408486031215613b5857600080fd5b613b61846135b6565b9250613b708560208601613911565b915061022084013561358e81613530565b600060808284031215613b9357600080fd5b613b9b6133f1565b9050813581526020820135602082015260408201356001600160401b038111156136cd57600080fd5b60008060008060808587031215613bda57600080fd5b613be3856135b6565b93506020850135613bf38161365a565b925060408501356001600160401b03811115613c0e57600080fd5b61374c87828801613b81565b60008060408385031215613c2d57600080fd5b82356135ee81613818565b8151815260208083015115159082015260408101610a41565b60008060408385031215613c6457600080fd5b82356135ee8161338d565b60006101208284031215613c8257600080fd5b613c8a61345e565b9050613c95826135b6565b8152613ca483602084016138e1565b602082015260608201356001600160401b03811115613cc257600080fd5b613cce848285016134a4565b6040830152506080820135606082015260a0820135608082015260c082013560a0820152613cfe60e0830161366c565b60c0820152613d10610100830161366c565b60e082015292915050565b60008060408385031215613d2e57600080fd5b613d37836135b6565b915060208301356001600160401b03811115613d5257600080fd5b61380e85828601613c6f565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152613dba602082018351613d5e565b6000602083015160c080840152613dd460e0840182613ad3565b949350505050565b600080600060608486031215613df157600080fd5b8335613dfc8161338d565b925060208401356001600160401b0381111561357157600080fd5b600080600060608486031215613e2c57600080fd5b613e35846135b6565b925060208401356001600160401b03811115613e5057600080fd5b61357d86828701613c6f565b803561ffff811681146135cd57600080fd5b60006102008284031215613e8157600080fd5b613e89613481565b9050613e94826135b6565b8152613ea2602083016135b6565b6020820152613eb36040830161382e565b6040820152613ec46060830161382e565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115613f0d57600080fd5b613f19868387016134a4565b83850152610120925082850135915080821115613f3557600080fd5b50613f42858286016134a4565b828401525050610140613f56818401613e5c565b90820152610160613f68838201613e5c565b9082015261018082810135908201526101a0613f8581840161366c565b908201526101c0613f9783820161366c565b908201526101e0613fa983820161366c565b9082015292915050565b600080600060608486031215613fc857600080fd5b613fd1846135b6565b925060208401356001600160401b03811115613fec57600080fd5b61357d86828701613e6e565b60008060006060848603121561400d57600080fd5b614016846135b6565b925060208401356140268161365a565b915060408401356001600160401b0381111561404157600080fd5b613a8a86828701613b81565b6000806040838503121561406057600080fd5b8235915060208301356135fe81613530565b60a08101610a418284613d5e565b60008060006060848603121561409557600080fd5b83356140a081613818565b925060208401356001600160401b038111156140bb57600080fd5b61357d86828701613839565b6000806000606084860312156140dc57600080fd5b83356140e781613530565b925060208401356140f781613530565b9150604084013561358e81613530565b6000806040838503121561411a57600080fd5b82356141258161338d565b915060208301356135fe81613609565b6000806040838503121561414857600080fd5b614151836135b6565b915060208301356001600160401b0381111561416c57600080fd5b61380e85828601613e6e565b6000806040838503121561418b57600080fd5b82356141968161338d565b946020939093013593505050565b60ff19811681146133a257600080fd5b600080604083850312156141c757600080fd5b82356141d281613530565b915060208301356135fe816141a4565b60208082526017908201527f4552524f523a4b56532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261424f60a0840182613ad3565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561427e57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152613dd46060840182613ad3565b81516001600160a01b03168152610200810160208301516142df60208401826001600160a01b03169052565b5060408301516142fa60408401826001600160601b03169052565b50606083015161431560608401826001600160601b03169052565b506080830151614332608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006143688185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506132a7565b6000602082840312156143c757600080fd5b8151611c658161338d565b6000602082840312156143e457600080fd5b8151611c658161361e565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168061441957607f821691505b60208210810361443957634e487b7160e01b600052602260045260246000fd5b50919050565b602081528151602082015260208201516040820152600060408301516080606084015261424f60a0840182613ad3565b60006040828403121561448157600080fd5b614489613419565b82518152602083015161449b8161361e565b60208201529392505050565b602081526001600160601b038251166020820152600060208301516144d9604084018280518252602090810151910152565b5060408301516101208060808501526144f6610140850183613ad3565b9150606085015160a0850152608085015160c085015260a085015160e085015260c085015161452f61010086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b602081526145666020820183516001600160601b03169052565b6000602083015161458260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526145fa610220860184613ad3565b9250808601519050610140601f19868503018187015261461a8483613ad3565b9350808701519150506101606146358187018361ffff169052565b860151905061018061464c8682018361ffff169052565b8601516101a08681019190915286015190506101c06146738187018364ffffffffff169052565b86015190506101e061468d8682018364ffffffffff169052565b86015164ffffffffff8116838701529050614542565b601f821115610a8557600081815260208120601f850160051c810160208610156146ca5750805b601f850160051c820191505b81811015610b64578281556001016146d6565b81516001600160401b03811115614702576147026133db565b614716816147108454614405565b846146a3565b602080601f83116001811461474b57600084156147335750858301515b600019600386901b1c1916600185901b178555610b64565b600085815260208120601f198616915b8281101561477a5788860151825594840194600190910190840161475b565b50858210156147985787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156147ba57600080fd5b8151611c6581613530565b6000602082840312156147d757600080fd5b8151611c65816141a4565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b60ff968716815260ff199590951660208601529290941660408401526001600160a01b039081166060840152909216608082015263ffffffff90911660a082015260c00190565b6000808585111561488957600080fd5b8386111561489657600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156148cb5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251614925818460208701613aaf565b9190910192915050565b6000806040838503121561494257600080fd5b825161494d8161361e565b60208401519092506135fe8161365a565b81810381811115610a4157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b805160208083015191908110156144395760001960209190910360031b1b1691905056fea26469706673582212201409c219e5be38947ccc86eb17f6aa5e3d764b86275eb08e00cc9c758d710a4064736f6c63430008140033",
3143
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106104285760003560e01c806386f0c47b1161022b578063b68ec14611610130578063d5b221bd116100b8578063e8951ee611610087578063e8951ee6146104db578063e9e96c70146109bc578063f48016ce146109fa578063f8b648ac14610573578063fe1f18d614610a0d57600080fd5b8063d5b221bd14610501578063d78a83b114610983578063d9cdf38814610996578063dee32623146109a957600080fd5b8063bf1db3f9116100ff578063bf1db3f914610925578063bf7e214f14610938578063c2f1a2d214610501578063cd50b97e1461095d578063d2f21a291461097057600080fd5b8063b68ec14614610573578063b7d2b162146108ec578063bc8d4000146108ff578063be60f7cc1461091257600080fd5b80639a960d52116101b3578063a238accd11610182578063a238accd146107ef578063a5961b4c14610802578063a76ee018146108b3578063a8989675146108c6578063b428b0b0146108d957600080fd5b80639a960d52146107b65780639d7421f4146107c95780639df0280b146104db578063a13df2ab146107dc57600080fd5b80638eaa6ac0116101fa5780638eaa6ac01461073c5780638fb360371461075c578063950ad70b1461077d578063954fab2c1461079057806396d8eec5146107a357600080fd5b806386f0c47b146106f65780638793a9ac146107165780638d4eae9d146107295780638dc77f42146104db57600080fd5b80633ca7c02a116103315780636ec3d940116102b95780637a415802116102885780637a415802146105015780637a9e5e4b146106bd5780637cef4842146106d057806382f65adb14610573578063835933c9146106e357600080fd5b80636ec3d9401461067c578063735391271461068f57806375b238fc146106a257806375c82776146106aa57600080fd5b806354f6127f1161030057806354f6127f1461062d5780635b37e1501461064d5780635d4345cc146104db5780635dfa73db1461066057806364c55d9c1461066957600080fd5b80633ca7c02a146105e15780633fd855611461060757806340529b0f146104db578063468a18671461061a57600080fd5b806322f46b84116103b457806333bb0a971161038357806333bb0a971461057357806337f135d714610586578063384c9a57146105a357806338a699a4146105c6578063392f5f64146105d957600080fd5b806322f46b84146105275780632f61088a1461053a57806331bf42361461054d57806331d311a71461056057600080fd5b80630f526f7d116103fb5780630f526f7d146104c857806310203d2c146104db578063167bd395146104ee5780631c45fe7a146105015780631e23a2f51461051457600080fd5b8063030149741461042d57806309648a9d146104535780630a19a43d1461048d5780630d358181146104a2575b600080fd5b61044061043b3660046133a5565b610a20565b6040519081526020015b60405180910390f35b61047b6104613660046133c2565b600090815260036020526040902054610100900460ff1690565b60405160ff909116815260200161044a565b6104a061049b36600461353f565b610a47565b005b61047b6104b0366004613599565b60ff9081166000908152600160205260409020541690565b6104a06104d63660046135d2565b610a8a565b6104a06104e93660046135d2565b610aaf565b6104a06104fc36600461362c565b610ac4565b6104a061050f3660046136f6565b610b6c565b6104a0610522366004613768565b610bad565b6104a06105353660046137c9565b610be7565b6104a0610548366004613891565b610bfd565b6104a061055b3660046139e3565b610c98565b61044061056e366004613a18565b610cc0565b6104a0610581366004613a35565b610d51565b61058e600081565b60405163ffffffff909116815260200161044a565b6105b66105b13660046133a5565b610d77565b604051901515815260200161044a565b6105b66105d43660046133c2565b610f0d565b600754610440565b6105ef6001600160401b0381565b6040516001600160401b03909116815260200161044a565b6105ef6106153660046133c2565b610f98565b610440610628366004613a94565b610fdd565b61064061063b3660046133c2565b61103a565b60405161044a9190613aff565b6104a061065b366004613b12565b6110df565b6105ef61271081565b6104a0610677366004613b42565b611113565b6104a061068a366004613b12565b61113b565b6104a061069d3660046139e3565b61116f565b6105ef600081565b6104a06106b8366004613bc4565b611186565b6104a06106cb366004613a18565b6111ac565b6104a06106de366004613c1a565b611222565b6104406106f13660046133a5565b6112ac565b6107096107043660046133a5565b6112ef565b60405161044a9190613c38565b6104a0610724366004613c51565b611394565b6104a0610737366004613d1b565b6113a9565b61074f61074a3660046133c2565b6113cf565b60405161044a9190613da8565b610764611510565b6040516001600160e01b0319909116815260200161044a565b6104a061078b366004613ddc565b611534565b6104a061079e366004613e17565b611596565b6104a06107b1366004613b42565b6115bc565b6104a06107c4366004613fb3565b6115d3565b6104a06107d7366004613ff8565b6115f9565b6104406107ea366004613a94565b61161f565b6104a06107fd36600461404d565b61164c565b6108a66108103660046133c2565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161044a9190614072565b6104a06108c1366004614080565b611680565b6104a06108d43660046140c7565b61171b565b6105b66108e7366004614107565b61180c565b6105b66108fa366004614107565b611a00565b6104a061090d366004614135565b611b8b565b6104a06109203660046139e3565b611bb1565b6105b6610933366004613599565b611bc8565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161044a565b6104a061096b3660046137c9565b611c15565b6104a061097e3660046135d2565b611c2c565b610945610991366004614178565b611c43565b6104a06109a4366004613b42565b611c6c565b6104a06109b73660046135d2565b611c83565b6105b66109ca3660046140c7565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b610440610a083660046141b4565b611c9a565b6104a0610a1b3660046135d2565b611d1e565b6001600160401b0381166000908152600660205260408120610a4190611d33565b92915050565b6004546001600160a01b03163314610a7a5760405162461bcd60e51b8152600401610a71906141e2565b60405180910390fd5b610a85838383611d3d565b505050565b610a97335b6000366121b6565b610aab610aa583608c6122af565b8261164c565b5050565b610ab833610a8f565b610aab610aa583610fdd565b610acd33610a8f565b610ad96105d483610cc0565b610b01576040516325b6f39560e21b81526001600160a01b0383166004820152602401610a71565b60095460405163167bd39560e01b81526001600160a01b03848116600483015283151560248301529091169063167bd39590604401600060405180830381600087803b158015610b5057600080fd5b505af1158015610b64573d6000803e3d6000fd5b505050505050565b610b7533610a8f565b610ba7610b8185610fdd565b83604051602001610b929190614219565b60405160208183030381529060405283610a47565b50505050565b610bb633610a8f565b610aab610bc283610cc0565b82604051602001610bd39190613c38565b6040516020818303038152906040526110df565b610bf033610a8f565b610aab82826001806122fb565b610c0633610a8f565b6040516355ee627560e01b81526001600160c01b031983166004820152610aab9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015610c63573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c87919061426c565b82604051602001610bd39190614285565b610ca133610a8f565b610aab610caf8360786122af565b82604051602001610bd391906142b3565b604051637a400b6760e11b8152601e6004820152606082901b6bffffffffffffffffffffffff1916602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015610d2d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a41919061426c565b610d5a33610a8f565b610a85610d6684610fdd565b82604051602001610bd39190614219565b60003381610d84846112ac565b9050610d8f81610f0d565b610db657604051627a416f60e01b81526001600160401b0385166004820152602401610a71565b6001600160401b0384166000908152600660205260409020610dd890836123a4565b15610f0357600954604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063fe0776f59073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015610e4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6e91906143b5565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0385166024820152604401600060405180830381600087803b158015610ebe57600080fd5b505af1158015610ed2573d6000803e3d6000fd5b5050506001600160401b0385166000908152600660205260409020610ef89150836123c6565b506001949350505050565b5060009392505050565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015610f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4191906143d2565b600060078281548110610fad57610fad6143ef565b90600052602060002090600491828204019190066008029054906101000a90046001600160401b03169050919050565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d25b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401610d10565b600081815260036020526040902060010180546060919061105a90614405565b80601f016020809104026020016040519081016040528092919081815260200182805461108690614405565b80156110d35780601f106110a8576101008083540402835291602001916110d3565b820191906000526020600020905b8154815290600101906020018083116110b657829003601f168201915b50505050509050919050565b6004546001600160a01b031633146111095760405162461bcd60e51b8152600401610a71906141e2565b610aab82826123db565b61111c33610a8f565b610a8561112a84606e6122af565b83604051602001610b9291906142b3565b6004546001600160a01b031633146111655760405162461bcd60e51b8152600401610a71906141e2565b610aab82826127f0565b61117833610a8f565b610aab610caf83606e6122af565b61118f33610a8f565b610ba761119b85610fdd565b83604051602001610b92919061443f565b60005433906001600160a01b031681146111e35760405162d1953b60e31b81526001600160a01b0382166004820152602401610a71565b816001600160a01b03163b600003611219576040516361798f2f60e11b81526001600160a01b0383166004820152602401610a71565b610aab82612a68565b61122b33610a8f565b6040516355ee627560e01b81526001600160c01b031983166004820152610aab9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611288573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa5919061426c565b604051630f37f38f60e41b81526001600160401b038216600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401610d10565b604080518082018252600080825260208201529051630f37f38f60e41b81526001600160401b03831660048201526113819073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063f37f38f090602401602060405180830381865af415801561135d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061063b919061426c565b806020019051810190610a41919061446f565b61139d33610a8f565b610aab610aa5836112ac565b6113b233610a8f565b610aab6113be8361161f565b82604051602001610bd391906144a7565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c0820152928352600181018054919284019161148790614405565b80601f01602080910402602001604051908101604052809291908181526020018280546114b390614405565b80156115005780601f106114d557610100808354040283529160200191611500565b820191906000526020600020905b8154815290600101906020018083116114e357829003601f168201915b5050505050815250509050919050565b60008054600160a01b900460ff166115285750600090565b50638fb3603760e01b90565b61153d33610a8f565b600061154b84846000612abc565b509050600061155b858584612d27565b905061158f611569866112ac565b8260405160200161157a9190613c38565b60405160208183030381529060405285610a47565b5050505050565b61159f33610a8f565b610a856115ab8461161f565b83604051602001610b9291906144a7565b6115c533610a8f565b610a8561112a84608c6122af565b6115dc33610a8f565b610a856115e884610fdd565b83604051602001610b92919061454c565b61160233610a8f565b610a8561160e84610fdd565b82604051602001610bd3919061443f565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc611006565b6004546001600160a01b031633146116765760405162461bcd60e51b8152600401610a71906141e2565b610aab8282612d63565b61168933610a8f565b6040516355ee627560e01b81526001600160c01b031984166004820152610a859073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af41580156116e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061170a919061426c565b83604051602001610b929190614285565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611780573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a491906143d2565b156117ae57505050565b60ff808416600090815260026020908152604080832086851684528252808320858516845290915290205416610a8557604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610a71565b600061181733610a8f565b6000611822846112ac565b905061182d81610f0d565b61185557604051636777365b60e01b81526001600160401b0385166004820152602401610a71565b60008181526003602052604090205461188490610100900460ff16611878606490565b60ff9081169116141590565b156118ad5760405163fe229d5d60e01b81526001600160401b0385166004820152602401610a71565b6001600160401b03841660009081526006602052604090206118cf90846123a4565b610f0357600954604051631517388760e21b81526001600160401b03861660048201526001600160a01b03909116906325c471a09073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611940573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061196491906143b5565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b038616602482015260006044820152606401600060405180830381600087803b1580156119bb57600080fd5b505af11580156119cf573d6000803e3d6000fd5b5050506001600160401b03851660009081526006602052604090206119f5915084613087565b506001915050610a41565b6000611a0b33610a8f565b6000611a16846112ac565b9050611a2181610f0d565b611a4957604051634cee277360e11b81526001600160401b0385166004820152602401610a71565b6001600160401b0384166000908152600660205260409020611a6b90846123a4565b15610f0357600954604051631517388760e21b81526001600160401b03861660048201526001600160a01b039091169063b7d2b1629073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063545ce21c90602401602060405180830381865af4158015611add573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0191906143b5565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b0386166024820152604401600060405180830381600087803b158015611b5157600080fd5b505af1158015611b65573d6000803e3d6000fd5b5050506001600160401b03851660009081526006602052604090206119f59150846123c6565b611b9433610a8f565b610aab611ba083610fdd565b82604051602001610bd3919061454c565b611bba33610a8f565b610aab610caf83608c6122af565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401610f57565b611c1e33610a8f565b610aab8282600060016122fb565b611c3533610a8f565b610aab610aa58360786122af565b6001600160401b0382166000908152600660205260408120611c65908361309c565b9392505050565b611c7533610a8f565b610a8561112a8460786122af565b611c8c33610a8f565b610aab610aa583606e6122af565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611cfa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c65919061426c565b611d2733610a8f565b610aab610aa58361161f565b6000610a41825490565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015611d8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611db391906143d2565b611dff5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610a71565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015611e6b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8f91906143d2565b611edb5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610a71565b6000858152600360205260409020600101611ef685826146e9565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416611f3b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015611fcd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff191906147a8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612041573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206591906147c5565b878686328760405161207d97969594939291906147e2565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156120f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061211b91906147a8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561216b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218f91906147c5565b878532866040516121a596959493929190614832565b60405180910390a150505050505050565b6000806121ec6121ce6000546001600160a01b031690565b86306121de60046000898b614879565b6121e7916148a3565b6130a8565b915091508161158f5763ffffffff81161561228c576000805460ff60a01b198116600160a01b17909155604051634a63ebf760e11b81526001600160a01b03909116906394c7d7ee90612247908890889088906004016148d3565b600060405180830381600087803b15801561226157600080fd5b505af1158015612275573d6000803e3d6000fd5b50506000805460ff60a01b191690555061158f9050565b60405162d1953b60e31b81526001600160a01b0386166004820152602401610a71565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611cdd565b801561230f5761230c848484612abc565b50505b600061231c858585612d27565b80516000908152600560205260408120805467ffffffffffffffff19166001600160401b038981169182179092556007805460018101825593527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6886004840401805460039094166008026101000a928302199093169102179055905061158f610bc2866112ac565b6001600160a01b03811660009081526001830160205260408120541515611c65565b6000611c65836001600160a01b0384166131b4565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561242e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245291906147a8565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156124a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124cb91906143d2565b6125175760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610a71565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015612580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125a491906143d2565b6125f05760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610a71565b334360006125fd85611bc8565b61260857606461261e565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526003602052604090209091506001016126a887826146e9565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af415801561271b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061273f91906147a8565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561278f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127b391906147c5565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a0016121a5565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af415801561285c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061288091906143d2565b6128cc5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3033303a4e4f545f4558495354494e470000000000006044820152606401610a71565b60008481526003602052604090206001016128e784826146e9565b508154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166129184390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156129aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ce91906147a8565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a4291906147c5565b85853286604051612a5896959493929190614832565b60405180910390a1505050505050565b600080546001600160a01b0319166001600160a01b0383169081179091556040519081527f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9060200160405180910390a150565b6000806000612aca866112ac565b9050612ad581610f0d565b92508215612b0457612ae68161103a565b806020019051810190612af9919061446f565b602001519150612b08565b8391505b856001600160401b0381161580612b2757506001600160401b03818116145b15612b505760405163981bf42160e01b81526001600160401b0388166004820152602401610a71565b828015612b6757506127106001600160401b038216105b15612b9057604051633119b9df60e21b81526001600160401b0388166004820152602401610a71565b828015612ba857506127106001600160401b03821610155b15612bd15760405163094fb39160e01b81526001600160401b0388166004820152602401610a71565b6000612bdc876132ae565b9050612be7816132ec565b600003612c12576040516321ab17ab60e01b81526001600160401b0389166004820152602401610a71565b60008181526005602090815260409182902054825163bc1b392d60e01b81529251612cb5936001600160401b039092169273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9263bc1b392d92600480830193928290030181865af4158015612c7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ca391906143b5565b6001600160401b039081169116141590565b8015612cdb57506000818152600560205260409020546001600160401b03898116911614155b15612d1c5760008181526005602052604090819020549051631660fb9360e21b81526001600160401b03909116600482015260248101829052604401610a71565b505050935093915050565b60408051808201909152600080825260208201526040518060400160405280612d4f856132ae565b815260200183151581525090509392505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612db5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dd991906143d2565b612e255760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610a71565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612e91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eb591906143d2565b612f015760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610a71565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612f454390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612fd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ffb91906147a8565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561304b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061306f91906147c5565b8786863287604051612a5897969594939291906147e2565b6000611c65836001600160a01b038416613314565b6000611c658383613363565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516131179190614913565b600060405180830381855afa9150503d8060008114613152576040519150601f19603f3d011682016040523d82523d6000602084013e613157565b606091505b509150915081156131a9576040815110613189578080602001905181019061317f919061492f565b90945092506131a9565b60208151106131a957808060200190518101906131a691906143d2565b93505b505094509492505050565b6000818152600183016020526040812054801561329d5760006131d860018361495e565b85549091506000906131ec9060019061495e565b905080821461325157600086600001828154811061320c5761320c6143ef565b906000526020600020015490508087600001848154811061322f5761322f6143ef565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806132625761326261497f565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a41565b6000915050610a41565b5092915050565b600080829050601f815111156132d9578260405163305a27a960e01b8152600401610a719190613aff565b80516132e482614995565b179392505050565b600060ff8216601f811115610a4157604051632cd44ac360e21b815260040160405180910390fd5b600081815260018301602052604081205461335b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a41565b506000610a41565b600082600001828154811061337a5761337a6143ef565b9060005260206000200154905092915050565b6001600160401b03811681146133a257600080fd5b50565b6000602082840312156133b757600080fd5b8135611c658161338d565b6000602082840312156133d457600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b0381118282101715613413576134136133db565b60405290565b604080519081016001600160401b0381118282101715613413576134136133db565b60405161014081016001600160401b0381118282101715613413576134136133db565b60405161010081016001600160401b0381118282101715613413576134136133db565b60405161020081016001600160401b0381118282101715613413576134136133db565b600082601f8301126134b557600080fd5b81356001600160401b03808211156134cf576134cf6133db565b604051601f8301601f19908116603f011681019082821181831017156134f7576134f76133db565b8160405283815286602085880101111561351057600080fd5b836020870160208301376000602085830101528094505050505092915050565b60ff811681146133a257600080fd5b60008060006060848603121561355457600080fd5b8335925060208401356001600160401b0381111561357157600080fd5b61357d868287016134a4565b925050604084013561358e81613530565b809150509250925092565b6000602082840312156135ab57600080fd5b8135611c6581613530565b80356001600160601b03811681146135cd57600080fd5b919050565b600080604083850312156135e557600080fd5b6135ee836135b6565b915060208301356135fe81613530565b809150509250929050565b6001600160a01b03811681146133a257600080fd5b80151581146133a257600080fd5b6000806040838503121561363f57600080fd5b823561364a81613609565b915060208301356135fe8161361e565b63ffffffff811681146133a257600080fd5b803564ffffffffff811681146135cd57600080fd5b60006080828403121561369357600080fd5b61369b6133f1565b905081356136a88161365a565b81526020828101359082015260408201356001600160401b038111156136cd57600080fd5b6136d9848285016134a4565b6040830152506136eb6060830161366c565b606082015292915050565b6000806000806080858703121561370c57600080fd5b613715856135b6565b935060208501356137258161365a565b925060408501356001600160401b0381111561374057600080fd5b61374c87828801613681565b925050606085013561375d81613530565b939692955090935050565b600080828403606081121561377c57600080fd5b833561378781613609565b92506040601f198201121561379b57600080fd5b506137a4613419565b6020840135815260408401356137b98161361e565b6020820152919491935090915050565b600080604083850312156137dc57600080fd5b82356137e78161338d565b915060208301356001600160401b0381111561380257600080fd5b61380e858286016134a4565b9150509250929050565b6001600160c01b0319811681146133a257600080fd5b80356135cd81613818565b60006040828403121561384b57600080fd5b613853613419565b905061385e826135b6565b815260208201356001600160401b0381111561387957600080fd5b613885848285016134a4565b60208301525092915050565b600080604083850312156138a457600080fd5b82356138af81613818565b915060208301356001600160401b038111156138ca57600080fd5b61380e85828601613839565b80356135cd81613609565b6000604082840312156138f357600080fd5b6138fb613419565b9050813581526020820135602082015292915050565b6000610200828403121561392457600080fd5b61392c61343b565b9050613937826138d6565b8152613945602083016138d6565b6020820152613956604083016135b6565b6040820152613967606083016135b6565b606082015261397983608084016138e1565b608082015261398b8360c084016138e1565b60a082015261010061399f848285016138e1565b60c08301526139b28461014085016138e1565b60e08301526139c58461018085016138e1565b908201526139d7836101c084016138e1565b61012082015292915050565b60008061022083850312156139f757600080fd5b613a00836135b6565b9150613a0f8460208501613911565b90509250929050565b600060208284031215613a2a57600080fd5b8135611c6581613609565b600080600060608486031215613a4a57600080fd5b613a53846135b6565b92506020840135613a638161365a565b915060408401356001600160401b03811115613a7e57600080fd5b613a8a86828701613681565b9150509250925092565b600060208284031215613aa657600080fd5b611c65826135b6565b60005b83811015613aca578181015183820152602001613ab2565b50506000910152565b60008151808452613aeb816020860160208601613aaf565b601f01601f19169290920160200192915050565b602081526000611c656020830184613ad3565b60008060408385031215613b2557600080fd5b8235915060208301356001600160401b0381111561380257600080fd5b60008060006102408486031215613b5857600080fd5b613b61846135b6565b9250613b708560208601613911565b915061022084013561358e81613530565b600060808284031215613b9357600080fd5b613b9b6133f1565b9050813581526020820135602082015260408201356001600160401b038111156136cd57600080fd5b60008060008060808587031215613bda57600080fd5b613be3856135b6565b93506020850135613bf38161365a565b925060408501356001600160401b03811115613c0e57600080fd5b61374c87828801613b81565b60008060408385031215613c2d57600080fd5b82356135ee81613818565b8151815260208083015115159082015260408101610a41565b60008060408385031215613c6457600080fd5b82356135ee8161338d565b60006101208284031215613c8257600080fd5b613c8a61345e565b9050613c95826135b6565b8152613ca483602084016138e1565b602082015260608201356001600160401b03811115613cc257600080fd5b613cce848285016134a4565b6040830152506080820135606082015260a0820135608082015260c082013560a0820152613cfe60e0830161366c565b60c0820152613d10610100830161366c565b60e082015292915050565b60008060408385031215613d2e57600080fd5b613d37836135b6565b915060208301356001600160401b03811115613d5257600080fd5b61380e85828601613c6f565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152613dba602082018351613d5e565b6000602083015160c080840152613dd460e0840182613ad3565b949350505050565b600080600060608486031215613df157600080fd5b8335613dfc8161338d565b925060208401356001600160401b0381111561357157600080fd5b600080600060608486031215613e2c57600080fd5b613e35846135b6565b925060208401356001600160401b03811115613e5057600080fd5b61357d86828701613c6f565b803561ffff811681146135cd57600080fd5b60006102008284031215613e8157600080fd5b613e89613481565b9050613e94826135b6565b8152613ea2602083016135b6565b6020820152613eb36040830161382e565b6040820152613ec46060830161382e565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115613f0d57600080fd5b613f19868387016134a4565b83850152610120925082850135915080821115613f3557600080fd5b50613f42858286016134a4565b828401525050610140613f56818401613e5c565b90820152610160613f68838201613e5c565b9082015261018082810135908201526101a0613f8581840161366c565b908201526101c0613f9783820161366c565b908201526101e0613fa983820161366c565b9082015292915050565b600080600060608486031215613fc857600080fd5b613fd1846135b6565b925060208401356001600160401b03811115613fec57600080fd5b61357d86828701613e6e565b60008060006060848603121561400d57600080fd5b614016846135b6565b925060208401356140268161365a565b915060408401356001600160401b0381111561404157600080fd5b613a8a86828701613b81565b6000806040838503121561406057600080fd5b8235915060208301356135fe81613530565b60a08101610a418284613d5e565b60008060006060848603121561409557600080fd5b83356140a081613818565b925060208401356001600160401b038111156140bb57600080fd5b61357d86828701613839565b6000806000606084860312156140dc57600080fd5b83356140e781613530565b925060208401356140f781613530565b9150604084013561358e81613530565b6000806040838503121561411a57600080fd5b82356141258161338d565b915060208301356135fe81613609565b6000806040838503121561414857600080fd5b614151836135b6565b915060208301356001600160401b0381111561416c57600080fd5b61380e85828601613e6e565b6000806040838503121561418b57600080fd5b82356141968161338d565b946020939093013593505050565b60ff19811681146133a257600080fd5b600080604083850312156141c757600080fd5b82356141d281613530565b915060208301356135fe816141a4565b60208082526017908201527f4552524f523a4b56532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261424f60a0840182613ad3565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561427e57600080fd5b5051919050565b602081526001600160601b03825116602082015260006020830151604080840152613dd46060840182613ad3565b81516001600160a01b03168152610200810160208301516142df60208401826001600160a01b03169052565b5060408301516142fa60408401826001600160601b03169052565b50606083015161431560608401826001600160601b03169052565b506080830151614332608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301516101006143688185018380518252602090810151910152565b60e085015180516101408601526020908101516101608601529085015180516101808601528101516101a085015261012085015180516101c0860152908101516101e085015290506132a7565b6000602082840312156143c757600080fd5b8151611c658161338d565b6000602082840312156143e457600080fd5b8151611c658161361e565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168061441957607f821691505b60208210810361443957634e487b7160e01b600052602260045260246000fd5b50919050565b602081528151602082015260208201516040820152600060408301516080606084015261424f60a0840182613ad3565b60006040828403121561448157600080fd5b614489613419565b82518152602083015161449b8161361e565b60208201529392505050565b602081526001600160601b038251166020820152600060208301516144d9604084018280518252602090810151910152565b5060408301516101208060808501526144f6610140850183613ad3565b9150606085015160a0850152608085015160c085015260a085015160e085015260c085015161452f61010086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b602081526145666020820183516001600160601b03169052565b6000602083015161458260408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526145fa610220860184613ad3565b9250808601519050610140601f19868503018187015261461a8483613ad3565b9350808701519150506101606146358187018361ffff169052565b860151905061018061464c8682018361ffff169052565b8601516101a08681019190915286015190506101c06146738187018364ffffffffff169052565b86015190506101e061468d8682018364ffffffffff169052565b86015164ffffffffff8116838701529050614542565b601f821115610a8557600081815260208120601f850160051c810160208610156146ca5750805b601f850160051c820191505b81811015610b64578281556001016146d6565b81516001600160401b03811115614702576147026133db565b614716816147108454614405565b846146a3565b602080601f83116001811461474b57600084156147335750858301515b600019600386901b1c1916600185901b178555610b64565b600085815260208120601f198616915b8281101561477a5788860151825594840194600190910190840161475b565b50858210156147985787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156147ba57600080fd5b8151611c6581613530565b6000602082840312156147d757600080fd5b8151611c65816141a4565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b60ff968716815260ff199590951660208601529290941660408401526001600160a01b039081166060840152909216608082015263ffffffff90911660a082015260c00190565b6000808585111561488957600080fd5b8386111561489657600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156148cb5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251614925818460208701613aaf565b9190910192915050565b6000806040838503121561494257600080fd5b825161494d8161361e565b60208401519092506135fe8161365a565b81810381811115610a4157634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b805160208083015191908110156144395760001960209190910360031b1b1691905056fea26469706673582212201409c219e5be38947ccc86eb17f6aa5e3d764b86275eb08e00cc9c758d710a4064736f6c63430008140033",
3019
+ "bytecode": "0x608060405234801561001057600080fd5b50615e8180620000216000396000f3fe608060405234801561001057600080fd5b506004361061046a5760003560e01c80637a9e5e4b1161024c578063bf1db3f911610146578063e7f7fb86116100c3578063f7c34ee011610087578063f7c34ee014610b04578063fb4a8e3414610b17578063fbc1a3a014610b2a578063fe1f18d614610b3d578063feb34b4414610b5057600080fd5b8063e7f7fb8614610a7a578063e9e96c7014610a8d578063f48016ce14610acb578063f7b442d114610ade578063f7bc431c14610af157600080fd5b8063cde749f41161010a578063cde749f414610a23578063d2f21a2914610a2b578063d5c9d77d14610a3e578063dee3262314610a51578063e5f6cd2714610a6457600080fd5b8063bf1db3f9146109e2578063bf7e214f146109f5578063c0c53b8b146109fd578063c14ef880146105b4578063ca0e7f0814610a1057600080fd5b8063a2842229116101d4578063a898967511610198578063a898967514610981578063ada9652e14610994578063af902500146109a9578063b6d7cd62146109bc578063bb1e0e59146109cf57600080fd5b8063a284222914610884578063a4eeee5914610897578063a5961b4c146108aa578063a671495e1461095b578063a76ee0181461096e57600080fd5b80638eaa6ac01161021b5780638eaa6ac01461080a5780638fb360371461082a57806397affbf51461084b5780639e90178c1461085e578063a1ef60e91461087157600080fd5b80637a9e5e4b146107c95780637cef4842146107dc57806381c2b282146107ef578063893d20e81461080257600080fd5b806336fc697e1161036857806359852426116102e557806361105e0e116102a957806361105e0e1461076257806361f5f42014610775578063644c45e014610786578063675393bf146107ae57806375b238fc146107c157600080fd5b806359852426146107225780635a8416b0146107355780635ab1bd53146107485780635d4345cc146105845780635dfa73db1461075957600080fd5b80633ca7c02a1161032c5780633ca7c02a146106ae57806340529b0f146106d4578063422c9d00146106e7578063468bce06146106fa57806354f6127f1461070257600080fd5b806336fc697e14610663578063375cfcaf146105b457806337f135d71461066b5780633870a7701461068857806338a699a41461069b57600080fd5b80630fec111c116103f65780632781d443116103ba5780632781d4431461060f57806327bb7a331461061757806329e63f621461062a5780632f61088a1461063d57806330a130ba1461065057600080fd5b80630fec111c14610597578063138461e0146105ac5780631cf40934146105b45780631eff4b22146105c7578063214cdb80146105fc57600080fd5b80630d3581811161043d5780630d358181146105255780630f526f7d1461054b5780630f6c29ef1461055e5780630f749a89146105715780630fad0eb11461058457600080fd5b806301ffc9a71461046f57806302cd3071146104b157806309648a9d146104d65780630cbc6b8914610510575b600080fd5b61049c61047d366004613e99565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104a8565b6104fe6104e4366004613ec3565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104a8565b61052361051e36600461410d565b610b63565b005b6104fe610533366004614159565b60ff9081166000908152600260205260409020541690565b610523610559366004614176565b610ba9565b61052361056c36600461432a565b610bca565b61052361057f36600461439c565b610bf7565b610523610592366004614176565b610d1d565b61059f610d34565b6040516104a89190614409565b610523610e87565b6105236105c236600461461a565b611089565b6105ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016104a8565b61052361060a366004613e99565b6110b1565b6105ee600381565b610523610625366004614672565b6110de565b6105236106383660046147b0565b611183565b61052361064b366004614862565b6111aa565b61052361065e3660046149a1565b61125e565b6105236112fe565b610673600081565b60405163ffffffff90911681526020016104a8565b6105236106963660046149e6565b611344565b61049c6106a9366004613ec3565b61135a565b6106bc6001600160401b0381565b6040516001600160401b0390911681526020016104a8565b6105236106e2366004614176565b6113ef565b6105236106f536600461439c565b611406565b6105236115ad565b610715610710366004613ec3565b6115df565b6040516104a89190614a24565b610523610730366004614b00565b611684565b610523610743366004614b47565b6116ac565b6001546001600160a01b03166104be565b6106bc61271081565b610523610770366004614c4a565b61174c565b6007546001600160a01b03166104be565b600080516020615e0c833981519152546040516001600160601b0390911681526020016104a8565b6105236107bc36600461439c565b6117ec565b6106bc600081565b6105236107d736600461439c565b6118f8565b6105236107ea366004614c91565b61197b565b6105236107fd366004614caf565b611a0a565b6104be611a31565b61081d610818366004613ec3565b611b68565b6040516104a89190614d58565b610832611ca9565b6040516001600160e01b031990911681526020016104a8565b610523610859366004614d84565b611ce1565b61052361086c366004614e4e565b611d09565b61052361087f366004614e85565b611d31565b610523610892366004614c91565b611d58565b6105236108a5366004614f6d565b611da6565b61094e6108b8366004613ec3565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104a89190614fb4565b610523610969366004615065565b611dce565b61052361097c3660046150aa565b611df6565b61052361098f3660046150f1565b611e96565b6105ee600080516020615e0c83398151915281565b6105236109b7366004614c91565b611f87565b6105236109ca366004615121565b611fd5565b6105236109dd366004615151565b611feb565b61049c6109f0366004614159565b6121b0565b6104be6121fd565b610523610a0b36600461517d565b612219565b610523610a1e3660046151bd565b6123ed565b6104fe61248d565b610523610a39366004614176565b612509565b610523610a4c366004615202565b612520565b610523610a5f366004614176565b612548565b60055461010090046001600160a01b03166104be565b610523610a88366004615247565b61255f565b61049c610a9b3660046150f1565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b6105ee610ad9366004615298565b612739565b610523610aec3660046152c6565b6127c4565b610523610aff36600461439c565b6127ec565b610523610b12366004615307565b6128ac565b610523610b25366004615335565b612923565b610523610b3836600461537c565b61294b565b610523610b4b366004614176565b612973565b610523610b5e3660046153aa565b61298a565b610b70335b6000366129b2565b610ba4610b7e84606e612ab8565b83604051602001610b8f91906153ef565b60405160208183030381529060405283612b04565b505050565b610bb233610b68565b610bc6610bc083608c612ab8565b82612fb5565b5050565b610bd333610b68565b610bf1610be085856132f9565b83604051602001610b8f919061549e565b50505050565b610c0033610b68565b60055461010090046001600160a01b031615610c475760055460405163e02ca03360e01b81526101009091046001600160a01b031660048201526024015b60405180910390fd5b610c4f6121fd565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba91906154f8565b6001600160a01b031614610cf557610cd06121fd565b6040516374150f9560e11b81526001600160a01b039091166004820152602401610c3e565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610d2633610b68565b610bc6610bc08360d3612ab8565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610de3611a31565b6001600160a01b03168152602001826001018054610e0090615515565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2c90615515565b8015610e795780601f10610e4e57610100808354040283529160200191610e79565b820191906000526020600020905b815481529060010190602001808311610e5c57829003601f168201915b505050505081525091505090565b6000600080516020615e0c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a919061554f565b15610f465780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c3e565b30610f596001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc5919061554f565b610fed5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610c3e565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015611041573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611065919061556c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61109233610b68565b610ba46110a08460d3612ab8565b83604051602001610b8f9190615589565b6110b9613347565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6110e6613347565b6110f082876128ac565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301611179838261575f565b5050505050505050565b61118c33610b68565b610bf16111998585613390565b83604051602001610b8f919061581e565b6111b333610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee6275906111f8906001600160c01b0319871690600401615892565b602060405180830381865af4158015611215573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123991906158a7565b8260405160200161124a91906158c0565b6040516020818303038152906040526133dd565b61126733610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee6275906112ac906001600160c01b0319871690600401615892565b602060405180830381865af41580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed91906158a7565b8260405160200161124a91906158ee565b611306613347565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61134d33610b68565b610ba4610bc084846132f9565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e9919061554f565b92915050565b6113f833610b68565b610bc6610bc083607a612ab8565b61140f33610b68565b6007546001600160a01b0316156114485760075460405163384c2dbd60e11b81526001600160a01b039091166004820152602401610c3e565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611490573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b491906154f8565b6001600160a01b0316146114dd5760405163decb98c560e01b8152306004820152602401610c3e565b6114e56121fd565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561152c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155091906154f8565b6001600160a01b03161461158b576115666121fd565b604051630312205960e41b81526001600160a01b039091166004820152602401610c3e565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6115b5613347565b6115bd6137f6565b6115c5613919565b6115cd613a0c565b6115d5613b1a565b6115dd613bd6565b565b60008181526004602052604090206001018054606091906115ff90615515565b80601f016020809104026020016040519081016040528092919081815260200182805461162b90615515565b80156116785780601f1061164d57610100808354040283529160200191611678565b820191906000526020600020905b81548152906001019060200180831161165b57829003601f168201915b50505050509050919050565b61168d33610b68565b610ba461169b8460dc612ab8565b83604051602001610b8f919061599e565b6116b533610b68565b6040516355ee627560e01b8152610ba49073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee6275906116fa906001600160c01b0319881690600401615892565b602060405180830381865af4158015611717573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173b91906158a7565b83604051602001610b8f91906158ee565b61175533610b68565b6040516355ee627560e01b8152610ba49073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee62759061179a906001600160c01b0319881690600401615892565b602060405180830381865af41580156117b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117db91906158a7565b83604051602001610b8f9190615a6e565b6117f4613347565b806001600160a01b03163b60000361182a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156118a4575060408051601f3d908101601f191682019092526118a19181019061554f565b60015b6118cc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b80610bc65760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c3e565b50565b336119016121fd565b6001600160a01b0316816001600160a01b03161461193c5760405162d1953b60e31b81526001600160a01b0382166004820152602401610c3e565b816001600160a01b03163b600003611972576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c3e565b610bc682613c92565b61198433610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee6275906119c9906001600160c01b0319871690600401615892565b602060405180830381865af41580156119e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc091906158a7565b611a1333610b68565b610ba4611a2084846132f9565b8260405160200161124a919061549e565b600080600080516020615e0c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611aa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac5919061554f565b15611b52576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4c91906154f8565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611c2090615515565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4c90615515565b8015611c995780601f10611c6e57610100808354040283529160200191611c99565b820191906000526020600020905b815481529060010190602001808311611c7c57829003601f168201915b5050505050815250509050919050565b600080516020615e2c833981519152805460009190600160a01b900460ff16611cd3576000611b4c565b638fb3603760e01b91505090565b611cea33610b68565b610bc6611cf88360dc612ab8565b8260405160200161124a919061599e565b611d1233610b68565b610bc6611d20836078612ab8565b8260405160200161124a9190615b0a565b611d3a33610b68565b610ba4611d478484613390565b8260405160200161124a919061581e565b611d6133610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee6275906119c9906001600160c01b0319871690600401615892565b611daf33610b68565b610ba4611dbd84608c612ab8565b83604051602001610b8f9190615b7e565b611dd733610b68565b610bc6611de583607a612ab8565b8260405160200161124a9190615bff565b611dff33610b68565b6040516355ee627560e01b8152610ba49073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611e44906001600160c01b0319881690600401615892565b602060405180830381865af4158015611e61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8591906158a7565b83604051602001610b8f91906158c0565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611efb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1f919061554f565b15611f2957505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610ba457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610c3e565b611f9033610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee6275906119c9906001600160c01b0319871690600401615892565b611fde33610b68565b610ba4610bc08484613390565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612034573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061205891906154f8565b6001600160a01b0316336001600160a01b03161461207557600080fd5b60055461010090046001600160a01b03166303014974612093613cf3565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa1580156120d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fb91906158a7565b1561210857612108615c5d565b60055461010090046001600160a01b031663b428b0b0612126613cf3565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af115801561217b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219f919061554f565b1515600114610bc657610bc6615c5d565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113a8565b600080516020615e2c833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b031660008115801561225e5750825b90506000826001600160401b0316600114801561227a5750303b155b905081158015612288575080155b156122a65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122d057845460ff60401b1916600160401b1785555b6001600160a01b0388166122f75760405163da1db49160e01b815260040160405180910390fd5b61230088613d6b565b600087905061238588826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612347573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236b919061556c565b604660018b604051806020016040528060008152506110de565b61238d6115ad565b61239d633e1e17f360e11b6110b1565b50831561117957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b6123f633610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee62759061243b906001600160c01b0319871690600401615892565b602060405180830381865af4158015612458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061247c91906158a7565b8260405160200161124a9190615a6e565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156124e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125049190615c73565b905090565b61251233610b68565b610bc6610bc0836078612ab8565b61252933610b68565b610bc661253783608c612ab8565b8260405160200161124a9190615b7e565b61255133610b68565b610bc6610bc083606e612ab8565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cc91906154f8565b6001600160a01b0316336001600160a01b0316146125e957600080fd5b60055461010090046001600160a01b031663b7d2b162612607613cf3565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af115801561265c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612680919061554f565b151560011461269157612691615c5d565b60055461010090046001600160a01b031663b428b0b06126af613cf3565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af1158015612704573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612728919061554f565b1515600114610ba457610ba4615c5d565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015612799573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127bd91906158a7565b9392505050565b6127cd33610b68565b610ba46127db846078612ab8565b83604051602001610b8f9190615b0a565b6127f533610b68565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561283d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286191906154f8565b6001600160a01b03161461288a576040516345789cf560e01b8152306004820152602401610c3e565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6128b4613347565b6128bd816117ec565b6128c56112fe565b6001600160a01b0382166128ec5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615e0c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61292c33610b68565b610ba461293a84607a612ab8565b83604051602001610b8f9190615bff565b61295433610b68565b610bc661296283606e612ab8565b8260405160200161124a91906153ef565b61297c33610b68565b610bc6610bc08360dc612ab8565b61299333610b68565b610bc66129a18360d3612ab8565b8260405160200161124a9190615589565b600080516020615e2c8339815191526000806129ed6129cf6121fd565b87306129df600460008a8c615c90565b6129e891615cba565b613d7c565b9150915081612ab05763ffffffff811615612a8d57825460ff60a01b1916600160a01b178355612a1b6121fd565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612a4a93929190615cea565b600060405180830381600087803b158015612a6457600080fd5b505af1158015612a78573d6000803e3d6000fd5b5050845460ff60a01b1916855550612ab09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c3e565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161277c565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612b56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7a919061554f565b612bc65760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c56919061554f565b612ca25760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b6000858152600460205260409020600101612cbd858261575f565b5060ff80841614612cdb57815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b90910416612d0b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc19190615c73565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e359190615d2a565b8588863287604051612e4d9796959493929190615d47565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eeb9190615c73565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612f3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f5f9190615d2a565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613007573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061302b919061554f565b6130775760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156130e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613107919061554f565b6131535760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b81546131639060ff168285611e96565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166131a74390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613239573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061325d9190615c73565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156132ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132d19190615d2a565b85888632876040516132e99796959493929190615d47565b60405180910390a1505050505050565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__9063592734119060440161277c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166115dd57604051631afcd79f60e31b815260040160405180910390fd5b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b229060440161277c565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613430573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134549190615c73565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156134a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134cd919061554f565b6135195760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610c3e565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613586573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135aa919061554f565b6135f65760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610c3e565b33436000613603856121b0565b61360e576064613624565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526004602052604090209091506001016136ae878261575f565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137459190615c73565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137b99190615d2a565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001612fa4565b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff16815260200190815260200160002060006138f560c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff16815260200190815260200160002060006139ee606e90565b60ff1660ff16815260200190815260200160002060006138f560d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa9060646138d7565b7f07f164294c9f742449ae2b41ea995596da138b514d14d5f233585da8f92971968054603260ff19918216179091557f1aaad14668ac20aeb8e1295d4016ff57ca4e7d9a5d4ddded8fc4cc10cbd645768054821660019081179091557fe2294421c3570585f969350452a698010f0ce83857042531533f0ca7234165f78054909216811790915560d4600090815260036020527f8cabc3f67f90d9c8052e24f35f5812d18f2439ca7faf98b1d4d5d0b98dd1603e9060336138d7565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c86139d0565b600080516020615e2c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015613d47573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125049190615d97565b613d73613347565b6118f581613e88565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613deb9190615dc0565b600060405180830381855afa9150503d8060008114613e26576040519150601f19603f3d011682016040523d82523d6000602084013e613e2b565b606091505b50915091508115613e7d576040815110613e5d5780806020019051810190613e539190615ddc565b9094509250613e7d565b6020815110613e7d5780806020019051810190613e7a919061554f565b93505b505094509492505050565b613e90613347565b6118f581613c92565b600060208284031215613eab57600080fd5b81356001600160e01b0319811681146127bd57600080fd5b600060208284031215613ed557600080fd5b5035919050565b6001600160601b03811681146118f557600080fd5b8035613efc81613edc565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f3957613f39613f01565b60405290565b60405161010081016001600160401b0381118282101715613f3957613f39613f01565b60405161022081016001600160401b0381118282101715613f3957613f39613f01565b60405160c081016001600160401b0381118282101715613f3957613f39613f01565b60405161012081016001600160401b0381118282101715613f3957613f39613f01565b60405160e081016001600160401b0381118282101715613f3957613f39613f01565b6001600160a01b03811681146118f557600080fd5b8035613efc81613fec565b60006040828403121561401e57600080fd5b614026613f17565b9050813581526020820135602082015292915050565b80151581146118f557600080fd5b8035613efc8161403c565b6000610140828403121561406857600080fd5b614070613f3f565b905061407b82614001565b815261408960208301614001565b602082015261409a60408301613ef1565b60408201526140ab60608301613ef1565b60608201526140bd836080840161400c565b60808201526140cf8360c0840161400c565b60a08201526140e1610100830161404a565b60c08201526140f36101208301614001565b60e082015292915050565b60ff811681146118f557600080fd5b6000806000610180848603121561412357600080fd5b833561412e81613edc565b925061413d8560208601614055565b915061016084013561414e816140fe565b809150509250925092565b60006020828403121561416b57600080fd5b81356127bd816140fe565b6000806040838503121561418957600080fd5b823561419481613edc565b915060208301356141a4816140fe565b809150509250929050565b803562ffffff81168114613efc57600080fd5b61ffff811681146118f557600080fd5b8035613efc816141c2565b600082601f8301126141ee57600080fd5b81356001600160401b038082111561420857614208613f01565b604051601f8301601f19908116603f0116810190828211818310171561423057614230613f01565b8160405283815286602085880101111561424957600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff811681146118f557600080fd5b8035613efc81614269565b60006080828403121561429957600080fd5b604051608081016001600160401b0382821081831117156142bc576142bc613f01565b81604052829350843591506142d0826141c2565b9082526020840135906142e282613edc565b81602084015260408501359150808211156142fc57600080fd5b50614309858286016141dd565b604083015250606083013561431d81614269565b6060919091015292915050565b6000806000806080858703121561434057600080fd5b843561434b81613edc565b9350614359602086016141af565b925060408501356001600160401b0381111561437457600080fd5b61438087828801614287565b9250506060850135614391816140fe565b939692955090935050565b6000602082840312156143ae57600080fd5b81356127bd81613fec565b60005b838110156143d45781810151838201526020016143bc565b50506000910152565b600081518084526143f58160208601602086016143b9565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161447260c08401826001600160a01b03169052565b5060c083015160e08084015261448c6101008401826143dd565b949350505050565b6001600160c01b0319811681146118f557600080fd5b8035613efc81614494565b600061022082840312156144c857600080fd5b6144d0613f62565b90506144db82613ef1565b81526144e960208301613ef1565b60208201526144fa604083016144aa565b604082015261450b606083016144aa565b60608201526080820135608082015260a082013560a082015260c082013560c082015261453a60e0830161427c565b60e0820152610100808301356001600160401b038082111561455b57600080fd5b614567868387016141dd565b8385015261012092508285013591508082111561458357600080fd5b50614590858286016141dd565b8284015250506101406145a48184016141d2565b908201526101606145b68382016141d2565b908201526101806145c8838201613ef1565b908201526101a06145da838201613ef1565b908201526101c06145ec83820161427c565b908201526101e06145fe83820161427c565b9082015261020061461083820161427c565b9082015292915050565b60008060006060848603121561462f57600080fd5b833561463a81613edc565b925060208401356001600160401b0381111561465557600080fd5b614661868287016144b5565b925050604084013561414e816140fe565b60008060008060008060c0878903121561468b57600080fd5b863561469681613fec565b955060208701356146a681613edc565b945060408701356146b6816140fe565b935060608701356146c68161403c565b925060808701356146d681613fec565b915060a08701356001600160401b038111156146f157600080fd5b6146fd89828a016141dd565b9150509295509295509295565b600060c0828403121561471c57600080fd5b614724613f85565b9050813561473181613edc565b8152602082013561474181613edc565b60208201526040820135614754816140fe565b60408201526060820135614767816140fe565b606082015260808201356001600160401b0381111561478557600080fd5b614791848285016141dd565b60808301525060a08201356147a581614269565b60a082015292915050565b600080600080608085870312156147c657600080fd5b84356147d181613edc565b935060208501356147e1816141c2565b925060408501356001600160401b038111156147fc57600080fd5b6143808782880161470a565b60006040828403121561481a57600080fd5b614822613f17565b9050813561482f81613edc565b815260208201356001600160401b0381111561484a57600080fd5b614856848285016141dd565b60208301525092915050565b6000806040838503121561487557600080fd5b823561488081614494565b915060208301356001600160401b0381111561489b57600080fd5b6148a785828601614808565b9150509250929050565b63ffffffff811681146118f557600080fd5b8035613efc816148b1565b600061012082840312156148e157600080fd5b6148e9613fa7565b905081356001600160401b038082111561490257600080fd5b61490e858386016141dd565b835260208401356020840152604084013560408401526060840135606084015261493a608085016148c3565b608084015261494b60a085016148c3565b60a084015261495c60c0850161404a565b60c084015261496d60e0850161404a565b60e08401526101009150818401358181111561498857600080fd5b614994868287016141dd565b8385015250505092915050565b600080604083850312156149b457600080fd5b82356149bf81614494565b915060208301356001600160401b038111156149da57600080fd5b6148a7858286016148ce565b6000806000606084860312156149fb57600080fd5b8335614a0681613edc565b9250614a14602085016141af565b9150604084013561414e816140fe565b6020815260006127bd60208301846143dd565b60006101408284031215614a4a57600080fd5b614a52613fa7565b9050614a5d82613ef1565b8152614a6c836020840161400c565b602082015260608201356001600160401b03811115614a8a57600080fd5b614a96848285016141dd565b604083015250614aa860808301613ef1565b6060820152614ab960a08301613ef1565b6080820152614aca60c08301613ef1565b60a0820152614adb60e0830161427c565b60c0820152610100614aee81840161427c565b60e0830152614610610120840161427c565b600080600060608486031215614b1557600080fd5b8335614b2081613edc565b925060208401356001600160401b03811115614b3b57600080fd5b61466186828701614a37565b600080600060608486031215614b5c57600080fd5b8335614b6781614494565b925060208401356001600160401b03811115614b8257600080fd5b614661868287016148ce565b600060e08284031215614ba057600080fd5b614ba8613fca565b9050614bb382613ef1565b815260208201356001600160401b0380821115614bcf57600080fd5b614bdb858386016141dd565b602084015260408401356040840152614bf6606085016148c3565b6060840152614c07608085016148c3565b6080840152614c1860a0850161427c565b60a084015260c0840135915080821115614c3157600080fd5b50614c3e848285016141dd565b60c08301525092915050565b600080600060608486031215614c5f57600080fd5b8335614c6a81614494565b925060208401356001600160401b03811115614c8557600080fd5b61466186828701614b8e565b60008060408385031215614ca457600080fd5b823561419481614494565b600080600060608486031215614cc457600080fd5b8335614ccf81613edc565b9250614cdd602085016141af565b915060408401356001600160401b03811115614cf857600080fd5b614d0486828701614287565b9150509250925092565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614d6a602082018351614d0e565b6000602083015160c08084015261448c60e08401826143dd565b60008060408385031215614d9757600080fd5b8235614da281613edc565b915060208301356001600160401b03811115614dbd57600080fd5b6148a785828601614a37565b60006101008284031215614ddc57600080fd5b614de4613f85565b90508135614df181613edc565b81526020820135614e0181613fec565b6020820152614e13836040840161400c565b6040820152614e25836080840161400c565b606082015260c0820135614e3881613fec565b608082015260e0919091013560a0820152919050565b6000806101208385031215614e6257600080fd5b8235614e6d81613edc565b9150614e7c8460208501614dc9565b90509250929050565b600080600060608486031215614e9a57600080fd5b8335614ea581613edc565b92506020840135614eb5816141c2565b915060408401356001600160401b03811115614ed057600080fd5b614d048682870161470a565b600060e08284031215614eee57600080fd5b614ef6613fca565b905081356001600160401b0380821115614f0f57600080fd5b614f1b858386016141dd565b8352614f2960208501614001565b6020840152614f3a60408501614001565b6040840152614f4b60608501614001565b6060840152614f5c60808501613ef1565b6080840152614c1860a08501613ef1565b600080600060608486031215614f8257600080fd5b8335614f8d81613edc565b925060208401356001600160401b03811115614fa857600080fd5b61466186828701614edc565b60a081016113e98284614d0e565b600060a08284031215614fd457600080fd5b60405160a081016001600160401b038282108183111715614ff757614ff7613f01565b816040528293508435915061500b82614494565b90825260208401359061501d8261403c565b816020840152604085013591508082111561503757600080fd5b50615044858286016141dd565b60408301525060608301356060820152608083013560808201525092915050565b6000806040838503121561507857600080fd5b823561508381613edc565b915060208301356001600160401b0381111561509e57600080fd5b6148a785828601614fc2565b6000806000606084860312156150bf57600080fd5b83356150ca81614494565b925060208401356001600160401b038111156150e557600080fd5b61466186828701614808565b60008060006060848603121561510657600080fd5b8335615111816140fe565b92506020840135614a14816140fe565b60008060006060848603121561513657600080fd5b833561514181613edc565b92506020840135614a14816141c2565b6000806040838503121561516457600080fd5b823561516f81613fec565b946020939093013593505050565b60008060006060848603121561519257600080fd5b833561519d81613fec565b925060208401356151ad81613fec565b9150604084013561414e81613fec565b600080604083850312156151d057600080fd5b82356151db81614494565b915060208301356001600160401b038111156151f657600080fd5b6148a785828601614b8e565b6000806040838503121561521557600080fd5b823561522081613edc565b915060208301356001600160401b0381111561523b57600080fd5b6148a785828601614edc565b60008060006060848603121561525c57600080fd5b833561526781613fec565b9250602084013561527781613fec565b929592945050506040919091013590565b60ff19811681146118f557600080fd5b600080604083850312156152ab57600080fd5b82356152b6816140fe565b915060208301356141a481615288565b600080600061014084860312156152dc57600080fd5b83356152e781613edc565b92506152f68560208601614dc9565b915061012084013561414e816140fe565b6000806040838503121561531a57600080fd5b823561532581613fec565b915060208301356141a481613fec565b60008060006060848603121561534a57600080fd5b833561535581613edc565b925060208401356001600160401b0381111561537057600080fd5b61466186828701614fc2565b600080610160838503121561539057600080fd5b823561539b81613edc565b9150614e7c8460208501614055565b600080604083850312156153bd57600080fd5b82356153c881613edc565b915060208301356001600160401b038111156153e357600080fd5b6148a7858286016144b5565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b03169082015260608083015161014083019161543e908401826001600160601b03169052565b50608083015161545b608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815261ffff82511660208201526001600160601b03602083015116604082015260006040830151608060608401526154db60a08401826143dd565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561550a57600080fd5b81516127bd81613fec565b600181811c9082168061552957607f821691505b60208210810361554957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561556157600080fd5b81516127bd8161403c565b60006020828403121561557e57600080fd5b81516127bd81613edc565b602081526155a36020820183516001600160601b03169052565b600060208301516155bf60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006156248185018364ffffffffff169052565b8085015191505061022061012081818601526156446102408601846143dd565b9250808601519050610140601f19868503018187015261566484836143dd565b93508087015191505061016061567f8187018361ffff169052565b86015190506101806156968682018361ffff169052565b86015190506101a06156b2868201836001600160601b03169052565b86015190506101c06156ce868201836001600160601b03169052565b86015190506101e06156e88682018364ffffffffff169052565b86015190506102006157028682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b601f821115610ba457600081815260208120601f850160051c810160208610156157405750805b601f850160051c820191505b81811015612ab05782815560010161574c565b81516001600160401b0381111561577857615778613f01565b61578c816157868454615515565b84615719565b602080601f8311600181146157c157600084156157a95750858301515b600019600386901b1c1916600185901b178555612ab0565b600085815260208120601f198616915b828110156157f0578886015182559484019460019091019084016157d1565b508582101561580e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a084015261587560e08401826143dd565b905064ffffffffff60a08501511660c08401528091505092915050565b6001600160c01b031991909116815260200190565b6000602082840312156158b957600080fd5b5051919050565b602081526001600160601b0382511660208201526000602083015160408084015261448c60608401826143dd565b602081526000825161012080602085015261590d6101408501836143dd565b9150602085015160408501526040850151606085015260608501516080850152608085015161594460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061597a8187018315159052565b860151858403601f190183870152905061599483826143dd565b9695505050505050565b602081526159b86020820183516001600160601b03169052565b600060208301516159d6604084018280518252602090810151910152565b5060408301516101408060808501526159f36101608501836143dd565b91506060850151615a0f60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100615a548187018364ffffffffff169052565b60e087015164ffffffffff81166101208801529150615702565b602081526001600160601b0382511660208201526000602083015160e06040840152615a9e6101008401826143dd565b90506040840151606084015263ffffffff60608501511660808401526080840151615ad160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152615b0182826143dd565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615b9b6101008401826143dd565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615be560a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152615ae5565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615c3d60c08401826143dd565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615c8557600080fd5b81516127bd816140fe565b60008085851115615ca057600080fd5b83861115615cad57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615ce25780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615d3c57600080fd5b81516127bd81615288565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b600060208284031215615da957600080fd5b81516001600160401b03811681146127bd57600080fd5b60008251615dd28184602087016143b9565b9190910192915050565b60008060408385031215615def57600080fd5b8251615dfa8161403c565b60208401519092506141a4816148b156fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122094614a9bca1bca5f63738a93fd9ddfe8f4909bb4ec7e6c31961b89bbf7500bd064736f6c63430008140033",
3020
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061046a5760003560e01c80637a9e5e4b1161024c578063bf1db3f911610146578063e7f7fb86116100c3578063f7c34ee011610087578063f7c34ee014610b04578063fb4a8e3414610b17578063fbc1a3a014610b2a578063fe1f18d614610b3d578063feb34b4414610b5057600080fd5b8063e7f7fb8614610a7a578063e9e96c7014610a8d578063f48016ce14610acb578063f7b442d114610ade578063f7bc431c14610af157600080fd5b8063cde749f41161010a578063cde749f414610a23578063d2f21a2914610a2b578063d5c9d77d14610a3e578063dee3262314610a51578063e5f6cd2714610a6457600080fd5b8063bf1db3f9146109e2578063bf7e214f146109f5578063c0c53b8b146109fd578063c14ef880146105b4578063ca0e7f0814610a1057600080fd5b8063a2842229116101d4578063a898967511610198578063a898967514610981578063ada9652e14610994578063af902500146109a9578063b6d7cd62146109bc578063bb1e0e59146109cf57600080fd5b8063a284222914610884578063a4eeee5914610897578063a5961b4c146108aa578063a671495e1461095b578063a76ee0181461096e57600080fd5b80638eaa6ac01161021b5780638eaa6ac01461080a5780638fb360371461082a57806397affbf51461084b5780639e90178c1461085e578063a1ef60e91461087157600080fd5b80637a9e5e4b146107c95780637cef4842146107dc57806381c2b282146107ef578063893d20e81461080257600080fd5b806336fc697e1161036857806359852426116102e557806361105e0e116102a957806361105e0e1461076257806361f5f42014610775578063644c45e014610786578063675393bf146107ae57806375b238fc146107c157600080fd5b806359852426146107225780635a8416b0146107355780635ab1bd53146107485780635d4345cc146105845780635dfa73db1461075957600080fd5b80633ca7c02a1161032c5780633ca7c02a146106ae57806340529b0f146106d4578063422c9d00146106e7578063468bce06146106fa57806354f6127f1461070257600080fd5b806336fc697e14610663578063375cfcaf146105b457806337f135d71461066b5780633870a7701461068857806338a699a41461069b57600080fd5b80630fec111c116103f65780632781d443116103ba5780632781d4431461060f57806327bb7a331461061757806329e63f621461062a5780632f61088a1461063d57806330a130ba1461065057600080fd5b80630fec111c14610597578063138461e0146105ac5780631cf40934146105b45780631eff4b22146105c7578063214cdb80146105fc57600080fd5b80630d3581811161043d5780630d358181146105255780630f526f7d1461054b5780630f6c29ef1461055e5780630f749a89146105715780630fad0eb11461058457600080fd5b806301ffc9a71461046f57806302cd3071146104b157806309648a9d146104d65780630cbc6b8914610510575b600080fd5b61049c61047d366004613e99565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6006546001600160a01b03165b6040516001600160a01b0390911681526020016104a8565b6104fe6104e4366004613ec3565b600090815260046020526040902054610100900460ff1690565b60405160ff90911681526020016104a8565b61052361051e36600461410d565b610b63565b005b6104fe610533366004614159565b60ff9081166000908152600260205260409020541690565b610523610559366004614176565b610ba9565b61052361056c36600461432a565b610bca565b61052361057f36600461439c565b610bf7565b610523610592366004614176565b610d1d565b61059f610d34565b6040516104a89190614409565b610523610e87565b6105236105c236600461461a565b611089565b6105ee7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016104a8565b61052361060a366004613e99565b6110b1565b6105ee600381565b610523610625366004614672565b6110de565b6105236106383660046147b0565b611183565b61052361064b366004614862565b6111aa565b61052361065e3660046149a1565b61125e565b6105236112fe565b610673600081565b60405163ffffffff90911681526020016104a8565b6105236106963660046149e6565b611344565b61049c6106a9366004613ec3565b61135a565b6106bc6001600160401b0381565b6040516001600160401b0390911681526020016104a8565b6105236106e2366004614176565b6113ef565b6105236106f536600461439c565b611406565b6105236115ad565b610715610710366004613ec3565b6115df565b6040516104a89190614a24565b610523610730366004614b00565b611684565b610523610743366004614b47565b6116ac565b6001546001600160a01b03166104be565b6106bc61271081565b610523610770366004614c4a565b61174c565b6007546001600160a01b03166104be565b600080516020615e0c833981519152546040516001600160601b0390911681526020016104a8565b6105236107bc36600461439c565b6117ec565b6106bc600081565b6105236107d736600461439c565b6118f8565b6105236107ea366004614c91565b61197b565b6105236107fd366004614caf565b611a0a565b6104be611a31565b61081d610818366004613ec3565b611b68565b6040516104a89190614d58565b610832611ca9565b6040516001600160e01b031990911681526020016104a8565b610523610859366004614d84565b611ce1565b61052361086c366004614e4e565b611d09565b61052361087f366004614e85565b611d31565b610523610892366004614c91565b611d58565b6105236108a5366004614f6d565b611da6565b61094e6108b8366004613ec3565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260046020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104a89190614fb4565b610523610969366004615065565b611dce565b61052361097c3660046150aa565b611df6565b61052361098f3660046150f1565b611e96565b6105ee600080516020615e0c83398151915281565b6105236109b7366004614c91565b611f87565b6105236109ca366004615121565b611fd5565b6105236109dd366004615151565b611feb565b61049c6109f0366004614159565b6121b0565b6104be6121fd565b610523610a0b36600461517d565b612219565b610523610a1e3660046151bd565b6123ed565b6104fe61248d565b610523610a39366004614176565b612509565b610523610a4c366004615202565b612520565b610523610a5f366004614176565b612548565b60055461010090046001600160a01b03166104be565b610523610a88366004615247565b61255f565b61049c610a9b3660046150f1565b60ff9283166000908152600360209081526040808320948616835293815283822092851682529190915220541690565b6105ee610ad9366004615298565b612739565b610523610aec3660046152c6565b6127c4565b610523610aff36600461439c565b6127ec565b610523610b12366004615307565b6128ac565b610523610b25366004615335565b612923565b610523610b3836600461537c565b61294b565b610523610b4b366004614176565b612973565b610523610b5e3660046153aa565b61298a565b610b70335b6000366129b2565b610ba4610b7e84606e612ab8565b83604051602001610b8f91906153ef565b60405160208183030381529060405283612b04565b505050565b610bb233610b68565b610bc6610bc083608c612ab8565b82612fb5565b5050565b610bd333610b68565b610bf1610be085856132f9565b83604051602001610b8f919061549e565b50505050565b610c0033610b68565b60055461010090046001600160a01b031615610c475760055460405163e02ca03360e01b81526101009091046001600160a01b031660048201526024015b60405180910390fd5b610c4f6121fd565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cba91906154f8565b6001600160a01b031614610cf557610cd06121fd565b6040516374150f9560e11b81526001600160a01b039091166004820152602401610c3e565b600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b610d2633610b68565b610bc6610bc08360d3612ab8565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a001610de3611a31565b6001600160a01b03168152602001826001018054610e0090615515565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2c90615515565b8015610e795780601f10610e4e57610100808354040283529160200191610e79565b820191906000526020600020905b815481529060010190602001808311610e5c57829003601f168201915b505050505081525091505090565b6000600080516020615e0c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f1a919061554f565b15610f465780546040516301ab8b6760e21b81526001600160601b039091166004820152602401610c3e565b30610f596001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa158015610fa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fc5919061554f565b610fed5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401610c3e565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015611041573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611065919061556c565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b61109233610b68565b610ba46110a08460d3612ab8565b83604051602001610b8f9190615589565b6110b9613347565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6110e6613347565b6110f082876128ac565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301611179838261575f565b5050505050505050565b61118c33610b68565b610bf16111998585613390565b83604051602001610b8f919061581e565b6111b333610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee6275906111f8906001600160c01b0319871690600401615892565b602060405180830381865af4158015611215573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123991906158a7565b8260405160200161124a91906158c0565b6040516020818303038152906040526133dd565b61126733610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee6275906112ac906001600160c01b0319871690600401615892565b602060405180830381865af41580156112c9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112ed91906158a7565b8260405160200161124a91906158ee565b611306613347565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b61134d33610b68565b610ba4610bc084846132f9565b600081815260046020819052604080832054905163b2466acf60e01b815261010090910460ff169181019190915273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156113c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113e9919061554f565b92915050565b6113f833610b68565b610bc6610bc083607a612ab8565b61140f33610b68565b6007546001600160a01b0316156114485760075460405163384c2dbd60e11b81526001600160a01b039091166004820152602401610c3e565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611490573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114b491906154f8565b6001600160a01b0316146114dd5760405163decb98c560e01b8152306004820152602401610c3e565b6114e56121fd565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561152c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155091906154f8565b6001600160a01b03161461158b576115666121fd565b604051630312205960e41b81526001600160a01b039091166004820152602401610c3e565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6115b5613347565b6115bd6137f6565b6115c5613919565b6115cd613a0c565b6115d5613b1a565b6115dd613bd6565b565b60008181526004602052604090206001018054606091906115ff90615515565b80601f016020809104026020016040519081016040528092919081815260200182805461162b90615515565b80156116785780601f1061164d57610100808354040283529160200191611678565b820191906000526020600020905b81548152906001019060200180831161165b57829003601f168201915b50505050509050919050565b61168d33610b68565b610ba461169b8460dc612ab8565b83604051602001610b8f919061599e565b6116b533610b68565b6040516355ee627560e01b8152610ba49073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee6275906116fa906001600160c01b0319881690600401615892565b602060405180830381865af4158015611717573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061173b91906158a7565b83604051602001610b8f91906158ee565b61175533610b68565b6040516355ee627560e01b8152610ba49073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee62759061179a906001600160c01b0319881690600401615892565b602060405180830381865af41580156117b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117db91906158a7565b83604051602001610b8f9190615a6e565b6117f4613347565b806001600160a01b03163b60000361182a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156118a4575060408051601f3d908101601f191682019092526118a19181019061554f565b60015b6118cc5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401610c3e565b80610bc65760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610c3e565b50565b336119016121fd565b6001600160a01b0316816001600160a01b03161461193c5760405162d1953b60e31b81526001600160a01b0382166004820152602401610c3e565b816001600160a01b03163b600003611972576040516361798f2f60e11b81526001600160a01b0383166004820152602401610c3e565b610bc682613c92565b61198433610b68565b6040516355ee627560e01b8152610bc69073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee6275906119c9906001600160c01b0319871690600401615892565b602060405180830381865af41580156119e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc091906158a7565b611a1333610b68565b610ba4611a2084846132f9565b8260405160200161124a919061549e565b600080600080516020615e0c83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015611aa1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ac5919061554f565b15611b52576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611b28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b4c91906154f8565b91505090565b54600160601b90046001600160a01b0316919050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260046020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611c2090615515565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4c90615515565b8015611c995780601f10611c6e57610100808354040283529160200191611c99565b820191906000526020600020905b815481529060010190602001808311611c7c57829003601f168201915b5050505050815250509050919050565b600080516020615e2c833981519152805460009190600160a01b900460ff16611cd3576000611b4c565b638fb3603760e01b91505090565b611cea33610b68565b610bc6611cf88360dc612ab8565b8260405160200161124a919061599e565b611d1233610b68565b610bc6611d20836078612ab8565b8260405160200161124a9190615b0a565b611d3a33610b68565b610ba4611d478484613390565b8260405160200161124a919061581e565b611d6133610b68565b6040516355ee627560e01b8152610bc69073__$5906aa3f06c54ee09b434647963e1d1ed0$__906355ee6275906119c9906001600160c01b0319871690600401615892565b611daf33610b68565b610ba4611dbd84608c612ab8565b83604051602001610b8f9190615b7e565b611dd733610b68565b610bc6611de583607a612ab8565b8260405160200161124a9190615bff565b611dff33610b68565b6040516355ee627560e01b8152610ba49073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590611e44906001600160c01b0319881690600401615892565b602060405180830381865af4158015611e61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e8591906158a7565b83604051602001610b8f91906158c0565b60ff8381166000908152600260205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611efb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f1f919061554f565b15611f2957505050565b60ff808416600090815260036020908152604080832086851684528252808320858516845290915290205416610ba457604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610c3e565b611f9033610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee6275906119c9906001600160c01b0319871690600401615892565b611fde33610b68565b610ba4610bc08484613390565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015612034573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061205891906154f8565b6001600160a01b0316336001600160a01b03161461207557600080fd5b60055461010090046001600160a01b03166303014974612093613cf3565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa1580156120d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120fb91906158a7565b1561210857612108615c5d565b60055461010090046001600160a01b031663b428b0b0612126613cf3565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af115801561217b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061219f919061554f565b1515600114610bc657610bc6615c5d565b60ff81811660009081526002602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016113a8565b600080516020615e2c833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b031660008115801561225e5750825b90506000826001600160401b0316600114801561227a5750303b155b905081158015612288575080155b156122a65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156122d057845460ff60401b1916600160401b1785555b6001600160a01b0388166122f75760405163da1db49160e01b815260040160405180910390fd5b61230088613d6b565b600087905061238588826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612347573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236b919061556c565b604660018b604051806020016040528060008152506110de565b61238d6115ad565b61239d633e1e17f360e11b6110b1565b50831561117957845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b6123f633610b68565b6040516355ee627560e01b8152610bc69073__$9f290d768183857d0249ab5bb54619c5ab$__906355ee62759061243b906001600160c01b0319871690600401615892565b602060405180830381865af4158015612458573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061247c91906158a7565b8260405160200161124a9190615a6e565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156124e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125049190615c73565b905090565b61251233610b68565b610bc6610bc0836078612ab8565b61252933610b68565b610bc661253783608c612ab8565b8260405160200161124a9190615b7e565b61255133610b68565b610bc6610bc083606e612ab8565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125cc91906154f8565b6001600160a01b0316336001600160a01b0316146125e957600080fd5b60055461010090046001600160a01b031663b7d2b162612607613cf3565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03861660248201526044016020604051808303816000875af115801561265c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612680919061554f565b151560011461269157612691615c5d565b60055461010090046001600160a01b031663b428b0b06126af613cf3565b6040516001600160e01b031960e084901b1681526001600160401b0390911660048201526001600160a01b03851660248201526044016020604051808303816000875af1158015612704573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612728919061554f565b1515600114610ba457610ba4615c5d565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015612799573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127bd91906158a7565b9392505050565b6127cd33610b68565b610ba46127db846078612ab8565b83604051602001610b8f9190615b0a565b6127f533610b68565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561283d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286191906154f8565b6001600160a01b03161461288a576040516345789cf560e01b8152306004820152602401610c3e565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6128b4613347565b6128bd816117ec565b6128c56112fe565b6001600160a01b0382166128ec5760405163f17ef42d60e01b815260040160405180910390fd5b50600080516020615e0c83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b61292c33610b68565b610ba461293a84607a612ab8565b83604051602001610b8f9190615bff565b61295433610b68565b610bc661296283606e612ab8565b8260405160200161124a91906153ef565b61297c33610b68565b610bc6610bc08360dc612ab8565b61299333610b68565b610bc66129a18360d3612ab8565b8260405160200161124a9190615589565b600080516020615e2c8339815191526000806129ed6129cf6121fd565b87306129df600460008a8c615c90565b6129e891615cba565b613d7c565b9150915081612ab05763ffffffff811615612a8d57825460ff60a01b1916600160a01b178355612a1b6121fd565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401612a4a93929190615cea565b600060405180830381600087803b158015612a6457600080fd5b505af1158015612a78573d6000803e3d6000fd5b5050845460ff60a01b1916855550612ab09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610c3e565b505050505050565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440161277c565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612b56573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b7a919061554f565b612bc65760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000838152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612c32573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c56919061554f565b612ca25760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b6000858152600460205260409020600101612cbd858261575f565b5060ff80841614612cdb57815461ff00191661010060ff8516021782555b8154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b90910416612d0b4390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612d9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612dc19190615c73565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612e11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e359190615d2a565b8588863287604051612e4d9796959493929190615d47565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ec7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612eeb9190615c73565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612f3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f5f9190615d2a565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015613007573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061302b919061554f565b6130775760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610c3e565b6000828152600460208190526040918290208054925163b2466acf60e01b815261010090930460ff169183018290529173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156130e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613107919061554f565b6131535760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610c3e565b81546131639060ff168285611e96565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166131a74390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613239573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061325d9190615c73565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af41580156132ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132d19190615d2a565b85888632876040516132e99796959493929190615d47565b60405180910390a1505050505050565b604051635927341160e01b815262ffffff821660048201526001600160601b038316602482015260009073__$e1d43d4fb5c0494c5b7331f52c1ee41012$__9063592734119060440161277c565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166115dd57604051631afcd79f60e31b815260040160405180910390fd5b604051637d56159160e11b815261ffff821660048201526001600160601b038316602482015260009073__$0e0c503522f35343ef1955427c5075b143$__9063faac2b229060440161277c565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613430573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134549190615c73565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af41580156134a9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906134cd919061554f565b6135195760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610c3e565b6000838152600460208190526040918290208054925163037c8cb160e51b815261010090930460ff16918301919091529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613586573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135aa919061554f565b6135f65760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610c3e565b33436000613603856121b0565b61360e576064613624565b60ff808616600090815260026020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526004602052604090209091506001016136ae878261575f565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015613721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137459190615c73565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613795573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137b99190615d2a565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001612fa4565b7f4bee8dc518469fb8c73831886b94afa96b3ef3e3ee55b9076720259192220ef08054606460ff19918216179091557ffb39f406c8d3ff86a211d5f8c6729c90fce2fed80808bb47b6dc39e975a7d4d68054821660019081179091557fe59968928be831d9cd5403370c74d9f1dac318690d88a2efef2b29079332ee4f80548316821790557fe78520cf30689bb50fce16ae1e25040217df710de55e9ed38f2b2722b2a984688054909216811790915560dc600090815260036020527fa093975c0a88af8b2bf4799c5b4be14d42fc326c2a331b9f3fb3caecbaa5104f90606e5b60ff1660ff16815260200190815260200160002060006138f560c890565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a8054606460ff1991821681179092557fa1c69de77e78d12e062170d002ba111ba52c8f452f3b0ca326991b7298fd7aaf80548216600190811790915560008381527f6dcc58afd04aec67a07f8168234edce351865815e87e6f9a62e977830ebfce226020527f5267f8fb4089eaca6dac10383f9a063927ca0092f9c59d7ca3b3d61812638b028054909316821790925591600391905b60ff1660ff16815260200190815260200160002060006139ee606e90565b60ff1660ff16815260200190815260200160002060006138f560d290565b7feb6856e0ae0d71a8a9e0bc42aca98fe96c3be13699c5c2d551c94a190e39043d8054600a60ff19918216179091557f4b5a0a5953a753e51be29e6e2b638995162612852ea3b46cff09cbac61f9cb568054821660019081179091557fb7939d1e06f7236b22c8e9bf344ab29b7c87eec9f53e55d389378ef7585ffd7e80548316821790557f158b1af96972c14cb1a5e39cbdbd793a3bc4f7c57c85ef22cf298bf517d6e0b380548316821790557f6160f9e22b3793ed435de7ac6b8dd0ee9d3110d626fe8135ffbb7d38470f229a8054909216811790915560d3600090815260036020527fb0b6d2d73fcb69de4c434c711239319c2c669ebf6407f36fc258ff9f98f803fa9060646138d7565b7f07f164294c9f742449ae2b41ea995596da138b514d14d5f233585da8f92971968054603260ff19918216179091557f1aaad14668ac20aeb8e1295d4016ff57ca4e7d9a5d4ddded8fc4cc10cbd645768054821660019081179091557fe2294421c3570585f969350452a698010f0ce83857042531533f0ca7234165f78054909216811790915560d4600090815260036020527f8cabc3f67f90d9c8052e24f35f5812d18f2439ca7faf98b1d4d5d0b98dd1603e9060336138d7565b7fec56eb74d500f9b1bf8f0c5cc42ff5ed51e8d9e3a2ebb6e83a26383f297e0f1e8054606460ff1991821681179092557fe63626ccd25c67b6e53c3bd622e9c77c962be121e55eb3904854ac631eb8f9f080548216600190811790915560009283527fa74711c3b0f698a9dde85849aefdd2d454c235a4c161e6f019356c5ec8490c816020527fbed2f4a35dfbfdf2c5294831261529ea73fa5b94705484f5af8ba1bc3cb59362805490921681179091559060039060c86139d0565b600080516020615e2c83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b90602401602060405180830381865af4158015613d47573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125049190615d97565b613d73613347565b6118f581613e88565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251613deb9190615dc0565b600060405180830381855afa9150503d8060008114613e26576040519150601f19603f3d011682016040523d82523d6000602084013e613e2b565b606091505b50915091508115613e7d576040815110613e5d5780806020019051810190613e539190615ddc565b9094509250613e7d565b6020815110613e7d5780806020019051810190613e7a919061554f565b93505b505094509492505050565b613e90613347565b6118f581613c92565b600060208284031215613eab57600080fd5b81356001600160e01b0319811681146127bd57600080fd5b600060208284031215613ed557600080fd5b5035919050565b6001600160601b03811681146118f557600080fd5b8035613efc81613edc565b919050565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715613f3957613f39613f01565b60405290565b60405161010081016001600160401b0381118282101715613f3957613f39613f01565b60405161022081016001600160401b0381118282101715613f3957613f39613f01565b60405160c081016001600160401b0381118282101715613f3957613f39613f01565b60405161012081016001600160401b0381118282101715613f3957613f39613f01565b60405160e081016001600160401b0381118282101715613f3957613f39613f01565b6001600160a01b03811681146118f557600080fd5b8035613efc81613fec565b60006040828403121561401e57600080fd5b614026613f17565b9050813581526020820135602082015292915050565b80151581146118f557600080fd5b8035613efc8161403c565b6000610140828403121561406857600080fd5b614070613f3f565b905061407b82614001565b815261408960208301614001565b602082015261409a60408301613ef1565b60408201526140ab60608301613ef1565b60608201526140bd836080840161400c565b60808201526140cf8360c0840161400c565b60a08201526140e1610100830161404a565b60c08201526140f36101208301614001565b60e082015292915050565b60ff811681146118f557600080fd5b6000806000610180848603121561412357600080fd5b833561412e81613edc565b925061413d8560208601614055565b915061016084013561414e816140fe565b809150509250925092565b60006020828403121561416b57600080fd5b81356127bd816140fe565b6000806040838503121561418957600080fd5b823561419481613edc565b915060208301356141a4816140fe565b809150509250929050565b803562ffffff81168114613efc57600080fd5b61ffff811681146118f557600080fd5b8035613efc816141c2565b600082601f8301126141ee57600080fd5b81356001600160401b038082111561420857614208613f01565b604051601f8301601f19908116603f0116810190828211818310171561423057614230613f01565b8160405283815286602085880101111561424957600080fd5b836020870160208301376000602085830101528094505050505092915050565b64ffffffffff811681146118f557600080fd5b8035613efc81614269565b60006080828403121561429957600080fd5b604051608081016001600160401b0382821081831117156142bc576142bc613f01565b81604052829350843591506142d0826141c2565b9082526020840135906142e282613edc565b81602084015260408501359150808211156142fc57600080fd5b50614309858286016141dd565b604083015250606083013561431d81614269565b6060919091015292915050565b6000806000806080858703121561434057600080fd5b843561434b81613edc565b9350614359602086016141af565b925060408501356001600160401b0381111561437457600080fd5b61438087828801614287565b9250506060850135614391816140fe565b939692955090935050565b6000602082840312156143ae57600080fd5b81356127bd81613fec565b60005b838110156143d45781810151838201526020016143bc565b50506000910152565b600081518084526143f58160208601602086016143b9565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161447260c08401826001600160a01b03169052565b5060c083015160e08084015261448c6101008401826143dd565b949350505050565b6001600160c01b0319811681146118f557600080fd5b8035613efc81614494565b600061022082840312156144c857600080fd5b6144d0613f62565b90506144db82613ef1565b81526144e960208301613ef1565b60208201526144fa604083016144aa565b604082015261450b606083016144aa565b60608201526080820135608082015260a082013560a082015260c082013560c082015261453a60e0830161427c565b60e0820152610100808301356001600160401b038082111561455b57600080fd5b614567868387016141dd565b8385015261012092508285013591508082111561458357600080fd5b50614590858286016141dd565b8284015250506101406145a48184016141d2565b908201526101606145b68382016141d2565b908201526101806145c8838201613ef1565b908201526101a06145da838201613ef1565b908201526101c06145ec83820161427c565b908201526101e06145fe83820161427c565b9082015261020061461083820161427c565b9082015292915050565b60008060006060848603121561462f57600080fd5b833561463a81613edc565b925060208401356001600160401b0381111561465557600080fd5b614661868287016144b5565b925050604084013561414e816140fe565b60008060008060008060c0878903121561468b57600080fd5b863561469681613fec565b955060208701356146a681613edc565b945060408701356146b6816140fe565b935060608701356146c68161403c565b925060808701356146d681613fec565b915060a08701356001600160401b038111156146f157600080fd5b6146fd89828a016141dd565b9150509295509295509295565b600060c0828403121561471c57600080fd5b614724613f85565b9050813561473181613edc565b8152602082013561474181613edc565b60208201526040820135614754816140fe565b60408201526060820135614767816140fe565b606082015260808201356001600160401b0381111561478557600080fd5b614791848285016141dd565b60808301525060a08201356147a581614269565b60a082015292915050565b600080600080608085870312156147c657600080fd5b84356147d181613edc565b935060208501356147e1816141c2565b925060408501356001600160401b038111156147fc57600080fd5b6143808782880161470a565b60006040828403121561481a57600080fd5b614822613f17565b9050813561482f81613edc565b815260208201356001600160401b0381111561484a57600080fd5b614856848285016141dd565b60208301525092915050565b6000806040838503121561487557600080fd5b823561488081614494565b915060208301356001600160401b0381111561489b57600080fd5b6148a785828601614808565b9150509250929050565b63ffffffff811681146118f557600080fd5b8035613efc816148b1565b600061012082840312156148e157600080fd5b6148e9613fa7565b905081356001600160401b038082111561490257600080fd5b61490e858386016141dd565b835260208401356020840152604084013560408401526060840135606084015261493a608085016148c3565b608084015261494b60a085016148c3565b60a084015261495c60c0850161404a565b60c084015261496d60e0850161404a565b60e08401526101009150818401358181111561498857600080fd5b614994868287016141dd565b8385015250505092915050565b600080604083850312156149b457600080fd5b82356149bf81614494565b915060208301356001600160401b038111156149da57600080fd5b6148a7858286016148ce565b6000806000606084860312156149fb57600080fd5b8335614a0681613edc565b9250614a14602085016141af565b9150604084013561414e816140fe565b6020815260006127bd60208301846143dd565b60006101408284031215614a4a57600080fd5b614a52613fa7565b9050614a5d82613ef1565b8152614a6c836020840161400c565b602082015260608201356001600160401b03811115614a8a57600080fd5b614a96848285016141dd565b604083015250614aa860808301613ef1565b6060820152614ab960a08301613ef1565b6080820152614aca60c08301613ef1565b60a0820152614adb60e0830161427c565b60c0820152610100614aee81840161427c565b60e0830152614610610120840161427c565b600080600060608486031215614b1557600080fd5b8335614b2081613edc565b925060208401356001600160401b03811115614b3b57600080fd5b61466186828701614a37565b600080600060608486031215614b5c57600080fd5b8335614b6781614494565b925060208401356001600160401b03811115614b8257600080fd5b614661868287016148ce565b600060e08284031215614ba057600080fd5b614ba8613fca565b9050614bb382613ef1565b815260208201356001600160401b0380821115614bcf57600080fd5b614bdb858386016141dd565b602084015260408401356040840152614bf6606085016148c3565b6060840152614c07608085016148c3565b6080840152614c1860a0850161427c565b60a084015260c0840135915080821115614c3157600080fd5b50614c3e848285016141dd565b60c08301525092915050565b600080600060608486031215614c5f57600080fd5b8335614c6a81614494565b925060208401356001600160401b03811115614c8557600080fd5b61466186828701614b8e565b60008060408385031215614ca457600080fd5b823561419481614494565b600080600060608486031215614cc457600080fd5b8335614ccf81613edc565b9250614cdd602085016141af565b915060408401356001600160401b03811115614cf857600080fd5b614d0486828701614287565b9150509250925092565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152614d6a602082018351614d0e565b6000602083015160c08084015261448c60e08401826143dd565b60008060408385031215614d9757600080fd5b8235614da281613edc565b915060208301356001600160401b03811115614dbd57600080fd5b6148a785828601614a37565b60006101008284031215614ddc57600080fd5b614de4613f85565b90508135614df181613edc565b81526020820135614e0181613fec565b6020820152614e13836040840161400c565b6040820152614e25836080840161400c565b606082015260c0820135614e3881613fec565b608082015260e0919091013560a0820152919050565b6000806101208385031215614e6257600080fd5b8235614e6d81613edc565b9150614e7c8460208501614dc9565b90509250929050565b600080600060608486031215614e9a57600080fd5b8335614ea581613edc565b92506020840135614eb5816141c2565b915060408401356001600160401b03811115614ed057600080fd5b614d048682870161470a565b600060e08284031215614eee57600080fd5b614ef6613fca565b905081356001600160401b0380821115614f0f57600080fd5b614f1b858386016141dd565b8352614f2960208501614001565b6020840152614f3a60408501614001565b6040840152614f4b60608501614001565b6060840152614f5c60808501613ef1565b6080840152614c1860a08501613ef1565b600080600060608486031215614f8257600080fd5b8335614f8d81613edc565b925060208401356001600160401b03811115614fa857600080fd5b61466186828701614edc565b60a081016113e98284614d0e565b600060a08284031215614fd457600080fd5b60405160a081016001600160401b038282108183111715614ff757614ff7613f01565b816040528293508435915061500b82614494565b90825260208401359061501d8261403c565b816020840152604085013591508082111561503757600080fd5b50615044858286016141dd565b60408301525060608301356060820152608083013560808201525092915050565b6000806040838503121561507857600080fd5b823561508381613edc565b915060208301356001600160401b0381111561509e57600080fd5b6148a785828601614fc2565b6000806000606084860312156150bf57600080fd5b83356150ca81614494565b925060208401356001600160401b038111156150e557600080fd5b61466186828701614808565b60008060006060848603121561510657600080fd5b8335615111816140fe565b92506020840135614a14816140fe565b60008060006060848603121561513657600080fd5b833561514181613edc565b92506020840135614a14816141c2565b6000806040838503121561516457600080fd5b823561516f81613fec565b946020939093013593505050565b60008060006060848603121561519257600080fd5b833561519d81613fec565b925060208401356151ad81613fec565b9150604084013561414e81613fec565b600080604083850312156151d057600080fd5b82356151db81614494565b915060208301356001600160401b038111156151f657600080fd5b6148a785828601614b8e565b6000806040838503121561521557600080fd5b823561522081613edc565b915060208301356001600160401b0381111561523b57600080fd5b6148a785828601614edc565b60008060006060848603121561525c57600080fd5b833561526781613fec565b9250602084013561527781613fec565b929592945050506040919091013590565b60ff19811681146118f557600080fd5b600080604083850312156152ab57600080fd5b82356152b6816140fe565b915060208301356141a481615288565b600080600061014084860312156152dc57600080fd5b83356152e781613edc565b92506152f68560208601614dc9565b915061012084013561414e816140fe565b6000806040838503121561531a57600080fd5b823561532581613fec565b915060208301356141a481613fec565b60008060006060848603121561534a57600080fd5b833561535581613edc565b925060208401356001600160401b0381111561537057600080fd5b61466186828701614fc2565b600080610160838503121561539057600080fd5b823561539b81613edc565b9150614e7c8460208501614055565b600080604083850312156153bd57600080fd5b82356153c881613edc565b915060208301356001600160401b038111156153e357600080fd5b6148a7858286016144b5565b81516001600160a01b039081168252602080840151909116908201526040808301516001600160601b03169082015260608083015161014083019161543e908401826001600160601b03169052565b50608083015161545b608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c08301518015156101008401525060e08301516001600160a01b0381166101208401525092915050565b6020815261ffff82511660208201526001600160601b03602083015116604082015260006040830151608060608401526154db60a08401826143dd565b905064ffffffffff60608501511660808401528091505092915050565b60006020828403121561550a57600080fd5b81516127bd81613fec565b600181811c9082168061552957607f821691505b60208210810361554957634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561556157600080fd5b81516127bd8161403c565b60006020828403121561557e57600080fd5b81516127bd81613edc565b602081526155a36020820183516001600160601b03169052565b600060208301516155bf60408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e08301516101006156248185018364ffffffffff169052565b8085015191505061022061012081818601526156446102408601846143dd565b9250808601519050610140601f19868503018187015261566484836143dd565b93508087015191505061016061567f8187018361ffff169052565b86015190506101806156968682018361ffff169052565b86015190506101a06156b2868201836001600160601b03169052565b86015190506101c06156ce868201836001600160601b03169052565b86015190506101e06156e88682018364ffffffffff169052565b86015190506102006157028682018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b601f821115610ba457600081815260208120601f850160051c810160208610156157405750805b601f850160051c820191505b81811015612ab05782815560010161574c565b81516001600160401b0381111561577857615778613f01565b61578c816157868454615515565b84615719565b602080601f8311600181146157c157600084156157a95750858301515b600019600386901b1c1916600185901b178555612ab0565b600085815260208120601f198616915b828110156157f0578886015182559484019460019091019084016157d1565b508582101561580e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260ff6060840151166080830152608083015160c060a084015261587560e08401826143dd565b905064ffffffffff60a08501511660c08401528091505092915050565b6001600160c01b031991909116815260200190565b6000602082840312156158b957600080fd5b5051919050565b602081526001600160601b0382511660208201526000602083015160408084015261448c60608401826143dd565b602081526000825161012080602085015261590d6101408501836143dd565b9150602085015160408501526040850151606085015260608501516080850152608085015161594460a086018263ffffffff169052565b5060a085015163ffffffff811660c08601525060c085015180151560e08601525060e085015161010061597a8187018315159052565b860151858403601f190183870152905061599483826143dd565b9695505050505050565b602081526159b86020820183516001600160601b03169052565b600060208301516159d6604084018280518252602090810151910152565b5060408301516101408060808501526159f36101608501836143dd565b91506060850151615a0f60a08601826001600160601b03169052565b5060808501516001600160601b03811660c08601525060a08501516001600160601b03811660e08601525060c0850151610100615a548187018364ffffffffff169052565b60e087015164ffffffffff81166101208801529150615702565b602081526001600160601b0382511660208201526000602083015160e06040840152615a9e6101008401826143dd565b90506040840151606084015263ffffffff60608501511660808401526080840151615ad160a085018263ffffffff169052565b5060a084015164ffffffffff811660c08501525b5060c0840151838203601f190160e0850152615b0182826143dd565b95945050505050565b81516001600160601b031681526020808301516001600160a01b039081168284015260408085015180519185019190915291820151606084015261010083019190606085015180516080860152602081015160a0860152915060808501511660c08401525060a09092015160e09091015290565b602081526000825160e06020840152615b9b6101008401826143dd565b9050602084015160018060a01b03808216604086015280604087015116606086015280606087015116608086015250506080840151615be560a08501826001600160601b03169052565b5060a08401516001600160601b03811660c0850152615ae5565b602081526001600160401b0360c01b82511660208201526020820151151560408201526000604083015160a06060840152615c3d60c08401826143dd565b905060608401516080840152608084015160a08401528091505092915050565b634e487b7160e01b600052600160045260246000fd5b600060208284031215615c8557600080fd5b81516127bd816140fe565b60008085851115615ca057600080fd5b83861115615cad57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015615ce25780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b600060208284031215615d3c57600080fd5b81516127bd81615288565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e00190565b600060208284031215615da957600080fd5b81516001600160401b03811681146127bd57600080fd5b60008251615dd28184602087016143b9565b9190910192915050565b60008060408385031215615def57600080fd5b8251615dfa8161403c565b60208401519092506141a4816148b156fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122094614a9bca1bca5f63738a93fd9ddfe8f4909bb4ec7e6c31961b89bbf7500bd064736f6c63430008140033",
3144
3021
  "linkReferences": {
3145
- "contracts/types/Key32.sol": {
3146
- "Key32Lib": [
3147
- {
3148
- "length": 20,
3149
- "start": 3952
3150
- },
3022
+ "contracts/types/ClaimId.sol": {
3023
+ "ClaimIdLib": [
3151
3024
  {
3152
3025
  "length": 20,
3153
- "start": 4720
3154
- },
3155
- {
3156
- "length": 20,
3157
- "start": 4839
3158
- },
3026
+ "start": 13276
3027
+ }
3028
+ ]
3029
+ },
3030
+ "contracts/types/DistributorType.sol": {
3031
+ "DistributorTypeLib": [
3159
3032
  {
3160
3033
  "length": 20,
3161
- "start": 9236
3034
+ "start": 4763
3162
3035
  },
3163
3036
  {
3164
3037
  "length": 20,
3165
- "start": 13281
3038
+ "start": 5865
3166
3039
  },
3167
3040
  {
3168
3041
  "length": 20,
3169
- "start": 14005
3170
- },
3042
+ "start": 7573
3043
+ }
3044
+ ]
3045
+ },
3046
+ "contracts/types/Key32.sol": {
3047
+ "Key32Lib": [
3171
3048
  {
3172
3049
  "length": 20,
3173
- "start": 14121
3050
+ "start": 10111
3174
3051
  },
3175
3052
  {
3176
3053
  "length": 20,
3177
- "start": 14303
3054
+ "start": 11652
3178
3055
  },
3179
3056
  {
3180
3057
  "length": 20,
3181
- "start": 14419
3058
+ "start": 11768
3182
3059
  },
3183
3060
  {
3184
3061
  "length": 20,
3185
- "start": 15126
3062
+ "start": 11950
3186
3063
  },
3187
3064
  {
3188
3065
  "length": 20,
3189
- "start": 15875
3066
+ "start": 12066
3190
3067
  },
3191
3068
  {
3192
3069
  "length": 20,
3193
- "start": 15991
3070
+ "start": 12832
3194
3071
  },
3195
3072
  {
3196
3073
  "length": 20,
3197
- "start": 16530
3074
+ "start": 12948
3198
3075
  },
3199
3076
  {
3200
3077
  "length": 20,
3201
- "start": 16646
3078
+ "start": 13335
3202
3079
  },
3203
3080
  {
3204
3081
  "length": 20,
3205
- "start": 18111
3082
+ "start": 14088
3206
3083
  },
3207
3084
  {
3208
3085
  "length": 20,
3209
- "start": 18227
3086
+ "start": 14204
3210
3087
  }
3211
3088
  ]
3212
3089
  },
@@ -3214,15 +3091,15 @@
3214
3091
  "NftIdLib": [
3215
3092
  {
3216
3093
  "length": 20,
3217
- "start": 9987
3094
+ "start": 3805
3218
3095
  },
3219
3096
  {
3220
3097
  "length": 20,
3221
- "start": 11589
3098
+ "start": 6792
3222
3099
  },
3223
3100
  {
3224
3101
  "length": 20,
3225
- "start": 14843
3102
+ "start": 11011
3226
3103
  }
3227
3104
  ]
3228
3105
  },
@@ -3230,71 +3107,55 @@
3230
3107
  "ObjectTypeLib": [
3231
3108
  {
3232
3109
  "length": 20,
3233
- "start": 4076
3234
- },
3235
- {
3236
- "length": 20,
3237
- "start": 15247
3110
+ "start": 13456
3238
3111
  }
3239
3112
  ]
3240
3113
  },
3241
- "contracts/types/RiskId.sol": {
3242
- "RiskIdLib": [
3243
- {
3244
- "length": 20,
3245
- "start": 9035
3246
- },
3247
- {
3248
- "length": 20,
3249
- "start": 10608
3250
- },
3114
+ "contracts/types/PayoutId.sol": {
3115
+ "PayoutIdLib": [
3251
3116
  {
3252
3117
  "length": 20,
3253
- "start": 11726
3118
+ "start": 13126
3254
3119
  }
3255
3120
  ]
3256
3121
  },
3257
- "contracts/types/RoleId.sol": {
3258
- "RoleIdLib": [
3259
- {
3260
- "length": 20,
3261
- "start": 174
3262
- },
3263
- {
3264
- "length": 20,
3265
- "start": 345
3266
- },
3122
+ "contracts/types/Referral.sol": {
3123
+ "ReferralLib": [
3267
3124
  {
3268
3125
  "length": 20,
3269
- "start": 2968
3126
+ "start": 6025
3270
3127
  },
3271
3128
  {
3272
3129
  "length": 20,
3273
- "start": 3293
3130
+ "start": 8132
3274
3131
  },
3275
3132
  {
3276
3133
  "length": 20,
3277
- "start": 9522
3278
- },
3279
- {
3280
- "length": 20,
3281
- "start": 10735
3282
- },
3134
+ "start": 9258
3135
+ }
3136
+ ]
3137
+ },
3138
+ "contracts/types/RiskId.sol": {
3139
+ "RiskIdLib": [
3283
3140
  {
3284
3141
  "length": 20,
3285
- "start": 10821
3142
+ "start": 4583
3286
3143
  },
3287
3144
  {
3288
3145
  "length": 20,
3289
- "start": 12328
3146
+ "start": 6584
3290
3147
  },
3291
3148
  {
3292
3149
  "length": 20,
3293
- "start": 12741
3294
- },
3150
+ "start": 7731
3151
+ }
3152
+ ]
3153
+ },
3154
+ "contracts/types/RoleId.sol": {
3155
+ "RoleIdLib": [
3295
3156
  {
3296
3157
  "length": 20,
3297
- "start": 17255
3158
+ "start": 15662
3298
3159
  }
3299
3160
  ]
3300
3161
  },
@@ -3302,109 +3163,113 @@
3302
3163
  "StateIdLib": [
3303
3164
  {
3304
3165
  "length": 20,
3305
- "start": 3548
3306
- },
3307
- {
3308
- "length": 20,
3309
- "start": 4298
3310
- },
3311
- {
3312
- "length": 20,
3313
- "start": 5050
3314
- },
3315
- {
3316
- "length": 20,
3317
- "start": 9819
3166
+ "start": 5035
3318
3167
  },
3319
3168
  {
3320
3169
  "length": 20,
3321
- "start": 11880
3170
+ "start": 7906
3322
3171
  },
3323
3172
  {
3324
3173
  "length": 20,
3325
- "start": 13077
3174
+ "start": 8700
3326
3175
  },
3327
3176
  {
3328
3177
  "length": 20,
3329
- "start": 13431
3178
+ "start": 11069
3330
3179
  },
3331
3180
  {
3332
3181
  "length": 20,
3333
- "start": 13651
3182
+ "start": 11289
3334
3183
  },
3335
3184
  {
3336
3185
  "length": 20,
3337
- "start": 15464
3186
+ "start": 12270
3338
3187
  },
3339
3188
  {
3340
3189
  "length": 20,
3341
- "start": 16196
3190
+ "start": 12490
3342
3191
  },
3343
3192
  {
3344
3193
  "length": 20,
3345
- "start": 17565
3346
- },
3194
+ "start": 13677
3195
+ }
3196
+ ]
3197
+ },
3198
+ "contracts/types/Version.sol": {
3199
+ "VersionPartLib": [
3347
3200
  {
3348
3201
  "length": 20,
3349
- "start": 17785
3202
+ "start": 9415
3350
3203
  }
3351
3204
  ]
3352
3205
  }
3353
3206
  },
3354
3207
  "deployedLinkReferences": {
3355
- "contracts/types/Key32.sol": {
3356
- "Key32Lib": [
3208
+ "contracts/types/ClaimId.sol": {
3209
+ "ClaimIdLib": [
3357
3210
  {
3358
3211
  "length": 20,
3359
- "start": 3314
3360
- },
3212
+ "start": 13243
3213
+ }
3214
+ ]
3215
+ },
3216
+ "contracts/types/DistributorType.sol": {
3217
+ "DistributorTypeLib": [
3361
3218
  {
3362
3219
  "length": 20,
3363
- "start": 7359
3220
+ "start": 4730
3364
3221
  },
3365
3222
  {
3366
3223
  "length": 20,
3367
- "start": 8083
3224
+ "start": 5832
3368
3225
  },
3369
3226
  {
3370
3227
  "length": 20,
3371
- "start": 8199
3228
+ "start": 7540
3229
+ }
3230
+ ]
3231
+ },
3232
+ "contracts/types/Key32.sol": {
3233
+ "Key32Lib": [
3234
+ {
3235
+ "length": 20,
3236
+ "start": 10078
3372
3237
  },
3373
3238
  {
3374
3239
  "length": 20,
3375
- "start": 8381
3240
+ "start": 11619
3376
3241
  },
3377
3242
  {
3378
3243
  "length": 20,
3379
- "start": 8497
3244
+ "start": 11735
3380
3245
  },
3381
3246
  {
3382
3247
  "length": 20,
3383
- "start": 9204
3248
+ "start": 11917
3384
3249
  },
3385
3250
  {
3386
3251
  "length": 20,
3387
- "start": 9953
3252
+ "start": 12033
3388
3253
  },
3389
3254
  {
3390
3255
  "length": 20,
3391
- "start": 10069
3256
+ "start": 12799
3392
3257
  },
3393
3258
  {
3394
3259
  "length": 20,
3395
- "start": 10608
3260
+ "start": 12915
3396
3261
  },
3397
3262
  {
3398
3263
  "length": 20,
3399
- "start": 10724
3264
+ "start": 13302
3400
3265
  },
3401
3266
  {
3402
3267
  "length": 20,
3403
- "start": 12189
3268
+ "start": 14055
3404
3269
  },
3405
3270
  {
3406
3271
  "length": 20,
3407
- "start": 12305
3272
+ "start": 14171
3408
3273
  }
3409
3274
  ]
3410
3275
  },
@@ -3412,15 +3277,15 @@
3412
3277
  "NftIdLib": [
3413
3278
  {
3414
3279
  "length": 20,
3415
- "start": 4065
3280
+ "start": 3772
3416
3281
  },
3417
3282
  {
3418
3283
  "length": 20,
3419
- "start": 5667
3284
+ "start": 6759
3420
3285
  },
3421
3286
  {
3422
3287
  "length": 20,
3423
- "start": 8921
3288
+ "start": 10978
3424
3289
  }
3425
3290
  ]
3426
3291
  },
@@ -3428,51 +3293,55 @@
3428
3293
  "ObjectTypeLib": [
3429
3294
  {
3430
3295
  "length": 20,
3431
- "start": 9325
3296
+ "start": 13423
3432
3297
  }
3433
3298
  ]
3434
3299
  },
3435
- "contracts/types/RiskId.sol": {
3436
- "RiskIdLib": [
3437
- {
3438
- "length": 20,
3439
- "start": 3113
3440
- },
3441
- {
3442
- "length": 20,
3443
- "start": 4686
3444
- },
3300
+ "contracts/types/PayoutId.sol": {
3301
+ "PayoutIdLib": [
3445
3302
  {
3446
3303
  "length": 20,
3447
- "start": 5804
3304
+ "start": 13093
3448
3305
  }
3449
3306
  ]
3450
3307
  },
3451
- "contracts/types/RoleId.sol": {
3452
- "RoleIdLib": [
3308
+ "contracts/types/Referral.sol": {
3309
+ "ReferralLib": [
3453
3310
  {
3454
3311
  "length": 20,
3455
- "start": 3600
3312
+ "start": 5992
3456
3313
  },
3457
3314
  {
3458
3315
  "length": 20,
3459
- "start": 4813
3316
+ "start": 8099
3460
3317
  },
3461
3318
  {
3462
3319
  "length": 20,
3463
- "start": 4899
3464
- },
3320
+ "start": 9225
3321
+ }
3322
+ ]
3323
+ },
3324
+ "contracts/types/RiskId.sol": {
3325
+ "RiskIdLib": [
3465
3326
  {
3466
3327
  "length": 20,
3467
- "start": 6406
3328
+ "start": 4550
3468
3329
  },
3469
3330
  {
3470
3331
  "length": 20,
3471
- "start": 6819
3332
+ "start": 6551
3472
3333
  },
3473
3334
  {
3474
3335
  "length": 20,
3475
- "start": 11333
3336
+ "start": 7698
3337
+ }
3338
+ ]
3339
+ },
3340
+ "contracts/types/RoleId.sol": {
3341
+ "RoleIdLib": [
3342
+ {
3343
+ "length": 20,
3344
+ "start": 15629
3476
3345
  }
3477
3346
  ]
3478
3347
  },
@@ -3480,39 +3349,43 @@
3480
3349
  "StateIdLib": [
3481
3350
  {
3482
3351
  "length": 20,
3483
- "start": 3897
3352
+ "start": 5002
3484
3353
  },
3485
3354
  {
3486
3355
  "length": 20,
3487
- "start": 5958
3356
+ "start": 7873
3488
3357
  },
3489
3358
  {
3490
3359
  "length": 20,
3491
- "start": 7155
3360
+ "start": 8667
3492
3361
  },
3493
3362
  {
3494
3363
  "length": 20,
3495
- "start": 7509
3364
+ "start": 11036
3496
3365
  },
3497
3366
  {
3498
3367
  "length": 20,
3499
- "start": 7729
3368
+ "start": 11256
3500
3369
  },
3501
3370
  {
3502
3371
  "length": 20,
3503
- "start": 9542
3372
+ "start": 12237
3504
3373
  },
3505
3374
  {
3506
3375
  "length": 20,
3507
- "start": 10274
3376
+ "start": 12457
3508
3377
  },
3509
3378
  {
3510
3379
  "length": 20,
3511
- "start": 11643
3512
- },
3380
+ "start": 13644
3381
+ }
3382
+ ]
3383
+ },
3384
+ "contracts/types/Version.sol": {
3385
+ "VersionPartLib": [
3513
3386
  {
3514
3387
  "length": 20,
3515
- "start": 11863
3388
+ "start": 9382
3516
3389
  }
3517
3390
  ]
3518
3391
  }