@etherisc/gif-next 0.0.2-f7be756-963 → 0.0.2-f7eda15-119

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