@etherisc/gif-next 0.0.2-f9bc4c7-556 → 0.0.2-fbe22f0-239

Sign up to get free protection for your applications and to get access to all the features.
Files changed (419) hide show
  1. package/README.md +314 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +858 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1114 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +281 -226
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +695 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +601 -76
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +582 -61
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1099 -159
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1030 -84
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +2 -2
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +2 -2
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +2 -2
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  44. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  45. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  46. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  47. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  48. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  49. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1150 -1021
  50. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  51. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +591 -0
  52. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  53. package/artifacts/contracts/instance/Instance.sol/Instance.json +2047 -1067
  54. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  55. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  56. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  57. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1386 -0
  58. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  59. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1164 -0
  60. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  61. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +584 -0
  62. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  63. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  64. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +728 -0
  66. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  67. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +45 -127
  68. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  70. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +55 -245
  71. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  72. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +4 -4
  73. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  74. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  75. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  76. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  77. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  78. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IDistribution.sol/IDistribution.json} +2 -2
  79. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  80. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  81. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  82. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  83. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  84. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  85. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  86. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  87. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +1091 -0
  89. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1292 -0
  91. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +560 -0
  93. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +897 -0
  95. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +548 -0
  97. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  98. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +625 -0
  99. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  100. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +785 -0
  101. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  102. package/artifacts/contracts/instance/{base/InstanceBase.sol/InstanceBase.json → service/IDistributionService.sol/IDistributionService.json} +205 -85
  103. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  104. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +771 -0
  105. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  106. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +203 -80
  107. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  108. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +209 -150
  109. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  110. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1352 -0
  111. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  112. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +616 -0
  113. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  114. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +546 -86
  115. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +548 -0
  117. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  118. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +521 -213
  119. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  120. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +548 -0
  121. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  122. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +186 -12
  123. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  124. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +466 -34
  125. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  126. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +986 -0
  127. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  128. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  129. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  130. package/artifacts/contracts/registry/Registry.sol/Registry.json +470 -103
  131. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  132. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  133. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  134. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1325 -0
  135. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  136. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +575 -0
  137. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  138. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  139. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  140. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +505 -0
  141. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  142. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  143. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  144. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  145. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  146. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/INftOwnable.sol/INftOwnable.json} +56 -79
  147. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  149. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +116 -36
  151. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  152. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → shared/IService.sol/IService.json} +174 -117
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  154. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -14
  155. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  156. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +277 -0
  157. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  158. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +172 -0
  159. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  160. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +473 -0
  161. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +293 -25
  163. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  164. package/artifacts/contracts/shared/Service.sol/Service.json +601 -0
  165. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  166. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  167. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  168. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  169. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  170. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -14
  171. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  172. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  173. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  174. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +309 -26
  175. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  176. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +14 -14
  177. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  178. package/artifacts/contracts/test/TestService.sol/TestService.json +412 -58
  179. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  180. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  181. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  182. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  183. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  184. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +103 -23
  185. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  186. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  187. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  188. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  189. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  192. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Fee.sol/FeeLib.json +52 -13
  194. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  195. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +31 -17
  196. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  198. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  199. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  200. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  202. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  203. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  204. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  206. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  208. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +134 -8
  210. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  212. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  213. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +15 -2
  214. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  216. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  218. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  219. package/artifacts/contracts/types/Version.sol/VersionLib.json +40 -2
  220. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  221. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  222. package/contracts/components/Component.sol +230 -0
  223. package/contracts/components/Distribution.sol +156 -0
  224. package/contracts/components/IComponent.sol +50 -0
  225. package/contracts/components/IDistributionComponent.sol +47 -0
  226. package/contracts/components/IPoolComponent.sol +65 -35
  227. package/contracts/components/IProductComponent.sol +29 -9
  228. package/contracts/components/Pool.sol +180 -100
  229. package/contracts/components/Product.sol +203 -42
  230. package/contracts/experiment/cloning/Cloner.sol +47 -0
  231. package/contracts/instance/BundleManager.sol +125 -0
  232. package/contracts/instance/Cloneable.sol +46 -0
  233. package/contracts/instance/IInstance.sol +65 -45
  234. package/contracts/instance/IInstanceService.sol +41 -0
  235. package/contracts/instance/Instance.sol +253 -53
  236. package/contracts/instance/InstanceAccessManager.sol +297 -0
  237. package/contracts/instance/InstanceReader.sol +293 -0
  238. package/contracts/instance/InstanceService.sol +434 -0
  239. package/contracts/instance/InstanceServiceManager.sol +54 -0
  240. package/contracts/instance/ObjectManager.sol +84 -0
  241. package/contracts/instance/base/ComponentService.sol +134 -0
  242. package/contracts/instance/base/IKeyValueStore.sol +13 -13
  243. package/contracts/instance/base/ILifecycle.sol +3 -3
  244. package/contracts/instance/base/KeyValueStore.sol +53 -37
  245. package/contracts/instance/base/Lifecycle.sol +16 -11
  246. package/contracts/instance/module/IAccess.sol +47 -0
  247. package/contracts/instance/module/IBundle.sol +20 -0
  248. package/contracts/instance/module/IDistribution.sol +39 -0
  249. package/contracts/instance/module/IPolicy.sol +45 -0
  250. package/contracts/instance/module/IRisk.sol +11 -0
  251. package/contracts/instance/module/ISetup.sol +47 -0
  252. package/contracts/instance/module/ITreasury.sol +23 -0
  253. package/contracts/instance/service/ApplicationService.sol +268 -0
  254. package/contracts/instance/service/BundleService.sol +298 -0
  255. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  256. package/contracts/instance/service/DistributionService.sol +105 -0
  257. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  258. package/contracts/instance/service/IApplicationService.sol +82 -0
  259. package/contracts/instance/service/IBundleService.sol +54 -0
  260. package/contracts/instance/service/IDistributionService.sol +12 -0
  261. package/contracts/instance/service/IPolicyService.sol +88 -0
  262. package/contracts/instance/service/IPoolService.sol +8 -18
  263. package/contracts/instance/service/IProductService.sol +21 -39
  264. package/contracts/instance/service/PolicyService.sol +524 -0
  265. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  266. package/contracts/instance/service/PoolService.sol +78 -92
  267. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  268. package/contracts/instance/service/ProductService.sol +168 -289
  269. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  270. package/contracts/registry/ChainNft.sol +79 -36
  271. package/contracts/registry/IRegistry.sol +66 -24
  272. package/contracts/registry/IRegistryService.sol +65 -0
  273. package/contracts/registry/ITransferInterceptor.sol +6 -0
  274. package/contracts/registry/Registry.sol +364 -283
  275. package/contracts/registry/RegistryAccessManager.sol +216 -0
  276. package/contracts/registry/RegistryService.sol +261 -0
  277. package/contracts/registry/RegistryServiceManager.sol +62 -0
  278. package/contracts/registry/ReleaseManager.sol +332 -0
  279. package/contracts/registry/TokenRegistry.sol +113 -0
  280. package/contracts/shared/ContractDeployerLib.sol +72 -0
  281. package/contracts/shared/ERC165.sol +13 -8
  282. package/contracts/shared/INftOwnable.sol +27 -0
  283. package/contracts/shared/IPolicyHolder.sol +26 -0
  284. package/contracts/shared/IRegisterable.sol +10 -19
  285. package/contracts/shared/IService.sol +16 -0
  286. package/contracts/shared/IVersionable.sol +55 -11
  287. package/contracts/shared/NftOwnable.sol +187 -0
  288. package/contracts/shared/PolicyHolder.sol +52 -0
  289. package/contracts/shared/ProxyManager.sol +95 -0
  290. package/contracts/shared/Registerable.sol +58 -63
  291. package/contracts/shared/Service.sol +60 -0
  292. package/contracts/shared/TokenHandler.sol +27 -0
  293. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  294. package/contracts/shared/Versionable.sol +113 -54
  295. package/contracts/test/TestFee.sol +2 -2
  296. package/contracts/test/TestRegisterable.sol +5 -6
  297. package/contracts/test/TestRoleId.sol +1 -1
  298. package/contracts/test/TestService.sol +7 -14
  299. package/contracts/types/DistributorType.sol +55 -0
  300. package/contracts/types/Fee.sol +10 -5
  301. package/contracts/types/Key32.sol +8 -3
  302. package/contracts/types/NftIdSet.sol +26 -24
  303. package/contracts/types/NumberId.sol +52 -0
  304. package/contracts/types/ObjectType.sol +55 -14
  305. package/contracts/types/Referral.sol +85 -0
  306. package/contracts/types/RiskId.sol +43 -0
  307. package/contracts/types/RoleId.sol +62 -10
  308. package/contracts/types/StateId.sol +5 -1
  309. package/contracts/types/Timestamp.sol +7 -3
  310. package/contracts/types/UFixed.sol +128 -12
  311. package/contracts/types/Version.sol +13 -1
  312. package/package.json +6 -5
  313. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  314. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  315. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  316. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  317. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  318. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  319. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  320. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  321. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  322. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  323. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  324. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  325. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  326. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  327. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  328. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  329. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  330. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  331. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  332. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  333. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  334. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  335. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  336. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  338. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  339. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  340. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  341. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  342. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  344. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  345. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -188
  346. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  347. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  348. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  349. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -188
  350. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  351. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  352. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -261
  353. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  354. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -261
  355. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  356. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  357. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  358. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  359. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  361. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  362. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  363. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  364. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  365. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  366. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  367. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  369. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  370. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  371. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  372. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  373. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  374. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -523
  375. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  376. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  377. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  378. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  379. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  380. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  381. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  382. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  383. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  384. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  385. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  386. package/contracts/components/BaseComponent.sol +0 -88
  387. package/contracts/components/IBaseComponent.sol +0 -19
  388. package/contracts/experiment/statemachine/README.md +0 -112
  389. package/contracts/instance/IInstanceLinked.sol +0 -8
  390. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  391. package/contracts/instance/base/IInstanceBase.sol +0 -14
  392. package/contracts/instance/base/IService.sol +0 -15
  393. package/contracts/instance/base/InstanceBase.sol +0 -80
  394. package/contracts/instance/base/ModuleBase.sol +0 -52
  395. package/contracts/instance/base/ServiceBase.sol +0 -37
  396. package/contracts/instance/module/access/Access.sol +0 -149
  397. package/contracts/instance/module/access/IAccess.sol +0 -53
  398. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  399. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  400. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  401. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  402. package/contracts/instance/module/component/ComponentModule.sol +0 -95
  403. package/contracts/instance/module/component/IComponent.sol +0 -53
  404. package/contracts/instance/module/policy/IPolicy.sol +0 -60
  405. package/contracts/instance/module/policy/PolicyModule.sol +0 -76
  406. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  407. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  408. package/contracts/instance/module/risk/IRisk.sol +0 -10
  409. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  410. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  411. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  412. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  413. package/contracts/instance/service/ComponentOwnerService.sol +0 -170
  414. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  415. package/contracts/registry/IChainNft.sol +0 -21
  416. package/contracts/registry/IRegistryLinked.sol +0 -8
  417. package/contracts/shared/IOwnable.sol +0 -6
  418. package/contracts/test/TestPool.sol +0 -22
  419. package/contracts/test/TestProduct.sol +0 -44
@@ -7,341 +7,485 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
11
  "type": "address"
12
- },
13
- {
14
- "internalType": "NftId",
15
- "name": "registryNftId",
16
- "type": "uint96"
17
12
  }
18
13
  ],
19
- "stateMutability": "nonpayable",
20
- "type": "constructor"
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
21
16
  },
22
17
  {
23
- "anonymous": false,
24
18
  "inputs": [
25
19
  {
26
- "indexed": false,
27
- "internalType": "RoleId",
28
- "name": "role",
29
- "type": "bytes8"
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
30
23
  },
31
24
  {
32
- "indexed": false,
33
- "internalType": "string",
34
- "name": "roleName",
35
- "type": "string"
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
36
28
  }
37
29
  ],
38
- "name": "LogAccessRoleCreated",
39
- "type": "event"
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
40
32
  },
41
33
  {
42
- "anonymous": false,
43
34
  "inputs": [
44
35
  {
45
- "indexed": false,
46
- "internalType": "RoleId",
47
- "name": "role",
48
- "type": "bytes8"
49
- },
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
50
46
  {
51
- "indexed": false,
52
47
  "internalType": "address",
53
- "name": "member",
48
+ "name": "registry",
54
49
  "type": "address"
55
50
  },
56
51
  {
57
- "indexed": false,
58
- "internalType": "bool",
59
- "name": "isMember",
60
- "type": "bool"
52
+ "internalType": "NftId",
53
+ "name": "nftId",
54
+ "type": "uint96"
61
55
  }
62
56
  ],
63
- "name": "LogAccessRoleGranted",
64
- "type": "event"
57
+ "name": "ErrorAlreadyLinked",
58
+ "type": "error"
65
59
  },
66
60
  {
67
- "anonymous": false,
68
61
  "inputs": [
69
62
  {
70
- "indexed": false,
71
- "internalType": "RoleId",
72
- "name": "role",
73
- "type": "bytes8"
63
+ "internalType": "address",
64
+ "name": "contractAddress",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorContractNotRegistered",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorInitialOwnerZero",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "ObjectType",
80
+ "name": "objectType",
81
+ "type": "uint8"
74
82
  },
75
83
  {
76
- "indexed": false,
77
- "internalType": "bool",
78
- "name": "active",
79
- "type": "bool"
84
+ "internalType": "StateId",
85
+ "name": "fromStateId",
86
+ "type": "uint8"
87
+ },
88
+ {
89
+ "internalType": "StateId",
90
+ "name": "toStateId",
91
+ "type": "uint8"
80
92
  }
81
93
  ],
82
- "name": "LogAccessRoleStateSet",
83
- "type": "event"
94
+ "name": "ErrorInvalidStateTransition",
95
+ "type": "error"
84
96
  },
85
97
  {
86
- "anonymous": false,
87
98
  "inputs": [
88
99
  {
89
- "indexed": false,
90
- "internalType": "Version",
91
- "name": "version",
92
- "type": "uint24"
100
+ "internalType": "NftId",
101
+ "name": "nftId",
102
+ "type": "uint96"
93
103
  },
94
104
  {
95
- "indexed": false,
96
- "internalType": "address",
97
- "name": "implementation",
98
- "type": "address"
99
- },
105
+ "internalType": "ObjectType",
106
+ "name": "objectType",
107
+ "type": "uint8"
108
+ }
109
+ ],
110
+ "name": "ErrorNoLifecycle",
111
+ "type": "error"
112
+ },
113
+ {
114
+ "inputs": [
100
115
  {
101
- "indexed": false,
102
116
  "internalType": "address",
103
- "name": "activatedBy",
117
+ "name": "account",
104
118
  "type": "address"
105
119
  }
106
120
  ],
107
- "name": "LogVersionableActivated",
108
- "type": "event"
121
+ "name": "ErrorNotOwner",
122
+ "type": "error"
109
123
  },
110
124
  {
111
125
  "inputs": [
112
126
  {
113
127
  "internalType": "address",
114
- "name": "implementation",
128
+ "name": "registryAddress",
115
129
  "type": "address"
116
- },
130
+ }
131
+ ],
132
+ "name": "ErrorNotRegistry",
133
+ "type": "error"
134
+ },
135
+ {
136
+ "inputs": [
117
137
  {
118
138
  "internalType": "address",
119
- "name": "activatedBy",
139
+ "name": "registryAddress",
120
140
  "type": "address"
121
141
  }
122
142
  ],
123
- "name": "activate",
124
- "outputs": [],
125
- "stateMutability": "nonpayable",
126
- "type": "function"
143
+ "name": "ErrorRegisterableNotRegistry",
144
+ "type": "error"
145
+ },
146
+ {
147
+ "inputs": [],
148
+ "name": "ErrorRegistryAddressZero",
149
+ "type": "error"
127
150
  },
128
151
  {
129
152
  "inputs": [
130
153
  {
131
- "internalType": "NftId",
132
- "name": "bundleNftId",
133
- "type": "uint96"
134
- },
135
- {
136
- "internalType": "NftId",
137
- "name": "poolNftId",
138
- "type": "uint96"
139
- },
140
- {
141
- "internalType": "uint256",
142
- "name": "",
143
- "type": "uint256"
154
+ "internalType": "address",
155
+ "name": "registry",
156
+ "type": "address"
144
157
  }
145
158
  ],
146
- "name": "addBundleToPool",
147
- "outputs": [],
148
- "stateMutability": "nonpayable",
149
- "type": "function"
159
+ "name": "ErrorRegistryAlreadyInitialized",
160
+ "type": "error"
150
161
  },
151
162
  {
163
+ "inputs": [],
164
+ "name": "ErrorRegistryNotInitialized",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [],
169
+ "name": "InvalidInitialization",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [],
174
+ "name": "NotInitializing",
175
+ "type": "error"
176
+ },
177
+ {
178
+ "anonymous": false,
152
179
  "inputs": [
153
180
  {
154
- "internalType": "uint256",
155
- "name": "amount",
156
- "type": "uint256"
157
- },
158
- {
159
- "components": [
160
- {
161
- "internalType": "UFixed",
162
- "name": "fractionalFee",
163
- "type": "uint256"
164
- },
165
- {
166
- "internalType": "uint256",
167
- "name": "fixedFee",
168
- "type": "uint256"
169
- }
170
- ],
171
- "internalType": "struct Fee",
172
- "name": "fee",
173
- "type": "tuple"
181
+ "indexed": false,
182
+ "internalType": "address",
183
+ "name": "authority",
184
+ "type": "address"
174
185
  }
175
186
  ],
176
- "name": "calculateFeeAmount",
177
- "outputs": [
178
- {
179
- "internalType": "uint256",
180
- "name": "feeAmount",
181
- "type": "uint256"
182
- },
187
+ "name": "AuthorityUpdated",
188
+ "type": "event"
189
+ },
190
+ {
191
+ "anonymous": false,
192
+ "inputs": [
183
193
  {
184
- "internalType": "uint256",
185
- "name": "netAmount",
186
- "type": "uint256"
194
+ "indexed": false,
195
+ "internalType": "uint64",
196
+ "name": "version",
197
+ "type": "uint64"
187
198
  }
188
199
  ],
189
- "stateMutability": "pure",
190
- "type": "function"
200
+ "name": "Initialized",
201
+ "type": "event"
191
202
  },
192
203
  {
204
+ "anonymous": false,
193
205
  "inputs": [
194
206
  {
195
- "internalType": "NftId",
196
- "name": "bundleNftId",
197
- "type": "uint96"
207
+ "indexed": false,
208
+ "internalType": "ObjectType",
209
+ "name": "objectType",
210
+ "type": "uint8"
198
211
  },
199
212
  {
200
- "internalType": "NftId",
201
- "name": "policyNftId",
202
- "type": "uint96"
213
+ "indexed": false,
214
+ "internalType": "KeyId",
215
+ "name": "keyId",
216
+ "type": "bytes31"
203
217
  },
204
218
  {
205
- "internalType": "uint256",
206
- "name": "collateralAmount",
207
- "type": "uint256"
219
+ "indexed": false,
220
+ "internalType": "StateId",
221
+ "name": "state",
222
+ "type": "uint8"
223
+ },
224
+ {
225
+ "indexed": false,
226
+ "internalType": "address",
227
+ "name": "createdBy",
228
+ "type": "address"
229
+ },
230
+ {
231
+ "indexed": false,
232
+ "internalType": "address",
233
+ "name": "txOrigin",
234
+ "type": "address"
208
235
  }
209
236
  ],
210
- "name": "collateralizePolicy",
211
- "outputs": [],
212
- "stateMutability": "nonpayable",
213
- "type": "function"
237
+ "name": "LogInfoCreated",
238
+ "type": "event"
214
239
  },
215
240
  {
241
+ "anonymous": false,
216
242
  "inputs": [
217
243
  {
218
- "internalType": "NftId",
219
- "name": "productNftId",
220
- "type": "uint96"
244
+ "indexed": false,
245
+ "internalType": "ObjectType",
246
+ "name": "objectType",
247
+ "type": "uint8"
221
248
  },
222
249
  {
223
- "internalType": "NftId",
224
- "name": "policyNftId",
225
- "type": "uint96"
250
+ "indexed": false,
251
+ "internalType": "KeyId",
252
+ "name": "keyId",
253
+ "type": "bytes31"
226
254
  },
227
255
  {
228
- "internalType": "uint256",
229
- "name": "sumInsuredAmount",
230
- "type": "uint256"
256
+ "indexed": false,
257
+ "internalType": "StateId",
258
+ "name": "state",
259
+ "type": "uint8"
231
260
  },
232
261
  {
233
- "internalType": "uint256",
234
- "name": "premiumAmount",
235
- "type": "uint256"
262
+ "indexed": false,
263
+ "internalType": "address",
264
+ "name": "updatedBy",
265
+ "type": "address"
236
266
  },
237
267
  {
238
- "internalType": "uint256",
239
- "name": "lifetime",
240
- "type": "uint256"
268
+ "indexed": false,
269
+ "internalType": "address",
270
+ "name": "txOrigin",
271
+ "type": "address"
241
272
  },
242
273
  {
243
- "internalType": "NftId",
244
- "name": "bundleNftId",
245
- "type": "uint96"
274
+ "indexed": false,
275
+ "internalType": "Blocknumber",
276
+ "name": "lastUpdatedIn",
277
+ "type": "uint32"
246
278
  }
247
279
  ],
248
- "name": "createApplication",
249
- "outputs": [],
250
- "stateMutability": "nonpayable",
251
- "type": "function"
280
+ "name": "LogInfoUpdated",
281
+ "type": "event"
252
282
  },
253
283
  {
284
+ "anonymous": false,
254
285
  "inputs": [
255
286
  {
256
- "internalType": "NftId",
257
- "name": "bundleNftId",
258
- "type": "uint96"
287
+ "indexed": false,
288
+ "internalType": "ObjectType",
289
+ "name": "objectType",
290
+ "type": "uint8"
259
291
  },
260
292
  {
261
- "internalType": "NftId",
262
- "name": "poolNftId",
263
- "type": "uint96"
293
+ "indexed": false,
294
+ "internalType": "KeyId",
295
+ "name": "keyId",
296
+ "type": "bytes31"
264
297
  },
265
298
  {
266
- "internalType": "uint256",
267
- "name": "amount",
268
- "type": "uint256"
299
+ "indexed": false,
300
+ "internalType": "StateId",
301
+ "name": "stateOld",
302
+ "type": "uint8"
269
303
  },
270
304
  {
271
- "internalType": "uint256",
272
- "name": "lifetime",
273
- "type": "uint256"
305
+ "indexed": false,
306
+ "internalType": "StateId",
307
+ "name": "stateNew",
308
+ "type": "uint8"
274
309
  },
275
310
  {
276
- "internalType": "bytes",
277
- "name": "filter",
278
- "type": "bytes"
279
- }
280
- ],
281
- "name": "createBundleInfo",
282
- "outputs": [],
283
- "stateMutability": "nonpayable",
284
- "type": "function"
285
- },
286
- {
287
- "inputs": [
311
+ "indexed": false,
312
+ "internalType": "address",
313
+ "name": "updatedBy",
314
+ "type": "address"
315
+ },
316
+ {
317
+ "indexed": false,
318
+ "internalType": "address",
319
+ "name": "txOrigin",
320
+ "type": "address"
321
+ },
288
322
  {
289
- "internalType": "string",
290
- "name": "roleName",
291
- "type": "string"
323
+ "indexed": false,
324
+ "internalType": "Blocknumber",
325
+ "name": "lastUpdatedIn",
326
+ "type": "uint32"
292
327
  }
293
328
  ],
294
- "name": "createRole",
329
+ "name": "LogStateUpdated",
330
+ "type": "event"
331
+ },
332
+ {
333
+ "inputs": [],
334
+ "name": "ADMIN_ROLE",
295
335
  "outputs": [
296
336
  {
297
- "internalType": "RoleId",
298
- "name": "role",
299
- "type": "bytes8"
337
+ "internalType": "uint64",
338
+ "name": "",
339
+ "type": "uint64"
300
340
  }
301
341
  ],
302
- "stateMutability": "nonpayable",
342
+ "stateMutability": "view",
303
343
  "type": "function"
304
344
  },
305
345
  {
306
- "inputs": [
346
+ "inputs": [],
347
+ "name": "CUSTOM_ROLE_ID_MIN",
348
+ "outputs": [
307
349
  {
308
- "internalType": "NftId",
309
- "name": "poolNftId",
310
- "type": "uint96"
350
+ "internalType": "uint64",
351
+ "name": "",
352
+ "type": "uint64"
353
+ }
354
+ ],
355
+ "stateMutability": "view",
356
+ "type": "function"
357
+ },
358
+ {
359
+ "inputs": [],
360
+ "name": "EXECUTION_DELAY",
361
+ "outputs": [
362
+ {
363
+ "internalType": "uint32",
364
+ "name": "",
365
+ "type": "uint32"
311
366
  }
312
367
  ],
313
- "name": "getBundleCount",
368
+ "stateMutability": "view",
369
+ "type": "function"
370
+ },
371
+ {
372
+ "inputs": [],
373
+ "name": "GIF_MAJOR_VERSION",
314
374
  "outputs": [
315
375
  {
316
376
  "internalType": "uint256",
317
- "name": "bundleCount",
377
+ "name": "",
318
378
  "type": "uint256"
319
379
  }
320
380
  ],
321
381
  "stateMutability": "view",
322
382
  "type": "function"
323
383
  },
384
+ {
385
+ "inputs": [],
386
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
387
+ "outputs": [
388
+ {
389
+ "internalType": "bytes32",
390
+ "name": "",
391
+ "type": "bytes32"
392
+ }
393
+ ],
394
+ "stateMutability": "view",
395
+ "type": "function"
396
+ },
397
+ {
398
+ "inputs": [],
399
+ "name": "PUBLIC_ROLE",
400
+ "outputs": [
401
+ {
402
+ "internalType": "uint64",
403
+ "name": "",
404
+ "type": "uint64"
405
+ }
406
+ ],
407
+ "stateMutability": "view",
408
+ "type": "function"
409
+ },
410
+ {
411
+ "inputs": [],
412
+ "name": "REGISTERABLE_LOCATION_V1",
413
+ "outputs": [
414
+ {
415
+ "internalType": "bytes32",
416
+ "name": "",
417
+ "type": "bytes32"
418
+ }
419
+ ],
420
+ "stateMutability": "view",
421
+ "type": "function"
422
+ },
423
+ {
424
+ "inputs": [],
425
+ "name": "authority",
426
+ "outputs": [
427
+ {
428
+ "internalType": "address",
429
+ "name": "",
430
+ "type": "address"
431
+ }
432
+ ],
433
+ "stateMutability": "view",
434
+ "type": "function"
435
+ },
436
+ {
437
+ "inputs": [
438
+ {
439
+ "internalType": "ObjectType",
440
+ "name": "objectType",
441
+ "type": "uint8"
442
+ },
443
+ {
444
+ "internalType": "StateId",
445
+ "name": "fromId",
446
+ "type": "uint8"
447
+ },
448
+ {
449
+ "internalType": "StateId",
450
+ "name": "toId",
451
+ "type": "uint8"
452
+ }
453
+ ],
454
+ "name": "checkTransition",
455
+ "outputs": [],
456
+ "stateMutability": "view",
457
+ "type": "function"
458
+ },
324
459
  {
325
460
  "inputs": [
326
461
  {
327
462
  "internalType": "NftId",
328
463
  "name": "bundleNftId",
329
464
  "type": "uint96"
330
- }
331
- ],
332
- "name": "getBundleInfo",
333
- "outputs": [
465
+ },
334
466
  {
335
467
  "components": [
336
468
  {
337
469
  "internalType": "NftId",
338
- "name": "nftId",
470
+ "name": "poolNftId",
339
471
  "type": "uint96"
340
472
  },
341
473
  {
342
- "internalType": "NftId",
343
- "name": "poolNftId",
344
- "type": "uint96"
474
+ "components": [
475
+ {
476
+ "internalType": "UFixed",
477
+ "name": "fractionalFee",
478
+ "type": "uint256"
479
+ },
480
+ {
481
+ "internalType": "uint256",
482
+ "name": "fixedFee",
483
+ "type": "uint256"
484
+ }
485
+ ],
486
+ "internalType": "struct Fee",
487
+ "name": "fee",
488
+ "type": "tuple"
345
489
  },
346
490
  {
347
491
  "internalType": "bytes",
@@ -363,6 +507,11 @@
363
507
  "name": "balanceAmount",
364
508
  "type": "uint256"
365
509
  },
510
+ {
511
+ "internalType": "uint256",
512
+ "name": "lifetime",
513
+ "type": "uint256"
514
+ },
366
515
  {
367
516
  "internalType": "Timestamp",
368
517
  "name": "expiredAt",
@@ -375,236 +524,256 @@
375
524
  }
376
525
  ],
377
526
  "internalType": "struct IBundle.BundleInfo",
378
- "name": "bundleInfo",
527
+ "name": "bundle",
379
528
  "type": "tuple"
380
529
  }
381
530
  ],
382
- "stateMutability": "view",
531
+ "name": "createBundle",
532
+ "outputs": [],
533
+ "stateMutability": "nonpayable",
383
534
  "type": "function"
384
535
  },
385
536
  {
386
537
  "inputs": [
387
538
  {
388
539
  "internalType": "NftId",
389
- "name": "poolNftId",
540
+ "name": "policyNftId",
390
541
  "type": "uint96"
391
542
  },
392
543
  {
393
- "internalType": "uint256",
394
- "name": "index",
395
- "type": "uint256"
396
- }
397
- ],
398
- "name": "getBundleNftId",
399
- "outputs": [
400
- {
401
- "internalType": "NftId",
402
- "name": "bundleNftId",
403
- "type": "uint96"
404
- }
405
- ],
406
- "stateMutability": "view",
407
- "type": "function"
408
- },
409
- {
410
- "inputs": [],
411
- "name": "getComponentCount",
412
- "outputs": [
544
+ "internalType": "NumberId",
545
+ "name": "claimId",
546
+ "type": "uint32"
547
+ },
413
548
  {
414
- "internalType": "uint256",
415
- "name": "numberOfCompnents",
416
- "type": "uint256"
549
+ "components": [
550
+ {
551
+ "internalType": "uint256",
552
+ "name": "claimAmount",
553
+ "type": "uint256"
554
+ },
555
+ {
556
+ "internalType": "uint256",
557
+ "name": "paidAmount",
558
+ "type": "uint256"
559
+ },
560
+ {
561
+ "internalType": "bytes",
562
+ "name": "data",
563
+ "type": "bytes"
564
+ },
565
+ {
566
+ "internalType": "Timestamp",
567
+ "name": "closedAt",
568
+ "type": "uint40"
569
+ }
570
+ ],
571
+ "internalType": "struct IPolicy.ClaimInfo",
572
+ "name": "claim",
573
+ "type": "tuple"
417
574
  }
418
575
  ],
419
- "stateMutability": "view",
576
+ "name": "createClaim",
577
+ "outputs": [],
578
+ "stateMutability": "nonpayable",
420
579
  "type": "function"
421
580
  },
422
581
  {
423
582
  "inputs": [
424
- {
425
- "internalType": "uint256",
426
- "name": "idx",
427
- "type": "uint256"
428
- }
429
- ],
430
- "name": "getComponentId",
431
- "outputs": [
432
583
  {
433
584
  "internalType": "NftId",
434
- "name": "componentNftId",
585
+ "name": "distributionNftId",
435
586
  "type": "uint96"
587
+ },
588
+ {
589
+ "components": [
590
+ {
591
+ "internalType": "NftId",
592
+ "name": "productNftId",
593
+ "type": "uint96"
594
+ },
595
+ {
596
+ "internalType": "contract TokenHandler",
597
+ "name": "tokenHandler",
598
+ "type": "address"
599
+ },
600
+ {
601
+ "components": [
602
+ {
603
+ "internalType": "UFixed",
604
+ "name": "fractionalFee",
605
+ "type": "uint256"
606
+ },
607
+ {
608
+ "internalType": "uint256",
609
+ "name": "fixedFee",
610
+ "type": "uint256"
611
+ }
612
+ ],
613
+ "internalType": "struct Fee",
614
+ "name": "distributionFee",
615
+ "type": "tuple"
616
+ },
617
+ {
618
+ "internalType": "address",
619
+ "name": "wallet",
620
+ "type": "address"
621
+ }
622
+ ],
623
+ "internalType": "struct ISetup.DistributionSetupInfo",
624
+ "name": "setup",
625
+ "type": "tuple"
436
626
  }
437
627
  ],
438
- "stateMutability": "view",
628
+ "name": "createDistributionSetup",
629
+ "outputs": [],
630
+ "stateMutability": "nonpayable",
439
631
  "type": "function"
440
632
  },
