@etherisc/gif-next 0.0.2-e875d61-189 → 0.0.2-e922e07-736

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