@etherisc/gif-next 0.0.2-fe34d97-357 → 0.0.2-fe88ad7-208

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