441
633
  {
442
634
  "inputs": [
443
635
  {
444
636
  "internalType": "NftId",
445
- "name": "nftId",
637
+ "name": "policyNftId",
446
638
  "type": "uint96"
447
- }
448
- ],
449
- "name": "getComponentInfo",
450
- "outputs": [
639
+ },
640
+ {
641
+ "internalType": "NumberId",
642
+ "name": "payoutId",
643
+ "type": "uint32"
644
+ },
451
645
  {
452
646
  "components": [
453
647
  {
454
- "internalType": "NftId",
455
- "name": "nftId",
456
- "type": "uint96"
648
+ "internalType": "NumberId",
649
+ "name": "claimId",
650
+ "type": "uint32"
457
651
  },
458
652
  {
459
- "internalType": "StateId",
460
- "name": "state",
461
- "type": "uint8"
653
+ "internalType": "uint256",
654
+ "name": "amount",
655
+ "type": "uint256"
462
656
  },
463
657
  {
464
- "internalType": "contract IERC20Metadata",
465
- "name": "token",
466
- "type": "address"
658
+ "internalType": "bytes",
659
+ "name": "data",
660
+ "type": "bytes"
661
+ },
662
+ {
663
+ "internalType": "Timestamp",
664
+ "name": "paidAt",
665
+ "type": "uint40"
467
666
  }
468
667
  ],
469
- "internalType": "struct IComponent.ComponentInfo",
470
- "name": "",
668
+ "internalType": "struct IPolicy.PayoutInfo",
669
+ "name": "payout",
471
670
  "type": "tuple"
472
671
  }
473
672
  ],
474
- "stateMutability": "view",
475
- "type": "function"
476
- },
477
- {
478
- "inputs": [],
479
- "name": "getComponentOwnerService",
480
- "outputs": [
481
- {
482
- "internalType": "contract IComponentOwnerService",
483
- "name": "service",
484
- "type": "address"
485
- }
486
- ],
487
- "stateMutability": "view",
488
- "type": "function"
489
- },
490
- {
491
- "inputs": [],
492
- "name": "getData",
493
- "outputs": [
494
- {
495
- "internalType": "bytes",
496
- "name": "data",
497
- "type": "bytes"
498
- }
499
- ],
500
- "stateMutability": "view",
673
+ "name": "createDistributor",
674
+ "outputs": [],
675
+ "stateMutability": "nonpayable",
501
676
  "type": "function"
502
677
  },
503
678
  {
504
679
  "inputs": [
505
680
  {
506
- "internalType": "UFixed",
507
- "name": "fractionalFee",
508
- "type": "uint256"
681
+ "internalType": "NftId",
682
+ "name": "policyNftId",
683
+ "type": "uint96"
509
684
  },
510
685
  {
511
- "internalType": "uint256",
512
- "name": "fixedFee",
513
- "type": "uint256"
514
- }
515
- ],
516
- "name": "getFee",
517
- "outputs": [
686
+ "internalType": "NumberId",
687
+ "name": "payoutId",
688
+ "type": "uint32"
689
+ },
518
690
  {
519
691
  "components": [
520
692
  {
521
- "internalType": "UFixed",
522
- "name": "fractionalFee",
523
- "type": "uint256"
693
+ "internalType": "NumberId",
694
+ "name": "claimId",
695
+ "type": "uint32"
524
696
  },
525
697
  {
526
698
  "internalType": "uint256",
527
- "name": "fixedFee",
699
+ "name": "amount",
528
700
  "type": "uint256"
701
+ },
702
+ {
703
+ "internalType": "bytes",
704
+ "name": "data",
705
+ "type": "bytes"
706
+ },
707
+ {
708
+ "internalType": "Timestamp",
709
+ "name": "paidAt",
710
+ "type": "uint40"
529
711
  }
530
712
  ],
531
- "internalType": "struct Fee",
532
- "name": "fee",
713
+ "internalType": "struct IPolicy.PayoutInfo",
714
+ "name": "payout",
533
715
  "type": "tuple"
534
716
  }
535
717
  ],
536
- "stateMutability": "pure",
537
- "type": "function"
538
- },
539
- {
540
- "inputs": [],
541
- "name": "getKeyValueStore",
542
- "outputs": [
543
- {
544
- "internalType": "contract IKeyValueStore",
545
- "name": "keyValueStore",
546
- "type": "address"
547
- }
548
- ],
549
- "stateMutability": "view",
718
+ "name": "createDistributorType",
719
+ "outputs": [],
720
+ "stateMutability": "nonpayable",
550
721
  "type": "function"
551
722
  },
552
723
  {
553
- "inputs": [],
554
- "name": "getNftId",
555
- "outputs": [
724
+ "inputs": [
556
725
  {
557
726
  "internalType": "NftId",
558
- "name": "nftId",
727
+ "name": "policyNftId",
559
728
  "type": "uint96"
560
- }
561
- ],
562
- "stateMutability": "view",
563
- "type": "function"
564
- },
565
- {
566
- "inputs": [],
567
- "name": "getOwner",
568
- "outputs": [
729
+ },
569
730
  {
570
- "internalType": "address",
571
- "name": "owner",
572
- "type": "address"
573
- }
574
- ],
575
- "stateMutability": "view",
576
- "type": "function"
577
- },
578
- {
579
- "inputs": [],
580
- "name": "getParentNftId",
581
- "outputs": [
731
+ "internalType": "NumberId",
732
+ "name": "payoutId",
733
+ "type": "uint32"
734
+ },
582
735
  {
583
- "internalType": "NftId",
584
- "name": "nftId",
585
- "type": "uint96"
736
+ "components": [
737
+ {
738
+ "internalType": "NumberId",
739
+ "name": "claimId",
740
+ "type": "uint32"
741
+ },
742
+ {
743
+ "internalType": "uint256",
744
+ "name": "amount",
745
+ "type": "uint256"
746
+ },
747
+ {
748
+ "internalType": "bytes",
749
+ "name": "data",
750
+ "type": "bytes"
751
+ },
752
+ {
753
+ "internalType": "Timestamp",
754
+ "name": "paidAt",
755
+ "type": "uint40"
756
+ }
757
+ ],
758
+ "internalType": "struct IPolicy.PayoutInfo",
759
+ "name": "payout",
760
+ "type": "tuple"
586
761
  }
587
762
  ],
588
- "stateMutability": "view",
763
+ "name": "createPayout",
764
+ "outputs": [],
765
+ "stateMutability": "nonpayable",
589
766
  "type": "function"
590
767
  },
591
768
  {
592
769
  "inputs": [
593
770
  {
594
771
  "internalType": "NftId",
595
- "name": "nftId",
772
+ "name": "policyNftId",
596
773
  "type": "uint96"
597
- }
598
- ],
599
- "name": "getPolicyInfo",
600
- "outputs": [
774
+ },
601
775
  {
602
776
  "components": [
603
- {
604
- "internalType": "NftId",
605
- "name": "nftId",
606
- "type": "uint96"
607
- },
608
777
  {
609
778
  "internalType": "NftId",
610
779
  "name": "productNftId",
@@ -616,14 +785,14 @@
616
785
  "type": "uint96"
617
786
  },
618
787
  {
619
- "internalType": "address",
620
- "name": "beneficiary",
621
- "type": "address"
788
+ "internalType": "ReferralId",
789
+ "name": "referralId",
790
+ "type": "bytes8"
622
791
  },
623
792
  {
624
- "internalType": "StateId",
625
- "name": "state",
626
- "type": "uint8"
793
+ "internalType": "RiskId",
794
+ "name": "riskId",
795
+ "type": "bytes8"
627
796
  },
628
797
  {
629
798
  "internalType": "uint256",
@@ -647,13 +816,28 @@
647
816
  },
648
817
  {
649
818
  "internalType": "bytes",
650
- "name": "data",
819
+ "name": "applicationData",
651
820
  "type": "bytes"
652
821
  },
653
822
  {
654
- "internalType": "Timestamp",
655
- "name": "createdAt",
656
- "type": "uint40"
823
+ "internalType": "bytes",
824
+ "name": "policyData",
825
+ "type": "bytes"
826
+ },
827
+ {
828
+ "internalType": "uint16",
829
+ "name": "claimsCount",
830
+ "type": "uint16"
831
+ },
832
+ {
833
+ "internalType": "uint16",
834
+ "name": "openClaimsCount",
835
+ "type": "uint16"
836
+ },
837
+ {
838
+ "internalType": "uint256",
839
+ "name": "payoutAmount",
840
+ "type": "uint256"
657
841
  },
658
842
  {
659
843
  "internalType": "Timestamp",
@@ -669,91 +853,78 @@
669
853
  "internalType": "Timestamp",
670
854
  "name": "closedAt",
671
855
  "type": "uint40"
672
- },
673
- {
674
- "internalType": "Blocknumber",
675
- "name": "updatedIn",
676
- "type": "uint32"
677
856
  }
678
857
  ],
679
858
  "internalType": "struct IPolicy.PolicyInfo",
680
- "name": "info",
859
+ "name": "policy",
681
860
  "type": "tuple"
682
861
  }
683
862
  ],
684
- "stateMutability": "view",
863
+ "name": "createPolicy",
864
+ "outputs": [],
865
+ "stateMutability": "nonpayable",
685
866
  "type": "function"
686
867
  },
687
868
  {
688
869
  "inputs": [
689
870
  {
690
871
  "internalType": "NftId",
691
- "name": "nftId",
872
+ "name": "poolNftId",
692
873
  "type": "uint96"
693
- }
694
- ],
695
- "name": "getPoolInfo",
696
- "outputs": [
874
+ },
697
875
  {
698
876
  "components": [
699
877
  {
700
878
  "internalType": "NftId",
701
- "name": "nftId",
879
+ "name": "productNftId",
702
880
  "type": "uint96"
703
881
  },
882
+ {
883
+ "internalType": "contract TokenHandler",
884
+ "name": "tokenHandler",
885
+ "type": "address"
886
+ },
887
+ {
888
+ "internalType": "bool",
889
+ "name": "isInterceptingBundleTransfers",
890
+ "type": "bool"
891
+ },
892
+ {
893
+ "internalType": "bool",
894
+ "name": "isExternallyManaged",
895
+ "type": "bool"
896
+ },
704
897
  {
705
898
  "internalType": "bool",
706
- "name": "isVerifying",
899
+ "name": "isVerifyingApplications",
707
900
  "type": "bool"
708
901
  },
709
902
  {
710
903
  "internalType": "UFixed",
711
904
  "name": "collateralizationLevel",
712
905
  "type": "uint256"
713
- }
714
- ],
715
- "internalType": "struct IPool.PoolInfo",
716
- "name": "info",
717
- "type": "tuple"
718
- }
719
- ],
720
- "stateMutability": "view",
721
- "type": "function"
722
- },
723
- {
724
- "inputs": [],
725
- "name": "getPoolService",
726
- "outputs": [
727
- {
728
- "internalType": "contract IPoolService",
729
- "name": "service",
730
- "type": "address"
731
- }
732
- ],
733
- "stateMutability": "view",
734
- "type": "function"
735
- },
736
- {
737
- "inputs": [
738
- {
739
- "internalType": "NftId",
740
- "name": "poolNftId",
741
- "type": "uint96"
742
- }
743
- ],
744
- "name": "getPoolSetup",
745
- "outputs": [
746
- {
747
- "components": [
906
+ },
748
907
  {
749
- "internalType": "NftId",
750
- "name": "poolNftId",
751
- "type": "uint96"
908
+ "internalType": "UFixed",
909
+ "name": "retentionLevel",
910
+ "type": "uint256"
752
911
  },
753
912
  {
754
- "internalType": "address",
755
- "name": "wallet",
756
- "type": "address"
913
+ "components": [
914
+ {
915
+ "internalType": "UFixed",
916
+ "name": "fractionalFee",
917
+ "type": "uint256"
918
+ },
919
+ {
920
+ "internalType": "uint256",
921
+ "name": "fixedFee",
922
+ "type": "uint256"
923
+ }
924
+ ],
925
+ "internalType": "struct Fee",
926
+ "name": "poolFee",
927
+ "type": "tuple"
757
928
  },
758
929
  {
759
930
  "components": [
@@ -788,27 +959,21 @@
788
959
  "internalType": "struct Fee",
789
960
  "name": "performanceFee",
790
961
  "type": "tuple"
962
+ },
963
+ {
964
+ "internalType": "address",
965
+ "name": "wallet",
966
+ "type": "address"
791
967
  }
792
968
  ],
793
- "internalType": "struct ITreasury.PoolSetup",
969
+ "internalType": "struct ISetup.PoolSetupInfo",
794
970
  "name": "setup",
795
971
  "type": "tuple"
796
972
  }
797
973
  ],
798
- "stateMutability": "view",
799
- "type": "function"
800
- },
801
- {
802
- "inputs": [],
803
- "name": "getProductService",
804
- "outputs": [
805
- {
806
- "internalType": "contract IProductService",
807
- "name": "service",
808
- "type": "address"
809
- }
810
- ],
811
- "stateMutability": "view",
974
+ "name": "createPoolSetup",
975
+ "outputs": [],
976
+ "stateMutability": "nonpayable",
812
977
  "type": "function"
813
978
  },
814
979
  {
@@ -817,20 +982,22 @@
817
982
  "internalType": "NftId",
818
983
  "name": "productNftId",
819
984
  "type": "uint96"
820
- }
821
- ],
822
- "name": "getProductSetup",
823
- "outputs": [
985
+ },
824
986
  {
825
987
  "components": [
826
988
  {
827
- "internalType": "NftId",
828
- "name": "productNftId",
829
- "type": "uint96"
989
+ "internalType": "contract IERC20Metadata",
990
+ "name": "token",
991
+ "type": "address"
992
+ },
993
+ {
994
+ "internalType": "contract TokenHandler",
995
+ "name": "tokenHandler",
996
+ "type": "address"
830
997
  },
831
998
  {
832
999
  "internalType": "NftId",
833
- "name": "distributorNftId",
1000
+ "name": "distributionNftId",
834
1001
  "type": "uint96"
835
1002
  },
836
1003
  {
@@ -839,14 +1006,38 @@
839
1006
  "type": "uint96"
840
1007
  },
841
1008
  {
842
- "internalType": "contract IERC20Metadata",
843
- "name": "token",
844
- "type": "address"
1009
+ "components": [
1010
+ {
1011
+ "internalType": "UFixed",
1012
+ "name": "fractionalFee",
1013
+ "type": "uint256"
1014
+ },
1015
+ {
1016
+ "internalType": "uint256",
1017
+ "name": "fixedFee",
1018
+ "type": "uint256"
1019
+ }
1020
+ ],
1021
+ "internalType": "struct Fee",
1022
+ "name": "distributionFee",
1023
+ "type": "tuple"
845
1024
  },
846
1025
  {
847
- "internalType": "address",
848
- "name": "wallet",
849
- "type": "address"
1026
+ "components": [
1027
+ {
1028
+ "internalType": "UFixed",
1029
+ "name": "fractionalFee",
1030
+ "type": "uint256"
1031
+ },
1032
+ {
1033
+ "internalType": "uint256",
1034
+ "name": "fixedFee",
1035
+ "type": "uint256"
1036
+ }
1037
+ ],
1038
+ "internalType": "struct Fee",
1039
+ "name": "productFee",
1040
+ "type": "tuple"
850
1041
  },
851
1042
  {
852
1043
  "components": [
@@ -862,7 +1053,7 @@
862
1053
  }
863
1054
  ],
864
1055
  "internalType": "struct Fee",
865
- "name": "policyFee",
1056
+ "name": "processingFee",
866
1057
  "type": "tuple"
867
1058
  },
868
1059
  {
@@ -879,137 +1070,153 @@
879
1070
  }
880
1071
  ],
881
1072
  "internalType": "struct Fee",
882
- "name": "processingFee",
1073
+ "name": "poolFee",
1074
+ "type": "tuple"
1075
+ },
1076
+ {
1077
+ "components": [
1078
+ {
1079
+ "internalType": "UFixed",
1080
+ "name": "fractionalFee",
1081
+ "type": "uint256"
1082
+ },
1083
+ {
1084
+ "internalType": "uint256",
1085
+ "name": "fixedFee",
1086
+ "type": "uint256"
1087
+ }
1088
+ ],
1089
+ "internalType": "struct Fee",
1090
+ "name": "stakingFee",
1091
+ "type": "tuple"
1092
+ },
1093
+ {
1094
+ "components": [
1095
+ {
1096
+ "internalType": "UFixed",
1097
+ "name": "fractionalFee",
1098
+ "type": "uint256"
1099
+ },
1100
+ {
1101
+ "internalType": "uint256",
1102
+ "name": "fixedFee",
1103
+ "type": "uint256"
1104
+ }
1105
+ ],
1106
+ "internalType": "struct Fee",
1107
+ "name": "performanceFee",
883
1108
  "type": "tuple"
1109
+ },
1110
+ {
1111
+ "internalType": "bool",
1112
+ "name": "isIntercepting",
1113
+ "type": "bool"
1114
+ },
1115
+ {
1116
+ "internalType": "address",
1117
+ "name": "wallet",
1118
+ "type": "address"
884
1119
  }
885
1120
  ],
886
- "internalType": "struct ITreasury.ProductSetup",
1121
+ "internalType": "struct ISetup.ProductSetupInfo",
887
1122
  "name": "setup",
888
1123
  "type": "tuple"
889
1124
  }
890
1125
  ],
891
- "stateMutability": "view",
892
- "type": "function"
893
- },
894
- {
895
- "inputs": [],
896
- "name": "getRegistry",
897
- "outputs": [
898
- {
899
- "internalType": "contract IRegistry",
900
- "name": "registry",
901
- "type": "address"
902
- }
903
- ],
904
- "stateMutability": "view",
1126
+ "name": "createProductSetup",
1127
+ "outputs": [],
1128
+ "stateMutability": "nonpayable",
905
1129
  "type": "function"
906
1130
  },
907
1131
  {
908
1132
  "inputs": [
909
1133
  {
910
- "internalType": "uint256",
911
- "name": "idx",
912
- "type": "uint256"
913
- }
914
- ],
915
- "name": "getRole",
916
- "outputs": [
917
- {
918
- "internalType": "RoleId",
919
- "name": "role",
920
- "type": "bytes8"
921
- }
922
- ],
923
- "stateMutability": "view",
924
- "type": "function"
925
- },
926
- {
927
- "inputs": [],
928
- "name": "getRoleCount",
929
- "outputs": [
930
- {
931
- "internalType": "uint256",
932
- "name": "roles",
933
- "type": "uint256"
934
- }
935
- ],
936
- "stateMutability": "view",
937
- "type": "function"
938
- },
939
- {
940
- "inputs": [
1134
+ "internalType": "NftId",
1135
+ "name": "policyNftId",
1136
+ "type": "uint96"
1137
+ },
941
1138
  {
942
- "internalType": "string",
943
- "name": "roleName",
944
- "type": "string"
945
- }
946
- ],
947
- "name": "getRoleId",
948
- "outputs": [
1139
+ "internalType": "NumberId",
1140
+ "name": "payoutId",
1141
+ "type": "uint32"
1142
+ },
949
1143
  {
950
- "internalType": "RoleId",
951
- "name": "role",
952
- "type": "bytes8"
1144
+ "components": [
1145
+ {
1146
+ "internalType": "NumberId",
1147
+ "name": "claimId",
1148
+ "type": "uint32"
1149
+ },
1150
+ {
1151
+ "internalType": "uint256",
1152
+ "name": "amount",
1153
+ "type": "uint256"
1154
+ },
1155
+ {
1156
+ "internalType": "bytes",
1157
+ "name": "data",
1158
+ "type": "bytes"
1159
+ },
1160
+ {
1161
+ "internalType": "Timestamp",
1162
+ "name": "paidAt",
1163
+ "type": "uint40"
1164
+ }
1165
+ ],
1166
+ "internalType": "struct IPolicy.PayoutInfo",
1167
+ "name": "payout",
1168
+ "type": "tuple"
953
1169
  }
954
1170
  ],
955
- "stateMutability": "pure",
1171
+ "name": "createReferral",
1172
+ "outputs": [],
1173
+ "stateMutability": "nonpayable",
956
1174
  "type": "function"
957
1175
  },
958
1176
  {
959
1177
  "inputs": [
960
1178
  {
961
- "internalType": "RoleId",
962
- "name": "role",
1179
+ "internalType": "RiskId",
1180
+ "name": "riskId",
963
1181
  "type": "bytes8"
964
- }
965
- ],
966
- "name": "getRoleInfo",
967
- "outputs": [
1182
+ },
968
1183
  {
969
1184
  "components": [
970
1185
  {
971
- "internalType": "RoleId",
972
- "name": "id",
973
- "type": "bytes8"
974
- },
975
- {
976
- "internalType": "string",
977
- "name": "name",
978
- "type": "string"
1186
+ "internalType": "NftId",
1187
+ "name": "productNftId",
1188
+ "type": "uint96"
979
1189
  },
980
1190
  {
981
- "internalType": "bool",
982
- "name": "isActive",
983
- "type": "bool"
1191
+ "internalType": "bytes",
1192
+ "name": "data",
1193
+ "type": "bytes"
984
1194
  }
985
1195
  ],
986
- "internalType": "struct IAccess.RoleInfo",
987
- "name": "info",
1196
+ "internalType": "struct IRisk.RiskInfo",
1197
+ "name": "risk",
988
1198
  "type": "tuple"
989
1199
  }
990
1200
  ],
991
- "stateMutability": "view",
1201
+ "name": "createRisk",
1202
+ "outputs": [],
1203
+ "stateMutability": "nonpayable",
992
1204
  "type": "function"
993
1205
  },
