@etherisc/gif-next 0.0.2-e6ad61d-739 → 0.0.2-e9148e0-933

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