@etherisc/gif-next 0.0.2-f79a517-071 → 0.0.2-f7a5beb-202

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