994
1206
  {
995
1207
  "inputs": [
996
1208
  {
997
- "internalType": "RoleId",
998
- "name": "role",
999
- "type": "bytes8"
1000
- },
1001
- {
1002
- "internalType": "uint256",
1003
- "name": "idx",
1004
- "type": "uint256"
1209
+ "internalType": "Key32",
1210
+ "name": "key32",
1211
+ "type": "bytes32"
1005
1212
  }
1006
1213
  ],
1007
- "name": "getRoleMember",
1214
+ "name": "exists",
1008
1215
  "outputs": [
1009
1216
  {
1010
- "internalType": "address",
1011
- "name": "roleMembers",
1012
- "type": "address"
1217
+ "internalType": "bool",
1218
+ "name": "",
1219
+ "type": "bool"
1013
1220
  }
1014
1221
  ],
1015
1222
  "stateMutability": "view",
@@ -1018,35 +1225,68 @@
1018
1225
  {
1019
1226
  "inputs": [
1020
1227
  {
1021
- "internalType": "RoleId",
1022
- "name": "role",
1023
- "type": "bytes8"
1228
+ "internalType": "Key32",
1229
+ "name": "key32",
1230
+ "type": "bytes32"
1024
1231
  }
1025
1232
  ],
1026
- "name": "getRoleMemberCount",
1233
+ "name": "get",
1027
1234
  "outputs": [
1028
1235
  {
1029
- "internalType": "uint256",
1030
- "name": "roleMembers",
1031
- "type": "uint256"
1236
+ "components": [
1237
+ {
1238
+ "components": [
1239
+ {
1240
+ "internalType": "ObjectType",
1241
+ "name": "objectType",
1242
+ "type": "uint8"
1243
+ },
1244
+ {
1245
+ "internalType": "StateId",
1246
+ "name": "state",
1247
+ "type": "uint8"
1248
+ },
1249
+ {
1250
+ "internalType": "address",
1251
+ "name": "updatedBy",
1252
+ "type": "address"
1253
+ },
1254
+ {
1255
+ "internalType": "Blocknumber",
1256
+ "name": "updatedIn",
1257
+ "type": "uint32"
1258
+ },
1259
+ {
1260
+ "internalType": "Blocknumber",
1261
+ "name": "createdIn",
1262
+ "type": "uint32"
1263
+ }
1264
+ ],
1265
+ "internalType": "struct IKeyValueStore.Metadata",
1266
+ "name": "metadata",
1267
+ "type": "tuple"
1268
+ },
1269
+ {
1270
+ "internalType": "bytes",
1271
+ "name": "data",
1272
+ "type": "bytes"
1273
+ }
1274
+ ],
1275
+ "internalType": "struct IKeyValueStore.Value",
1276
+ "name": "value",
1277
+ "type": "tuple"
1032
1278
  }
1033
1279
  ],
1034
1280
  "stateMutability": "view",
1035
1281
  "type": "function"
1036
1282
  },
1037
1283
  {
1038
- "inputs": [
1039
- {
1040
- "internalType": "NftId",
1041
- "name": "componentNftId",
1042
- "type": "uint96"
1043
- }
1044
- ],
1045
- "name": "getTokenHandler",
1284
+ "inputs": [],
1285
+ "name": "getBundleManager",
1046
1286
  "outputs": [
1047
1287
  {
1048
- "internalType": "contract TokenHandler",
1049
- "name": "tokenHandler",
1288
+ "internalType": "contract BundleManager",
1289
+ "name": "",
1050
1290
  "type": "address"
1051
1291
  }
1052
1292
  ],
@@ -1055,87 +1295,126 @@
1055
1295
  },
1056
1296
  {
1057
1297
  "inputs": [],
1058
- "name": "getType",
1298
+ "name": "getBundleService",
1059
1299
  "outputs": [
1060
1300
  {
1061
- "internalType": "ObjectType",
1062
- "name": "objectType",
1063
- "type": "uint8"
1301
+ "internalType": "contract IBundleService",
1302
+ "name": "",
1303
+ "type": "address"
1064
1304
  }
1065
1305
  ],
1066
- "stateMutability": "pure",
1306
+ "stateMutability": "view",
1067
1307
  "type": "function"
1068
1308
  },
1069
1309
  {
1070
1310
  "inputs": [
1071
1311
  {
1072
- "internalType": "uint256",
1073
- "name": "a",
1074
- "type": "uint256"
1075
- },
1076
- {
1077
- "internalType": "int8",
1078
- "name": "exp",
1079
- "type": "int8"
1312
+ "internalType": "Key32",
1313
+ "name": "key32",
1314
+ "type": "bytes32"
1080
1315
  }
1081
1316
  ],
1082
- "name": "getUFixed",
1317
+ "name": "getData",
1083
1318
  "outputs": [
1084
1319
  {
1085
- "internalType": "UFixed",
1086
- "name": "",
1087
- "type": "uint256"
1320
+ "internalType": "bytes",
1321
+ "name": "data",
1322
+ "type": "bytes"
1088
1323
  }
1089
1324
  ],
1090
- "stateMutability": "pure",
1325
+ "stateMutability": "view",
1091
1326
  "type": "function"
1092
1327
  },
1093
1328
  {
1094
- "inputs": [
1095
- {
1096
- "internalType": "uint256",
1097
- "name": "a",
1098
- "type": "uint256"
1099
- }
1100
- ],
1101
- "name": "getUFixed",
1329
+ "inputs": [],
1330
+ "name": "getDistributionService",
1102
1331
  "outputs": [
1103
1332
  {
1104
- "internalType": "UFixed",
1333
+ "internalType": "contract IDistributionService",
1105
1334
  "name": "",
1106
- "type": "uint256"
1335
+ "type": "address"
1107
1336
  }
1108
1337
  ],
1109
- "stateMutability": "pure",
1338
+ "stateMutability": "view",
1110
1339
  "type": "function"
1111
1340
  },
1112
1341
  {
1113
1342
  "inputs": [],
1114
- "name": "getVersion",
1343
+ "name": "getInitialInfo",
1115
1344
  "outputs": [
1116
1345
  {
1117
- "internalType": "Version",
1346
+ "components": [
1347
+ {
1348
+ "internalType": "NftId",
1349
+ "name": "nftId",
1350
+ "type": "uint96"
1351
+ },
1352
+ {
1353
+ "internalType": "NftId",
1354
+ "name": "parentNftId",
1355
+ "type": "uint96"
1356
+ },
1357
+ {
1358
+ "internalType": "ObjectType",
1359
+ "name": "objectType",
1360
+ "type": "uint8"
1361
+ },
1362
+ {
1363
+ "internalType": "bool",
1364
+ "name": "isInterceptor",
1365
+ "type": "bool"
1366
+ },
1367
+ {
1368
+ "internalType": "address",
1369
+ "name": "objectAddress",
1370
+ "type": "address"
1371
+ },
1372
+ {
1373
+ "internalType": "address",
1374
+ "name": "initialOwner",
1375
+ "type": "address"
1376
+ },
1377
+ {
1378
+ "internalType": "bytes",
1379
+ "name": "data",
1380
+ "type": "bytes"
1381
+ }
1382
+ ],
1383
+ "internalType": "struct IRegistry.ObjectInfo",
1384
+ "name": "info",
1385
+ "type": "tuple"
1386
+ }
1387
+ ],
1388
+ "stateMutability": "view",
1389
+ "type": "function"
1390
+ },
1391
+ {
1392
+ "inputs": [],
1393
+ "name": "getInitialOwner",
1394
+ "outputs": [
1395
+ {
1396
+ "internalType": "address",
1118
1397
  "name": "",
1119
- "type": "uint24"
1398
+ "type": "address"
1120
1399
  }
1121
1400
  ],
1122
- "stateMutability": "pure",
1401
+ "stateMutability": "view",
1123
1402
  "type": "function"
1124
1403
  },
1125
1404
  {
1126
1405
  "inputs": [
1127
1406
  {
1128
- "internalType": "uint256",
1129
- "name": "idx",
1130
- "type": "uint256"
1407
+ "internalType": "ObjectType",
1408
+ "name": "objectType",
1409
+ "type": "uint8"
1131
1410
  }
1132
1411
  ],
1133
- "name": "getVersion",
1412
+ "name": "getInitialState",
1134
1413
  "outputs": [
1135
1414
  {
1136
- "internalType": "Version",
1415
+ "internalType": "StateId",
1137
1416
  "name": "",
1138
- "type": "uint24"
1417
+ "type": "uint8"
1139
1418
  }
1140
1419
  ],
1141
1420
  "stateMutability": "view",
@@ -1143,57 +1422,70 @@
1143
1422
  },
1144
1423
  {
1145
1424
  "inputs": [],
1146
- "name": "getVersionCount",
1425
+ "name": "getInstanceReader",
1147
1426
  "outputs": [
1148
1427
  {
1149
- "internalType": "uint256",
1428
+ "internalType": "contract InstanceReader",
1150
1429
  "name": "",
1151
- "type": "uint256"
1430
+ "type": "address"
1152
1431
  }
1153
1432
  ],
1154
1433
  "stateMutability": "view",
1155
1434
  "type": "function"
1156
1435
  },
1436
+ {
1437
+ "inputs": [],
1438
+ "name": "getMajorVersion",
1439
+ "outputs": [
1440
+ {
1441
+ "internalType": "VersionPart",
1442
+ "name": "majorVersion",
1443
+ "type": "uint8"
1444
+ }
1445
+ ],
1446
+ "stateMutability": "pure",
1447
+ "type": "function"
1448
+ },
1157
1449
  {
1158
1450
  "inputs": [
1159
1451
  {
1160
- "internalType": "Version",
1161
- "name": "_version",
1162
- "type": "uint24"
1452
+ "internalType": "Key32",
1453
+ "name": "key32",
1454
+ "type": "bytes32"
1163
1455
  }
1164
1456
  ],
1165
- "name": "getVersionInfo",
1457
+ "name": "getMetadata",
1166
1458
  "outputs": [
1167
1459
  {
1168
1460
  "components": [
1169
1461
  {
1170
- "internalType": "Version",
1171
- "name": "version",
1172
- "type": "uint24"
1462
+ "internalType": "ObjectType",
1463
+ "name": "objectType",
1464
+ "type": "uint8"
1173
1465
  },
1174
1466
  {
1175
- "internalType": "address",
1176
- "name": "implementation",
1177
- "type": "address"
1467
+ "internalType": "StateId",
1468
+ "name": "state",
1469
+ "type": "uint8"
1178
1470
  },
1179
1471
  {
1180
1472
  "internalType": "address",
1181
- "name": "activatedBy",
1473
+ "name": "updatedBy",
1182
1474
  "type": "address"
1183
1475
  },
1184
1476
  {
1185
- "internalType": "Timestamp",
1186
- "name": "activatedAt",
1187
- "type": "uint40"
1477
+ "internalType": "Blocknumber",
1478
+ "name": "updatedIn",
1479
+ "type": "uint32"
1188
1480
  },
1189
1481
  {
1190
1482
  "internalType": "Blocknumber",
1191
- "name": "activatedIn",
1483
+ "name": "createdIn",
1192
1484
  "type": "uint32"
1193
1485
  }
1194
1486
  ],
1195
- "internalType": "struct IVersionable.VersionInfo",
1196
- "name": "",
1487
+ "internalType": "struct IKeyValueStore.Metadata",
1488
+ "name": "metadata",
1197
1489
  "type": "tuple"
1198
1490
  }
1199
1491
  ],
@@ -1202,174 +1494,151 @@
1202
1494
  },
1203
1495
  {
1204
1496
  "inputs": [],
1205
- "name": "getZeroFee",
1497
+ "name": "getNftId",
1206
1498
  "outputs": [
1207
1499
  {
1208
- "components": [
1209
- {
1210
- "internalType": "UFixed",
1211
- "name": "fractionalFee",
1212
- "type": "uint256"
1213
- },
1214
- {
1215
- "internalType": "uint256",
1216
- "name": "fixedFee",
1217
- "type": "uint256"
1218
- }
1219
- ],
1220
- "internalType": "struct Fee",
1221
- "name": "fee",
1222
- "type": "tuple"
1500
+ "internalType": "NftId",
1501
+ "name": "",
1502
+ "type": "uint96"
1223
1503
  }
1224
1504
  ],
1225
- "stateMutability": "pure",
1505
+ "stateMutability": "view",
1226
1506
  "type": "function"
1227
1507
  },
1228
1508
  {
1229
- "inputs": [
1230
- {
1231
- "internalType": "RoleId",
1232
- "name": "role",
1233
- "type": "bytes8"
1234
- },
1509
+ "inputs": [],
1510
+ "name": "getOwner",
1511
+ "outputs": [
1235
1512
  {
1236
1513
  "internalType": "address",
1237
- "name": "member",
1514
+ "name": "",
1238
1515
  "type": "address"
1239
1516
  }
1240
1517
  ],
1241
- "name": "grantRole",
1242
- "outputs": [],
1243
- "stateMutability": "nonpayable",
1518
+ "stateMutability": "view",
1244
1519
  "type": "function"
1245
1520
  },
1246
1521
  {
1247
- "inputs": [
1248
- {
1249
- "internalType": "RoleId",
1250
- "name": "role",
1251
- "type": "bytes8"
1252
- },
1522
+ "inputs": [],
1523
+ "name": "getPolicyService",
1524
+ "outputs": [
1253
1525
  {
1254
- "internalType": "address",
1255
- "name": "member",
1526
+ "internalType": "contract IPolicyService",
1527
+ "name": "",
1256
1528
  "type": "address"
1257
1529
  }
1258
1530
  ],
1259
- "name": "hasRole",
1531
+ "stateMutability": "view",
1532
+ "type": "function"
1533
+ },
1534
+ {
1535
+ "inputs": [],
1536
+ "name": "getPoolService",
1260
1537
  "outputs": [
1261
1538
  {
1262
- "internalType": "bool",
1539
+ "internalType": "contract IPoolService",
1263
1540
  "name": "",
1264
- "type": "bool"
1541
+ "type": "address"
1265
1542
  }
1266
1543
  ],
1267
1544
  "stateMutability": "view",
1268
1545
  "type": "function"
1269
1546
  },
1270
1547
  {
1271
- "inputs": [
1548
+ "inputs": [],
1549
+ "name": "getProductService",
1550
+ "outputs": [
1272
1551
  {
1273
- "internalType": "Version",
1274
- "name": "_version",
1275
- "type": "uint24"
1552
+ "internalType": "contract IProductService",
1553
+ "name": "",
1554
+ "type": "address"
1276
1555
  }
1277
1556
  ],
1278
- "name": "isActivated",
1557
+ "stateMutability": "view",
1558
+ "type": "function"
1559
+ },
1560
+ {
1561
+ "inputs": [],
1562
+ "name": "getRegistry",
1279
1563
  "outputs": [
1280
1564
  {
1281
- "internalType": "bool",
1565
+ "internalType": "contract IRegistry",
1282
1566
  "name": "",
1283
- "type": "bool"
1567
+ "type": "address"
1284
1568
  }
1285
1569
  ],
1286
1570
  "stateMutability": "view",
1287
1571
  "type": "function"
1288
1572
  },
1289
1573
  {
1290
- "inputs": [],
1291
- "name": "register",
1574
+ "inputs": [
1575
+ {
1576
+ "internalType": "Key32",
1577
+ "name": "key32",
1578
+ "type": "bytes32"
1579
+ }
1580
+ ],
1581
+ "name": "getState",
1292
1582
  "outputs": [
1293
1583
  {
1294
- "internalType": "NftId",
1295
- "name": "nftId",
1296
- "type": "uint96"
1584
+ "internalType": "StateId",
1585
+ "name": "state",
1586
+ "type": "uint8"
1297
1587
  }
1298
1588
  ],
1299
- "stateMutability": "nonpayable",
1589
+ "stateMutability": "view",
1300
1590
  "type": "function"
1301
1591
  },
1302
1592
  {
1303
1593
  "inputs": [
1304
- {
1305
- "internalType": "NftId",
1306
- "name": "nftId",
1307
- "type": "uint96"
1308
- },
1309
1594
  {
1310
1595
  "internalType": "ObjectType",
1311
1596
  "name": "objectType",
1312
1597
  "type": "uint8"
1313
- },
1598
+ }
1599
+ ],
1600
+ "name": "hasLifecycle",
1601
+ "outputs": [
1314
1602
  {
1315
- "internalType": "contract IERC20Metadata",
1316
- "name": "token",
1317
- "type": "address"
1603
+ "internalType": "bool",
1604
+ "name": "",
1605
+ "type": "bool"
1318
1606
  }
1319
1607
  ],
1320
- "name": "registerComponent",
1321
- "outputs": [],
1322
- "stateMutability": "nonpayable",
1608
+ "stateMutability": "view",
1323
1609
  "type": "function"
1324
1610
  },
1325
1611
  {
1326
1612
  "inputs": [
1327
1613
  {
1328
- "internalType": "NftId",
1329
- "name": "poolNftId",
1330
- "type": "uint96"
1614
+ "internalType": "address",
1615
+ "name": "accessManagerAddress",
1616
+ "type": "address"
1331
1617
  },
1332
1618
  {
1333
1619
  "internalType": "address",
1334
- "name": "wallet",
1620
+ "name": "registryAddress",
1335
1621
  "type": "address"
1336
1622
  },
1337
1623
  {
1338
- "components": [
1339
- {
1340
- "internalType": "UFixed",
1341
- "name": "fractionalFee",
1342
- "type": "uint256"
1343
- },
1344
- {
1345
- "internalType": "uint256",
1346
- "name": "fixedFee",
1347
- "type": "uint256"
1348
- }
1349
- ],
1350
- "internalType": "struct Fee",
1351
- "name": "stakingFee",
1352
- "type": "tuple"
1624
+ "internalType": "NftId",
1625
+ "name": "registryNftId",
1626
+ "type": "uint96"
1353
1627
  },
1354
1628
  {
1355
- "components": [
1356
- {
1357
- "internalType": "UFixed",
1358
- "name": "fractionalFee",
1359
- "type": "uint256"
1360
- },
1361
- {
1362
- "internalType": "uint256",
1363
- "name": "fixedFee",
1364
- "type": "uint256"
1365
- }
1366
- ],
1367
- "internalType": "struct Fee",
1368
- "name": "performanceFee",
1369
- "type": "tuple"
1629
+ "internalType": "address",
1630
+ "name": "initialOwner",
1631
+ "type": "address"
1370
1632
  }
1371
1633
  ],
1372
- "name": "registerPool",
1634
+ "name": "initialize",
1635
+ "outputs": [],
1636
+ "stateMutability": "nonpayable",
1637
+ "type": "function"
1638
+ },
1639
+ {
1640
+ "inputs": [],
1641
+ "name": "initializeERC165",
1373
1642
  "outputs": [],
1374
1643
  "stateMutability": "nonpayable",
1375
1644
  "type": "function"
@@ -1377,22 +1646,30 @@
1377
1646
  {
1378
1647
  "inputs": [
1379
1648
  {
1380
- "internalType": "NftId",
1381
- "name": "nftId",
1382
- "type": "uint96"
1649
+ "internalType": "address",
1650
+ "name": "initialOwner",
1651
+ "type": "address"
1383
1652
  },
1384
1653
  {
1385
- "internalType": "bool",
1386
- "name": "isVerifying",
1387
- "type": "bool"
1388
- },
1654
+ "internalType": "address",
1655
+ "name": "registryAddress",
1656
+ "type": "address"
1657
+ }
1658
+ ],
1659
+ "name": "initializeNftOwnable",
1660
+ "outputs": [],
1661
+ "stateMutability": "nonpayable",
1662
+ "type": "function"
1663
+ },
1664
+ {
1665
+ "inputs": [
1389
1666
  {
1390
- "internalType": "UFixed",
1391
- "name": "collateralizationRate",
1392
- "type": "uint256"
1667
+ "internalType": "address",
1668
+ "name": "initialOwner",
1669
+ "type": "address"
1393
1670
  }
1394
1671
  ],
1395
- "name": "registerPool",
1672
+ "name": "initializeOwner",
1396
1673
  "outputs": [],
1397
1674
  "stateMutability": "nonpayable",
1398
1675
  "type": "function"
@@ -1400,108 +1677,112 @@
1400
1677
  {
1401
1678
  "inputs": [
1402
1679
  {
1403
- "internalType": "NftId",
1404
- "name": "productNftId",
1405
- "type": "uint96"
1680
+ "internalType": "address",
1681
+ "name": "registryAddress",
1682
+ "type": "address"
1406
1683
  },
1407
1684
  {
1408
1685
  "internalType": "NftId",
1409
- "name": "distributorNftId",
1686
+ "name": "parentNftId",
1410
1687
  "type": "uint96"
1411
1688
  },
1412
1689
  {
1413
- "internalType": "NftId",
1414
- "name": "poolNftId",
1415
- "type": "uint96"
1690
+ "internalType": "ObjectType",
1691
+ "name": "objectType",
1692
+ "type": "uint8"
1416
1693
  },
1417
1694
  {
1418
- "internalType": "contract IERC20Metadata",
1419
- "name": "token",
1420
- "type": "address"
1695
+ "internalType": "bool",
1696
+ "name": "isInterceptor",
1697
+ "type": "bool"
1421
1698
  },
1422
1699
  {
1423
1700
  "internalType": "address",
1424
- "name": "wallet",
1701
+ "name": "initialOwner",
1425
1702
  "type": "address"
1426
1703
  },
1427
1704
  {
1428
- "components": [
1429
- {
1430
- "internalType": "UFixed",
1431
- "name": "fractionalFee",
1432
- "type": "uint256"
1433
- },
1434
- {
1435
- "internalType": "uint256",
1436
- "name": "fixedFee",
1437
- "type": "uint256"
1438
- }
1439
- ],
1440
- "internalType": "struct Fee",
1441
- "name": "policyFee",
1442
- "type": "tuple"
1443
- },
1444
- {
1445
- "components": [
1446
- {
1447
- "internalType": "UFixed",
1448
- "name": "fractionalFee",
1449
- "type": "uint256"
1450
- },
1451
- {
1452
- "internalType": "uint256",
1453
- "name": "fixedFee",
1454
- "type": "uint256"
1455
- }
1456
- ],
1457
- "internalType": "struct Fee",
1458
- "name": "processingFee",
1459
- "type": "tuple"
1705
+ "internalType": "bytes",
1706
+ "name": "data",
1707
+ "type": "bytes"
1460
1708
  }
1461
1709
  ],
1462
- "name": "registerProduct",
1710
+ "name": "initializeRegisterable",
1463
1711
  "outputs": [],
1464
1712
  "stateMutability": "nonpayable",
1465
1713
  "type": "function"
1466
1714
  },
1715
+ {
1716
+ "inputs": [],
1717
+ "name": "isConsumingScheduledOp",
1718
+ "outputs": [
1719
+ {
1720
+ "internalType": "bytes4",
1721
+ "name": "",
1722
+ "type": "bytes4"
1723
+ }
1724
+ ],
1725
+ "stateMutability": "view",
1726
+ "type": "function"
1727
+ },
1467
1728
  {
1468
1729
  "inputs": [
1469
1730
  {
1470
- "internalType": "NftId",
1471
- "name": "bundleNftId",
1472
- "type": "uint96"
1731
+ "internalType": "ObjectType",
1732
+ "name": "objectType",
1733
+ "type": "uint8"
1473
1734
  },
1474
1735
  {
1475
- "internalType": "NftId",
1476
- "name": "policyNftId",
1477
- "type": "uint96"
1736
+ "internalType": "StateId",
1737
+ "name": "fromId",
1738
+ "type": "uint8"
1739
+ },
1740
+ {
1741
+ "internalType": "StateId",
1742
+ "name": "toId",
1743
+ "type": "uint8"
1478
1744
  }
1479
1745
  ],
1480
- "name": "releasePolicy",
1746
+ "name": "isValidTransition",
1481
1747
  "outputs": [
1482
1748
  {
1483
- "internalType": "uint256",
1484
- "name": "collateralAmount",
1485
- "type": "uint256"
1749
+ "internalType": "bool",
1750
+ "name": "",
1751
+ "type": "bool"
1486
1752
  }
1487
1753
  ],
1754
+ "stateMutability": "view",
1755
+ "type": "function"
1756
+ },
1757
+ {
1758
+ "inputs": [],
1759
+ "name": "linkToRegisteredNftId",
1760
+ "outputs": [],
1488
1761
  "stateMutability": "nonpayable",
1489
1762
  "type": "function"
1490
1763
  },
1491
1764
  {
1492
1765
  "inputs": [
1493
1766
  {
1494
- "internalType": "RoleId",
1495
- "name": "role",
1496
- "type": "bytes8"
1497
- },
1767
+ "internalType": "bytes4",
1768
+ "name": "interfaceId",
1769
+ "type": "bytes4"
1770
+ }
1771
+ ],
1772
+ "name": "registerInterface",
1773
+ "outputs": [],
1774
+ "stateMutability": "nonpayable",
1775
+ "type": "function"
1776
+ },
1777
+ {
1778
+ "inputs": [
1498
1779
  {
1499
1780
  "internalType": "address",
1500
- "name": "member",
1781
+ "name": "newAuthority",
1501
1782
  "type": "address"
1502
1783
  }
1503
1784
  ],
1504
- "name": "revokeRole",
1785
+ "name": "setAuthority",
1505
1786
  "outputs": [],
1506
1787
  "stateMutability": "nonpayable",
1507
1788
  "type": "function"
@@ -1509,12 +1790,38 @@
1509
1790
  {
1510
1791
  "inputs": [
1511
1792
  {
1512
- "internalType": "RoleId",
1513
- "name": "role",
1514
- "type": "bytes8"
1793
+ "internalType": "contract BundleManager",
1794
+ "name": "bundleManager",
1795
+ "type": "address"
1796
+ }
1797
+ ],
1798
+ "name": "setBundleManager",
1799
+ "outputs": [],
1800
+ "stateMutability": "nonpayable",
1801
+ "type": "function"
1802
+ },
1803
+ {
1804
+ "inputs": [
1805
+ {
1806
+ "internalType": "contract InstanceReader",
1807
+ "name": "instanceReader",
1808
+ "type": "address"
1809
+ }
1810
+ ],
1811
+ "name": "setInstanceReader",
1812
+ "outputs": [],
1813
+ "stateMutability": "nonpayable",
1814
+ "type": "function"
1815
+ },
1816
+ {
1817
+ "inputs": [
1818
+ {
1819
+ "internalType": "bytes4",
1820
+ "name": "interfaceId",
1821
+ "type": "bytes4"
1515
1822
  }
1516
1823
  ],
1517
- "name": "roleExists",
1824
+ "name": "supportsInterface",
1518
1825
  "outputs": [
1519
1826
  {
1520
1827
  "internalType": "bool",
@@ -1527,17 +1834,96 @@
1527
1834
  },
1528
1835
  {
1529
1836
  "inputs": [
1837
+ {
1838
+ "internalType": "NftId",
1839
+ "name": "bundleNftId",
1840
+ "type": "uint96"
1841
+ }
1842
+ ],
1843
+ "name": "toBundleKey32",
1844
+ "outputs": [
1845
+ {
1846
+ "internalType": "Key32",
1847
+ "name": "",
1848
+ "type": "bytes32"
1849
+ }
1850
+ ],
1851
+ "stateMutability": "pure",
1852
+ "type": "function"
1853
+ },
1854
+ {
1855
+ "inputs": [
1856
+ {
1857
+ "internalType": "ObjectType",
1858
+ "name": "objectType",
1859
+ "type": "uint8"
1860
+ },
1861
+ {
1862
+ "internalType": "KeyId",
1863
+ "name": "id",
1864
+ "type": "bytes31"
1865
+ }
1866
+ ],
1867
+ "name": "toKey32",
1868
+ "outputs": [
1869
+ {
1870
+ "internalType": "Key32",
1871
+ "name": "",
1872
+ "type": "bytes32"
1873
+ }
1874
+ ],
1875
+ "stateMutability": "pure",
1876
+ "type": "function"
1877
+ },
1878
+ {
1879
+ "inputs": [
1880
+ {
1881
+ "internalType": "NftId",
1882
+ "name": "policyNftId",
1883
+ "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": "NftId",
1901
+ "name": "bundleNftId",
1902
+ "type": "uint96"
1903
+ },
1530
1904
  {
1531
1905
  "components": [
1532
1906
  {
1533
1907
  "internalType": "NftId",
1534
- "name": "nftId",
1908
+ "name": "poolNftId",
1535
1909
  "type": "uint96"
1536
1910
  },
1537
1911
  {
1538
- "internalType": "NftId",
1539
- "name": "poolNftId",
1540
- "type": "uint96"
1912
+ "components": [
1913
+ {
1914
+ "internalType": "UFixed",
1915
+ "name": "fractionalFee",
1916
+ "type": "uint256"
1917
+ },
1918
+ {
1919
+ "internalType": "uint256",
1920
+ "name": "fixedFee",
1921
+ "type": "uint256"
1922
+ }
1923
+ ],
1924
+ "internalType": "struct Fee",
1925
+ "name": "fee",
1926
+ "type": "tuple"
1541
1927
  },
1542
1928
  {
1543
1929
  "internalType": "bytes",
@@ -1559,6 +1945,11 @@
1559
1945
  "name": "balanceAmount",
1560
1946
  "type": "uint256"
1561
1947
  },
1948
+ {
1949
+ "internalType": "uint256",
1950
+ "name": "lifetime",
1951
+ "type": "uint256"
1952
+ },
1562
1953
  {
1563
1954
  "internalType": "Timestamp",
1564
1955
  "name": "expiredAt",
@@ -1571,79 +1962,413 @@
1571
1962
  }
1572
1963
  ],
1573
1964
  "internalType": "struct IBundle.BundleInfo",
1574
- "name": "bundleInfo",
1965
+ "name": "bundle",
1575
1966
  "type": "tuple"
1967
+ },
1968
+ {
1969
+ "internalType": "StateId",
1970
+ "name": "newState",
1971
+ "type": "uint8"
1972
+ }
1973
+ ],
1974
+ "name": "updateBundle",
1975
+ "outputs": [],
1976
+ "stateMutability": "nonpayable",
1977
+ "type": "function"
1978
+ },
1979
+ {
1980
+ "inputs": [
1981
+ {
1982
+ "internalType": "NftId",
1983
+ "name": "bundleNftId",
1984
+ "type": "uint96"
1985
+ },
1986
+ {
1987
+ "internalType": "StateId",
1988
+ "name": "newState",
1989
+ "type": "uint8"
1576
1990
  }
1577
1991
  ],
1578
- "name": "setBundleInfo",
1992
+ "name": "updateBundleState",
1579
1993
  "outputs": [],
1580
1994
  "stateMutability": "nonpayable",
1581
1995
  "type": "function"
1582
1996
  },
1583
1997
  {
1584
1998
  "inputs": [
1999
+ {
2000
+ "internalType": "NftId",
2001
+ "name": "policyNftId",
2002
+ "type": "uint96"
2003
+ },
2004
+ {
2005
+ "internalType": "NumberId",
2006
+ "name": "claimId",
2007
+ "type": "uint32"
2008
+ },
1585
2009
  {
1586
2010
  "components": [
1587
2011
  {
1588
- "internalType": "NftId",
1589
- "name": "nftId",
1590
- "type": "uint96"
2012
+ "internalType": "uint256",
2013
+ "name": "claimAmount",
2014
+ "type": "uint256"
1591
2015
  },
1592
2016
  {
1593
- "internalType": "StateId",
1594
- "name": "state",
1595
- "type": "uint8"
2017
+ "internalType": "uint256",
2018
+ "name": "paidAmount",
2019
+ "type": "uint256"
1596
2020
  },
1597
2021
  {
1598
- "internalType": "contract IERC20Metadata",
1599
- "name": "token",
1600
- "type": "address"
2022
+ "internalType": "bytes",
2023
+ "name": "data",
2024
+ "type": "bytes"
2025
+ },
2026
+ {
2027
+ "internalType": "Timestamp",
2028
+ "name": "closedAt",
2029
+ "type": "uint40"
1601
2030
  }
1602
2031
  ],
1603
- "internalType": "struct IComponent.ComponentInfo",
1604
- "name": "info",
2032
+ "internalType": "struct IPolicy.ClaimInfo",
2033
+ "name": "claim",
1605
2034
  "type": "tuple"
1606
- }
1607
- ],
1608
- "name": "setComponentInfo",
1609
- "outputs": [
2035
+ },
1610
2036
  {
1611
- "internalType": "NftId",
1612
- "name": "nftId",
1613
- "type": "uint96"
2037
+ "internalType": "StateId",
2038
+ "name": "newState",
2039
+ "type": "uint8"
1614
2040
  }
1615
2041
  ],
2042
+ "name": "updateClaim",
2043
+ "outputs": [],
1616
2044
  "stateMutability": "nonpayable",
1617
2045
  "type": "function"
1618
2046
  },
1619
2047
  {
1620
2048
  "inputs": [
2049
+ {
2050
+ "internalType": "NftId",
2051
+ "name": "policyNftId",
2052
+ "type": "uint96"
2053
+ },
2054
+ {
2055
+ "internalType": "NumberId",
2056
+ "name": "payoutId",
2057
+ "type": "uint32"
2058
+ },
1621
2059
  {
1622
2060
  "components": [
1623
2061
  {
1624
- "internalType": "NftId",
1625
- "name": "nftId",
1626
- "type": "uint96"
2062
+ "internalType": "NumberId",
2063
+ "name": "claimId",
2064
+ "type": "uint32"
1627
2065
  },
1628
2066
  {
1629
- "internalType": "NftId",
1630
- "name": "productNftId",
1631
- "type": "uint96"
2067
+ "internalType": "uint256",
2068
+ "name": "amount",
2069
+ "type": "uint256"
2070
+ },
2071
+ {
2072
+ "internalType": "bytes",
2073
+ "name": "data",
2074
+ "type": "bytes"
1632
2075
  },
2076
+ {
2077
+ "internalType": "Timestamp",
2078
+ "name": "paidAt",
2079
+ "type": "uint40"
2080
+ }
2081
+ ],
2082
+ "internalType": "struct IPolicy.PayoutInfo",
2083
+ "name": "payout",
2084
+ "type": "tuple"
2085
+ },
2086
+ {
2087
+ "internalType": "StateId",
2088
+ "name": "newState",
2089
+ "type": "uint8"
2090
+ }
2091
+ ],
2092
+ "name": "updateClaim",
2093
+ "outputs": [],
2094
+ "stateMutability": "nonpayable",
2095
+ "type": "function"
2096
+ },
2097
+ {
2098
+ "inputs": [
2099
+ {
2100
+ "internalType": "NftId",
2101
+ "name": "policyNftId",
2102
+ "type": "uint96"
2103
+ },
2104
+ {
2105
+ "internalType": "StateId",
2106
+ "name": "newState",
2107
+ "type": "uint8"
2108
+ }
2109
+ ],
2110
+ "name": "updateClaimState",
2111
+ "outputs": [],
2112
+ "stateMutability": "nonpayable",
2113
+ "type": "function"
2114
+ },
2115
+ {
2116
+ "inputs": [
2117
+ {
2118
+ "internalType": "NftId",
2119
+ "name": "distributionNftId",
2120
+ "type": "uint96"
2121
+ },
2122
+ {
2123
+ "components": [
1633
2124
  {
1634
2125
  "internalType": "NftId",
1635
- "name": "bundleNftId",
2126
+ "name": "productNftId",
1636
2127
  "type": "uint96"
1637
2128
  },
2129
+ {
2130
+ "internalType": "contract TokenHandler",
2131
+ "name": "tokenHandler",
2132
+ "type": "address"
2133
+ },
2134
+ {
2135
+ "components": [
2136
+ {
2137
+ "internalType": "UFixed",
2138
+ "name": "fractionalFee",
2139
+ "type": "uint256"
2140
+ },
2141
+ {
2142
+ "internalType": "uint256",
2143
+ "name": "fixedFee",
2144
+ "type": "uint256"
2145
+ }
2146
+ ],
2147
+ "internalType": "struct Fee",
2148
+ "name": "distributionFee",
2149
+ "type": "tuple"
2150
+ },
1638
2151
  {
1639
2152
  "internalType": "address",
1640
- "name": "beneficiary",
2153
+ "name": "wallet",
1641
2154
  "type": "address"
2155
+ }
2156
+ ],
2157
+ "internalType": "struct ISetup.DistributionSetupInfo",
2158
+ "name": "setup",
2159
+ "type": "tuple"
2160
+ },
2161
+ {
2162
+ "internalType": "StateId",
2163
+ "name": "newState",
2164
+ "type": "uint8"
2165
+ }
2166
+ ],
2167
+ "name": "updateDistributionSetup",
2168
+ "outputs": [],
2169
+ "stateMutability": "nonpayable",
2170
+ "type": "function"
2171
+ },
2172
+ {
2173
+ "inputs": [
2174
+ {
2175
+ "internalType": "NftId",
2176
+ "name": "distributionNftId",
2177
+ "type": "uint96"
2178
+ },
2179
+ {
2180
+ "internalType": "StateId",
2181
+ "name": "newState",
2182
+ "type": "uint8"
2183
+ }
2184
+ ],
2185
+ "name": "updateDistributionSetupState",
2186
+ "outputs": [],
2187
+ "stateMutability": "nonpayable",
2188
+ "type": "function"
2189
+ },
2190
+ {
2191
+ "inputs": [
2192
+ {
2193
+ "internalType": "NftId",
2194
+ "name": "policyNftId",
2195
+ "type": "uint96"
2196
+ },
2197
+ {
2198
+ "internalType": "NumberId",
2199
+ "name": "payoutId",
2200
+ "type": "uint32"
2201
+ },
2202
+ {
2203
+ "components": [
2204
+ {
2205
+ "internalType": "NumberId",
2206
+ "name": "claimId",
2207
+ "type": "uint32"
1642
2208
  },
1643
2209
  {
1644
- "internalType": "StateId",
1645
- "name": "state",
1646
- "type": "uint8"
2210
+ "internalType": "uint256",
2211
+ "name": "amount",
2212
+ "type": "uint256"
2213
+ },
2214
+ {
2215
+ "internalType": "bytes",
2216
+ "name": "data",
2217
+ "type": "bytes"
2218
+ },
2219
+ {
2220
+ "internalType": "Timestamp",
2221
+ "name": "paidAt",
2222
+ "type": "uint40"
2223
+ }
2224
+ ],
2225
+ "internalType": "struct IPolicy.PayoutInfo",
2226
+ "name": "payout",
2227
+ "type": "tuple"
2228
+ },
2229
+ {
2230
+ "internalType": "StateId",
2231
+ "name": "newState",
2232
+ "type": "uint8"
2233
+ }
2234
+ ],
2235
+ "name": "updateDistributor",
2236
+ "outputs": [],
2237
+ "stateMutability": "nonpayable",
2238
+ "type": "function"
2239
+ },
2240
+ {
2241
+ "inputs": [
2242
+ {
2243
+ "internalType": "NftId",
2244
+ "name": "policyNftId",
2245
+ "type": "uint96"
2246
+ },
2247
+ {
2248
+ "internalType": "StateId",
2249
+ "name": "newState",
2250
+ "type": "uint8"
2251
+ }
2252
+ ],
2253
+ "name": "updateDistributorState",
2254
+ "outputs": [],
2255
+ "stateMutability": "nonpayable",
2256
+ "type": "function"
2257
+ },
2258
+ {
2259
+ "inputs": [
2260
+ {
2261
+ "internalType": "NftId",
2262
+ "name": "policyNftId",
2263
+ "type": "uint96"
2264
+ },
2265
+ {
2266
+ "internalType": "NumberId",
2267
+ "name": "payoutId",
2268
+ "type": "uint32"
2269
+ },
2270
+ {
2271
+ "components": [
2272
+ {
2273
+ "internalType": "NumberId",
2274
+ "name": "claimId",
2275
+ "type": "uint32"
2276
+ },
2277
+ {
2278
+ "internalType": "uint256",
2279
+ "name": "amount",
2280
+ "type": "uint256"
2281
+ },
2282
+ {
2283
+ "internalType": "bytes",
2284
+ "name": "data",
2285
+ "type": "bytes"
2286
+ },
2287
+ {
2288
+ "internalType": "Timestamp",
2289
+ "name": "paidAt",
2290
+ "type": "uint40"
2291
+ }
2292
+ ],
2293
+ "internalType": "struct IPolicy.PayoutInfo",
2294
+ "name": "payout",
2295
+ "type": "tuple"
2296
+ },
2297
+ {
2298
+ "internalType": "StateId",
2299
+ "name": "newState",
2300
+ "type": "uint8"
2301
+ }
2302
+ ],
2303
+ "name": "updateDistributorType",
2304
+ "outputs": [],
2305
+ "stateMutability": "nonpayable",
2306
+ "type": "function"
2307
+ },
2308
+ {
2309
+ "inputs": [
2310
+ {
2311
+ "internalType": "NftId",
2312
+ "name": "policyNftId",
2313
+ "type": "uint96"
2314
+ },
2315
+ {
2316
+ "internalType": "StateId",
2317
+ "name": "newState",
2318
+ "type": "uint8"
2319
+ }
2320
+ ],
2321
+ "name": "updateDistributorTypeState",
2322
+ "outputs": [],
2323
+ "stateMutability": "nonpayable",
2324
+ "type": "function"
2325
+ },
2326
+ {
2327
+ "inputs": [
2328
+ {
2329
+ "internalType": "NftId",
2330
+ "name": "policyNftId",
2331
+ "type": "uint96"
2332
+ },
2333
+ {
2334
+ "internalType": "StateId",
2335
+ "name": "newState",
2336
+ "type": "uint8"
2337
+ }
2338
+ ],
2339
+ "name": "updatePayoutState",
2340
+ "outputs": [],
2341
+ "stateMutability": "nonpayable",
2342
+ "type": "function"
2343
+ },
2344
+ {
2345
+ "inputs": [
2346
+ {
2347
+ "internalType": "NftId",
2348
+ "name": "policyNftId",
2349
+ "type": "uint96"
2350
+ },
2351
+ {
2352
+ "components": [
2353
+ {
2354
+ "internalType": "NftId",
2355
+ "name": "productNftId",
2356
+ "type": "uint96"
2357
+ },
2358
+ {
2359
+ "internalType": "NftId",
2360
+ "name": "bundleNftId",
2361
+ "type": "uint96"
2362
+ },
2363
+ {
2364
+ "internalType": "ReferralId",
2365
+ "name": "referralId",
2366
+ "type": "bytes8"
2367
+ },
2368
+ {
2369
+ "internalType": "RiskId",
2370
+ "name": "riskId",
2371
+ "type": "bytes8"
1647
2372
  },
1648
2373
  {
1649
2374
  "internalType": "uint256",
@@ -1667,41 +2392,365 @@
1667
2392
  },
1668
2393
  {
1669
2394
  "internalType": "bytes",
1670
- "name": "data",
2395
+ "name": "applicationData",
1671
2396
  "type": "bytes"
1672
2397
  },
1673
2398
  {
1674
- "internalType": "Timestamp",
1675
- "name": "createdAt",
1676
- "type": "uint40"
2399
+ "internalType": "bytes",
2400
+ "name": "policyData",
2401
+ "type": "bytes"
1677
2402
  },
1678
2403
  {
1679
- "internalType": "Timestamp",
2404
+ "internalType": "uint16",
2405
+ "name": "claimsCount",
2406
+ "type": "uint16"
2407
+ },
2408
+ {
2409
+ "internalType": "uint16",
2410
+ "name": "openClaimsCount",
2411
+ "type": "uint16"
2412
+ },
2413
+ {
2414
+ "internalType": "uint256",
2415
+ "name": "payoutAmount",
2416
+ "type": "uint256"
2417
+ },
2418
+ {
2419
+ "internalType": "Timestamp",
1680
2420
  "name": "activatedAt",
1681
2421
  "type": "uint40"
1682
2422
  },
1683
2423
  {
1684
- "internalType": "Timestamp",
1685
- "name": "expiredAt",
1686
- "type": "uint40"
2424
+ "internalType": "Timestamp",
2425
+ "name": "expiredAt",
2426
+ "type": "uint40"
2427
+ },
2428
+ {
2429
+ "internalType": "Timestamp",
2430
+ "name": "closedAt",
2431
+ "type": "uint40"
2432
+ }
2433
+ ],
2434
+ "internalType": "struct IPolicy.PolicyInfo",
2435
+ "name": "policy",
2436
+ "type": "tuple"
2437
+ },
2438
+ {
2439
+ "internalType": "StateId",
2440
+ "name": "newState",
2441
+ "type": "uint8"
2442
+ }
2443
+ ],
2444
+ "name": "updatePolicy",
2445
+ "outputs": [],
2446
+ "stateMutability": "nonpayable",
2447
+ "type": "function"
2448
+ },
2449
+ {
2450
+ "inputs": [
2451
+ {
2452
+ "internalType": "NftId",
2453
+ "name": "policyNftId",
2454
+ "type": "uint96"
2455
+ },
2456
+ {
2457
+ "internalType": "StateId",
2458
+ "name": "newState",
2459
+ "type": "uint8"
2460
+ }
2461
+ ],
2462
+ "name": "updatePolicyState",
2463
+ "outputs": [],
2464
+ "stateMutability": "nonpayable",
2465
+ "type": "function"
2466
+ },
2467
+ {
2468
+ "inputs": [
2469
+ {
2470
+ "internalType": "NftId",
2471
+ "name": "poolNftId",
2472
+ "type": "uint96"
2473
+ },
2474
+ {
2475
+ "components": [
2476
+ {
2477
+ "internalType": "NftId",
2478
+ "name": "productNftId",
2479
+ "type": "uint96"
2480
+ },
2481
+ {
2482
+ "internalType": "contract TokenHandler",
2483
+ "name": "tokenHandler",
2484
+ "type": "address"
2485
+ },
2486
+ {
2487
+ "internalType": "bool",
2488
+ "name": "isInterceptingBundleTransfers",
2489
+ "type": "bool"
2490
+ },
2491
+ {
2492
+ "internalType": "bool",
2493
+ "name": "isExternallyManaged",
2494
+ "type": "bool"
2495
+ },
2496
+ {
2497
+ "internalType": "bool",
2498
+ "name": "isVerifyingApplications",
2499
+ "type": "bool"
2500
+ },
2501
+ {
2502
+ "internalType": "UFixed",
2503
+ "name": "collateralizationLevel",
2504
+ "type": "uint256"
2505
+ },
2506
+ {
2507
+ "internalType": "UFixed",
2508
+ "name": "retentionLevel",
2509
+ "type": "uint256"
2510
+ },
2511
+ {
2512
+ "components": [
2513
+ {
2514
+ "internalType": "UFixed",
2515
+ "name": "fractionalFee",
2516
+ "type": "uint256"
2517
+ },
2518
+ {
2519
+ "internalType": "uint256",
2520
+ "name": "fixedFee",
2521
+ "type": "uint256"
2522
+ }
2523
+ ],
2524
+ "internalType": "struct Fee",
2525
+ "name": "poolFee",
2526
+ "type": "tuple"
2527
+ },
2528
+ {
2529
+ "components": [
2530
+ {
2531
+ "internalType": "UFixed",
2532
+ "name": "fractionalFee",
2533
+ "type": "uint256"
2534
+ },
2535
+ {
2536
+ "internalType": "uint256",
2537
+ "name": "fixedFee",
2538
+ "type": "uint256"
2539
+ }
2540
+ ],
2541
+ "internalType": "struct Fee",
2542
+ "name": "stakingFee",
2543
+ "type": "tuple"
2544
+ },
2545
+ {
2546
+ "components": [
2547
+ {
2548
+ "internalType": "UFixed",
2549
+ "name": "fractionalFee",
2550
+ "type": "uint256"
2551
+ },
2552
+ {
2553
+ "internalType": "uint256",
2554
+ "name": "fixedFee",
2555
+ "type": "uint256"
2556
+ }
2557
+ ],
2558
+ "internalType": "struct Fee",
2559
+ "name": "performanceFee",
2560
+ "type": "tuple"
2561
+ },
2562
+ {
2563
+ "internalType": "address",
2564
+ "name": "wallet",
2565
+ "type": "address"
2566
+ }
2567
+ ],
2568
+ "internalType": "struct ISetup.PoolSetupInfo",
2569
+ "name": "setup",
2570
+ "type": "tuple"
2571
+ },
2572
+ {
2573
+ "internalType": "StateId",
2574
+ "name": "newState",
2575
+ "type": "uint8"
2576
+ }
2577
+ ],
2578
+ "name": "updatePoolSetup",
2579
+ "outputs": [],
2580
+ "stateMutability": "nonpayable",
2581
+ "type": "function"
2582
+ },
2583
+ {
2584
+ "inputs": [
2585
+ {
2586
+ "internalType": "NftId",
2587
+ "name": "poolNftId",
2588
+ "type": "uint96"
2589
+ },
2590
+ {
2591
+ "internalType": "StateId",
2592
+ "name": "newState",
2593
+ "type": "uint8"
2594
+ }
2595
+ ],
2596
+ "name": "updatePoolSetupState",
2597
+ "outputs": [],
2598
+ "stateMutability": "nonpayable",
2599
+ "type": "function"
2600
+ },
2601
+ {
2602
+ "inputs": [
2603
+ {
2604
+ "internalType": "NftId",
2605
+ "name": "productNftId",
2606
+ "type": "uint96"
2607
+ },
2608
+ {
2609
+ "components": [
2610
+ {
2611
+ "internalType": "contract IERC20Metadata",
2612
+ "name": "token",
2613
+ "type": "address"
2614
+ },
2615
+ {
2616
+ "internalType": "contract TokenHandler",
2617
+ "name": "tokenHandler",
2618
+ "type": "address"
2619
+ },
2620
+ {
2621
+ "internalType": "NftId",
2622
+ "name": "distributionNftId",
2623
+ "type": "uint96"
2624
+ },
2625
+ {
2626
+ "internalType": "NftId",
2627
+ "name": "poolNftId",
2628
+ "type": "uint96"
2629
+ },
2630
+ {
2631
+ "components": [
2632
+ {
2633
+ "internalType": "UFixed",
2634
+ "name": "fractionalFee",
2635
+ "type": "uint256"
2636
+ },
2637
+ {
2638
+ "internalType": "uint256",
2639
+ "name": "fixedFee",
2640
+ "type": "uint256"
2641
+ }
2642
+ ],
2643
+ "internalType": "struct Fee",
2644
+ "name": "distributionFee",
2645
+ "type": "tuple"
2646
+ },
2647
+ {
2648
+ "components": [
2649
+ {
2650
+ "internalType": "UFixed",
2651
+ "name": "fractionalFee",
2652
+ "type": "uint256"
2653
+ },
2654
+ {
2655
+ "internalType": "uint256",
2656
+ "name": "fixedFee",
2657
+ "type": "uint256"
2658
+ }
2659
+ ],
2660
+ "internalType": "struct Fee",
2661
+ "name": "productFee",
2662
+ "type": "tuple"
2663
+ },
2664
+ {
2665
+ "components": [
2666
+ {
2667
+ "internalType": "UFixed",
2668
+ "name": "fractionalFee",
2669
+ "type": "uint256"
2670
+ },
2671
+ {
2672
+ "internalType": "uint256",
2673
+ "name": "fixedFee",
2674
+ "type": "uint256"
2675
+ }
2676
+ ],
2677
+ "internalType": "struct Fee",
2678
+ "name": "processingFee",
2679
+ "type": "tuple"
2680
+ },
2681
+ {
2682
+ "components": [
2683
+ {
2684
+ "internalType": "UFixed",
2685
+ "name": "fractionalFee",
2686
+ "type": "uint256"
2687
+ },
2688
+ {
2689
+ "internalType": "uint256",
2690
+ "name": "fixedFee",
2691
+ "type": "uint256"
2692
+ }
2693
+ ],
2694
+ "internalType": "struct Fee",
2695
+ "name": "poolFee",
2696
+ "type": "tuple"
2697
+ },
2698
+ {
2699
+ "components": [
2700
+ {
2701
+ "internalType": "UFixed",
2702
+ "name": "fractionalFee",
2703
+ "type": "uint256"
2704
+ },
2705
+ {
2706
+ "internalType": "uint256",
2707
+ "name": "fixedFee",
2708
+ "type": "uint256"
2709
+ }
2710
+ ],
2711
+ "internalType": "struct Fee",
2712
+ "name": "stakingFee",
2713
+ "type": "tuple"
2714
+ },
2715
+ {
2716
+ "components": [
2717
+ {
2718
+ "internalType": "UFixed",
2719
+ "name": "fractionalFee",
2720
+ "type": "uint256"
2721
+ },
2722
+ {
2723
+ "internalType": "uint256",
2724
+ "name": "fixedFee",
2725
+ "type": "uint256"
2726
+ }
2727
+ ],
2728
+ "internalType": "struct Fee",
2729
+ "name": "performanceFee",
2730
+ "type": "tuple"
1687
2731
  },
1688
2732
  {
1689
- "internalType": "Timestamp",
1690
- "name": "closedAt",
1691
- "type": "uint40"
2733
+ "internalType": "bool",
2734
+ "name": "isIntercepting",
2735
+ "type": "bool"
1692
2736
  },
1693
2737
  {
1694
- "internalType": "Blocknumber",
1695
- "name": "updatedIn",
1696
- "type": "uint32"
2738
+ "internalType": "address",
2739
+ "name": "wallet",
2740
+ "type": "address"
1697
2741
  }
1698
2742
  ],
1699
- "internalType": "struct IPolicy.PolicyInfo",
1700
- "name": "policyInfo",
2743
+ "internalType": "struct ISetup.ProductSetupInfo",
2744
+ "name": "setup",
1701
2745
  "type": "tuple"
2746
+ },
2747
+ {
2748
+ "internalType": "StateId",
2749
+ "name": "newState",
2750
+ "type": "uint8"
1702
2751
  }
1703
2752
  ],
1704
- "name": "setPolicyInfo",
2753
+ "name": "updateProductSetup",
1705
2754
  "outputs": [],
1706
2755
  "stateMutability": "nonpayable",
1707
2756
  "type": "function"
@@ -1710,45 +2759,16 @@
1710
2759
  "inputs": [
1711
2760
  {
1712
2761
  "internalType": "NftId",
1713
- "name": "poolNftId",
2762
+ "name": "productNftId",
1714
2763
  "type": "uint96"
1715
2764
  },
1716
2765
  {
1717
- "components": [
1718
- {
1719
- "internalType": "UFixed",
1720
- "name": "fractionalFee",
1721
- "type": "uint256"
1722
- },
1723
- {
1724
- "internalType": "uint256",
1725
- "name": "fixedFee",
1726
- "type": "uint256"
1727
- }
1728
- ],
1729
- "internalType": "struct Fee",
1730
- "name": "stakingFee",
1731
- "type": "tuple"
1732
- },
1733
- {
1734
- "components": [
1735
- {
1736
- "internalType": "UFixed",
1737
- "name": "fractionalFee",
1738
- "type": "uint256"
1739
- },
1740
- {
1741
- "internalType": "uint256",
1742
- "name": "fixedFee",
1743
- "type": "uint256"
1744
- }
1745
- ],
1746
- "internalType": "struct Fee",
1747
- "name": "performanceFee",
1748
- "type": "tuple"
2766
+ "internalType": "StateId",
2767
+ "name": "newState",
2768
+ "type": "uint8"
1749
2769
  }
1750
2770
  ],
1751
- "name": "setPoolFees",
2771
+ "name": "updateProductSetupState",
1752
2772
  "outputs": [],
1753
2773
  "stateMutability": "nonpayable",
1754
2774
  "type": "function"
@@ -1757,45 +2777,48 @@
1757
2777
  "inputs": [
1758
2778
  {
1759
2779
  "internalType": "NftId",
1760
- "name": "productNftId",
2780
+ "name": "policyNftId",
1761
2781
  "type": "uint96"
1762
2782
  },
2783
+ {
2784
+ "internalType": "NumberId",
2785
+ "name": "payoutId",
2786
+ "type": "uint32"
2787
+ },
1763
2788
  {
1764
2789
  "components": [
1765
2790
  {
1766
- "internalType": "UFixed",
1767
- "name": "fractionalFee",
1768
- "type": "uint256"
2791
+ "internalType": "NumberId",
2792
+ "name": "claimId",
2793
+ "type": "uint32"
1769
2794
  },
1770
2795
  {
1771
2796
  "internalType": "uint256",
1772
- "name": "fixedFee",
2797
+ "name": "amount",
1773
2798
  "type": "uint256"
1774
- }
1775
- ],
1776
- "internalType": "struct Fee",
1777
- "name": "policyFee",
1778
- "type": "tuple"
1779
- },
1780
- {
1781
- "components": [
2799
+ },
1782
2800
  {
1783
- "internalType": "UFixed",
1784
- "name": "fractionalFee",
1785
- "type": "uint256"
2801
+ "internalType": "bytes",
2802
+ "name": "data",
2803
+ "type": "bytes"
1786
2804
  },
1787
2805
  {
1788
- "internalType": "uint256",
1789
- "name": "fixedFee",
1790
- "type": "uint256"
2806
+ "internalType": "Timestamp",
2807
+ "name": "paidAt",
2808
+ "type": "uint40"
1791
2809
  }
1792
2810
  ],
1793
- "internalType": "struct Fee",
1794
- "name": "processingFee",
2811
+ "internalType": "struct IPolicy.PayoutInfo",
2812
+ "name": "payout",
1795
2813
  "type": "tuple"
2814
+ },
2815
+ {
2816
+ "internalType": "StateId",
2817
+ "name": "newState",
2818
+ "type": "uint8"
1796
2819
  }
1797
2820
  ],
1798
- "name": "setProductFees",
2821
+ "name": "updateReferral",
1799
2822
  "outputs": [],
1800
2823
  "stateMutability": "nonpayable",
1801
2824
  "type": "function"
@@ -1803,17 +2826,17 @@
1803
2826
  {
1804
2827
  "inputs": [
1805
2828
  {
1806
- "internalType": "RoleId",
1807
- "name": "role",
1808
- "type": "bytes8"
2829
+ "internalType": "NftId",
2830
+ "name": "policyNftId",
2831
+ "type": "uint96"
1809
2832
  },
1810
2833
  {
1811
- "internalType": "bool",
1812
- "name": "active",
1813
- "type": "bool"
2834
+ "internalType": "StateId",
2835
+ "name": "newState",
2836
+ "type": "uint8"
1814
2837
  }
1815
2838
  ],
1816
- "name": "setRoleState",
2839
+ "name": "updateReferralState",
1817
2840
  "outputs": [],
1818
2841
  "stateMutability": "nonpayable",
1819
2842
  "type": "function"
@@ -1821,148 +2844,125 @@
1821
2844
  {
1822
2845
  "inputs": [
1823
2846
  {
1824
- "internalType": "bytes4",
1825
- "name": "interfaceId",
1826
- "type": "bytes4"
1827
- }
1828
- ],
1829
- "name": "supportsInterface",
1830
- "outputs": [
1831
- {
1832
- "internalType": "bool",
1833
- "name": "",
1834
- "type": "bool"
1835
- }
1836
- ],
1837
- "stateMutability": "view",
1838
- "type": "function"
1839
- },
1840
- {
1841
- "inputs": [
2847
+ "internalType": "RiskId",
2848
+ "name": "riskId",
2849
+ "type": "bytes8"
2850
+ },
1842
2851
  {
1843
- "internalType": "NftId",
1844
- "name": "bundleNftId",
1845
- "type": "uint96"
1846
- }
1847
- ],
1848
- "name": "toBundleKey32",
1849
- "outputs": [
2852
+ "components": [
2853
+ {
2854
+ "internalType": "NftId",
2855
+ "name": "productNftId",
2856
+ "type": "uint96"
2857
+ },
2858
+ {
2859
+ "internalType": "bytes",
2860
+ "name": "data",
2861
+ "type": "bytes"
2862
+ }
2863
+ ],
2864
+ "internalType": "struct IRisk.RiskInfo",
2865
+ "name": "risk",
2866
+ "type": "tuple"
2867
+ },
1850
2868
  {
1851
- "internalType": "Key32",
1852
- "name": "key32",
1853
- "type": "bytes32"
2869
+ "internalType": "StateId",
2870
+ "name": "newState",
2871
+ "type": "uint8"
1854
2872
  }
1855
2873
  ],
1856
- "stateMutability": "view",
2874
+ "name": "updateRisk",
2875
+ "outputs": [],
2876
+ "stateMutability": "nonpayable",
1857
2877
  "type": "function"
1858
2878
  },
1859
2879
  {
1860
2880
  "inputs": [
1861
2881
  {
1862
- "internalType": "NftId",
1863
- "name": "bundleNftId",
1864
- "type": "uint96"
2882
+ "internalType": "RiskId",
2883
+ "name": "riskId",
2884
+ "type": "bytes8"
1865
2885
  },
1866
2886
  {
1867
2887
  "internalType": "StateId",
1868
- "name": "state",
2888
+ "name": "newState",
1869
2889
  "type": "uint8"
1870
2890
  }
1871
2891
  ],
1872
- "name": "updateBundleState",
2892
+ "name": "updateRiskState",
1873
2893
  "outputs": [],
1874
2894
  "stateMutability": "nonpayable",
1875
2895
  "type": "function"
1876
2896
  }
1877
2897
  ],
1878
- "bytecode": "0x60e06040523480156200001157600080fd5b506040516200898938038062008989833981016040819052620000349162000e52565b818181816200004560003362000484565b6301ffc9a760e01b60005260026020527f71203db6a8b906f8e7c7701ea536708e3d7c6018d3ad50e5680c3241edacce17805460ff191660011790556001600160a01b038216620000dd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa1580156200012d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000153919062000e9a565b620001a15760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000d4565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021f919062000e9a565b620002795760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000d4565b3360c052631dfba64760e11b60005260026020527ffc5164b528507fb56c225cc68864b8f0ef1e129250403b69e252bd0b2789bfea805460ff191660011790555050604051620002c99062000e27565b604051809103906000f080158015620002e6573d6000803e3d6000fd5b50600380546001600160a01b0319166001600160a01b0392909216919091179055638de54b9b60e01b60005260026020527fbbbdb2fb0832d9cc0814bfd5527573cc6f84893ca59f86761ee168a6f8d07708805460ff191660011790556200034d6200075b565b506200039890506200035e620008ee565b60408051808201909152601481527f4469737472696275746f724f776e6572526f6c6500000000000000000000000060208201526200099b565b620003d2620003a662000a00565b60408051808201909152600f81526e4f7261636c654f776e6572526f6c6560881b60208201526200099b565b6200040a620003e062000a5b565b60408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b60208201526200099b565b620004456200041862000ab4565b60408051808201909152601081526f50726f647563744f776e6572526f6c6560801b60208201526200099b565b6003546200047c906001600160a01b0316600b80546001600160a01b0383166001600160a81b031990911617606960a11b17905550565b5050620011bc565b60006200049062000b10565b90506200049d8162000b98565b15620004fc5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000d4565b60015415620005bc5760018054600091906200051a90829062000ec5565b815481106200052d576200052d62000ee7565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff16905062000560828262000c3c565b620005ba5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000d4565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620006454290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906200074e9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b60006200076762000b10565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620007bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007e3919062000efd565b90506200082c6040518060400160405280601581526020017f436f6d706f6e656e744f776e65725365727669636500000000000000000000008152508262000c4e60201b60201c565b600480546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600e81526d50726f647563745365727669636560901b60208201526200087d908262000c4e565b600580546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600b81526a506f6f6c5365727669636560a81b6020820152620008cb908262000c4e565b600680546001600160a01b0319166001600160a01b039290921691909117905550565b60405163e14787cb60e01b815260206004820152601460248201527f4469737472696275746f724f776e6572526f6c65000000000000000000000000604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af415801562000970573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000996919062000f22565b905090565b604080516060810182526001600160c01b03198416815260208101839052600191810191909152620009cd8162000d21565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c648583836040516200074e92919062000f96565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb9060640162000952565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb9060640162000952565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb9060640162000952565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000b72573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000996919062000fc5565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000c0f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c35919062000fec565b1192915050565b62ffffff808216908316115b92915050565b60805160405163a3bcd81d60e01b81526000916001600160a01b03169063a3bcd81d9062000c83908690869060040162001006565b602060405180830381865afa15801562000ca1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000cc791906200102d565b90506001600160a01b03811662000c485760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a494e532d3030313a4e4f545f52454749535445524544000000006044820152606401620000d4565b80516001600160c01b031981166000908152600760209081526040909120835181546001600160401b03191660c09190911c17815590830151839190600182019062000d6e9082620010f0565b50604091909101516002909101805460ff191691151591909117905562000d958162000dfc565b62000df857600880546001810182556000829052600481047ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301805460c085901c60039093169093026101000a9182026001600160401b03909202199092161790555b5050565b6001600160c01b0319818116600081815260076020526040812054909260c09190911b161462000c48565b611e2b8062006b5e83390190565b80516001600160a01b038116811462000e4d57600080fd5b919050565b6000806040838503121562000e6657600080fd5b62000e718362000e35565b60208401519092506001600160601b038116811462000e8f57600080fd5b809150509250929050565b60006020828403121562000ead57600080fd5b8151801515811462000ebe57600080fd5b9392505050565b8181038181111562000c4857634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121562000f1057600080fd5b815160ff8116811462000ebe57600080fd5b60006020828403121562000f3557600080fd5b81516001600160c01b03198116811462000ebe57600080fd5b6000815180845260005b8181101562000f765760208185018101518683018201520162000f58565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160c01b03198316815260406020820181905260009062000fbd9083018462000f4e565b949350505050565b60006020828403121562000fd857600080fd5b815162ffffff8116811462000ebe57600080fd5b60006020828403121562000fff57600080fd5b5051919050565b6040815260006200101b604083018562000f4e565b905060ff831660208301529392505050565b6000602082840312156200104057600080fd5b62000ebe8262000e35565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200107657607f821691505b6020821081036200109757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620010eb57600081815260208120601f850160051c81016020861015620010c65750805b601f850160051c820191505b81811015620010e757828155600101620010d2565b5050505b505050565b81516001600160401b038111156200110c576200110c6200104b565b62001124816200111d845462001061565b846200109d565b602080601f8311600181146200115c5760008415620011435750858301515b600019600386901b1c1916600185901b178555620010e7565b600085815260208120601f198616915b828110156200118d578886015182559484019460019091019084016200116c565b5085821015620011ac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516159566200120860003960006139d1015260006105140152600081816107f1015281816111c601528181611aeb015281816139500152613a1401526159566000f3fe60806040523480156200001157600080fd5b5060043610620004095760003560e01c8063893d20e8116200021d578063bd62faf71162000131578063dc261c3a11620000bb578063ee0fdf711162000086578063ee0fdf711462000c5e578063f0ea17c31462000c75578063f274e87d1462000d26578063fe1f18d61462000d5357600080fd5b8063dc261c3a1462000bc8578063e03eeb851462000c19578063e1f64d771462000c30578063e79597401462000c4757600080fd5b8063d0bb064c11620000fc578063d0bb064c1462000af3578063d250185c1462000b83578063dad73bed1462000b9a578063db70354c1462000bb157600080fd5b8063bd62faf71462000a79578063bd7d9d851462000a90578063c2bf7d261462000ab6578063cf5ccedb1462000acd57600080fd5b806399fd467711620001b3578063af17d38a116200017e578063af17d38a1462000a1d578063b88da7591462000a34578063b8c510671462000a4b578063b9f36dde1462000a6257600080fd5b806399fd467714620009a3578063a13df2ab14620009ba578063a310e2a314620009d1578063a90be9071462000a0657600080fd5b8063946dfcfe11620001f4578063946dfcfe14620009555780639555c4db146200095e5780639675513d146200097557806398457437146200098c57600080fd5b8063893d20e814620008e35780638b59fe2a14620008ed57806393865aec146200090457600080fd5b80634d459c90116200032157806369a44a1b11620002ab5780637fec8b3111620002765780637fec8b3114620008a05780638125ea9214620008b757806383d3331914620008c157806387c5658614620008ca57600080fd5b806369a44a1b146200084e5780636b9bf08b14620008655780636fa29853146200087757806375a07ed2146200088957600080fd5b80635ab1bd5311620002ec5780635ab1bd5314620007ef5780635fe9f2a51462000816578063644c45e0146200082d578063674d0ccf146200083757600080fd5b80634d459c9014620005e75780634fd077f514620006f85780635312fdc2146200071e57806357f80bbf146200074f57600080fd5b806320f4b65e11620003a3578063349195f9116200036e578063349195f914620005765780633bc5de30146200057f5780634288121d146200059b5780634793b4ab14620005c157600080fd5b806320f4b65e14620004fb57806331b62a3b146200051257806331e48e3214620005395780633300a8a8146200055057600080fd5b80630d0ccc5b11620003e45780630d0ccc5b14620004835780630d8e6e2c14620004a957806315dae03e14620004c85780631aa3a00814620004d857600080fd5b806301ffc9a7146200040e5780630591087414620004535780630abd8434146200046c575b600080fd5b6200043e6200041f366004620041c5565b6001600160e01b03191660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200046a620004643660046200421b565b62000d6a565b005b6200043e6200047d366004620042df565b62000f87565b6200049a62000494366004620042ff565b6200102b565b6040519081526020016200044a565b620004b3620010b6565b60405162ffffff90911681526020016200044a565b604051603281526020016200044a565b620004e262001143565b6040516001600160601b0390911681526020016200044a565b6200046a6200050c366004620044a8565b6200123e565b7f0000000000000000000000000000000000000000000000000000000000000000620004e2565b6200046a6200054a366004620045dd565b620013d0565b62000567620005613660046200467f565b620016cc565b6040516200044a91906200469f565b600f546200049a565b604080516020810182526000815290516200044a919062004752565b6005546001600160a01b03165b6040516001600160a01b0390911681526020016200044a565b620005d8620005d23660046200467f565b62001752565b6040516200044a919062004767565b6200069a620005f8366004620042df565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff90811660009081526020818152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016200044a565b6200070f620007093660046200467f565b620017db565b6040516200044a9190620047ff565b620007356200072f3660046200488c565b62001886565b6040516001600160c01b031990911681526020016200044a565b620007c1620007603660046200467f565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152601283528390208351918201845280549485168252600160601b90940460ff161515918101919091526001909201549082015290565b6040805182516001600160601b0316815260208084015115159082015291810151908201526060016200044a565b7f0000000000000000000000000000000000000000000000000000000000000000620005a8565b6200046a62000827366004620048d8565b620018c8565b620004e262001ad3565b6200049a6200084836600462004a5f565b62001b3b565b6200049a6200085f3660046200467f565b62001b5f565b6006546001600160a01b0316620005a8565b6004546001600160a01b0316620005a8565b6200046a6200089a36600462004a7f565b62001bf0565b620004e2620008b13660046200488c565b62001eca565b620005a862001f12565b6008546200049a565b620008d462001f27565b6040516200044a919062004aed565b620005a862001faa565b6200046a620008fe36600462004b05565b62001fb6565b6200046a6200091536600462004b57565b6001600160601b03909216600090815260166020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b6001546200049a565b6200046a6200096f36600462004ba5565b6200216a565b6200049a6200098636600462004bd8565b6200217a565b6200046a6200099d36600462004c0b565b620022e4565b6200043e620009b436600462004c51565b62002464565b6200049a620009cb3660046200467f565b6200249b565b620005a8620009e23660046200467f565b6001600160601b03166000908152601760205260409020546001600160a01b031690565b6200049a62000a173660046200488c565b620024a8565b6200073562000a2e36600462004c72565b620024e4565b620004b362000a453660046200488c565b62002672565b6200073562000a5c36600462004c72565b620026b6565b6200046a62000a7336600462004c51565b62002736565b620004e262000a8a36600462004cc7565b6200289f565b62000aa762000aa13660046200467f565b62002b46565b6040516200044a919062004d42565b6200046a62000ac736600462004c51565b62002d4d565b62000ae462000ade36600462004a5f565b62002f4d565b6040516200044a919062004e8a565b6200046a62000b0436600462004ed3565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601681529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b620008d462000b9436600462004f36565b6200304b565b6200046a62000bab36600462004f68565b620030da565b620004e262000bc236600462004f9b565b620032f8565b6200046a62000bd936600462004b57565b6001600160601b03909216600090815260146020908152604090912082516003820155918101516004830155825160058301559190910151600690910155565b6200046a62000c2a36600462004fca565b6200338f565b6200046a62000c4136600462004c0b565b620034d5565b620005a862000c5836600462004fff565b62003629565b6200043e62000c6f36600462004a5f565b6200364e565b62000cee62000c863660046200467f565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152600e83528390208351918201845280549485168252600160601b90940460ff16918101919091526001909201546001600160a01b03169082015290565b6040805182516001600160601b0316815260208084015160ff1690820152918101516001600160a01b0316908201526060016200044a565b62000d3d62000d3736600462005020565b62003679565b604080519283526020830191909152016200044a565b6200046a62000d6436600462005050565b62003705565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000dab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000dd1919062005083565b6001600160a01b0316336001600160a01b03161462000e375760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f53455256494345000060448201526064015b60405180910390fd5b6000604051806101000160405280886001600160601b03168152602001876001600160601b0316815260200184848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509385525050506020820188905260408201526060810187905260800142604051631ded81af60e31b815264ffffffffff90911660048201526024810187905273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801562000f11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f379190620050b0565b64ffffffffff168152602001600064ffffffffff16815250905062000f7e878260405160200162000f69919062004767565b604051602081830303815290604052620037da565b50505050505050565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000ffe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010249190620050d0565b1192915050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af415801562001087573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010ad9190620050d0565b90505b92915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562001118573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200113e9190620050ea565b905090565b60006200114f62001faa565b6001600160a01b0316336001600160a01b031614620011b15760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000e2e565b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af115801562001218573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200113e919062005117565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200127f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012a5919062005083565b6001600160a01b0316336001600160a01b031614806200133c5750306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001301573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001327919062005083565b6001600160a01b0316336001600160a01b0316145b6200139c5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a42444c2d3030333a4e4f545f504f4f4c5f4f525f50524f445543604482015268545f5345525649434560b81b606482015260840162000e2e565b620013cd816000015182604051602001620013b8919062004767565b60405160208183030381529060405262003861565b50565b6001600160601b0387166000908152601760205260409020546001600160a01b031615620014585760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031303a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000e2e565b6001600160601b0385166000908152601760205260409020546001600160a01b031615620014e05760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031313a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000e2e565b6001600160601b0386166000908152601760205260409020546001600160a01b031615620015685760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031323a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000e2e565b600087856040516200157a9062004101565b6001600160601b0390921682526001600160a01b03166020820152604001604051809103906000f080158015620015b5573d6000803e3d6000fd5b506001600160601b03988916600081815260176020908152604080832080546001600160a01b039687166001600160a01b031991821681179092559b8e1680855282852080548e16831790559c8e1680855282852080548e16909217909155815160e0810183528581528084019182528083019d8e529a861660608c0190815299861660808c0190815260a08c01998a5260c08c019889529484526014835292209851895492518d16600160601b9081026001600160c01b0319909416918e1691909117929092178955995196518316029590991694909417600186015550955160028401805491909316941693909317905590518051600383015582015160048201559151805160058401550151600690910155565b620016d66200410f565b506001600160601b03908116600090815260166020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b620017bb60405180610100016040528060006001600160601b0316815260200160006001600160601b0316815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b620017c6826200389d565b806020019051810190620010b0919062005183565b620017e562004180565b506001600160601b03908116600090815260146020908152604091829020825160e08101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b0395048516606082015260028201549094166080850152825180840184526003820154815260048201548184015260a0850152825180840190935260058101548352600601549082015260c082015290565b6000600882815481106200189e576200189e62005254565b90600052602060002090600491828204019190066008029054906101000a900460c01b9050919050565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001909573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200192f919062005083565b6001600160a01b0316336001600160a01b031614620019625760405162461bcd60e51b815260040162000e2e906200526a565b80516001600160601b0390811660009081526011602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e082015160058201556101008201516006820155610120820151829190600782019062001a26908262005336565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916650100000000000269ffffffffffffffffffff199096169890971697909717939093179190911693909317929092179290921617905550565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562001218573d6000803e3d6000fd5b6001600160c01b031981166000908152600a60205260408120620010b09062003923565b6001600160601b038116600090815260136020526040808220905163697d0f1b60e11b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__9063d2fa1e36906024015b602060405180830381865af415801562001bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010b09190620050d0565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001c31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c57919062005083565b6001600160a01b0316336001600160a01b03161462001c8a5760405162461bcd60e51b815260040162000e2e906200526a565b604051806101e00160405280866001600160601b03168152602001876001600160601b03168152602001826001600160601b0316815260200160006001600160a01b0316815260200162001cdc600a90565b60ff1681526020018581526020018481526020016000815260200183815260200160405180602001604052806000815250815260200162001d1a4290565b64ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b0386811660009081526011602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e082015160058201556101008201516006820155610120820151600782019062001e18908262005336565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916650100000000000269ffffffffffffffffffff1990961698909716979097179390931791909116939093179290921792909216179055505050505050565b6000600f828154811062001ee25762001ee262005254565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b60006200113e6003546001600160a01b031690565b604080518082019091526000808252602082015273__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af415801562001f84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200113e919062005402565b60006200113e6200392e565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200201b919062005083565b6001600160a01b0316336001600160a01b0316146200207d5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000e2e565b6040518060600160405280846001600160601b03168152602001620020a0606490565b60ff90811682526001600160a01b039384166020928301526001600160601b039586166000818152600e845260408082208651815496880151909516600160601b026001600160681b0319909616948a1694909417949094178355939092015160019182018054919095166001600160a01b031990911617909355600f805480850182559252600282047f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201805492909316600c026101000a908102940219169290921790915550565b62002176828262003a90565b5050565b6000306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620021bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021e3919062005083565b6001600160a01b0316336001600160a01b031614620022165760405162461bcd60e51b815260040162000e2e9062005437565b506001600160601b038083166000818152600d602090815260408083209486168352938152838220805490839055928252600c9052829020915163539eabab60e11b8152909173__$0dc988b1672de335b826773df9015af2da$__9163a73d575691620022999186906004019182526001600160601b0316602082015260400190565b602060405180830381865af4158015620022b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022dd919062005478565b5092915050565b6001600160601b03828116600090815260136020526040908190209051632bfdd6b960e01b81526004810182905291851660248301529073__$0dc988b1672de335b826773df9015af2da$__90632bfdd6b990604401602060405180830381865af415801562002358573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200237e919062005478565b15620023d75760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504c2d3032303a42554e444c455f414c52454144595f414444456044820152601160fa1b606482015260840162000e2e565b604051631461054360e31b8152600481018290526001600160601b038516602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562002437573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200245d919062005478565b5050505050565b6001600160c01b0319821660009081526009602090815260408083206001600160a01b038516845290915281205460ff16620010ad565b6000620010b08262003d61565b6040516322f5db0f60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e9060240162001bac565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002525573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200254b919062005083565b6001600160a01b0316336001600160a01b0316146200257e5760405162461bcd60e51b815260040162000e2e9062005498565b60405163e14787cb60e01b815273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90620025b790859060040162004752565b602060405180830381865af4158015620025d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025fb9190620054cf565b905062002608816200364e565b15620026615760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4143532d3031303a524f4c455f414c52454144595f45584953546044820152605360f81b606482015260840162000e2e565b6200266d818362003db8565b919050565b6000600182815481106200268a576200268a62005254565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60405163e14787cb60e01b815260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90620026f290859060040162004752565b602060405180830381865af415801562002710573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010b09190620054cf565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b16146200277a5760405162461bcd60e51b815260040162000e2e90620054ef565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620027b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027df919062005083565b6001600160a01b0316336001600160a01b031614620028125760405162461bcd60e51b815260040162000e2e9062005498565b6001600160c01b0319831660008181526009602090815260408083206001600160a01b03871684528252808320805460ff19169055928252600a9052206200285b908362003e1d565b507fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d1698754539668483836000604051620028929392919062005526565b60405180910390a1505050565b6000306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015620028e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002906919062005083565b6001600160a01b0316336001600160a01b031614620029685760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000e2e565b5080516040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620029c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029ea919062005478565b801562002a8957506001600160601b038181166000818152600e60205260409081902054905163c4cade9d60e01b815292166004830152602482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90604401602060405180830381865af415801562002a63573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a89919062005478565b62002ad75760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030363a434f4d504f4e454e545f554e4b4e4f574e00604482015260640162000e2e565b6001600160601b038082166000908152600e6020908152604091829020855181549287015160ff16600160601b026001600160681b031990931694169390931717825590920151600190920180546001600160a01b039093166001600160a01b03199093169290921790915590565b604080516101e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018390526101208201526101408101829052610160810182905261018081018290526101a081018290526101c08101919091526001600160601b0382811660009081526011602090815260409182902082516101e08101845281548086168252600160601b9081900486169382019390935260018201549485169381019390935292046001600160a01b03166060820152600282015460ff166080820152600382015460a0820152600482015460c0820152600582015460e082015260068201546101008201526007820180549192916101208401919062002c6d90620052ab565b80601f016020809104026020016040519081016040528092919081815260200182805462002c9b90620052ab565b801562002cec5780601f1062002cc05761010080835404028352916020019162002cec565b820191906000526020600020905b81548152906001019060200180831162002cce57829003601f168201915b50505091835250506008919091015464ffffffffff808216602084015265010000000000820481166040840152600160501b820481166060840152600160781b8204166080830152600160a01b900463ffffffff1660a09091015292915050565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b161462002d915760405162461bcd60e51b815260040162000e2e90620054ef565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002dd0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002df6919062005083565b6001600160a01b0316336001600160a01b03161462002e295760405162461bcd60e51b815260040162000e2e9062005498565b6001600160c01b0319831660009081526007602052604090206002015460ff1662002e975760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4143532d3034303a524f4c455f4e4f545f414354495645000000604482015260640162000e2e565b6001600160c01b0319831660008181526009602090815260408083206001600160a01b03871684528252808320805460ff19166001179055928252600a90522062002ee3908362003e34565b506001600160c01b0319831660009081526009602090815260408083206001600160a01b0386168452909152908190205490517fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966849162002892918691869160ff9091169062005526565b6040805160608082018352600080835260208084018390528385018290526001600160c01b0319868116835260078252918590208551938401909552845460c01b9091168252600184018054939492939184019162002fac90620052ab565b80601f016020809104026020016040519081016040528092919081815260200182805462002fda90620052ab565b80156200302b5780601f1062002fff576101008083540402835291602001916200302b565b820191906000526020600020905b8154815290600101906020018083116200300d57829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b60408051808201825260008082526020820152905163638086fd60e11b8152600481018490526024810183905273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa906044016040805180830381865af4158015620030b4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010ad919062005402565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b16146200311e5760405162461bcd60e51b815260040162000e2e90620054ef565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200315d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003183919062005083565b6001600160a01b0316336001600160a01b031614620031b65760405162461bcd60e51b815260040162000e2e9062005498565b6001600160c01b03198084166000908152600760209081526040808320815160608101909252805460c01b90941681526001840180549394919391928401916200320090620052ab565b80601f01602080910402602001604051908101604052809291908181526020018280546200322e90620052ab565b80156200327f5780601f1062003253576101008083540402835291602001916200327f565b820191906000526020600020905b8154815290600101906020018083116200326157829003601f168201915b50505091835250506002919091015460ff16151560209091015283151560408201529050620032ae8162003e4b565b604080516001600160c01b03198616815284151560208201527feaffaec948991ecc6e201ba4f67ba865fbf66aace3d2f2823dc5483cc9813fda910160405180910390a150505050565b6001600160601b038216600090815260136020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401602060405180830381865af415801562003369573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010ad919062005117565b6001600160601b0383811660009081526012602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015620033fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003421919062005478565b6200346f5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3031303a414c52454144595f4352454154454400000000604482015260640162000e2e565b604080516060810182526001600160601b039485168082529315156020808301918252828401948552600095865260129052919093209251835491511515600160601b026001600160681b03199092169416939093179290921781559051600190910155565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003516573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200353c919062005083565b6001600160a01b0316336001600160a01b0316146200356f5760405162461bcd60e51b815260040162000e2e9062005437565b6001600160601b038381166000818152600d60209081526040808320948716808452948252808320869055928252600c90528190209051631461054360e31b81526004810191909152602481019190915273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af4158015620035fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003623919062005478565b50505050565b6001600160c01b031982166000908152600a60205260408120620010ad908362003f26565b6001600160c01b0319818116600081815260076020526040812054909260c09190911b1614620010b0565b60008073__$a23651848365a6a5ca15f07b4331037f48$__63c66fb3ae85856040518363ffffffff1660e01b8152600401620036b792919062005553565b6040805180830381865af4158015620036d4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036fa919062005572565b915091509250929050565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003746573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200376c919062005083565b6001600160a01b0316336001600160a01b031614620037ce5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f534552564943450000604482015260640162000e2e565b62002176828262003f34565b600b546001600160a01b0316635dee4788620037f68462003d61565b600b5460405160e084901b6001600160e01b0319168152620038299291600160a01b900460ff1690869060040162005597565b600060405180830381600087803b1580156200384457600080fd5b505af115801562003859573d6000803e3d6000fd5b505050505050565b600b546001600160a01b0316636ec3d9406200387d8462003d61565b836040518363ffffffff1660e01b815260040162003829929190620055c4565b600b546060906001600160a01b03166354f6127f620038bc8462003d61565b6040518263ffffffff1660e01b8152600401620038db91815260200190565b600060405180830381865afa158015620038f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620010b09190810190620055df565b6000620010b0825490565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801562003998573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620039be919062005117565b90506001600160601b038116620039f6577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801562003a64573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a8a919062005083565b91505090565b600062003a9c620010b6565b905062003aa98162000f87565b1562003b085760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840162000e2e565b6001541562003bcf57600180546000919062003b2690829062005617565b8154811062003b395762003b3962005254565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff16905062003b73828262ffffff90811691161190565b62003bcd5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840162000e2e565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b0380861660208401528416908201526060810162003c584290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990620028929083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b600b54604051630711349960e31b81526001600160601b0383166004820152600160a01b90910460ff16602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440162001bac565b604080516060810182526001600160c01b0319841681526020810183905260019181019190915262003dea8162003e4b565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c648583836040516200289292919062005639565b6000620010ad836001600160a01b03841662003f7e565b6000620010ad836001600160a01b03841662004082565b80516001600160c01b0319811660009081526007602090815260409091208351815467ffffffffffffffff191660c09190911c17815590830151839190600182019062003e99908262005336565b50604091909101516002909101805460ff191691151591909117905562003ec0816200364e565b6200217657600880546001810182556000829052600481047ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301805460c085901c60039093169093026101000a9182026001600160401b03909202199092161790555050565b6000620010ad8383620040d4565b600b546001600160a01b031663a238accd62003f508462003d61565b6040516001600160e01b031960e084901b168152600481019190915260ff8416602482015260440162003829565b600081815260018301602052604081205480156200407757600062003fa560018362005617565b855490915060009062003fbb9060019062005617565b90508181146200402757600086600001828154811062003fdf5762003fdf62005254565b906000526020600020015490508087600001848154811062004005576200400562005254565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806200403b576200403b62005660565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050620010b0565b6000915050620010b0565b6000818152600183016020526040812054620040cb57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620010b0565b506000620010b0565b6000826000018281548110620040ee57620040ee62005254565b9060005260206000200154905092915050565b6102aa806200567783390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b0316815260200162004158604051806040016040528060008152602001600081525090565b81526020016200417b604051806040016040528060008152602001600081525090565b905290565b6040805160e08101825260008082526020808301829052828401829052606083018290526080830182905283518085019094528184528301529060a082019062004158565b600060208284031215620041d857600080fd5b81356001600160e01b031981168114620041f157600080fd5b9392505050565b6001600160601b0381168114620013cd57600080fd5b80356200266d81620041f8565b60008060008060008060a087890312156200423557600080fd5b86356200424281620041f8565b955060208701356200425481620041f8565b9450604087013593506060870135925060808701356001600160401b03808211156200427f57600080fd5b818901915089601f8301126200429457600080fd5b813581811115620042a457600080fd5b8a6020828501011115620042b757600080fd5b6020830194508093505050509295509295509295565b62ffffff81168114620013cd57600080fd5b600060208284031215620042f257600080fd5b8135620041f181620042cd565b600080604083850312156200431357600080fd5b8235915060208301358060000b81146200432c57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60405161010081016001600160401b038111828210171562004373576200437362004337565b60405290565b604080519081016001600160401b038111828210171562004373576200437362004337565b6040516101e081016001600160401b038111828210171562004373576200437362004337565b604051601f8201601f191681016001600160401b0381118282101715620043ef57620043ef62004337565b604052919050565b60006001600160401b0382111562004413576200441362004337565b50601f01601f191660200190565b6000620044386200443284620043f7565b620043c4565b90508281528383830111156200444d57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126200447657600080fd5b620010ad8383356020850162004421565b64ffffffffff81168114620013cd57600080fd5b80356200266d8162004487565b600060208284031215620044bb57600080fd5b81356001600160401b0380821115620044d357600080fd5b908301906101008286031215620044e957600080fd5b620044f36200434d565b620044fe836200420e565b81526200450e602084016200420e565b60208201526040830135828111156200452657600080fd5b620045348782860162004464565b604083015250606083013560608201526080830135608082015260a083013560a08201526200456660c084016200449b565b60c08201526200457960e084016200449b565b60e082015295945050505050565b6001600160a01b0381168114620013cd57600080fd5b80356200266d8162004587565b600060408284031215620045bd57600080fd5b620045c762004379565b9050813581526020820135602082015292915050565b6000806000806000806000610120888a031215620045fa57600080fd5b87356200460781620041f8565b965060208801356200461981620041f8565b955060408801356200462b81620041f8565b945060608801356200463d8162004587565b935060808801356200464f8162004587565b9250620046608960a08a01620045aa565b9150620046718960e08a01620045aa565b905092959891949750929550565b6000602082840312156200469257600080fd5b8135620041f181620041f8565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c0830191620046e19084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152620022dd565b60005b838110156200471b57818101518382015260200162004701565b50506000910152565b600081518084526200473e816020860160208601620046fe565b601f01601f19169290920160200192915050565b602081526000620010ad602083018462004724565b6020815260006001600160601b03808451166020840152806020850151166040840152506040830151610100806060850152620047a961012085018362004724565b915060608501516080850152608085015160a085015260a085015160c085015260c0850151620047e260e086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b6000610120820190506001600160601b0380845116835280602085015116602084015280604085015116604084015250606083015160018060a01b038082166060850152806080860151166080850152505060a08301516200486e60a084018280518252602090810151910152565b5060c0830151805160e08401526020810151610100840152620022dd565b6000602082840312156200489f57600080fd5b5035919050565b60ff81168114620013cd57600080fd5b80356200266d81620048a6565b803563ffffffff811681146200266d57600080fd5b600060208284031215620048eb57600080fd5b81356001600160401b03808211156200490357600080fd5b908301906101e082860312156200491957600080fd5b620049236200439e565b6200492e836200420e565b81526200493e602084016200420e565b602082015262004951604084016200420e565b604082015262004964606084016200459d565b60608201526200497760808401620048b6565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013581830152506101208084013583811115620049bb57600080fd5b620049c98882870162004464565b8284015250506101409150620049e18284016200449b565b828201526101609150620049f78284016200449b565b82820152610180915062004a0d8284016200449b565b828201526101a0915062004a238284016200449b565b828201526101c0915062004a39828401620048c3565b91810191909152949350505050565b6001600160c01b031981168114620013cd57600080fd5b60006020828403121562004a7257600080fd5b8135620041f18162004a48565b60008060008060008060c0878903121562004a9957600080fd5b863562004aa681620041f8565b9550602087013562004ab881620041f8565b945060408701359350606087013592506080870135915060a087013562004adf81620041f8565b809150509295509295509295565b815181526020808301519082015260408101620010b0565b60008060006060848603121562004b1b57600080fd5b833562004b2881620041f8565b9250602084013562004b3a81620048a6565b9150604084013562004b4c8162004587565b809150509250925092565b600080600060a0848603121562004b6d57600080fd5b833562004b7a81620041f8565b925062004b8b8560208601620045aa565b915062004b9c8560608601620045aa565b90509250925092565b6000806040838503121562004bb957600080fd5b823562004bc68162004587565b915060208301356200432c8162004587565b6000806040838503121562004bec57600080fd5b823562004bf981620041f8565b915060208301356200432c81620041f8565b60008060006060848603121562004c2157600080fd5b833562004c2e81620041f8565b9250602084013562004c4081620041f8565b929592945050506040919091013590565b6000806040838503121562004c6557600080fd5b823562004bc68162004a48565b60006020828403121562004c8557600080fd5b81356001600160401b0381111562004c9c57600080fd5b8201601f8101841362004cae57600080fd5b62004cbf8482356020840162004421565b949350505050565b60006060828403121562004cda57600080fd5b604051606081018181106001600160401b038211171562004cff5762004cff62004337565b604052823562004d0f81620041f8565b8152602083013562004d2181620048a6565b6020820152604083013562004d368162004587565b60408201529392505050565b6020815262004d5d6020820183516001600160601b03169052565b6000602083015162004d7a60408401826001600160601b03169052565b5060408301516001600160601b03811660608401525060608301516001600160a01b038116608084015250608083015160ff811660a08401525060a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506101e0610140818186015262004e0661020086018462004724565b9086015190925061016062004e238682018364ffffffffff169052565b860151905061018062004e3e8682018364ffffffffff169052565b86015190506101a062004e598682018364ffffffffff169052565b86015190506101c062004e748682018364ffffffffff169052565b86015163ffffffff8116838701529050620047f5565b602080825282516001600160c01b031916828201528201516060604083015260009062004ebb608084018262004724565b90506040840151151560608401528091505092915050565b60008060008060c0858703121562004eea57600080fd5b843562004ef781620041f8565b9350602085013562004f098162004587565b925062004f1a8660408701620045aa565b915062004f2b8660808701620045aa565b905092959194509250565b6000806040838503121562004f4a57600080fd5b50508035926020909101359150565b8015158114620013cd57600080fd5b6000806040838503121562004f7c57600080fd5b823562004f898162004a48565b915060208301356200432c8162004f59565b6000806040838503121562004faf57600080fd5b823562004fbc81620041f8565b946020939093013593505050565b60008060006060848603121562004fe057600080fd5b833562004fed81620041f8565b9250602084013562004c408162004f59565b600080604083850312156200501357600080fd5b823562004fbc8162004a48565b600080606083850312156200503457600080fd5b82359150620050478460208501620045aa565b90509250929050565b600080604083850312156200506457600080fd5b82356200507181620041f8565b915060208301356200432c81620048a6565b6000602082840312156200509657600080fd5b8151620041f18162004587565b80516200266d8162004487565b600060208284031215620050c357600080fd5b8151620041f18162004487565b600060208284031215620050e357600080fd5b5051919050565b600060208284031215620050fd57600080fd5b8151620041f181620042cd565b80516200266d81620041f8565b6000602082840312156200512a57600080fd5b8151620041f181620041f8565b600082601f8301126200514957600080fd5b81516200515a6200443282620043f7565b8181528460208386010111156200517057600080fd5b62004cbf826020830160208701620046fe565b6000602082840312156200519657600080fd5b81516001600160401b0380821115620051ae57600080fd5b908301906101008286031215620051c457600080fd5b620051ce6200434d565b620051d9836200510a565b8152620051e9602084016200510a565b60208201526040830151828111156200520157600080fd5b6200520f8782860162005137565b604083015250606083015160608201526080830151608082015260a083015160a08201526200524160c08401620050a3565b60c08201526200457960e08401620050a3565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b600181811c90821680620052c057607f821691505b602082108103620052e157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200533157600081815260208120601f850160051c81016020861015620053105750805b601f850160051c820191505b8181101562003859578281556001016200531c565b505050565b81516001600160401b0381111562005352576200535262004337565b6200536a81620053638454620052ab565b84620052e7565b602080601f831160018114620053a25760008415620053895750858301515b600019600386901b1c1916600185901b17855562003859565b600085815260208120601f198616915b82811015620053d357888601518255948401946001909101908401620053b2565b5085821015620053f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000604082840312156200541557600080fd5b6200541f62004379565b82518152602083015160208201528091505092915050565b60208082526021908201527f4552524f523a42444c2d3030323a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b6000602082840312156200548b57600080fd5b8151620041f18162004f59565b60208082526017908201527f4552524f523a4143532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b600060208284031215620054e257600080fd5b8151620041f18162004a48565b6020808252601f908201527f4552524f523a4143532d3030323a524f4c455f4e4f545f4558495354494e4700604082015260600190565b6001600160c01b03199390931683526001600160a01b039190911660208301521515604082015260600190565b82815260608101620041f1602083018480518252602090810151910152565b600080604083850312156200558657600080fd5b505080516020909101519092909150565b83815260ff83166020820152606060408201526000620055bb606083018462004724565b95945050505050565b82815260406020820152600062004cbf604083018462004724565b600060208284031215620055f257600080fd5b81516001600160401b038111156200560957600080fd5b62004cbf8482850162005137565b81810381811115620010b057634e487b7160e01b600052601160045260246000fd5b6001600160401b0360c01b8316815260406020820152600062004cbf604083018462004724565b634e487b7160e01b600052603160045260246000fdfe608060405234801561001057600080fd5b506040516102aa3803806102aa83398101604081905261002f9161005b565b6001600160a01b03166c01000000000000000000000000026001600160601b03909116176000556100ad565b6000806040838503121561006e57600080fd5b82516001600160601b038116811461008557600080fd5b60208401519092506001600160a01b03811681146100a257600080fd5b809150509250929050565b6101ee806100bc6000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806251884a1461004557806321df0da71461006a578063beabacc814610095575b600080fd5b6000546040516bffffffffffffffffffffffff90911681526020015b60405180910390f35b600054600160601b90046001600160a01b03166040516001600160a01b039091168152602001610061565b6100a86100a3366004610153565b6100aa565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052600160601b909204909116906323b872dd906064016020604051808303816000875af115801561010d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610131919061018f565b50505050565b80356001600160a01b038116811461014e57600080fd5b919050565b60008060006060848603121561016857600080fd5b61017184610137565b925061017f60208501610137565b9150604084013590509250925092565b6000602082840312156101a157600080fd5b815180151581146101b157600080fd5b939250505056fea26469706673582212202b9b96f8a114d50ac700f93106ae958bdf05223b6902bd79a7088ba5f33cdf3464736f6c63430008140033a26469706673582212202e64c9b04dc66dd23c47df62b2becfeb7d7976d5a1720eacc1ee5d09eef00e0b64736f6c6343000814003360806040523480156200001157600080fd5b506200001e606462000067565b6200002a607862000067565b62000036608262000067565b6200004062000195565b6200004a62000349565b600380546001600160a01b03191633179055620005d4565b606490565b60ff8116600090815260208181526040808320805460ff191660649081179091556001808452828520918552925282209091620000a2606e90565b60ff908116825260208083019390935260409182016000908120805460ff1916951515959095179094558416835260019182905282209091620000e3606e90565b60ff1660ff1681526020019081526020016000206000620001096200006260201b60201c565b60ff908116825260208083019390935260409182016000908120805460ff19169515159590951790945584168352600191829052822090916200014a606e90565b60ff1660ff168152602001908152602001600020600062000170620005b660201b60201c565b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b60d2600090815260208190527fc0d27dadfcf8ee0186a0f6fe9b5805a51e99869050491e4a3040efec012a214f805460ff191660641790556001908190620001db60d290565b60ff1660ff1681526020019081526020016000206000620002016200006260201b60201c565b60ff1660ff168152602001908152602001600020600062000227620005b160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200025a60d290565b60ff1660ff168152602001908152602001600020600062000280620005b160201b60201c565b60ff1660ff1681526020019081526020016000206000620002a66200006260201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620002d960d290565b60ff1660ff1681526020019081526020016000206000620002ff620005b160201b60201c565b60ff1660ff168152602001908152602001600020600062000325620005bb60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60c8600090815260208190527fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf71403805460ff1916600a17905560019081906200038f60c890565b60ff1660ff1681526020019081526020016000206000620003b5620005c060201b60201c565b60ff1660ff1681526020019081526020016000206000620003db620005c560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200040e60c890565b60ff1660ff168152602001908152602001600020600062000434620005c060201b60201c565b60ff1660ff16815260200190815260200160002060006200045a620005ca60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200048d60c890565b60ff1660ff1681526020019081526020016000206000620004b3620005c060201b60201c565b60ff1660ff1681526020019081526020016000206000620004d9620005cf60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200050c60c890565b60ff1660ff168152602001908152602001600020600062000532620005cf60201b60201c565b60ff1660ff1681526020019081526020016000206000620005586200006260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200058b60c890565b60ff1660ff1681526020019081526020016000206000620002ff6200006260201b60201c565b606e90565b60d290565b60c890565b600a90565b601490565b601e90565b602890565b61184780620005e46000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063a238accd11610097578063b24133ec11610066578063b24133ec146102e1578063bf1db3f9146102f4578063e9e96c7014610307578063f48016ce1461034557600080fd5b8063a238accd146101ea578063a4dc7d86146101fd578063a5961b4c1461021d578063a8989675146102ce57600080fd5b806354f6127f116100d357806354f6127f146101825780635dee4788146101a25780636ec3d940146101b75780638eaa6ac0146101ca57600080fd5b806309648a9d146100fa5780630d3581811461013957806338a699a41461015f575b600080fd5b61012261010836600461122a565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b610122610147366004611255565b60ff9081166000908152602081905260409020541690565b61017261016d36600461122a565b610366565b6040519015158152602001610130565b61019561019036600461122a565b6103f7565b60405161013091906112b8565b6101b56101b036600461136e565b61049c565b005b6101b56101c53660046113c7565b61076f565b6101dd6101d836600461122a565b610923565b6040516101309190611458565b6101b56101f836600461148c565b610a64565b61021061020b36600461122a565b610cd4565b60405161013091906114d2565b6102c161022b36600461122a565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161013091906114e0565b6101b56102dc3660046114ee565b610d82565b6101b56102ef36600461136e565b610e78565b610172610302366004611255565b611153565b6101726103153660046114ee565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b610358610353366004611549565b6111a0565b604051908152602001610130565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156103cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f19190611577565b92915050565b600081815260026020526040902060010180546060919061041790611599565b80601f016020809104026020016040519081016040528092919081815260200182805461044390611599565b80156104905780601f1061046557610100808354040283529160200191610490565b820191906000526020600020905b81548152906001019060200180831161047357829003601f168201915b50505050509050919050565b6003546001600160a01b031633146104cf5760405162461bcd60e51b81526004016104c6906115d3565b60405180910390fd5b60405163b2466acf60e01b815260ff8316600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015610521573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105459190611577565b6105915760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e45440000000060448201526064016104c6565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061e9190611577565b61066a5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f4352454154454400000060448201526064016104c6565b3343600061067786611153565b610682576064610698565b60ff808716600090815260208190526040902054165b845460ff88811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016107228682611658565b507f73f3182791c24ae0b300ad6af1a7068367128fc289a81ef990679ae73fd6b43261074d88610cd4565b828560405161075e93929190611718565b60405180910390a150505050505050565b6003546001600160a01b031633146107995760405162461bcd60e51b81526004016104c6906115d3565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610805573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108299190611577565b6108755760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3033303a4e4f545f4558495354494e4700000000000060448201526064016104c6565b60008481526002602052604090206001016108908482611658565b508154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166108c14390565b845463ffffffff91909116600160b01b0263ffffffff60b01b1990911617845560006108ec87610cd4565b90507f816901577d1f95b21749b8032a8c0475ee6d8f8bb5917d222ce852943b0fc1a38185858560405161075e9493929190611748565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916109db90611599565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0790611599565b8015610a545780601f10610a2957610100808354040283529160200191610a54565b820191906000526020600020905b815481529060010190602001808311610a3757829003601f168201915b5050505050815250509050919050565b6003546001600160a01b03163314610a8e5760405162461bcd60e51b81526004016104c6906115d3565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b049190611577565b610b505760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e454400000060448201526064016104c6565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610bbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be09190611577565b610c2c5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e4700000000000060448201526064016104c6565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416610c704390565b845463ffffffff91909116600160b01b0263ffffffff60b01b199091161784556000610c9b87610cd4565b90507f6858c0d3ed40228af5781ff90503acebd6c673c57f8eddec5815410aa6f21118818786868660405161075e959493929190611783565b604080518082019091526000808252602082015260405163526e3ec360e11b815260048101839052600090819073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063a4dc7d86906024016040805180830381865af4158015610d3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6091906117c9565b6040805180820190915260ff909216825260ff19166020820152949350505050565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015610de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0b9190611577565b15610e1557505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610e7357604051636bb20ea760e01b815260ff80851660048301528084166024830152821660448201526064016104c6565b505050565b6003546001600160a01b03163314610ea25760405162461bcd60e51b81526004016104c6906115d3565b60405163b2466acf60e01b815260ff8316600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610ef4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f189190611577565b610f645760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e454400000060448201526064016104c6565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff49190611577565b6110405760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e4700000000000060448201526064016104c6565b600085815260026020526040902060010161105b8482611658565b508154620100003390810262010000600160b01b031960ff88166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166110a04390565b845463ffffffff91909116600160b01b0263ffffffff60b01b1990911617845560006110cb88610cd4565b90507f6858c0d3ed40228af5781ff90503acebd6c673c57f8eddec5815410aa6f211188188868686604051611104959493929190611783565b60405180910390a17f816901577d1f95b21749b8032a8c0475ee6d8f8bb5917d222ce852943b0fc1a3818885856040516111419493929190611748565b60405180910390a15050505050505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016103b0565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce90604401602060405180830381865af41580156111ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122391906117f8565b9392505050565b60006020828403121561123c57600080fd5b5035919050565b60ff8116811461125257600080fd5b50565b60006020828403121561126757600080fd5b813561122381611243565b6000815180845260005b818110156112985760208185018101518683018201520161127c565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006112236020830184611272565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126112f257600080fd5b813567ffffffffffffffff8082111561130d5761130d6112cb565b604051601f8301601f19908116603f01168101908282118183101715611335576113356112cb565b8160405283815286602085880101111561134e57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561138357600080fd5b83359250602084013561139581611243565b9150604084013567ffffffffffffffff8111156113b157600080fd5b6113bd868287016112e1565b9150509250925092565b600080604083850312156113da57600080fd5b82359150602083013567ffffffffffffffff8111156113f857600080fd5b611404858286016112e1565b9150509250929050565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b6020815261146a60208201835161140e565b6000602083015160c08084015261148460e0840182611272565b949350505050565b6000806040838503121561149f57600080fd5b8235915060208301356114b181611243565b809150509250929050565b805160ff16825260209081015160ff1916910152565b604081016103f182846114bc565b60a081016103f1828461140e565b60008060006060848603121561150357600080fd5b833561150e81611243565b9250602084013561151e81611243565b9150604084013561152e81611243565b809150509250925092565b60ff198116811461125257600080fd5b6000806040838503121561155c57600080fd5b823561156781611243565b915060208301356114b181611539565b60006020828403121561158957600080fd5b8151801515811461122357600080fd5b600181811c908216806115ad57607f821691505b6020821081036115cd57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526017908201527f4552524f523a4b56532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b601f821115610e7357600081815260208120601f850160051c810160208610156116315750805b601f850160051c820191505b818110156116505782815560010161163d565b505050505050565b815167ffffffffffffffff811115611672576116726112cb565b611686816116808454611599565b8461160a565b602080601f8311600181146116bb57600084156116a35750858301515b600019600386901b1c1916600185901b178555611650565b600085815260208120601f198616915b828110156116ea578886015182559484019460019091019084016116cb565b50858210156117085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6080810161172682866114bc565b60ff9390931660408201526001600160a01b0391909116606090910152919050565b60a0810161175682876114bc565b60ff9490941660408201526001600160a01b0392909216606083015263ffffffff16608090910152919050565b60c0810161179182886114bc565b60ff95861660408301529390941660608501526001600160a01b0391909116608084015263ffffffff1660a090920191909152919050565b600080604083850312156117dc57600080fd5b82516117e781611243565b60208401519092506114b181611539565b60006020828403121561180a57600080fd5b505191905056fea26469706673582212206c9aa7362d7ede9bf9088758da34b321e06de1b9c704ab032d5b56697ce2bee564736f6c63430008140033",
1879
- "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620004095760003560e01c8063893d20e8116200021d578063bd62faf71162000131578063dc261c3a11620000bb578063ee0fdf711162000086578063ee0fdf711462000c5e578063f0ea17c31462000c75578063f274e87d1462000d26578063fe1f18d61462000d5357600080fd5b8063dc261c3a1462000bc8578063e03eeb851462000c19578063e1f64d771462000c30578063e79597401462000c4757600080fd5b8063d0bb064c11620000fc578063d0bb064c1462000af3578063d250185c1462000b83578063dad73bed1462000b9a578063db70354c1462000bb157600080fd5b8063bd62faf71462000a79578063bd7d9d851462000a90578063c2bf7d261462000ab6578063cf5ccedb1462000acd57600080fd5b806399fd467711620001b3578063af17d38a116200017e578063af17d38a1462000a1d578063b88da7591462000a34578063b8c510671462000a4b578063b9f36dde1462000a6257600080fd5b806399fd467714620009a3578063a13df2ab14620009ba578063a310e2a314620009d1578063a90be9071462000a0657600080fd5b8063946dfcfe11620001f4578063946dfcfe14620009555780639555c4db146200095e5780639675513d146200097557806398457437146200098c57600080fd5b8063893d20e814620008e35780638b59fe2a14620008ed57806393865aec146200090457600080fd5b80634d459c90116200032157806369a44a1b11620002ab5780637fec8b3111620002765780637fec8b3114620008a05780638125ea9214620008b757806383d3331914620008c157806387c5658614620008ca57600080fd5b806369a44a1b146200084e5780636b9bf08b14620008655780636fa29853146200087757806375a07ed2146200088957600080fd5b80635ab1bd5311620002ec5780635ab1bd5314620007ef5780635fe9f2a51462000816578063644c45e0146200082d578063674d0ccf146200083757600080fd5b80634d459c9014620005e75780634fd077f514620006f85780635312fdc2146200071e57806357f80bbf146200074f57600080fd5b806320f4b65e11620003a3578063349195f9116200036e578063349195f914620005765780633bc5de30146200057f5780634288121d146200059b5780634793b4ab14620005c157600080fd5b806320f4b65e14620004fb57806331b62a3b146200051257806331e48e3214620005395780633300a8a8146200055057600080fd5b80630d0ccc5b11620003e45780630d0ccc5b14620004835780630d8e6e2c14620004a957806315dae03e14620004c85780631aa3a00814620004d857600080fd5b806301ffc9a7146200040e5780630591087414620004535780630abd8434146200046c575b600080fd5b6200043e6200041f366004620041c5565b6001600160e01b03191660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200046a620004643660046200421b565b62000d6a565b005b6200043e6200047d366004620042df565b62000f87565b6200049a62000494366004620042ff565b6200102b565b6040519081526020016200044a565b620004b3620010b6565b60405162ffffff90911681526020016200044a565b604051603281526020016200044a565b620004e262001143565b6040516001600160601b0390911681526020016200044a565b6200046a6200050c366004620044a8565b6200123e565b7f0000000000000000000000000000000000000000000000000000000000000000620004e2565b6200046a6200054a366004620045dd565b620013d0565b62000567620005613660046200467f565b620016cc565b6040516200044a91906200469f565b600f546200049a565b604080516020810182526000815290516200044a919062004752565b6005546001600160a01b03165b6040516001600160a01b0390911681526020016200044a565b620005d8620005d23660046200467f565b62001752565b6040516200044a919062004767565b6200069a620005f8366004620042df565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff90811660009081526020818152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016200044a565b6200070f620007093660046200467f565b620017db565b6040516200044a9190620047ff565b620007356200072f3660046200488c565b62001886565b6040516001600160c01b031990911681526020016200044a565b620007c1620007603660046200467f565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152601283528390208351918201845280549485168252600160601b90940460ff161515918101919091526001909201549082015290565b6040805182516001600160601b0316815260208084015115159082015291810151908201526060016200044a565b7f0000000000000000000000000000000000000000000000000000000000000000620005a8565b6200046a62000827366004620048d8565b620018c8565b620004e262001ad3565b6200049a6200084836600462004a5f565b62001b3b565b6200049a6200085f3660046200467f565b62001b5f565b6006546001600160a01b0316620005a8565b6004546001600160a01b0316620005a8565b6200046a6200089a36600462004a7f565b62001bf0565b620004e2620008b13660046200488c565b62001eca565b620005a862001f12565b6008546200049a565b620008d462001f27565b6040516200044a919062004aed565b620005a862001faa565b6200046a620008fe36600462004b05565b62001fb6565b6200046a6200091536600462004b57565b6001600160601b03909216600090815260166020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b6001546200049a565b6200046a6200096f36600462004ba5565b6200216a565b6200049a6200098636600462004bd8565b6200217a565b6200046a6200099d36600462004c0b565b620022e4565b6200043e620009b436600462004c51565b62002464565b6200049a620009cb3660046200467f565b6200249b565b620005a8620009e23660046200467f565b6001600160601b03166000908152601760205260409020546001600160a01b031690565b6200049a62000a173660046200488c565b620024a8565b6200073562000a2e36600462004c72565b620024e4565b620004b362000a453660046200488c565b62002672565b6200073562000a5c36600462004c72565b620026b6565b6200046a62000a7336600462004c51565b62002736565b620004e262000a8a36600462004cc7565b6200289f565b62000aa762000aa13660046200467f565b62002b46565b6040516200044a919062004d42565b6200046a62000ac736600462004c51565b62002d4d565b62000ae462000ade36600462004a5f565b62002f4d565b6040516200044a919062004e8a565b6200046a62000b0436600462004ed3565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601681529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b620008d462000b9436600462004f36565b6200304b565b6200046a62000bab36600462004f68565b620030da565b620004e262000bc236600462004f9b565b620032f8565b6200046a62000bd936600462004b57565b6001600160601b03909216600090815260146020908152604090912082516003820155918101516004830155825160058301559190910151600690910155565b6200046a62000c2a36600462004fca565b6200338f565b6200046a62000c4136600462004c0b565b620034d5565b620005a862000c5836600462004fff565b62003629565b6200043e62000c6f36600462004a5f565b6200364e565b62000cee62000c863660046200467f565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152600e83528390208351918201845280549485168252600160601b90940460ff16918101919091526001909201546001600160a01b03169082015290565b6040805182516001600160601b0316815260208084015160ff1690820152918101516001600160a01b0316908201526060016200044a565b62000d3d62000d3736600462005020565b62003679565b604080519283526020830191909152016200044a565b6200046a62000d6436600462005050565b62003705565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000dab573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000dd1919062005083565b6001600160a01b0316336001600160a01b03161462000e375760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f53455256494345000060448201526064015b60405180910390fd5b6000604051806101000160405280886001600160601b03168152602001876001600160601b0316815260200184848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509385525050506020820188905260408201526060810187905260800142604051631ded81af60e31b815264ffffffffff90911660048201526024810187905273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801562000f11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f379190620050b0565b64ffffffffff168152602001600064ffffffffff16815250905062000f7e878260405160200162000f69919062004767565b604051602081830303815290604052620037da565b50505050505050565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000ffe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010249190620050d0565b1192915050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af415801562001087573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010ad9190620050d0565b90505b92915050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562001118573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200113e9190620050ea565b905090565b60006200114f62001faa565b6001600160a01b0316336001600160a01b031614620011b15760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000e2e565b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af115801562001218573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200113e919062005117565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200127f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620012a5919062005083565b6001600160a01b0316336001600160a01b031614806200133c5750306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001301573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001327919062005083565b6001600160a01b0316336001600160a01b0316145b6200139c5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a42444c2d3030333a4e4f545f504f4f4c5f4f525f50524f445543604482015268545f5345525649434560b81b606482015260840162000e2e565b620013cd816000015182604051602001620013b8919062004767565b60405160208183030381529060405262003861565b50565b6001600160601b0387166000908152601760205260409020546001600160a01b031615620014585760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031303a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000e2e565b6001600160601b0385166000908152601760205260409020546001600160a01b031615620014e05760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031313a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000e2e565b6001600160601b0386166000908152601760205260409020546001600160a01b031615620015685760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031323a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000e2e565b600087856040516200157a9062004101565b6001600160601b0390921682526001600160a01b03166020820152604001604051809103906000f080158015620015b5573d6000803e3d6000fd5b506001600160601b03988916600081815260176020908152604080832080546001600160a01b039687166001600160a01b031991821681179092559b8e1680855282852080548e16831790559c8e1680855282852080548e16909217909155815160e0810183528581528084019182528083019d8e529a861660608c0190815299861660808c0190815260a08c01998a5260c08c019889529484526014835292209851895492518d16600160601b9081026001600160c01b0319909416918e1691909117929092178955995196518316029590991694909417600186015550955160028401805491909316941693909317905590518051600383015582015160048201559151805160058401550151600690910155565b620016d66200410f565b506001600160601b03908116600090815260166020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b620017bb60405180610100016040528060006001600160601b0316815260200160006001600160601b0316815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b620017c6826200389d565b806020019051810190620010b0919062005183565b620017e562004180565b506001600160601b03908116600090815260146020908152604091829020825160e08101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b0395048516606082015260028201549094166080850152825180840184526003820154815260048201548184015260a0850152825180840190935260058101548352600601549082015260c082015290565b6000600882815481106200189e576200189e62005254565b90600052602060002090600491828204019190066008029054906101000a900460c01b9050919050565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001909573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200192f919062005083565b6001600160a01b0316336001600160a01b031614620019625760405162461bcd60e51b815260040162000e2e906200526a565b80516001600160601b0390811660009081526011602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e082015160058201556101008201516006820155610120820151829190600782019062001a26908262005336565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916650100000000000269ffffffffffffffffffff199096169890971697909717939093179190911693909317929092179290921617905550565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562001218573d6000803e3d6000fd5b6001600160c01b031981166000908152600a60205260408120620010b09062003923565b6001600160601b038116600090815260136020526040808220905163697d0f1b60e11b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__9063d2fa1e36906024015b602060405180830381865af415801562001bca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010b09190620050d0565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001c31573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c57919062005083565b6001600160a01b0316336001600160a01b03161462001c8a5760405162461bcd60e51b815260040162000e2e906200526a565b604051806101e00160405280866001600160601b03168152602001876001600160601b03168152602001826001600160601b0316815260200160006001600160a01b0316815260200162001cdc600a90565b60ff1681526020018581526020018481526020016000815260200183815260200160405180602001604052806000815250815260200162001d1a4290565b64ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b0386811660009081526011602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e082015160058201556101008201516006820155610120820151600782019062001e18908262005336565b50610140820151600890910180546101608401516101808501516101a08601516101c09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916650100000000000269ffffffffffffffffffff1990961698909716979097179390931791909116939093179290921792909216179055505050505050565b6000600f828154811062001ee25762001ee262005254565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b60006200113e6003546001600160a01b031690565b604080518082019091526000808252602082015273__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af415801562001f84573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200113e919062005402565b60006200113e6200392e565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ff5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200201b919062005083565b6001600160a01b0316336001600160a01b0316146200207d5760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000e2e565b6040518060600160405280846001600160601b03168152602001620020a0606490565b60ff90811682526001600160a01b039384166020928301526001600160601b039586166000818152600e845260408082208651815496880151909516600160601b026001600160681b0319909616948a1694909417949094178355939092015160019182018054919095166001600160a01b031990911617909355600f805480850182559252600282047f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80201805492909316600c026101000a908102940219169290921790915550565b62002176828262003a90565b5050565b6000306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620021bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021e3919062005083565b6001600160a01b0316336001600160a01b031614620022165760405162461bcd60e51b815260040162000e2e9062005437565b506001600160601b038083166000818152600d602090815260408083209486168352938152838220805490839055928252600c9052829020915163539eabab60e11b8152909173__$0dc988b1672de335b826773df9015af2da$__9163a73d575691620022999186906004019182526001600160601b0316602082015260400190565b602060405180830381865af4158015620022b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022dd919062005478565b5092915050565b6001600160601b03828116600090815260136020526040908190209051632bfdd6b960e01b81526004810182905291851660248301529073__$0dc988b1672de335b826773df9015af2da$__90632bfdd6b990604401602060405180830381865af415801562002358573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200237e919062005478565b15620023d75760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504c2d3032303a42554e444c455f414c52454144595f414444456044820152601160fa1b606482015260840162000e2e565b604051631461054360e31b8152600481018290526001600160601b038516602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af415801562002437573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200245d919062005478565b5050505050565b6001600160c01b0319821660009081526009602090815260408083206001600160a01b038516845290915281205460ff16620010ad565b6000620010b08262003d61565b6040516322f5db0f60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e9060240162001bac565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002525573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200254b919062005083565b6001600160a01b0316336001600160a01b0316146200257e5760405162461bcd60e51b815260040162000e2e9062005498565b60405163e14787cb60e01b815273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90620025b790859060040162004752565b602060405180830381865af4158015620025d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025fb9190620054cf565b905062002608816200364e565b15620026615760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4143532d3031303a524f4c455f414c52454144595f45584953546044820152605360f81b606482015260840162000e2e565b6200266d818362003db8565b919050565b6000600182815481106200268a576200268a62005254565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60405163e14787cb60e01b815260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90620026f290859060040162004752565b602060405180830381865af415801562002710573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010b09190620054cf565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b16146200277a5760405162461bcd60e51b815260040162000e2e90620054ef565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620027b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027df919062005083565b6001600160a01b0316336001600160a01b031614620028125760405162461bcd60e51b815260040162000e2e9062005498565b6001600160c01b0319831660008181526009602090815260408083206001600160a01b03871684528252808320805460ff19169055928252600a9052206200285b908362003e1d565b507fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d1698754539668483836000604051620028929392919062005526565b60405180910390a1505050565b6000306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015620028e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002906919062005083565b6001600160a01b0316336001600160a01b031614620029685760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604482015260640162000e2e565b5080516040516330b8415f60e01b81526001600160601b038216600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620029c4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620029ea919062005478565b801562002a8957506001600160601b038181166000818152600e60205260409081902054905163c4cade9d60e01b815292166004830152602482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__9063c4cade9d90604401602060405180830381865af415801562002a63573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a89919062005478565b62002ad75760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a434d502d3030363a434f4d504f4e454e545f554e4b4e4f574e00604482015260640162000e2e565b6001600160601b038082166000908152600e6020908152604091829020855181549287015160ff16600160601b026001600160681b031990931694169390931717825590920151600190920180546001600160a01b039093166001600160a01b03199093169290921790915590565b604080516101e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018390526101208201526101408101829052610160810182905261018081018290526101a081018290526101c08101919091526001600160601b0382811660009081526011602090815260409182902082516101e08101845281548086168252600160601b9081900486169382019390935260018201549485169381019390935292046001600160a01b03166060820152600282015460ff166080820152600382015460a0820152600482015460c0820152600582015460e082015260068201546101008201526007820180549192916101208401919062002c6d90620052ab565b80601f016020809104026020016040519081016040528092919081815260200182805462002c9b90620052ab565b801562002cec5780601f1062002cc05761010080835404028352916020019162002cec565b820191906000526020600020905b81548152906001019060200180831162002cce57829003601f168201915b50505091835250506008919091015464ffffffffff808216602084015265010000000000820481166040840152600160501b820481166060840152600160781b8204166080830152600160a01b900463ffffffff1660a09091015292915050565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b161462002d915760405162461bcd60e51b815260040162000e2e90620054ef565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002dd0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002df6919062005083565b6001600160a01b0316336001600160a01b03161462002e295760405162461bcd60e51b815260040162000e2e9062005498565b6001600160c01b0319831660009081526007602052604090206002015460ff1662002e975760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4143532d3034303a524f4c455f4e4f545f414354495645000000604482015260640162000e2e565b6001600160c01b0319831660008181526009602090815260408083206001600160a01b03871684528252808320805460ff19166001179055928252600a90522062002ee3908362003e34565b506001600160c01b0319831660009081526009602090815260408083206001600160a01b0386168452909152908190205490517fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d169875453966849162002892918691869160ff9091169062005526565b6040805160608082018352600080835260208084018390528385018290526001600160c01b0319868116835260078252918590208551938401909552845460c01b9091168252600184018054939492939184019162002fac90620052ab565b80601f016020809104026020016040519081016040528092919081815260200182805462002fda90620052ab565b80156200302b5780601f1062002fff576101008083540402835291602001916200302b565b820191906000526020600020905b8154815290600101906020018083116200300d57829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b60408051808201825260008082526020820152905163638086fd60e11b8152600481018490526024810183905273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa906044016040805180830381865af4158015620030b4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010ad919062005402565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b16146200311e5760405162461bcd60e51b815260040162000e2e90620054ef565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200315d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003183919062005083565b6001600160a01b0316336001600160a01b031614620031b65760405162461bcd60e51b815260040162000e2e9062005498565b6001600160c01b03198084166000908152600760209081526040808320815160608101909252805460c01b90941681526001840180549394919391928401916200320090620052ab565b80601f01602080910402602001604051908101604052809291908181526020018280546200322e90620052ab565b80156200327f5780601f1062003253576101008083540402835291602001916200327f565b820191906000526020600020905b8154815290600101906020018083116200326157829003601f168201915b50505091835250506002919091015460ff16151560209091015283151560408201529050620032ae8162003e4b565b604080516001600160c01b03198616815284151560208201527feaffaec948991ecc6e201ba4f67ba865fbf66aace3d2f2823dc5483cc9813fda910160405180910390a150505050565b6001600160601b038216600090815260136020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401602060405180830381865af415801562003369573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010ad919062005117565b6001600160601b0383811660009081526012602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015620033fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003421919062005478565b6200346f5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3031303a414c52454144595f4352454154454400000000604482015260640162000e2e565b604080516060810182526001600160601b039485168082529315156020808301918252828401948552600095865260129052919093209251835491511515600160601b026001600160681b03199092169416939093179290921781559051600190910155565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003516573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200353c919062005083565b6001600160a01b0316336001600160a01b0316146200356f5760405162461bcd60e51b815260040162000e2e9062005437565b6001600160601b038381166000818152600d60209081526040808320948716808452948252808320869055928252600c90528190209051631461054360e31b81526004810191909152602481019190915273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af4158015620035fd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003623919062005478565b50505050565b6001600160c01b031982166000908152600a60205260408120620010ad908362003f26565b6001600160c01b0319818116600081815260076020526040812054909260c09190911b1614620010b0565b60008073__$a23651848365a6a5ca15f07b4331037f48$__63c66fb3ae85856040518363ffffffff1660e01b8152600401620036b792919062005553565b6040805180830381865af4158015620036d4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036fa919062005572565b915091509250929050565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562003746573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200376c919062005083565b6001600160a01b0316336001600160a01b031614620037ce5760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f534552564943450000604482015260640162000e2e565b62002176828262003f34565b600b546001600160a01b0316635dee4788620037f68462003d61565b600b5460405160e084901b6001600160e01b0319168152620038299291600160a01b900460ff1690869060040162005597565b600060405180830381600087803b1580156200384457600080fd5b505af115801562003859573d6000803e3d6000fd5b505050505050565b600b546001600160a01b0316636ec3d9406200387d8462003d61565b836040518363ffffffff1660e01b815260040162003829929190620055c4565b600b546060906001600160a01b03166354f6127f620038bc8462003d61565b6040518263ffffffff1660e01b8152600401620038db91815260200190565b600060405180830381865afa158015620038f9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620010b09190810190620055df565b6000620010b0825490565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801562003998573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620039be919062005117565b90506001600160601b038116620039f6577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801562003a64573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a8a919062005083565b91505090565b600062003a9c620010b6565b905062003aa98162000f87565b1562003b085760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840162000e2e565b6001541562003bcf57600180546000919062003b2690829062005617565b8154811062003b395762003b3962005254565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff16905062003b73828262ffffff90811691161190565b62003bcd5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840162000e2e565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b0380861660208401528416908201526060810162003c584290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d441990620028929083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b600b54604051630711349960e31b81526001600160601b0383166004820152600160a01b90910460ff16602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440162001bac565b604080516060810182526001600160c01b0319841681526020810183905260019181019190915262003dea8162003e4b565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c648583836040516200289292919062005639565b6000620010ad836001600160a01b03841662003f7e565b6000620010ad836001600160a01b03841662004082565b80516001600160c01b0319811660009081526007602090815260409091208351815467ffffffffffffffff191660c09190911c17815590830151839190600182019062003e99908262005336565b50604091909101516002909101805460ff191691151591909117905562003ec0816200364e565b6200217657600880546001810182556000829052600481047ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301805460c085901c60039093169093026101000a9182026001600160401b03909202199092161790555050565b6000620010ad8383620040d4565b600b546001600160a01b031663a238accd62003f508462003d61565b6040516001600160e01b031960e084901b168152600481019190915260ff8416602482015260440162003829565b600081815260018301602052604081205480156200407757600062003fa560018362005617565b855490915060009062003fbb9060019062005617565b90508181146200402757600086600001828154811062003fdf5762003fdf62005254565b906000526020600020015490508087600001848154811062004005576200400562005254565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806200403b576200403b62005660565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050620010b0565b6000915050620010b0565b6000818152600183016020526040812054620040cb57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620010b0565b506000620010b0565b6000826000018281548110620040ee57620040ee62005254565b9060005260206000200154905092915050565b6102aa806200567783390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b0316815260200162004158604051806040016040528060008152602001600081525090565b81526020016200417b604051806040016040528060008152602001600081525090565b905290565b6040805160e08101825260008082526020808301829052828401829052606083018290526080830182905283518085019094528184528301529060a082019062004158565b600060208284031215620041d857600080fd5b81356001600160e01b031981168114620041f157600080fd5b9392505050565b6001600160601b0381168114620013cd57600080fd5b80356200266d81620041f8565b60008060008060008060a087890312156200423557600080fd5b86356200424281620041f8565b955060208701356200425481620041f8565b9450604087013593506060870135925060808701356001600160401b03808211156200427f57600080fd5b818901915089601f8301126200429457600080fd5b813581811115620042a457600080fd5b8a6020828501011115620042b757600080fd5b6020830194508093505050509295509295509295565b62ffffff81168114620013cd57600080fd5b600060208284031215620042f257600080fd5b8135620041f181620042cd565b600080604083850312156200431357600080fd5b8235915060208301358060000b81146200432c57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b60405161010081016001600160401b038111828210171562004373576200437362004337565b60405290565b604080519081016001600160401b038111828210171562004373576200437362004337565b6040516101e081016001600160401b038111828210171562004373576200437362004337565b604051601f8201601f191681016001600160401b0381118282101715620043ef57620043ef62004337565b604052919050565b60006001600160401b0382111562004413576200441362004337565b50601f01601f191660200190565b6000620044386200443284620043f7565b620043c4565b90508281528383830111156200444d57600080fd5b828260208301376000602084830101529392505050565b600082601f8301126200447657600080fd5b620010ad8383356020850162004421565b64ffffffffff81168114620013cd57600080fd5b80356200266d8162004487565b600060208284031215620044bb57600080fd5b81356001600160401b0380821115620044d357600080fd5b908301906101008286031215620044e957600080fd5b620044f36200434d565b620044fe836200420e565b81526200450e602084016200420e565b60208201526040830135828111156200452657600080fd5b620045348782860162004464565b604083015250606083013560608201526080830135608082015260a083013560a08201526200456660c084016200449b565b60c08201526200457960e084016200449b565b60e082015295945050505050565b6001600160a01b0381168114620013cd57600080fd5b80356200266d8162004587565b600060408284031215620045bd57600080fd5b620045c762004379565b9050813581526020820135602082015292915050565b6000806000806000806000610120888a031215620045fa57600080fd5b87356200460781620041f8565b965060208801356200461981620041f8565b955060408801356200462b81620041f8565b945060608801356200463d8162004587565b935060808801356200464f8162004587565b9250620046608960a08a01620045aa565b9150620046718960e08a01620045aa565b905092959891949750929550565b6000602082840312156200469257600080fd5b8135620041f181620041f8565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c0830191620046e19084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152620022dd565b60005b838110156200471b57818101518382015260200162004701565b50506000910152565b600081518084526200473e816020860160208601620046fe565b601f01601f19169290920160200192915050565b602081526000620010ad602083018462004724565b6020815260006001600160601b03808451166020840152806020850151166040840152506040830151610100806060850152620047a961012085018362004724565b915060608501516080850152608085015160a085015260a085015160c085015260c0850151620047e260e086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b6000610120820190506001600160601b0380845116835280602085015116602084015280604085015116604084015250606083015160018060a01b038082166060850152806080860151166080850152505060a08301516200486e60a084018280518252602090810151910152565b5060c0830151805160e08401526020810151610100840152620022dd565b6000602082840312156200489f57600080fd5b5035919050565b60ff81168114620013cd57600080fd5b80356200266d81620048a6565b803563ffffffff811681146200266d57600080fd5b600060208284031215620048eb57600080fd5b81356001600160401b03808211156200490357600080fd5b908301906101e082860312156200491957600080fd5b620049236200439e565b6200492e836200420e565b81526200493e602084016200420e565b602082015262004951604084016200420e565b604082015262004964606084016200459d565b60608201526200497760808401620048b6565b608082015260a083013560a082015260c083013560c082015260e083013560e08201526101008084013581830152506101208084013583811115620049bb57600080fd5b620049c98882870162004464565b8284015250506101409150620049e18284016200449b565b828201526101609150620049f78284016200449b565b82820152610180915062004a0d8284016200449b565b828201526101a0915062004a238284016200449b565b828201526101c0915062004a39828401620048c3565b91810191909152949350505050565b6001600160c01b031981168114620013cd57600080fd5b60006020828403121562004a7257600080fd5b8135620041f18162004a48565b60008060008060008060c0878903121562004a9957600080fd5b863562004aa681620041f8565b9550602087013562004ab881620041f8565b945060408701359350606087013592506080870135915060a087013562004adf81620041f8565b809150509295509295509295565b815181526020808301519082015260408101620010b0565b60008060006060848603121562004b1b57600080fd5b833562004b2881620041f8565b9250602084013562004b3a81620048a6565b9150604084013562004b4c8162004587565b809150509250925092565b600080600060a0848603121562004b6d57600080fd5b833562004b7a81620041f8565b925062004b8b8560208601620045aa565b915062004b9c8560608601620045aa565b90509250925092565b6000806040838503121562004bb957600080fd5b823562004bc68162004587565b915060208301356200432c8162004587565b6000806040838503121562004bec57600080fd5b823562004bf981620041f8565b915060208301356200432c81620041f8565b60008060006060848603121562004c2157600080fd5b833562004c2e81620041f8565b9250602084013562004c4081620041f8565b929592945050506040919091013590565b6000806040838503121562004c6557600080fd5b823562004bc68162004a48565b60006020828403121562004c8557600080fd5b81356001600160401b0381111562004c9c57600080fd5b8201601f8101841362004cae57600080fd5b62004cbf8482356020840162004421565b949350505050565b60006060828403121562004cda57600080fd5b604051606081018181106001600160401b038211171562004cff5762004cff62004337565b604052823562004d0f81620041f8565b8152602083013562004d2181620048a6565b6020820152604083013562004d368162004587565b60408201529392505050565b6020815262004d5d6020820183516001600160601b03169052565b6000602083015162004d7a60408401826001600160601b03169052565b5060408301516001600160601b03811660608401525060608301516001600160a01b038116608084015250608083015160ff811660a08401525060a083015160c083015260c083015160e083015260e08301516101008181850152808501519150506101208181850152808501519150506101e0610140818186015262004e0661020086018462004724565b9086015190925061016062004e238682018364ffffffffff169052565b860151905061018062004e3e8682018364ffffffffff169052565b86015190506101a062004e598682018364ffffffffff169052565b86015190506101c062004e748682018364ffffffffff169052565b86015163ffffffff8116838701529050620047f5565b602080825282516001600160c01b031916828201528201516060604083015260009062004ebb608084018262004724565b90506040840151151560608401528091505092915050565b60008060008060c0858703121562004eea57600080fd5b843562004ef781620041f8565b9350602085013562004f098162004587565b925062004f1a8660408701620045aa565b915062004f2b8660808701620045aa565b905092959194509250565b6000806040838503121562004f4a57600080fd5b50508035926020909101359150565b8015158114620013cd57600080fd5b6000806040838503121562004f7c57600080fd5b823562004f898162004a48565b915060208301356200432c8162004f59565b6000806040838503121562004faf57600080fd5b823562004fbc81620041f8565b946020939093013593505050565b60008060006060848603121562004fe057600080fd5b833562004fed81620041f8565b9250602084013562004c408162004f59565b600080604083850312156200501357600080fd5b823562004fbc8162004a48565b600080606083850312156200503457600080fd5b82359150620050478460208501620045aa565b90509250929050565b600080604083850312156200506457600080fd5b82356200507181620041f8565b915060208301356200432c81620048a6565b6000602082840312156200509657600080fd5b8151620041f18162004587565b80516200266d8162004487565b600060208284031215620050c357600080fd5b8151620041f18162004487565b600060208284031215620050e357600080fd5b5051919050565b600060208284031215620050fd57600080fd5b8151620041f181620042cd565b80516200266d81620041f8565b6000602082840312156200512a57600080fd5b8151620041f181620041f8565b600082601f8301126200514957600080fd5b81516200515a6200443282620043f7565b8181528460208386010111156200517057600080fd5b62004cbf826020830160208701620046fe565b6000602082840312156200519657600080fd5b81516001600160401b0380821115620051ae57600080fd5b908301906101008286031215620051c457600080fd5b620051ce6200434d565b620051d9836200510a565b8152620051e9602084016200510a565b60208201526040830151828111156200520157600080fd5b6200520f8782860162005137565b604083015250606083015160608201526080830151608082015260a083015160a08201526200524160c08401620050a3565b60c08201526200457960e08401620050a3565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b600181811c90821680620052c057607f821691505b602082108103620052e157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200533157600081815260208120601f850160051c81016020861015620053105750805b601f850160051c820191505b8181101562003859578281556001016200531c565b505050565b81516001600160401b0381111562005352576200535262004337565b6200536a81620053638454620052ab565b84620052e7565b602080601f831160018114620053a25760008415620053895750858301515b600019600386901b1c1916600185901b17855562003859565b600085815260208120601f198616915b82811015620053d357888601518255948401946001909101908401620053b2565b5085821015620053f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000604082840312156200541557600080fd5b6200541f62004379565b82518152602083015160208201528091505092915050565b60208082526021908201527f4552524f523a42444c2d3030323a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b6000602082840312156200548b57600080fd5b8151620041f18162004f59565b60208082526017908201527f4552524f523a4143532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b600060208284031215620054e257600080fd5b8151620041f18162004a48565b6020808252601f908201527f4552524f523a4143532d3030323a524f4c455f4e4f545f4558495354494e4700604082015260600190565b6001600160c01b03199390931683526001600160a01b039190911660208301521515604082015260600190565b82815260608101620041f1602083018480518252602090810151910152565b600080604083850312156200558657600080fd5b505080516020909101519092909150565b83815260ff83166020820152606060408201526000620055bb606083018462004724565b95945050505050565b82815260406020820152600062004cbf604083018462004724565b600060208284031215620055f257600080fd5b81516001600160401b038111156200560957600080fd5b62004cbf8482850162005137565b81810381811115620010b057634e487b7160e01b600052601160045260246000fd5b6001600160401b0360c01b8316815260406020820152600062004cbf604083018462004724565b634e487b7160e01b600052603160045260246000fdfe608060405234801561001057600080fd5b506040516102aa3803806102aa83398101604081905261002f9161005b565b6001600160a01b03166c01000000000000000000000000026001600160601b03909116176000556100ad565b6000806040838503121561006e57600080fd5b82516001600160601b038116811461008557600080fd5b60208401519092506001600160a01b03811681146100a257600080fd5b809150509250929050565b6101ee806100bc6000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806251884a1461004557806321df0da71461006a578063beabacc814610095575b600080fd5b6000546040516bffffffffffffffffffffffff90911681526020015b60405180910390f35b600054600160601b90046001600160a01b03166040516001600160a01b039091168152602001610061565b6100a86100a3366004610153565b6100aa565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052600160601b909204909116906323b872dd906064016020604051808303816000875af115801561010d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610131919061018f565b50505050565b80356001600160a01b038116811461014e57600080fd5b919050565b60008060006060848603121561016857600080fd5b61017184610137565b925061017f60208501610137565b9150604084013590509250925092565b6000602082840312156101a157600080fd5b815180151581146101b157600080fd5b939250505056fea26469706673582212202b9b96f8a114d50ac700f93106ae958bdf05223b6902bd79a7088ba5f33cdf3464736f6c63430008140033a26469706673582212202e64c9b04dc66dd23c47df62b2becfeb7d7976d5a1720eacc1ee5d09eef00e0b64736f6c63430008140033",
2898
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000040565b62000026620001f7565b6200003062000331565b6200003a6200059e565b62000717565b60dc6000908152600160208190527f81c2bf9f7c6e8ac9bd8bcd9d323e94b867d2f5054aff8759d884773c680ec1ec805460ff19166064179055906002906200008760dc90565b60ff1660ff1681526020019081526020016000206000620000ad620006e560201b60201c565b60ff1660ff1681526020019081526020016000206000620000d3620006ef60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200010760dc90565b60ff1660ff16815260200190815260200160002060006200012d620006ef60201b60201c565b60ff1660ff168152602001908152602001600020600062000153620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200018760dc90565b60ff1660ff1681526020019081526020016000206000620001ad620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620001d3620006f460201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b7f1bd07f61ef326b4de236f5b68f225f46ff76ee2c375ae31a06da201c49c70c128054606460ff1991821681179092557f879b65b464eb639409179c76c21acf6fbada740970e2300d47ea857d08cacd3c8054909116600190811790915560009182526002602052907f7673bcbb3401a7cbae68f81d40eea2cf35afdaf7ecd016ebf3f02857fcc1260a906200028b606e90565b60ff1660ff1681526020019081526020016000206000620002b1620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620002e5606490565b60ff1660ff16815260200190815260200160002060006200030b620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620001d3620006f960201b60201c565b60d36000908152600160208190527f7415b658af57d740454b01d91722f71a360db8fdd5ec2a068a92c37e2bc3b1d6805460ff1916600a179055906002906200037860d390565b60ff1660ff16815260200190815260200160002060006200039e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620003c46200070360201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620003f860d390565b60ff1660ff16815260200190815260200160002060006200041e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620004446200070860201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200047860d390565b60ff1660ff16815260200190815260200160002060006200049e620006fe60201b60201c565b60ff1660ff1681526020019081526020016000206000620004c46200070d60201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620004f860d390565b60ff1660ff16815260200190815260200160002060006200051e6200070d60201b60201c565b60ff1660ff168152602001908152602001600020600062000544620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200057860d390565b60ff1660ff1681526020019081526020016000206000620001ad620006e560201b60201c565b60c86000908152600160208190527f345f7c6c888721344af4147de0834159e0b302300ba13c4e7b6c0b60d8f2314e805460ff1916606417905590600290620005e560c890565b60ff1660ff16815260200190815260200160002060006200060b620006e560201b60201c565b60ff1660ff168152602001908152602001600020600062000631620006ef60201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001906002906200066560c890565b60ff1660ff16815260200190815260200160002060006200068b620006ef60201b60201c565b60ff1660ff1681526020019081526020016000206000620006b1620006e560201b60201c565b60ff16815260208101919091526040016000908120805460ff191692151592909217909155600190600290620002e560c890565b606490565b905090565b606e90565b60c890565b60d290565b600a90565b601490565b601e90565b60006028620006ea565b614b6980620007276000396000f3fe608060405234801561001057600080fd5b506004361061046a5760003560e01c8063893d20e81161024c578063bf7e214f11610146578063e8951ee6116100c3578063f7c34ee011610087578063f7c34ee014610a62578063f8b648ac14610604578063fb2cb10114610a75578063fe1f18d614610a7d578063fed3d63f14610a9057600080fd5b8063e8951ee614610560578063e9e96c70146109eb578063f48016ce14610a29578063f651dcac14610a3c578063f7bc431c14610a4f57600080fd5b8063d2f21a291161010a578063d2f21a29146109aa578063d5b221bd1461057b578063dee32623146109bd578063e1033e7d146109d0578063e3aa7f05146109d857600080fd5b8063bf7e214f1461097f578063c2f1a2d21461057b578063ca600b1c14610987578063ccdcd37f1461098f578063cde749f4146109a257600080fd5b80639df0280b116101d4578063a9cea14211610198578063a9cea14214610931578063ada9652e14610944578063b68ec14614610604578063bc8d400014610959578063bf1db3f91461096c57600080fd5b80639df0280b14610560578063a13df2ab14610847578063a5961b4c1461085a578063a76ee0181461090b578063a89896751461091e57600080fd5b80638fb360371161021b5780638fb36037146107da57806391ff6eaa146107fb578063976b0a771461080e5780639a960d52146108215780639d7421f41461083457600080fd5b8063893d20e81461079f5780638c5f36bb146107a75780638dc77f42146105605780638eaa6ac0146107ba57600080fd5b80633fc5ab98116103685780636071a68e116102e557806375c82776116102a957806375c82776146107665780637a4158021461057b5780637a9e5e4b146107795780637cef48421461078c57806382f65adb1461060457600080fd5b80636071a68e146106fa57806361f5f4201461070d578063644c45e01461071e5780636b9bf08b1461075657806375b238fc1461075e57600080fd5b806354f6127f1161032c57806354f6127f146106b6578063588cd281146106d65780635ab1bd53146106e95780635d4345cc146105605780635dfa73db146106f157600080fd5b80633fc5ab981461067557806340529b0f14610560578063422c9d00146106885780634288121d1461069b578063468a1867146106a357600080fd5b80631eff4b22116103f657806333bb0a97116103ba57806333bb0a971461060457806336fc697e1461061757806337f135d71461061f57806338a699a41461063c5780633ca7c02a1461064f57600080fd5b80631eff4b221461058e578063214cdb80146105c35780632781d443146105d657806327bb7a33146105de5780632f61088a146105f157600080fd5b80630f526f7d1161043d5780630f526f7d146105365780630fec111c1461054b57806310203d2c14610560578063138461e0146105735780631c45fe7a1461057b57600080fd5b806301ffc9a71461046f57806302cd3071146104b157806309648a9d146104d65780630d35818114610510575b600080fd5b61049c61047d366004613296565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b0390911681526020016104a8565b6104fe6104e43660046132c0565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104a8565b6104fe61051e3660046132e8565b60ff9081166000908152600160205260409020541690565b61054961054436600461332a565b610a98565b005b610553610abd565b6040516104a891906133b3565b61054961056e36600461332a565b610c6c565b610549610c81565b610549610589366004613652565b610eaf565b6105b57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016104a8565b6105496105d1366004613296565b610ef0565b6105b5600381565b6105496105ec3660046136ff565b610f1d565b6105496105ff366004613812565b610fb9565b610549610612366004613861565b611068565b610549611093565b610627600081565b60405163ffffffff90911681526020016104a8565b61049c61064a3660046132c0565b6110d9565b61065d6001600160401b0381565b6040516001600160401b0390911681526020016104a8565b6105496106833660046139a9565b61116a565b610549610696366004613a0c565b611190565b6104be6112cd565b6105b56106b1366004613a29565b611356565b6106c96106c43660046132c0565b6113ef565b6040516104a89190613a46565b6105496106e4366004613b2b565b611494565b6104be6114bc565b61065d61271081565b610549610708366004613b6c565b6114d8565b6006546001600160a01b03166104be565b600080516020614af483398151915254600160a01b90046001600160601b03166040516001600160601b0390911681526020016104a8565b6104be6114fe565b61065d600081565b610549610774366004613bf4565b61151d565b610549610787366004613a0c565b611543565b61054961079a366004613c4c565b6115c6565b6104be611650565b6105496107b5366004613a0c565b611781565b6107cd6107c83660046132c0565b6118a8565b6040516104a89190613cb4565b6107e26119e9565b6040516001600160e01b031990911681526020016104a8565b610549610809366004613dd8565b611a21565b61054961081c366004613e0f565b611a49565b61054961082f366004613fad565b611b89565b610549610842366004613ff4565b611baf565b6105b5610855366004613a29565b611bd5565b6108fe6108683660046132c0565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104a8919061404b565b610549610919366004614059565b611c02565b61054961092c3660046140a0565b611c9d565b61054961093f3660046140e0565b611d8e565b6105b5600080516020614af483398151915281565b610549610967366004614121565b611db6565b61049c61097a3660046132e8565b611ddc565b6104be611e29565b6104be611e45565b61054961099d3660046141c2565b611e64565b6104fe611e8c565b6105496109b836600461332a565b611f03565b6105496109cb36600461332a565b611f1a565b6104be611f31565b6105496109e6366004614201565b611f50565b61049c6109f93660046140a0565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b6105b5610a3736600461423f565b611f78565b610549610a4a36600461426d565b612003565b610549610a5d366004613a0c565b61202b565b610549610a7036600461429a565b612118565b6104be61214a565b610549610a8b36600461332a565b612160565b6104be612175565b610aa5335b600036612194565b610ab9610ab383608c612292565b826122de565b5050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610b68906142c8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b94906142c8565b8015610be15780601f10610bb657610100808354040283529160200191610be1565b820191906000526020600020905b815481529060010190602001808311610bc457829003601f168201915b50505050508152505090506040518060e00160405280610bff600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610c5061214a565b6001600160a01b03168152602001826060015181525091505090565b610c7533610a9d565b610ab9610ab383611356565b6000600080516020614af483398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1a9190614302565b15610d605780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b0316610d885760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610dd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df49190614302565b610e1c576040516372657a5160e01b81526001600160a01b0382166004820152602401610d57565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610e65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e89919061431f565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b610eb833610a9d565b610eea610ec485611356565b83604051602001610ed5919061433c565b604051602081830303815290604052836122e8565b50505050565b610ef86122f3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610f256122f3565b610f2f8287612118565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610f9f83826143d5565b50610fb06303fb044760e21b610ef0565b50505050505050565b610fc233610a9d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ab99073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561101f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110439190614494565b8260405160200161105491906144ad565b60405160208183030381529060405261233e565b61107133610a9d565b61108e61107d84611356565b82604051602001611054919061433c565b505050565b61109b6122f3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015611140573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111649190614302565b92915050565b61117333610a9d565b61108e61117f84611bd5565b83604051602001610ed591906144db565b61119933610a9d565b6006546001600160a01b0316156111e95760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610d57565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611231573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611255919061458f565b6001600160a01b0316146112ab5760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610d57565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60006112d76114bc565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa15801561132d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611351919061458f565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d35b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156113cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111649190614494565b600081815260036020526040902060010180546060919061140f906142c8565b80601f016020809104026020016040519081016040528092919081815260200182805461143b906142c8565b80156114885780601f1061145d57610100808354040283529160200191611488565b820191906000526020600020905b81548152906001019060200180831161146b57829003601f168201915b50505050509050919050565b61149d33610a9d565b61108e6114ab84608c612292565b83604051602001610ed591906145ac565b600080516020614af4833981519152546001600160a01b031690565b6114e133610a9d565b610ab96114ed83611bd5565b8260405160200161105491906144db565b60006115086114bc565b6001600160a01b031663d39e6043608c6112e8565b61152633610a9d565b610eea61153285611356565b83604051602001610ed59190614699565b3361154c611e29565b6001600160a01b0316816001600160a01b0316146115875760405162d1953b60e31b81526001600160a01b0382166004820152602401610d57565b816001600160a01b03163b6000036115bd576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d57565b610ab982612348565b6115cf33610a9d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ab99073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561162c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab39190614494565b600080600080516020614af483398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156116c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ea9190614302565b1561176f578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611745573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611769919061458f565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117c65750825b90506000826001600160401b031660011480156117e25750303b155b9050811580156117f0575080155b1561180e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561183857845460ff60401b1916600160401b1785555b611841866123a9565b611849611093565b61185963a444b9bb60e01b610ef0565b83156118a057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611960906142c8565b80601f016020809104026020016040519081016040528092919081815260200182805461198c906142c8565b80156119d95780601f106119ae576101008083540402835291602001916119d9565b820191906000526020600020905b8154815290600101906020018083116119bc57829003601f168201915b5050505050815250509050919050565b600080516020614b14833981519152805460009190600160a01b900460ff16611a13576000611769565b638fb3603760e01b91505090565b611a2a33610a9d565b610ab9611a3883606e612292565b8260405160200161105491906146c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611a8e5750825b90506000826001600160401b03166001148015611aaa5750303b155b905081158015611ab8575080155b15611ad65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b0057845460ff60401b1916600160401b1785555b611b0989612419565b611b288888604660008a60405180602001604052806000815250610f1d565b611b3863c6b60f2b60e01b610ef0565b8315611b7e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611b9233610a9d565b61108e611b9e84611356565b83604051602001610ed591906147f3565b611bb833610a9d565b61108e611bc484611356565b826040516020016110549190614699565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61137f565b611c0b33610a9d565b6040516355ee627560e01b81526001600160c01b03198416600482015261108e9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8c9190614494565b83604051602001610ed591906144ad565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611d02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d269190614302565b15611d3057505050565b60ff80841660009081526002602090815260408083208685168452825280832085851684529091529020541661108e57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d57565b611d9733610a9d565b61108e611da584606e612292565b83604051602001610ed591906146c9565b611dbf33610a9d565b610ab9611dcb83611356565b8260405160200161105491906147f3565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611123565b600080516020614b14833981519152546001600160a01b031690565b6000611e4f6114bc565b6001600160a01b031663d39e604360786112e8565b611e6d33610a9d565b61108e611e7b846078612292565b83604051602001610ed59190614934565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611edf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113519190614984565b611f0c33610a9d565b610ab9610ab3836078612292565b611f2333610a9d565b610ab9610ab383606e612292565b6000611f3b6114bc565b6001600160a01b031663d39e604360d36112e8565b611f5933610a9d565b610ab9611f6783608c612292565b8260405160200161105491906145ac565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffc9190614494565b9392505050565b61200c33610a9d565b610ab961201a836078612292565b826040516020016110549190614934565b61203433610a9d565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561207c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a0919061458f565b6001600160a01b0316146120f65760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610d57565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6121206122f3565b612129826123a9565b6121328161242d565b61213a611093565b610ab963a444b9bb60e01b610ef0565b6000600080516020614af483398151915261176f565b61216933610a9d565b610ab9610ab383611bd5565b600061217f6114bc565b6001600160a01b031663d39e604360dc6112e8565b600080516020614b148339815191526000806121cf6121b1611e29565b87306121c1600460008a8c6149a1565b6121ca916149cb565b612598565b91509150816118a05763ffffffff81161561226f57825460ff60a01b1916600160a01b1783556121fd611e29565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161222c939291906149fb565b600060405180830381600087803b15801561224657600080fd5b505af115801561225a573d6000803e3d6000fd5b5050845460ff60a01b19168555506118a09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d57565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611fbb565b610ab982826126a4565b61108e8383836129c8565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661233c57604051631afcd79f60e31b815260040160405180910390fd5b565b610ab98282612e70565b600080516020614b1483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6123b16122f3565b6001600160a01b0381166123d8576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b6124216122f3565b61242a81613285565b50565b600080516020614af483398151915280546001600160a01b03161561247357805460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610d57565b6001600160a01b03821661249a5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b6000036124d05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610d57565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612547575060408051601f3d908101601f1916820190925261254491810190614302565b60015b61256f5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610d57565b8061108e5760405163fdeac91f60e01b81526001600160a01b0384166004820152602401610d57565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516126079190614a3b565b600060405180830381855afa9150503d8060008114612642576040519150601f19603f3d011682016040523d82523d6000602084013e612647565b606091505b50915091508115612699576040815110612679578080602001905181019061266f9190614a57565b9094509250612699565b602081511061269957808060200190518101906126969190614302565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156126f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271a9190614302565b6127665760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610d57565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156127d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f69190614302565b6128425760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610d57565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166128864390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293c9190614984565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561298c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129b09190614a86565b87868632876040516118979796959493929190614aa3565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612a1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3e9190614302565b612a8a5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610d57565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612af6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1a9190614302565b612b665760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610d57565b6000858152600360205260409020600101612b8185826143d5565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612bc64390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612c58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7c9190614984565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cf09190614a86565b8786863287604051612d089796959493929190614aa3565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612d82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da69190614984565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1a9190614a86565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ec3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ee79190614984565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f609190614302565b612fac5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610d57565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613015573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130399190614302565b6130855760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610d57565b3343600061309285611ddc565b61309d5760646130b3565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260036020526040902090915060010161313d87826143d5565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156131b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131d49190614984565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132489190614a86565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001612e5f565b61328d6122f3565b61242a81612348565b6000602082840312156132a857600080fd5b81356001600160e01b031981168114611ffc57600080fd5b6000602082840312156132d257600080fd5b5035919050565b60ff8116811461242a57600080fd5b6000602082840312156132fa57600080fd5b8135611ffc816132d9565b6001600160601b038116811461242a57600080fd5b803561332581613305565b919050565b6000806040838503121561333d57600080fd5b823561334881613305565b91506020830135613358816132d9565b809150509250929050565b60005b8381101561337e578181015183820152602001613366565b50506000910152565b6000815180845261339f816020860160208601613363565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161341c60c08401826001600160a01b03169052565b5060c083015160e080840152613436610100840182613387565b949350505050565b63ffffffff8116811461242a57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561348857613488613450565b60405290565b604080519081016001600160401b038111828210171561348857613488613450565b60405161012081016001600160401b038111828210171561348857613488613450565b60405161016081016001600160401b038111828210171561348857613488613450565b60405161018081016001600160401b038111828210171561348857613488613450565b60405161020081016001600160401b038111828210171561348857613488613450565b600082601f83011261354d57600080fd5b81356001600160401b038082111561356757613567613450565b604051601f8301601f19908116603f0116810190828211818310171561358f5761358f613450565b816040528381528660208588010111156135a857600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff8116811461332557600080fd5b6000608082840312156135ef57600080fd5b6135f7613466565b905081356136048161343e565b81526020828101359082015260408201356001600160401b0381111561362957600080fd5b6136358482850161353c565b604083015250613647606083016135c8565b606082015292915050565b6000806000806080858703121561366857600080fd5b843561367381613305565b935060208501356136838161343e565b925060408501356001600160401b0381111561369e57600080fd5b6136aa878288016135dd565b92505060608501356136bb816132d9565b939692955090935050565b6001600160a01b038116811461242a57600080fd5b8035613325816136c6565b801515811461242a57600080fd5b8035613325816136e6565b60008060008060008060c0878903121561371857600080fd5b8635613723816136c6565b9550602087013561373381613305565b94506040870135613743816132d9565b93506060870135613753816136e6565b92506080870135613763816136c6565b915060a08701356001600160401b0381111561377e57600080fd5b61378a89828a0161353c565b9150509295509295509295565b6001600160c01b03198116811461242a57600080fd5b803561332581613797565b6000604082840312156137ca57600080fd5b6137d261348e565b905081356137df81613305565b815260208201356001600160401b038111156137fa57600080fd5b6138068482850161353c565b60208301525092915050565b6000806040838503121561382557600080fd5b823561383081613797565b915060208301356001600160401b0381111561384b57600080fd5b613857858286016137b8565b9150509250929050565b60008060006060848603121561387657600080fd5b833561388181613305565b925060208401356138918161343e565b915060408401356001600160401b038111156138ac57600080fd5b6138b8868287016135dd565b9150509250925092565b6000604082840312156138d457600080fd5b6138dc61348e565b9050813581526020820135602082015292915050565b6000610140828403121561390557600080fd5b61390d6134b0565b90506139188261331a565b815261392783602084016138c2565b602082015260608201356001600160401b0381111561394557600080fd5b6139518482850161353c565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c082015261010061398d8184016135c8565b60e083015261399f61012084016135c8565b9082015292915050565b6000806000606084860312156139be57600080fd5b83356139c981613305565b925060208401356001600160401b038111156139e457600080fd5b6139f0868287016138f2565b9250506040840135613a01816132d9565b809150509250925092565b600060208284031215613a1e57600080fd5b8135611ffc816136c6565b600060208284031215613a3b57600080fd5b8135611ffc81613305565b602081526000611ffc6020830184613387565b60006101c08284031215613a6c57600080fd5b613a746134d3565b9050613a7f8261331a565b8152613a8d602083016136db565b6020820152613a9e604083016136f4565b6040820152613aaf606083016136f4565b6060820152613ac0608083016136f4565b608082015260a082013560a082015260c082013560c0820152613ae68360e084016138c2565b60e0820152610120613afa848285016138c2565b610100830152613b0e8461016085016138c2565b90820152613b1f6101a083016136db565b61014082015292915050565b60008060006102008486031215613b4157600080fd5b8335613b4c81613305565b9250613b5b8560208601613a59565b91506101e0840135613a01816132d9565b60008060408385031215613b7f57600080fd5b8235613b8a81613305565b915060208301356001600160401b03811115613ba557600080fd5b613857858286016138f2565b600060808284031215613bc357600080fd5b613bcb613466565b9050813581526020820135602082015260408201356001600160401b0381111561362957600080fd5b60008060008060808587031215613c0a57600080fd5b8435613c1581613305565b93506020850135613c258161343e565b925060408501356001600160401b03811115613c4057600080fd5b6136aa87828801613bb1565b60008060408385031215613c5f57600080fd5b823561334881613797565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152613cc6602082018351613c6a565b6000602083015160c08084015261343660e0840182613387565b60006102408284031215613cf357600080fd5b613cfb6134f6565b9050613d06826136db565b8152613d14602083016136db565b6020820152613d256040830161331a565b6040820152613d366060830161331a565b6060820152613d4883608084016138c2565b6080820152613d5a8360c084016138c2565b60a0820152610100613d6e848285016138c2565b60c0830152610140613d82858286016138c2565b60e0840152613d958561018086016138c2565b82840152613da7856101c086016138c2565b610120840152613dba61020085016136f4565b9083015250613dcc61022083016136db565b61016082015292915050565b6000806102608385031215613dec57600080fd5b8235613df781613305565b9150613e068460208501613ce0565b90509250929050565b60008060008060808587031215613e2557600080fd5b8435613e30816136c6565b93506020850135613e40816136c6565b92506040850135613e5081613305565b915060608501356136bb816136c6565b803561ffff8116811461332557600080fd5b60006102008284031215613e8557600080fd5b613e8d613519565b9050613e988261331a565b8152613ea66020830161331a565b6020820152613eb7604083016137ad565b6040820152613ec8606083016137ad565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115613f1157600080fd5b613f1d8683870161353c565b83850152610120925082850135915080821115613f3957600080fd5b50613f468582860161353c565b828401525050610140613f5a818401613e60565b90820152610160613f6c838201613e60565b9082015261018082810135908201526101a0613f898184016135c8565b908201526101c0613f9b8382016135c8565b908201526101e061399f8382016135c8565b600080600060608486031215613fc257600080fd5b8335613fcd81613305565b925060208401356001600160401b03811115613fe857600080fd5b6139f086828701613e72565b60008060006060848603121561400957600080fd5b833561401481613305565b925060208401356140248161343e565b915060408401356001600160401b0381111561403f57600080fd5b6138b886828701613bb1565b60a081016111648284613c6a565b60008060006060848603121561406e57600080fd5b833561407981613797565b925060208401356001600160401b0381111561409457600080fd5b6139f0868287016137b8565b6000806000606084860312156140b557600080fd5b83356140c0816132d9565b925060208401356140d0816132d9565b91506040840135613a01816132d9565b600080600061028084860312156140f657600080fd5b833561410181613305565b92506141108560208601613ce0565b9150610260840135613a01816132d9565b6000806040838503121561413457600080fd5b823561413f81613305565b915060208301356001600160401b0381111561415a57600080fd5b61385785828601613e72565b600060a0828403121561417857600080fd5b614180613466565b9050813561418d81613305565b8152602082013561419d816136c6565b60208201526141af83604084016138c2565b60408201526080820135613647816136c6565b600080600060e084860312156141d757600080fd5b83356141e281613305565b92506141f18560208601614166565b915060c0840135613a01816132d9565b6000806101e0838503121561421557600080fd5b823561422081613305565b9150613e068460208501613a59565b60ff198116811461242a57600080fd5b6000806040838503121561425257600080fd5b823561425d816132d9565b915060208301356133588161422f565b60008060c0838503121561428057600080fd5b823561428b81613305565b9150613e068460208501614166565b600080604083850312156142ad57600080fd5b82356142b8816136c6565b91506020830135613358816136c6565b600181811c908216806142dc57607f821691505b6020821081036142fc57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561431457600080fd5b8151611ffc816136e6565b60006020828403121561433157600080fd5b8151611ffc81613305565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261437260a0840182613387565b905064ffffffffff60608501511660808401528091505092915050565b601f82111561108e57600081815260208120601f850160051c810160208610156143b65750805b601f850160051c820191505b818110156118a0578281556001016143c2565b81516001600160401b038111156143ee576143ee613450565b614402816143fc84546142c8565b8461438f565b602080601f831160018114614437576000841561441f5750858301515b600019600386901b1c1916600185901b1785556118a0565b600085815260208120601f198616915b8281101561446657888601518255948401946001909101908401614447565b50858210156144845787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156144a657600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526134366060840182613387565b602081526144f56020820183516001600160601b03169052565b60006020830151614513604084018280518252602090810151910152565b506040830151610140806080850152614530610160850183613387565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e0870151915061457861012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6000602082840312156145a157600080fd5b8151611ffc816136c6565b81516001600160601b031681526101c0810160208301516145d860208401826001600160a01b03169052565b5060408301516145ec604084018215159052565b506060830151614600606084018215159052565b506080830151614614608084018215159052565b5060a083015160a083015260c083015160c083015260e083015161464560e084018280518252602090810151910152565b506101008301516101206146658185018380518252602090810151910152565b840151805161016085015260200151610180840152506101408301516001600160a01b0381166101a08401525b5092915050565b602081528151602082015260208201516040820152600060408301516080606084015261437260a0840182613387565b81516001600160a01b03168152610240810160208301516146f560208401826001600160a01b03169052565b50604083015161471060408401826001600160601b03169052565b50606083015161472b60608401826001600160601b03169052565b506080830151614748608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061477e8185018380518252602090810151910152565b60e0850151915061014061479e8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152614692565b6020815261480d6020820183516001600160601b03169052565b6000602083015161482960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526148a1610220860184613387565b9250808601519050610140601f1986850301818701526148c18483613387565b9350808701519150506101606148dc8187018361ffff169052565b86015190506101806148f38682018361ffff169052565b8601516101a08681019190915286015190506101c061491a8187018364ffffffffff169052565b86015190506101e06145788682018364ffffffffff169052565b81516001600160601b031681526020808301516001600160a01b03908116828401526040808501518051918501919091529091015160608084019190915290920151909116608082015260a00190565b60006020828403121561499657600080fd5b8151611ffc816132d9565b600080858511156149b157600080fd5b838611156149be57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156149f35780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251614a4d818460208701613363565b9190910192915050565b60008060408385031215614a6a57600080fd5b8251614a75816136e6565b60208401519092506133588161343e565b600060208284031215614a9857600080fd5b8151611ffc8161422f565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220c490be398def762d0be13471125ab3eeb2f935c4d300ec7e65840f9a8b10d77f64736f6c63430008140033",
2899
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061046a5760003560e01c8063893d20e81161024c578063bf7e214f11610146578063e8951ee6116100c3578063f7c34ee011610087578063f7c34ee014610a62578063f8b648ac14610604578063fb2cb10114610a75578063fe1f18d614610a7d578063fed3d63f14610a9057600080fd5b8063e8951ee614610560578063e9e96c70146109eb578063f48016ce14610a29578063f651dcac14610a3c578063f7bc431c14610a4f57600080fd5b8063d2f21a291161010a578063d2f21a29146109aa578063d5b221bd1461057b578063dee32623146109bd578063e1033e7d146109d0578063e3aa7f05146109d857600080fd5b8063bf7e214f1461097f578063c2f1a2d21461057b578063ca600b1c14610987578063ccdcd37f1461098f578063cde749f4146109a257600080fd5b80639df0280b116101d4578063a9cea14211610198578063a9cea14214610931578063ada9652e14610944578063b68ec14614610604578063bc8d400014610959578063bf1db3f91461096c57600080fd5b80639df0280b14610560578063a13df2ab14610847578063a5961b4c1461085a578063a76ee0181461090b578063a89896751461091e57600080fd5b80638fb360371161021b5780638fb36037146107da57806391ff6eaa146107fb578063976b0a771461080e5780639a960d52146108215780639d7421f41461083457600080fd5b8063893d20e81461079f5780638c5f36bb146107a75780638dc77f42146105605780638eaa6ac0146107ba57600080fd5b80633fc5ab98116103685780636071a68e116102e557806375c82776116102a957806375c82776146107665780637a4158021461057b5780637a9e5e4b146107795780637cef48421461078c57806382f65adb1461060457600080fd5b80636071a68e146106fa57806361f5f4201461070d578063644c45e01461071e5780636b9bf08b1461075657806375b238fc1461075e57600080fd5b806354f6127f1161032c57806354f6127f146106b6578063588cd281146106d65780635ab1bd53146106e95780635d4345cc146105605780635dfa73db146106f157600080fd5b80633fc5ab981461067557806340529b0f14610560578063422c9d00146106885780634288121d1461069b578063468a1867146106a357600080fd5b80631eff4b22116103f657806333bb0a97116103ba57806333bb0a971461060457806336fc697e1461061757806337f135d71461061f57806338a699a41461063c5780633ca7c02a1461064f57600080fd5b80631eff4b221461058e578063214cdb80146105c35780632781d443146105d657806327bb7a33146105de5780632f61088a146105f157600080fd5b80630f526f7d1161043d5780630f526f7d146105365780630fec111c1461054b57806310203d2c14610560578063138461e0146105735780631c45fe7a1461057b57600080fd5b806301ffc9a71461046f57806302cd3071146104b157806309648a9d146104d65780630d35818114610510575b600080fd5b61049c61047d366004613296565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6005546001600160a01b03165b6040516001600160a01b0390911681526020016104a8565b6104fe6104e43660046132c0565b600090815260036020526040902054610100900460ff1690565b60405160ff90911681526020016104a8565b6104fe61051e3660046132e8565b60ff9081166000908152600160205260409020541690565b61054961054436600461332a565b610a98565b005b610553610abd565b6040516104a891906133b3565b61054961056e36600461332a565b610c6c565b610549610c81565b610549610589366004613652565b610eaf565b6105b57f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b6040519081526020016104a8565b6105496105d1366004613296565b610ef0565b6105b5600381565b6105496105ec3660046136ff565b610f1d565b6105496105ff366004613812565b610fb9565b610549610612366004613861565b611068565b610549611093565b610627600081565b60405163ffffffff90911681526020016104a8565b61049c61064a3660046132c0565b6110d9565b61065d6001600160401b0381565b6040516001600160401b0390911681526020016104a8565b6105496106833660046139a9565b61116a565b610549610696366004613a0c565b611190565b6104be6112cd565b6105b56106b1366004613a29565b611356565b6106c96106c43660046132c0565b6113ef565b6040516104a89190613a46565b6105496106e4366004613b2b565b611494565b6104be6114bc565b61065d61271081565b610549610708366004613b6c565b6114d8565b6006546001600160a01b03166104be565b600080516020614af483398151915254600160a01b90046001600160601b03166040516001600160601b0390911681526020016104a8565b6104be6114fe565b61065d600081565b610549610774366004613bf4565b61151d565b610549610787366004613a0c565b611543565b61054961079a366004613c4c565b6115c6565b6104be611650565b6105496107b5366004613a0c565b611781565b6107cd6107c83660046132c0565b6118a8565b6040516104a89190613cb4565b6107e26119e9565b6040516001600160e01b031990911681526020016104a8565b610549610809366004613dd8565b611a21565b61054961081c366004613e0f565b611a49565b61054961082f366004613fad565b611b89565b610549610842366004613ff4565b611baf565b6105b5610855366004613a29565b611bd5565b6108fe6108683660046132c0565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260036020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b6040516104a8919061404b565b610549610919366004614059565b611c02565b61054961092c3660046140a0565b611c9d565b61054961093f3660046140e0565b611d8e565b6105b5600080516020614af483398151915281565b610549610967366004614121565b611db6565b61049c61097a3660046132e8565b611ddc565b6104be611e29565b6104be611e45565b61054961099d3660046141c2565b611e64565b6104fe611e8c565b6105496109b836600461332a565b611f03565b6105496109cb36600461332a565b611f1a565b6104be611f31565b6105496109e6366004614201565b611f50565b61049c6109f93660046140a0565b60ff9283166000908152600260209081526040808320948616835293815283822092851682529190915220541690565b6105b5610a3736600461423f565b611f78565b610549610a4a36600461426d565b612003565b610549610a5d366004613a0c565b61202b565b610549610a7036600461429a565b612118565b6104be61214a565b610549610a8b36600461332a565b612160565b6104be612175565b610aa5335b600036612194565b610ab9610ab383608c612292565b826122de565b5050565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa3006040805160808101825282546001600160601b038116825260ff600160601b820481166020840152600160681b90910416151591810191909152600182018054919291606084019190610b68906142c8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b94906142c8565b8015610be15780601f10610bb657610100808354040283529160200191610be1565b820191906000526020600020905b815481529060010190602001808311610bc457829003601f168201915b50505050508152505090506040518060e00160405280610bff600090565b6001600160601b0316815260200182600001516001600160601b03168152602001826020015160ff168152602001826040015115158152602001306001600160a01b03168152602001610c5061214a565b6001600160a01b03168152602001826060015181525091505090565b610c7533610a9d565b610ab9610ab383611356565b6000600080516020614af483398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015610cf6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1a9190614302565b15610d605780546040516316322c0f60e31b81526001600160a01b0382166004820152600160a01b9091046001600160601b031660248201526044015b60405180910390fd5b80546001600160a01b0316610d885760405163cf29926160e01b815260040160405180910390fd5b805460405163c3c5a54760e01b81523060048201819052916001600160a01b03169063c3c5a54790602401602060405180830381865afa158015610dd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df49190614302565b610e1c576040516372657a5160e01b81526001600160a01b0382166004820152602401610d57565b8154604051636939560f60e11b81526001600160a01b0383811660048301529091169063d272ac1e90602401602060405180830381865afa158015610e65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e89919061431f565b82546001600160601b0391909116600160a01b026001600160a01b039091161790915550565b610eb833610a9d565b610eea610ec485611356565b83604051602001610ed5919061433c565b604051602081830303815290604052836122e8565b50505050565b610ef86122f3565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610f256122f3565b610f2f8287612118565b60007f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b86151502178155905060018101610f9f83826143d5565b50610fb06303fb044760e21b610ef0565b50505050505050565b610fc233610a9d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ab99073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561101f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110439190614494565b8260405160200161105491906144ad565b60405160208183030381529060405261233e565b61107133610a9d565b61108e61107d84611356565b82604051602001611054919061433c565b505050565b61109b6122f3565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b60008181526003602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af4158015611140573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111649190614302565b92915050565b61117333610a9d565b61108e61117f84611bd5565b83604051602001610ed591906144db565b61119933610a9d565b6006546001600160a01b0316156111e95760405162461bcd60e51b8152602060048201526014602482015273109d5b991b1953585b9859d95c881a5cc81cd95d60621b6044820152606401610d57565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611231573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611255919061458f565b6001600160a01b0316146112ab5760405162461bcd60e51b815260206004820152601f60248201527f42756e646c654d616e6167657220696e7374616e6365206d69736d61746368006044820152606401610d57565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60006112d76114bc565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa15801561132d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611351919061458f565b905090565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660d35b6040516001600160e01b031960e085901b1681526001600160601b03909216600483015260ff166024820152604401602060405180830381865af41580156113cb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111649190614494565b600081815260036020526040902060010180546060919061140f906142c8565b80601f016020809104026020016040519081016040528092919081815260200182805461143b906142c8565b80156114885780601f1061145d57610100808354040283529160200191611488565b820191906000526020600020905b81548152906001019060200180831161146b57829003601f168201915b50505050509050919050565b61149d33610a9d565b61108e6114ab84608c612292565b83604051602001610ed591906145ac565b600080516020614af4833981519152546001600160a01b031690565b6114e133610a9d565b610ab96114ed83611bd5565b8260405160200161105491906144db565b60006115086114bc565b6001600160a01b031663d39e6043608c6112e8565b61152633610a9d565b610eea61153285611356565b83604051602001610ed59190614699565b3361154c611e29565b6001600160a01b0316816001600160a01b0316146115875760405162d1953b60e31b81526001600160a01b0382166004820152602401610d57565b816001600160a01b03163b6000036115bd576040516361798f2f60e11b81526001600160a01b0383166004820152602401610d57565b610ab982612348565b6115cf33610a9d565b6040516355ee627560e01b81526001600160c01b031983166004820152610ab99073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af415801561162c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ab39190614494565b600080600080516020614af483398151915280546040516330b8415f60e01b8152600160a01b9091046001600160601b0316600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af41580156116c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116ea9190614302565b1561176f578054604051631c5da14d60e11b8152600160a01b82046001600160601b031660048201526001600160a01b03909116906338bb429a90602401602060405180830381865afa158015611745573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611769919061458f565b91505090565b600101546001600160a01b0316919050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156117c65750825b90506000826001600160401b031660011480156117e25750303b155b9050811580156117f0575080155b1561180e5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561183857845460ff60401b1916600160401b1785555b611841866123a9565b611849611093565b61185963a444b9bb60e01b610ef0565b83156118a057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b505050505050565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260036020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c08201529283526001810180549192840191611960906142c8565b80601f016020809104026020016040519081016040528092919081815260200182805461198c906142c8565b80156119d95780601f106119ae576101008083540402835291602001916119d9565b820191906000526020600020905b8154815290600101906020018083116119bc57829003601f168201915b5050505050815250509050919050565b600080516020614b14833981519152805460009190600160a01b900460ff16611a13576000611769565b638fb3603760e01b91505090565b611a2a33610a9d565b610ab9611a3883606e612292565b8260405160200161105491906146c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b0316600081158015611a8e5750825b90506000826001600160401b03166001148015611aaa5750303b155b905081158015611ab8575080155b15611ad65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315611b0057845460ff60401b1916600160401b1785555b611b0989612419565b611b288888604660008a60405180602001604052806000815250610f1d565b611b3863c6b60f2b60e01b610ef0565b8315611b7e57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050505050565b611b9233610a9d565b61108e611b9e84611356565b83604051602001610ed591906147f3565b611bb833610a9d565b61108e611bc484611356565b826040516020016110549190614699565b600073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__633889a4c86001600160601b03841660dc61137f565b611c0b33610a9d565b6040516355ee627560e01b81526001600160c01b03198416600482015261108e9073__$19a201e37be2e25dc57bd4aa563a0edb25$__906355ee627590602401602060405180830381865af4158015611c68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c8c9190614494565b83604051602001610ed591906144ad565b60ff8381166000908152600160205260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015611d02573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d269190614302565b15611d3057505050565b60ff80841660009081526002602090815260408083208685168452825280832085851684529091529020541661108e57604051636bb20ea760e01b815260ff8085166004830152808416602483015282166044820152606401610d57565b611d9733610a9d565b61108e611da584606e612292565b83604051602001610ed591906146c9565b611dbf33610a9d565b610ab9611dcb83611356565b8260405160200161105491906147f3565b60ff81811660009081526001602052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401611123565b600080516020614b14833981519152546001600160a01b031690565b6000611e4f6114bc565b6001600160a01b031663d39e604360786112e8565b611e6d33610a9d565b61108e611e7b846078612292565b83604051602001610ed59190614934565b604051632392b61b60e21b81526003600482015260009073__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af4158015611edf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113519190614984565b611f0c33610a9d565b610ab9610ab3836078612292565b611f2333610a9d565b610ab9610ab383606e612292565b6000611f3b6114bc565b6001600160a01b031663d39e604360d36112e8565b611f5933610a9d565b610ab9611f6783608c612292565b8260405160200161105491906145ac565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce906044015b602060405180830381865af4158015611fd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ffc9190614494565b9392505050565b61200c33610a9d565b610ab961201a836078612292565b826040516020016110549190614934565b61203433610a9d565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa15801561207c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120a0919061458f565b6001600160a01b0316146120f65760405162461bcd60e51b815260206004820181905260248201527f496e7374616e636552656164657220696e7374616e6365206d69736d617463686044820152606401610d57565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6121206122f3565b612129826123a9565b6121328161242d565b61213a611093565b610ab963a444b9bb60e01b610ef0565b6000600080516020614af483398151915261176f565b61216933610a9d565b610ab9610ab383611bd5565b600061217f6114bc565b6001600160a01b031663d39e604360dc6112e8565b600080516020614b148339815191526000806121cf6121b1611e29565b87306121c1600460008a8c6149a1565b6121ca916149cb565b612598565b91509150816118a05763ffffffff81161561226f57825460ff60a01b1916600160a01b1783556121fd611e29565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040161222c939291906149fb565b600060405180830381600087803b15801561224657600080fd5b505af115801561225a573d6000803e3d6000fd5b5050845460ff60a01b19168555506118a09050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401610d57565b604051630711349960e31b81526001600160601b038316600482015260ff8216602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c890604401611fbb565b610ab982826126a4565b61108e8383836129c8565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661233c57604051631afcd79f60e31b815260040160405180910390fd5b565b610ab98282612e70565b600080516020614b1483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6123b16122f3565b6001600160a01b0381166123d8576040516352e2d0c160e01b815260040160405180910390fd5b7f07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f0180546001600160a01b0319166001600160a01b0392909216919091179055565b6124216122f3565b61242a81613285565b50565b600080516020614af483398151915280546001600160a01b03161561247357805460405163fcdbf2d960e01b81526001600160a01b039091166004820152602401610d57565b6001600160a01b03821661249a5760405163f5c4d07d60e01b815260040160405180910390fd5b816001600160a01b03163b6000036124d05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610d57565b80546001600160a01b0319166001600160a01b03831690811782556040516301ffc9a760e01b815263230c0c8160e11b60048201526301ffc9a790602401602060405180830381865afa925050508015612547575060408051601f3d908101601f1916820190925261254491810190614302565b60015b61256f5760405163fdeac91f60e01b81526001600160a01b0383166004820152602401610d57565b8061108e5760405163fdeac91f60e01b81526001600160a01b0384166004820152602401610d57565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516126079190614a3b565b600060405180830381855afa9150503d8060008114612642576040519150601f19603f3d011682016040523d82523d6000602084013e612647565b606091505b50915091508115612699576040815110612679578080602001905181019061266f9190614a57565b9094509250612699565b602081511061269957808060200190518101906126969190614302565b93505b505094509492505050565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156126f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061271a9190614302565b6127665760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e45440000006044820152606401610d57565b600082815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af41580156127d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127f69190614302565b6128425760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e470000000000006044820152606401610d57565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166128864390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018790527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612918573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293c9190614984565b604051630713cfad60e31b81526004810189905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af415801561298c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129b09190614a86565b87868632876040516118979796959493929190614aa3565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612a1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a3e9190614302565b612a8a5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e45440000006044820152606401610d57565b600083815260036020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015612af6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1a9190614302565b612b665760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e470000000000006044820152606401610d57565b6000858152600360205260409020600101612b8185826143d5565b508154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416612bc64390565b845463ffffffff91909116600160b01b0263ffffffff60b01b19909116178455604051634b00e98f60e11b8152600481018890527fe41a93c15e024a0b2371127599959a8e543dd6a8d820238e906c93a3004248fa9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612c58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c7c9190614984565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612ccc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cf09190614a86565b8786863287604051612d089796959493929190614aa3565b60405180910390a1604051634b00e98f60e11b8152600481018890527f7bd0ab7f1746bd20a814d6705a46876c84f1aa2d35c80d8c173e268bd6d4b26c9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612d82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612da69190614984565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015612df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1a9190614a86565b6040805160ff938416815260ff199092166020830152918816918101919091526001600160a01b038416606082015232608082015263ffffffff831660a082015260c0015b60405180910390a150505050505050565b604051634b00e98f60e11b81526004810183905260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af4158015612ec3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ee79190614984565b60405163b2466acf60e01b815260ff8216600482015290915073__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015612f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f609190614302565b612fac5760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e4544000000006044820152606401610d57565b600083815260036020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015613015573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130399190614302565b6130855760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f435245415445440000006044820152606401610d57565b3343600061309285611ddc565b61309d5760646130b3565b60ff808616600090815260016020526040902054165b845460ff87811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b91909102178555600088815260036020526040902090915060010161313d87826143d5565b50604051634b00e98f60e11b8152600481018890527ffcb75eb7b317145f986c763e1a3eab5f9b4dbaf7955504f70f986d799c3ab39d9073__$c8f743efd2b4f0c9300f2558c784479d3e$__90639601d31e90602401602060405180830381865af41580156131b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131d49190614984565b604051630713cfad60e31b8152600481018a905273__$c8f743efd2b4f0c9300f2558c784479d3e$__9063389e7d6890602401602060405180830381865af4158015613224573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132489190614a86565b6040805160ff938416815260ff199092166020830152918416918101919091526001600160a01b038516606082015232608082015260a001612e5f565b61328d6122f3565b61242a81612348565b6000602082840312156132a857600080fd5b81356001600160e01b031981168114611ffc57600080fd5b6000602082840312156132d257600080fd5b5035919050565b60ff8116811461242a57600080fd5b6000602082840312156132fa57600080fd5b8135611ffc816132d9565b6001600160601b038116811461242a57600080fd5b803561332581613305565b919050565b6000806040838503121561333d57600080fd5b823561334881613305565b91506020830135613358816132d9565b809150509250929050565b60005b8381101561337e578181015183820152602001613366565b50506000910152565b6000815180845261339f816020860160208601613363565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a083015161341c60c08401826001600160a01b03169052565b5060c083015160e080840152613436610100840182613387565b949350505050565b63ffffffff8116811461242a57600080fd5b634e487b7160e01b600052604160045260246000fd5b604051608081016001600160401b038111828210171561348857613488613450565b60405290565b604080519081016001600160401b038111828210171561348857613488613450565b60405161012081016001600160401b038111828210171561348857613488613450565b60405161016081016001600160401b038111828210171561348857613488613450565b60405161018081016001600160401b038111828210171561348857613488613450565b60405161020081016001600160401b038111828210171561348857613488613450565b600082601f83011261354d57600080fd5b81356001600160401b038082111561356757613567613450565b604051601f8301601f19908116603f0116810190828211818310171561358f5761358f613450565b816040528381528660208588010111156135a857600080fd5b836020870160208301376000602085830101528094505050505092915050565b803564ffffffffff8116811461332557600080fd5b6000608082840312156135ef57600080fd5b6135f7613466565b905081356136048161343e565b81526020828101359082015260408201356001600160401b0381111561362957600080fd5b6136358482850161353c565b604083015250613647606083016135c8565b606082015292915050565b6000806000806080858703121561366857600080fd5b843561367381613305565b935060208501356136838161343e565b925060408501356001600160401b0381111561369e57600080fd5b6136aa878288016135dd565b92505060608501356136bb816132d9565b939692955090935050565b6001600160a01b038116811461242a57600080fd5b8035613325816136c6565b801515811461242a57600080fd5b8035613325816136e6565b60008060008060008060c0878903121561371857600080fd5b8635613723816136c6565b9550602087013561373381613305565b94506040870135613743816132d9565b93506060870135613753816136e6565b92506080870135613763816136c6565b915060a08701356001600160401b0381111561377e57600080fd5b61378a89828a0161353c565b9150509295509295509295565b6001600160c01b03198116811461242a57600080fd5b803561332581613797565b6000604082840312156137ca57600080fd5b6137d261348e565b905081356137df81613305565b815260208201356001600160401b038111156137fa57600080fd5b6138068482850161353c565b60208301525092915050565b6000806040838503121561382557600080fd5b823561383081613797565b915060208301356001600160401b0381111561384b57600080fd5b613857858286016137b8565b9150509250929050565b60008060006060848603121561387657600080fd5b833561388181613305565b925060208401356138918161343e565b915060408401356001600160401b038111156138ac57600080fd5b6138b8868287016135dd565b9150509250925092565b6000604082840312156138d457600080fd5b6138dc61348e565b9050813581526020820135602082015292915050565b6000610140828403121561390557600080fd5b61390d6134b0565b90506139188261331a565b815261392783602084016138c2565b602082015260608201356001600160401b0381111561394557600080fd5b6139518482850161353c565b6040830152506080820135606082015260a0820135608082015260c082013560a082015260e082013560c082015261010061398d8184016135c8565b60e083015261399f61012084016135c8565b9082015292915050565b6000806000606084860312156139be57600080fd5b83356139c981613305565b925060208401356001600160401b038111156139e457600080fd5b6139f0868287016138f2565b9250506040840135613a01816132d9565b809150509250925092565b600060208284031215613a1e57600080fd5b8135611ffc816136c6565b600060208284031215613a3b57600080fd5b8135611ffc81613305565b602081526000611ffc6020830184613387565b60006101c08284031215613a6c57600080fd5b613a746134d3565b9050613a7f8261331a565b8152613a8d602083016136db565b6020820152613a9e604083016136f4565b6040820152613aaf606083016136f4565b6060820152613ac0608083016136f4565b608082015260a082013560a082015260c082013560c0820152613ae68360e084016138c2565b60e0820152610120613afa848285016138c2565b610100830152613b0e8461016085016138c2565b90820152613b1f6101a083016136db565b61014082015292915050565b60008060006102008486031215613b4157600080fd5b8335613b4c81613305565b9250613b5b8560208601613a59565b91506101e0840135613a01816132d9565b60008060408385031215613b7f57600080fd5b8235613b8a81613305565b915060208301356001600160401b03811115613ba557600080fd5b613857858286016138f2565b600060808284031215613bc357600080fd5b613bcb613466565b9050813581526020820135602082015260408201356001600160401b0381111561362957600080fd5b60008060008060808587031215613c0a57600080fd5b8435613c1581613305565b93506020850135613c258161343e565b925060408501356001600160401b03811115613c4057600080fd5b6136aa87828801613bb1565b60008060408385031215613c5f57600080fd5b823561334881613797565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b60208152613cc6602082018351613c6a565b6000602083015160c08084015261343660e0840182613387565b60006102408284031215613cf357600080fd5b613cfb6134f6565b9050613d06826136db565b8152613d14602083016136db565b6020820152613d256040830161331a565b6040820152613d366060830161331a565b6060820152613d4883608084016138c2565b6080820152613d5a8360c084016138c2565b60a0820152610100613d6e848285016138c2565b60c0830152610140613d82858286016138c2565b60e0840152613d958561018086016138c2565b82840152613da7856101c086016138c2565b610120840152613dba61020085016136f4565b9083015250613dcc61022083016136db565b61016082015292915050565b6000806102608385031215613dec57600080fd5b8235613df781613305565b9150613e068460208501613ce0565b90509250929050565b60008060008060808587031215613e2557600080fd5b8435613e30816136c6565b93506020850135613e40816136c6565b92506040850135613e5081613305565b915060608501356136bb816136c6565b803561ffff8116811461332557600080fd5b60006102008284031215613e8557600080fd5b613e8d613519565b9050613e988261331a565b8152613ea66020830161331a565b6020820152613eb7604083016137ad565b6040820152613ec8606083016137ad565b60608201526080820135608082015260a082013560a082015260c082013560c082015260e082013560e0820152610100808301356001600160401b0380821115613f1157600080fd5b613f1d8683870161353c565b83850152610120925082850135915080821115613f3957600080fd5b50613f468582860161353c565b828401525050610140613f5a818401613e60565b90820152610160613f6c838201613e60565b9082015261018082810135908201526101a0613f898184016135c8565b908201526101c0613f9b8382016135c8565b908201526101e061399f8382016135c8565b600080600060608486031215613fc257600080fd5b8335613fcd81613305565b925060208401356001600160401b03811115613fe857600080fd5b6139f086828701613e72565b60008060006060848603121561400957600080fd5b833561401481613305565b925060208401356140248161343e565b915060408401356001600160401b0381111561403f57600080fd5b6138b886828701613bb1565b60a081016111648284613c6a565b60008060006060848603121561406e57600080fd5b833561407981613797565b925060208401356001600160401b0381111561409457600080fd5b6139f0868287016137b8565b6000806000606084860312156140b557600080fd5b83356140c0816132d9565b925060208401356140d0816132d9565b91506040840135613a01816132d9565b600080600061028084860312156140f657600080fd5b833561410181613305565b92506141108560208601613ce0565b9150610260840135613a01816132d9565b6000806040838503121561413457600080fd5b823561413f81613305565b915060208301356001600160401b0381111561415a57600080fd5b61385785828601613e72565b600060a0828403121561417857600080fd5b614180613466565b9050813561418d81613305565b8152602082013561419d816136c6565b60208201526141af83604084016138c2565b60408201526080820135613647816136c6565b600080600060e084860312156141d757600080fd5b83356141e281613305565b92506141f18560208601614166565b915060c0840135613a01816132d9565b6000806101e0838503121561421557600080fd5b823561422081613305565b9150613e068460208501613a59565b60ff198116811461242a57600080fd5b6000806040838503121561425257600080fd5b823561425d816132d9565b915060208301356133588161422f565b60008060c0838503121561428057600080fd5b823561428b81613305565b9150613e068460208501614166565b600080604083850312156142ad57600080fd5b82356142b8816136c6565b91506020830135613358816136c6565b600181811c908216806142dc57607f821691505b6020821081036142fc57634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561431457600080fd5b8151611ffc816136e6565b60006020828403121561433157600080fd5b8151611ffc81613305565b6020815263ffffffff825116602082015260208201516040820152600060408301516080606084015261437260a0840182613387565b905064ffffffffff60608501511660808401528091505092915050565b601f82111561108e57600081815260208120601f850160051c810160208610156143b65750805b601f850160051c820191505b818110156118a0578281556001016143c2565b81516001600160401b038111156143ee576143ee613450565b614402816143fc84546142c8565b8461438f565b602080601f831160018114614437576000841561441f5750858301515b600019600386901b1c1916600185901b1785556118a0565b600085815260208120601f198616915b8281101561446657888601518255948401946001909101908401614447565b50858210156144845787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156144a657600080fd5b5051919050565b602081526001600160601b038251166020820152600060208301516040808401526134366060840182613387565b602081526144f56020820183516001600160601b03169052565b60006020830151614513604084018280518252602090810151910152565b506040830151610140806080850152614530610160850183613387565b9150606085015160a0850152608085015160c085015260a085015160e085015260c0850151610100818187015260e0870151915061457861012087018364ffffffffff169052565b9095015164ffffffffff1693019290925250919050565b6000602082840312156145a157600080fd5b8151611ffc816136c6565b81516001600160601b031681526101c0810160208301516145d860208401826001600160a01b03169052565b5060408301516145ec604084018215159052565b506060830151614600606084018215159052565b506080830151614614608084018215159052565b5060a083015160a083015260c083015160c083015260e083015161464560e084018280518252602090810151910152565b506101008301516101206146658185018380518252602090810151910152565b840151805161016085015260200151610180840152506101408301516001600160a01b0381166101a08401525b5092915050565b602081528151602082015260208201516040820152600060408301516080606084015261437260a0840182613387565b81516001600160a01b03168152610240810160208301516146f560208401826001600160a01b03169052565b50604083015161471060408401826001600160601b03169052565b50606083015161472b60608401826001600160601b03169052565b506080830151614748608084018280518252602090810151910152565b5060a0830151805160c0840152602081015160e08401525060c083015161010061477e8185018380518252602090810151910152565b60e0850151915061014061479e8186018480518252602090810151910152565b9085015180516101808601526020908101516101a086015261012086015180516101c087015201516101e08501528401511515610200840152506101608301516001600160a01b038116610220840152614692565b6020815261480d6020820183516001600160601b03169052565b6000602083015161482960408401826001600160601b03169052565b5060408301516001600160c01b0319811660608401525060608301516001600160c01b03198116608084015250608083015160a083015260a083015160c083015260c083015160e083015260e083015161010081818501528085015191505061020061012081818601526148a1610220860184613387565b9250808601519050610140601f1986850301818701526148c18483613387565b9350808701519150506101606148dc8187018361ffff169052565b86015190506101806148f38682018361ffff169052565b8601516101a08681019190915286015190506101c061491a8187018364ffffffffff169052565b86015190506101e06145788682018364ffffffffff169052565b81516001600160601b031681526020808301516001600160a01b03908116828401526040808501518051918501919091529091015160608084019190915290920151909116608082015260a00190565b60006020828403121561499657600080fd5b8151611ffc816132d9565b600080858511156149b157600080fd5b838611156149be57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156149f35780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b60008251614a4d818460208701613363565b9190910192915050565b60008060408385031215614a6a57600080fd5b8251614a75816136e6565b60208401519092506133588161343e565b600060208284031215614a9857600080fd5b8151611ffc8161422f565b60ff978816815260ff1996909616602087015293861660408601529190941660608401526001600160a01b03938416608084015290921660a082015263ffffffff9190911660c082015260e0019056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a2646970667358221220c490be398def762d0be13471125ab3eeb2f935c4d300ec7e65840f9a8b10d77f64736f6c63430008140033",
1880
2900
  "linkReferences": {
1881
- "contracts/types/Blocknumber.sol": {
1882
- "BlocknumberLib": [
2901
+ "contracts/types/Key32.sol": {
2902
+ "Key32Lib": [
1883
2903
  {
1884
2904
  "length": 20,
1885
- "start": 3028
2905
+ "start": 9924
1886
2906
  },
1887
2907
  {
1888
2908
  "length": 20,
1889
- "start": 8651
1890
- }
1891
- ]
1892
- },
1893
- "contracts/types/Fee.sol": {
1894
- "FeeLib": [
1895
- {
1896
- "length": 20,
1897
- "start": 12613
2909
+ "start": 12293
1898
2910
  },
1899
2911
  {
1900
2912
  "length": 20,
1901
- "start": 17026
2913
+ "start": 12409
1902
2914
  },
1903
2915
  {
1904
2916
  "length": 20,
1905
- "start": 18566
1906
- }
1907
- ]
1908
- },
1909
- "contracts/types/Key32.sol": {
1910
- "Key32Lib": [
2917
+ "start": 13125
2918
+ },
1911
2919
  {
1912
2920
  "length": 20,
1913
- "start": 32325
2921
+ "start": 13241
1914
2922
  },
1915
2923
  {
1916
2924
  "length": 20,
1917
- "start": 33543
1918
- }
1919
- ]
1920
- },
1921
- "contracts/types/NftId.sol": {
1922
- "NftIdLib": [
2925
+ "start": 13423
2926
+ },
1923
2927
  {
1924
2928
  "length": 20,
1925
- "start": 15249
2929
+ "start": 13539
1926
2930
  },
1927
2931
  {
1928
2932
  "length": 20,
1929
- "start": 15408
2933
+ "start": 13744
1930
2934
  },
1931
2935
  {
1932
2936
  "length": 20,
1933
- "start": 17864
2937
+ "start": 14493
1934
2938
  },
1935
2939
  {
1936
2940
  "length": 20,
1937
- "start": 20381
2941
+ "start": 14609
1938
2942
  }
1939
2943
  ]
1940
2944
  },
1941
- "contracts/types/NftIdSet.sol": {
1942
- "LibNftIdSet": [
1943
- {
1944
- "length": 20,
1945
- "start": 11670
1946
- },
2945
+ "contracts/types/NftId.sol": {
2946
+ "NftIdLib": [
1947
2947
  {
1948
2948
  "length": 20,
1949
- "start": 13414
2949
+ "start": 5091
1950
2950
  },
1951
2951
  {
1952
2952
  "length": 20,
1953
- "start": 13605
2953
+ "start": 6785
1954
2954
  },
1955
2955
  {
1956
2956
  "length": 20,
1957
- "start": 13828
2957
+ "start": 7603
1958
2958
  },
1959
2959
  {
1960
2960
  "length": 20,
1961
- "start": 17718
2961
+ "start": 8960
1962
2962
  },
1963
2963
  {
1964
2964
  "length": 20,
1965
- "start": 18378
2965
+ "start": 10723
1966
2966
  }
1967
2967
  ]
1968
2968
  },
@@ -1970,35 +2970,23 @@
1970
2970
  "ObjectTypeLib": [
1971
2971
  {
1972
2972
  "length": 20,
1973
- "start": 30249
2973
+ "start": 13865
1974
2974
  }
1975
2975
  ]
1976
2976
  },
1977
- "contracts/types/RoleId.sol": {
1978
- "RoleIdLib": [
1979
- {
1980
- "length": 20,
1981
- "start": 2356
1982
- },
1983
- {
1984
- "length": 20,
1985
- "start": 2616
1986
- },
1987
- {
1988
- "length": 20,
1989
- "start": 2705
1990
- },
2977
+ "contracts/types/RiskId.sol": {
2978
+ "RiskIdLib": [
1991
2979
  {
1992
2980
  "length": 20,
1993
- "start": 2797
2981
+ "start": 5900
1994
2982
  },
1995
2983
  {
1996
2984
  "length": 20,
1997
- "start": 14229
2985
+ "start": 7449
1998
2986
  },
1999
2987
  {
2000
2988
  "length": 20,
2001
- "start": 14544
2989
+ "start": 9045
2002
2990
  }
2003
2991
  ]
2004
2992
  },
@@ -2006,101 +2994,89 @@
2006
2994
  "StateIdLib": [
2007
2995
  {
2008
2996
  "length": 20,
2009
- "start": 29908
2997
+ "start": 6188
2010
2998
  },
2011
2999
  {
2012
3000
  "length": 20,
2013
- "start": 30466
3001
+ "start": 9199
2014
3002
  },
2015
3003
  {
2016
3004
  "length": 20,
2017
- "start": 30989
3005
+ "start": 9518
2018
3006
  },
2019
3007
  {
2020
3008
  "length": 20,
2021
- "start": 31720
3009
+ "start": 11747
2022
3010
  },
2023
3011
  {
2024
3012
  "length": 20,
2025
- "start": 31940
3013
+ "start": 11967
2026
3014
  },
2027
3015
  {
2028
3016
  "length": 20,
2029
- "start": 32495
3017
+ "start": 12551
2030
3018
  },
2031
3019
  {
2032
3020
  "length": 20,
2033
- "start": 32764
3021
+ "start": 12771
2034
3022
  },
2035
3023
  {
2036
3024
  "length": 20,
2037
- "start": 32984
2038
- },
2039
- {
2040
- "length": 20,
2041
- "start": 33472
3025
+ "start": 14082
2042
3026
  }
2043
3027
  ]
2044
3028
  },
2045
- "contracts/types/Timestamp.sol": {
2046
- "TimestampLib": [
3029
+ "contracts/types/Version.sol": {
3030
+ "VersionPartLib": [
2047
3031
  {
2048
3032
  "length": 20,
2049
- "start": 8414
3033
+ "start": 9676
2050
3034
  }
2051
3035
  ]
2052
- },
2053
- "contracts/types/UFixed.sol": {
2054
- "UFixedMathLib": [
3036
+ }
3037
+ },
3038
+ "deployedLinkReferences": {
3039
+ "contracts/types/Key32.sol": {
3040
+ "Key32Lib": [
2055
3041
  {
2056
3042
  "length": 20,
2057
- "start": 8788
3043
+ "start": 8093
2058
3044
  },
2059
3045
  {
2060
3046
  "length": 20,
2061
- "start": 14025
2062
- }
2063
- ]
2064
- },
2065
- "contracts/types/Version.sol": {
2066
- "VersionLib": [
3047
+ "start": 10462
3048
+ },
2067
3049
  {
2068
3050
  "length": 20,
2069
- "start": 1922
3051
+ "start": 10578
2070
3052
  },
2071
3053
  {
2072
3054
  "length": 20,
2073
- "start": 2871
3055
+ "start": 11294
2074
3056
  },
2075
3057
  {
2076
3058
  "length": 20,
2077
- "start": 8933
2078
- }
2079
- ]
2080
- }
2081
- },
2082
- "deployedLinkReferences": {
2083
- "contracts/types/Blocknumber.sol": {
2084
- "BlocknumberLib": [
3059
+ "start": 11410
3060
+ },
2085
3061
  {
2086
3062
  "length": 20,
2087
- "start": 4035
2088
- }
2089
- ]
2090
- },
2091
- "contracts/types/Fee.sol": {
2092
- "FeeLib": [
3063
+ "start": 11592
3064
+ },
3065
+ {
3066
+ "length": 20,
3067
+ "start": 11708
3068
+ },
2093
3069
  {
2094
3070
  "length": 20,
2095
- "start": 7997
3071
+ "start": 11913
2096
3072
  },
2097
3073
  {
2098
3074
  "length": 20,
2099
- "start": 12410
3075
+ "start": 12662
2100
3076
  },
2101
3077
  {
2102
3078
  "length": 20,
2103
- "start": 13950
3079
+ "start": 12778
2104
3080
  }
2105
3081
  ]
2106
3082
  },
@@ -2108,87 +3084,91 @@
2108
3084
  "NftIdLib": [
2109
3085
  {
2110
3086
  "length": 20,
2111
- "start": 10633
3087
+ "start": 3260
2112
3088
  },
2113
3089
  {
2114
3090
  "length": 20,
2115
- "start": 10792
3091
+ "start": 4954
2116
3092
  },
2117
3093
  {
2118
3094
  "length": 20,
2119
- "start": 13248
3095
+ "start": 5772
2120
3096
  },
2121
3097
  {
2122
3098
  "length": 20,
2123
- "start": 15765
3099
+ "start": 7129
3100
+ },
3101
+ {
3102
+ "length": 20,
3103
+ "start": 8892
3104
+ }
3105
+ ]
3106
+ },
3107
+ "contracts/types/ObjectType.sol": {
3108
+ "ObjectTypeLib": [
3109
+ {
3110
+ "length": 20,
3111
+ "start": 12034
2124
3112
  }
2125
3113
  ]
2126
3114
  },
2127
- "contracts/types/NftIdSet.sol": {
2128
- "LibNftIdSet": [
3115
+ "contracts/types/RiskId.sol": {
3116
+ "RiskIdLib": [
2129
3117
  {
2130
3118
  "length": 20,
2131
- "start": 7054
3119
+ "start": 4069
2132
3120
  },
2133
3121
  {
2134
3122
  "length": 20,
2135
- "start": 8798
3123
+ "start": 5618
2136
3124
  },
2137
3125
  {
2138
3126
  "length": 20,
2139
- "start": 8989
2140
- },
3127
+ "start": 7214
3128
+ }
3129
+ ]
3130
+ },
3131
+ "contracts/types/StateId.sol": {
3132
+ "StateIdLib": [
2141
3133
  {
2142
3134
  "length": 20,
2143
- "start": 9212
3135
+ "start": 4357
2144
3136
  },
2145
3137
  {
2146
3138
  "length": 20,
2147
- "start": 13102
3139
+ "start": 7368
2148
3140
  },
2149
3141
  {
2150
3142
  "length": 20,
2151
- "start": 13762
2152
- }
2153
- ]
2154
- },
2155
- "contracts/types/RoleId.sol": {
2156
- "RoleIdLib": [
3143
+ "start": 7687
3144
+ },
2157
3145
  {
2158
3146
  "length": 20,
2159
- "start": 9613
3147
+ "start": 9916
2160
3148
  },
2161
3149
  {
2162
3150
  "length": 20,
2163
- "start": 9928
2164
- }
2165
- ]
2166
- },
2167
- "contracts/types/Timestamp.sol": {
2168
- "TimestampLib": [
3151
+ "start": 10136
3152
+ },
2169
3153
  {
2170
3154
  "length": 20,
2171
- "start": 3798
2172
- }
2173
- ]
2174
- },
2175
- "contracts/types/UFixed.sol": {
2176
- "UFixedMathLib": [
3155
+ "start": 10720
3156
+ },
2177
3157
  {
2178
3158
  "length": 20,
2179
- "start": 4172
3159
+ "start": 10940
2180
3160
  },
2181
3161
  {
2182
3162
  "length": 20,
2183
- "start": 9409
3163
+ "start": 12251
2184
3164
  }
2185
3165
  ]
2186
3166
  },
2187
3167
  "contracts/types/Version.sol": {
2188
- "VersionLib": [
3168
+ "VersionPartLib": [
2189
3169
  {
2190
3170
  "length": 20,
2191
- "start": 4317
3171
+ "start": 7845
2192
3172
  }
2193
3173
  ]
2194
3174
  }