@etherisc/gif-next 0.0.2-ce2fc91-485 → 0.0.2-ce3fd5e-324

Sign up to get free protection for your applications and to get access to all the features.
Files changed (550) hide show
  1. package/README.md +249 -39
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1376 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1556 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +327 -1590
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +616 -0
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +478 -1771
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +979 -0
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +656 -0
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2837 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +190 -0
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +94 -127
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +138 -249
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  46. package/artifacts/contracts/instance/module/{bundle/IBundle.sol → IBundle.sol}/IBundle.json +1 -1
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  48. package/artifacts/contracts/instance/module/{access/IAccess.sol/IAccess.json → IComponents.sol/IComponents.json} +2 -2
  49. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  50. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  51. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  52. package/artifacts/contracts/instance/module/{policy/IPolicy.sol → IPolicy.sol}/IPolicy.json +1 -1
  53. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  54. package/artifacts/contracts/instance/module/{risk/IRisk.sol → IRisk.sol}/IRisk.json +1 -1
  55. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  56. package/artifacts/contracts/instance/{base/ModuleBase.sol/ModuleBase.json → module/ISetup.sol/ISetup.json} +2 -2
  57. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  58. package/artifacts/contracts/instance/module/{treasury/ITreasury.sol → ITreasury.sol}/ITreasury.json +1 -1
  59. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  60. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1288 -0
  61. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  63. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  64. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +735 -0
  65. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  66. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1095 -0
  67. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  68. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  69. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  70. package/artifacts/contracts/pool/Pool.sol/Pool.json +1407 -0
  71. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  72. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1622 -0
  73. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  74. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  75. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  76. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +918 -0
  77. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  78. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  79. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1376 -0
  81. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  82. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +748 -0
  83. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IApplicationService.sol/IApplicationService.json} +250 -234
  85. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  86. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +743 -0
  87. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  88. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +651 -0
  89. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  90. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +510 -0
  91. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  92. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +861 -0
  93. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  94. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IProductService.sol/IProductService.json} +222 -156
  95. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  96. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1281 -0
  97. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  98. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  99. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  100. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1004 -0
  101. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  103. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  104. package/artifacts/contracts/product/Product.sol/Product.json +1198 -0
  105. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  106. package/artifacts/contracts/product/ProductService.sol/ProductService.json +864 -0
  107. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  108. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  109. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +199 -12
  111. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +485 -34
  113. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  114. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +858 -0
  115. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  116. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  117. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  118. package/artifacts/contracts/registry/Registry.sol/Registry.json +491 -105
  119. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  121. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1150 -0
  123. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +657 -0
  125. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  126. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  127. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  128. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  129. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  130. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  131. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  132. package/artifacts/contracts/shared/Component.sol/Component.json +873 -0
  133. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  134. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +631 -0
  135. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  136. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  137. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  138. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +636 -0
  139. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  140. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
  141. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  142. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  143. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +91 -37
  145. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  146. package/artifacts/contracts/{registry → shared}/IRegistryLinked.sol/IRegistryLinked.json +13 -2
  147. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  148. package/artifacts/contracts/{instance/base/InstanceBase.sol/InstanceBase.json → shared/IService.sol/IService.json} +157 -156
  149. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  150. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +16 -125
  151. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  152. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  153. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  154. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  155. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  156. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  157. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  158. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +245 -27
  159. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  160. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  161. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  162. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +256 -220
  163. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  164. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  165. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  166. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  167. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  168. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +29 -115
  169. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  170. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +523 -0
  171. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  172. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.json +628 -0
  173. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  174. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +767 -0
  175. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  176. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  177. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  178. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  179. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  180. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  181. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  182. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  183. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  185. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  186. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  187. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  188. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  189. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  191. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  192. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  193. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  195. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  197. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  199. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  200. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +86 -0
  201. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  202. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +156 -0
  203. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  204. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  205. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  207. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  208. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +280 -0
  209. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types/ChainId.sol/ChainIdLib.json → type/UFixed.sol/MathLib.json} +4 -4
  211. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  212. package/artifacts/contracts/{types/UFixed.sol/UFixedMathLib.json → type/UFixed.sol/UFixedLib.json} +4 -4
  213. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  214. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  215. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  216. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +49 -0
  217. package/contracts/distribution/Distribution.sol +285 -0
  218. package/contracts/distribution/DistributionService.sol +349 -0
  219. package/contracts/distribution/DistributionServiceManager.sol +51 -0
  220. package/contracts/distribution/IDistributionComponent.sol +71 -0
  221. package/contracts/distribution/IDistributionService.sol +87 -0
  222. package/contracts/instance/BundleManager.sol +126 -0
  223. package/contracts/instance/IInstance.sol +67 -42
  224. package/contracts/instance/IInstanceService.sol +73 -0
  225. package/contracts/instance/Instance.sol +213 -52
  226. package/contracts/instance/InstanceAccessManager.sol +543 -0
  227. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  228. package/contracts/instance/InstanceReader.sol +368 -0
  229. package/contracts/instance/InstanceService.sol +308 -0
  230. package/contracts/instance/InstanceServiceManager.sol +54 -0
  231. package/contracts/instance/InstanceStore.sol +211 -0
  232. package/contracts/instance/base/Cloneable.sol +51 -0
  233. package/contracts/instance/base/IKeyValueStore.sol +22 -18
  234. package/contracts/instance/base/ILifecycle.sol +4 -4
  235. package/contracts/instance/base/KeyValueStore.sol +65 -53
  236. package/contracts/instance/base/Lifecycle.sol +42 -17
  237. package/contracts/instance/base/ObjectManager.sol +82 -0
  238. package/contracts/instance/module/IAccess.sol +54 -0
  239. package/contracts/instance/module/IBundle.sol +23 -0
  240. package/contracts/instance/module/IComponents.sol +41 -0
  241. package/contracts/instance/module/IDistribution.sol +42 -0
  242. package/contracts/instance/module/IPolicy.sol +77 -0
  243. package/contracts/instance/module/IRisk.sol +11 -0
  244. package/contracts/instance/module/ISetup.sol +33 -0
  245. package/contracts/instance/module/ITreasury.sol +23 -0
  246. package/contracts/pool/BundleService.sol +382 -0
  247. package/contracts/pool/BundleServiceManager.sol +51 -0
  248. package/contracts/pool/IBundleService.sol +118 -0
  249. package/contracts/pool/IPoolComponent.sol +114 -0
  250. package/contracts/pool/IPoolService.sol +114 -0
  251. package/contracts/pool/Pool.sol +302 -0
  252. package/contracts/pool/PoolService.sol +403 -0
  253. package/contracts/pool/PoolServiceManager.sol +51 -0
  254. package/contracts/product/ApplicationService.sol +186 -0
  255. package/contracts/product/ApplicationServiceManager.sol +35 -0
  256. package/contracts/product/ClaimService.sol +437 -0
  257. package/contracts/product/ClaimServiceManager.sol +35 -0
  258. package/contracts/product/IApplicationService.sol +62 -0
  259. package/contracts/product/IClaimService.sol +90 -0
  260. package/contracts/product/IPolicyService.sol +80 -0
  261. package/contracts/product/IPricingService.sol +37 -0
  262. package/contracts/product/IProductComponent.sol +41 -0
  263. package/contracts/product/IProductService.sol +40 -0
  264. package/contracts/product/PolicyService.sol +376 -0
  265. package/contracts/product/PolicyServiceManager.sol +54 -0
  266. package/contracts/product/PricingService.sol +275 -0
  267. package/contracts/product/PricingServiceManager.sol +51 -0
  268. package/contracts/product/Product.sol +375 -0
  269. package/contracts/product/ProductService.sol +210 -0
  270. package/contracts/product/ProductServiceManager.sol +54 -0
  271. package/contracts/registry/ChainNft.sol +87 -36
  272. package/contracts/registry/IRegistry.sol +71 -27
  273. package/contracts/registry/IRegistryService.sol +66 -0
  274. package/contracts/registry/ITransferInterceptor.sol +7 -0
  275. package/contracts/registry/Registry.sol +372 -286
  276. package/contracts/registry/RegistryAccessManager.sol +216 -0
  277. package/contracts/registry/RegistryService.sol +285 -0
  278. package/contracts/registry/RegistryServiceManager.sol +60 -0
  279. package/contracts/registry/ReleaseManager.sol +328 -0
  280. package/contracts/registry/TokenRegistry.sol +116 -0
  281. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  282. package/contracts/shared/Component.sol +271 -0
  283. package/contracts/shared/ComponentService.sol +150 -0
  284. package/contracts/shared/ERC165.sol +14 -8
  285. package/contracts/shared/IComponent.sol +90 -0
  286. package/contracts/shared/INftOwnable.sol +23 -0
  287. package/contracts/shared/IPolicyHolder.sol +40 -0
  288. package/contracts/shared/IRegisterable.sol +10 -19
  289. package/contracts/shared/IRegistryLinked.sol +11 -0
  290. package/contracts/shared/IService.sol +18 -0
  291. package/contracts/shared/IVersionable.sol +38 -37
  292. package/contracts/shared/NftOwnable.sol +118 -0
  293. package/contracts/shared/PolicyHolder.sol +94 -0
  294. package/contracts/shared/ProxyManager.sol +169 -0
  295. package/contracts/shared/Registerable.sol +54 -65
  296. package/contracts/shared/RegistryLinked.sol +43 -0
  297. package/contracts/shared/Service.sol +72 -0
  298. package/contracts/shared/TokenHandler.sol +35 -0
  299. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  300. package/contracts/shared/Versionable.sol +38 -68
  301. package/contracts/staking/IStakingService.sol +102 -0
  302. package/contracts/staking/StakeingServiceManager.sol +37 -0
  303. package/contracts/staking/StakingService.sol +166 -0
  304. package/contracts/type/Amount.sol +109 -0
  305. package/contracts/{types → type}/Blocknumber.sol +1 -0
  306. package/contracts/type/ClaimId.sol +75 -0
  307. package/contracts/type/DistributorType.sol +55 -0
  308. package/contracts/type/Fee.sol +65 -0
  309. package/contracts/{types → type}/Key32.sol +8 -3
  310. package/contracts/{types → type}/NftId.sol +8 -0
  311. package/contracts/type/NftIdSet.sol +62 -0
  312. package/contracts/{types → type}/ObjectType.sol +55 -12
  313. package/contracts/type/PayoutId.sol +82 -0
  314. package/contracts/type/Referral.sol +89 -0
  315. package/contracts/type/RiskId.sol +43 -0
  316. package/contracts/type/RoleId.sol +132 -0
  317. package/contracts/type/Seconds.sol +54 -0
  318. package/contracts/{types → type}/StateId.sol +12 -3
  319. package/contracts/{types → type}/Timestamp.sol +22 -13
  320. package/contracts/{types → type}/UFixed.sol +129 -12
  321. package/contracts/{types → type}/Version.sol +14 -1
  322. package/package.json +6 -5
  323. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  324. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -174
  325. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  326. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -174
  327. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  328. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -356
  329. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  330. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -279
  331. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  332. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -387
  333. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  334. package/artifacts/contracts/components/Product.sol/Product.json +0 -305
  335. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  337. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  339. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  341. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  343. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  345. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  347. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  349. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  351. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  353. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  355. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  357. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  359. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  361. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  363. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  365. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  367. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  369. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +0 -4
  370. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.json +0 -24
  371. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  372. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +0 -300
  373. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  374. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -63
  375. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  376. package/artifacts/contracts/instance/base/IService.sol/IService.json +0 -300
  377. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  378. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +0 -4
  379. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  380. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +0 -300
  381. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  382. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  383. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  384. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  385. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  386. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +0 -4
  387. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +0 -296
  388. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +0 -4
  389. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +0 -4
  390. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +0 -296
  391. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/module/compensation/CompensationModule.sol/CompensationModule.json +0 -10
  393. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.dbg.json +0 -4
  394. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensation.json +0 -10
  395. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/module/compensation/ICompensation.sol/ICompensationModule.json +0 -10
  397. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  398. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +0 -241
  399. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +0 -4
  400. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.json +0 -10
  401. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.json +0 -241
  403. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  404. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -271
  406. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  407. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -271
  408. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  409. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.json +0 -10
  410. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  411. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +0 -149
  412. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  413. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +0 -149
  414. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +0 -4
  415. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +0 -4
  416. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +0 -10
  417. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +0 -4
  418. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +0 -10
  419. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  420. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  421. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +0 -533
  422. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  423. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +0 -76
  424. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  425. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +0 -533
  426. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  427. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -507
  428. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  429. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -364
  430. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  431. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  432. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  433. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -471
  434. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  435. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -673
  436. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  437. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  438. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  439. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  440. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  441. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  442. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +0 -4
  443. package/artifacts/contracts/test/TestPool.sol/TestPool.json +0 -387
  444. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +0 -4
  445. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +0 -393
  446. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  447. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -137
  448. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  449. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  450. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  451. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -379
  452. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  453. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -338
  454. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  455. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  456. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  457. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -206
  458. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  459. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -338
  460. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  461. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  462. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  463. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  464. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -218
  465. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  466. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -111
  467. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  468. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  469. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  470. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  471. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  472. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  473. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -30
  474. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  475. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  476. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -236
  477. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  478. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  479. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -139
  480. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  481. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  482. package/contracts/components/BaseComponent.sol +0 -88
  483. package/contracts/components/IBaseComponent.sol +0 -19
  484. package/contracts/components/IPoolComponent.sol +0 -57
  485. package/contracts/components/IProductComponent.sol +0 -19
  486. package/contracts/components/Pool.sol +0 -174
  487. package/contracts/components/Product.sol +0 -117
  488. package/contracts/experiment/errors/Require.sol +0 -38
  489. package/contracts/experiment/errors/Revert.sol +0 -44
  490. package/contracts/experiment/inheritance/A.sol +0 -53
  491. package/contracts/experiment/inheritance/B.sol +0 -28
  492. package/contracts/experiment/inheritance/C.sol +0 -34
  493. package/contracts/experiment/inheritance/IA.sol +0 -13
  494. package/contracts/experiment/inheritance/IB.sol +0 -10
  495. package/contracts/experiment/inheritance/IC.sol +0 -12
  496. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  497. package/contracts/experiment/statemachine/ISM.sol +0 -25
  498. package/contracts/experiment/statemachine/README.md +0 -112
  499. package/contracts/experiment/statemachine/SM.sol +0 -57
  500. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  501. package/contracts/experiment/types/TypeA.sol +0 -47
  502. package/contracts/experiment/types/TypeB.sol +0 -29
  503. package/contracts/instance/IInstanceLinked.sol +0 -8
  504. package/contracts/instance/base/ComponentServiceBase.sol +0 -42
  505. package/contracts/instance/base/IInstanceBase.sol +0 -14
  506. package/contracts/instance/base/IService.sol +0 -15
  507. package/contracts/instance/base/InstanceBase.sol +0 -80
  508. package/contracts/instance/base/ModuleBase.sol +0 -52
  509. package/contracts/instance/base/ServiceBase.sol +0 -37
  510. package/contracts/instance/module/access/Access.sol +0 -149
  511. package/contracts/instance/module/access/IAccess.sol +0 -53
  512. package/contracts/instance/module/bundle/BundleModule.sol +0 -136
  513. package/contracts/instance/module/bundle/IBundle.sol +0 -58
  514. package/contracts/instance/module/compensation/CompensationModule.sol +0 -8
  515. package/contracts/instance/module/compensation/ICompensation.sol +0 -10
  516. package/contracts/instance/module/component/ComponentModule.sol +0 -104
  517. package/contracts/instance/module/component/IComponent.sol +0 -63
  518. package/contracts/instance/module/policy/IPolicy.sol +0 -61
  519. package/contracts/instance/module/policy/PolicyModule.sol +0 -77
  520. package/contracts/instance/module/pool/IPoolModule.sol +0 -41
  521. package/contracts/instance/module/pool/PoolModule.sol +0 -87
  522. package/contracts/instance/module/risk/IRisk.sol +0 -10
  523. package/contracts/instance/module/risk/RiskModule.sol +0 -8
  524. package/contracts/instance/module/treasury/ITreasury.sol +0 -103
  525. package/contracts/instance/module/treasury/TokenHandler.sol +0 -48
  526. package/contracts/instance/module/treasury/TreasuryModule.sol +0 -152
  527. package/contracts/instance/service/ComponentOwnerService.sol +0 -176
  528. package/contracts/instance/service/IComponentOwnerService.sol +0 -22
  529. package/contracts/instance/service/IPoolService.sol +0 -30
  530. package/contracts/instance/service/IProductService.sol +0 -58
  531. package/contracts/instance/service/PoolService.sol +0 -123
  532. package/contracts/instance/service/ProductService.sol +0 -354
  533. package/contracts/registry/IChainNft.sol +0 -21
  534. package/contracts/registry/IRegistryLinked.sol +0 -8
  535. package/contracts/shared/IOwnable.sol +0 -6
  536. package/contracts/test/TestFee.sol +0 -25
  537. package/contracts/test/TestPool.sol +0 -22
  538. package/contracts/test/TestProduct.sol +0 -44
  539. package/contracts/test/TestRegisterable.sol +0 -19
  540. package/contracts/test/TestRoleId.sol +0 -14
  541. package/contracts/test/TestService.sol +0 -32
  542. package/contracts/test/TestToken.sol +0 -26
  543. package/contracts/test/TestVersion.sol +0 -44
  544. package/contracts/test/TestVersionable.sol +0 -17
  545. package/contracts/test/Usdc.sol +0 -26
  546. package/contracts/types/ChainId.sol +0 -38
  547. package/contracts/types/Fee.sol +0 -51
  548. package/contracts/types/NftIdSet.sol +0 -60
  549. package/contracts/types/RoleId.sol +0 -38
  550. /package/contracts/{types → type}/AddressSet.sol +0 -0
@@ -7,314 +7,225 @@
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"
74
- },
75
- {
76
- "indexed": false,
77
- "internalType": "bool",
78
- "name": "active",
79
- "type": "bool"
47
+ "internalType": "address",
48
+ "name": "instanceBundleManager",
49
+ "type": "address"
80
50
  }
81
51
  ],
82
- "name": "LogAccessRoleStateSet",
83
- "type": "event"
52
+ "name": "ErrorInstanceBundleManagerAlreadySet",
53
+ "type": "error"
84
54
  },
85
55
  {
86
- "anonymous": false,
87
56
  "inputs": [
88
57
  {
89
- "indexed": false,
90
- "internalType": "Version",
91
- "name": "version",
92
- "type": "uint24"
93
- },
94
- {
95
- "indexed": false,
96
58
  "internalType": "address",
97
- "name": "implementation",
59
+ "name": "instanceAuthority",
98
60
  "type": "address"
99
- },
61
+ }
62
+ ],
63
+ "name": "ErrorInstanceBundleManagerAuthorityMismatch",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
100
68
  {
101
- "indexed": false,
102
69
  "internalType": "address",
103
- "name": "activatedBy",
70
+ "name": "instance",
104
71
  "type": "address"
105
72
  }
106
73
  ],
107
- "name": "LogVersionableActivated",
108
- "type": "event"
74
+ "name": "ErrorInstanceBundleManagerInstanceMismatch",
75
+ "type": "error"
109
76
  },
110
77
  {
111
78
  "inputs": [
112
79
  {
113
80
  "internalType": "address",
114
- "name": "implementation",
81
+ "name": "instanceAccessManager",
115
82
  "type": "address"
116
- },
83
+ }
84
+ ],
85
+ "name": "ErrorInstanceInstanceAccessManagerAlreadySet",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
117
90
  {
118
91
  "internalType": "address",
119
- "name": "activatedBy",
92
+ "name": "instanceAuthority",
120
93
  "type": "address"
121
94
  }
122
95
  ],
123
- "name": "activate",
124
- "outputs": [],
125
- "stateMutability": "nonpayable",
126
- "type": "function"
96
+ "name": "ErrorInstanceInstanceAccessManagerAuthorityMismatch",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorInstanceInstanceAccessManagerZero",
102
+ "type": "error"
127
103
  },
128
104
  {
129
105
  "inputs": [
130
106
  {
131
- "internalType": "NftId",
132
- "name": "bundleNftId",
133
- "type": "uint96"
134
- },
135
- {
136
- "internalType": "NftId",
137
- "name": "poolNftId",
138
- "type": "uint96"
139
- },
140
- {
141
- "internalType": "uint256",
142
- "name": "",
143
- "type": "uint256"
107
+ "internalType": "address",
108
+ "name": "instanceAuthority",
109
+ "type": "address"
144
110
  }
145
111
  ],
146
- "name": "addBundleToPool",
147
- "outputs": [],
148
- "stateMutability": "nonpayable",
149
- "type": "function"
112
+ "name": "ErrorInstanceInstanceReaderInstanceMismatch",
113
+ "type": "error"
150
114
  },
151
115
  {
152
116
  "inputs": [
153
117
  {
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"
118
+ "internalType": "address",
119
+ "name": "instanceStore",
120
+ "type": "address"
174
121
  }
175
122
  ],
176
- "name": "calculateFeeAmount",
177
- "outputs": [
178
- {
179
- "internalType": "uint256",
180
- "name": "feeAmount",
181
- "type": "uint256"
182
- },
123
+ "name": "ErrorInstanceInstanceStoreAlreadySet",
124
+ "type": "error"
125
+ },
126
+ {
127
+ "inputs": [
183
128
  {
184
- "internalType": "uint256",
185
- "name": "netAmount",
186
- "type": "uint256"
129
+ "internalType": "address",
130
+ "name": "instanceAuthority",
131
+ "type": "address"
187
132
  }
188
133
  ],
189
- "stateMutability": "pure",
190
- "type": "function"
134
+ "name": "ErrorInstanceInstanceStoreAuthorityMismatch",
135
+ "type": "error"
191
136
  },
192
137
  {
193
138
  "inputs": [
194
139
  {
195
140
  "internalType": "NftId",
196
- "name": "bundleNftId",
197
- "type": "uint96"
198
- },
199
- {
200
- "internalType": "NftId",
201
- "name": "policyNftId",
141
+ "name": "nftId",
202
142
  "type": "uint96"
203
- },
204
- {
205
- "internalType": "uint256",
206
- "name": "collateralAmount",
207
- "type": "uint256"
208
143
  }
209
144
  ],
210
- "name": "collateralizePolicy",
211
- "outputs": [],
212
- "stateMutability": "nonpayable",
213
- "type": "function"
145
+ "name": "ErrorNftOwnableAlreadyLinked",
146
+ "type": "error"
214
147
  },
215
148
  {
216
149
  "inputs": [
217
150
  {
218
- "internalType": "NftId",
219
- "name": "productNftId",
220
- "type": "uint96"
221
- },
222
- {
223
- "internalType": "NftId",
224
- "name": "policyNftId",
225
- "type": "uint96"
226
- },
227
- {
228
- "internalType": "uint256",
229
- "name": "sumInsuredAmount",
230
- "type": "uint256"
231
- },
232
- {
233
- "internalType": "uint256",
234
- "name": "premiumAmount",
235
- "type": "uint256"
236
- },
237
- {
238
- "internalType": "uint256",
239
- "name": "lifetime",
240
- "type": "uint256"
241
- },
242
- {
243
- "internalType": "NftId",
244
- "name": "bundleNftId",
245
- "type": "uint96"
151
+ "internalType": "address",
152
+ "name": "contractAddress",
153
+ "type": "address"
246
154
  }
247
155
  ],
248
- "name": "createApplication",
249
- "outputs": [],
250
- "stateMutability": "nonpayable",
251
- "type": "function"
156
+ "name": "ErrorNftOwnableContractNotRegistered",
157
+ "type": "error"
158
+ },
159
+ {
160
+ "inputs": [],
161
+ "name": "ErrorNftOwnableInitialOwnerZero",
162
+ "type": "error"
252
163
  },
253
164
  {
254
165
  "inputs": [
255
166
  {
256
- "internalType": "NftId",
257
- "name": "bundleNftId",
258
- "type": "uint96"
259
- },
260
- {
261
- "internalType": "NftId",
262
- "name": "poolNftId",
263
- "type": "uint96"
264
- },
265
- {
266
- "internalType": "uint256",
267
- "name": "amount",
268
- "type": "uint256"
269
- },
270
- {
271
- "internalType": "uint256",
272
- "name": "lifetime",
273
- "type": "uint256"
274
- },
275
- {
276
- "internalType": "bytes",
277
- "name": "filter",
278
- "type": "bytes"
167
+ "internalType": "address",
168
+ "name": "account",
169
+ "type": "address"
279
170
  }
280
171
  ],
281
- "name": "createBundleInfo",
282
- "outputs": [],
283
- "stateMutability": "nonpayable",
284
- "type": "function"
172
+ "name": "ErrorNftOwnableNotOwner",
173
+ "type": "error"
285
174
  },
286
175
  {
287
176
  "inputs": [
288
177
  {
289
- "internalType": "string",
290
- "name": "roleName",
291
- "type": "string"
178
+ "internalType": "address",
179
+ "name": "registryAddress",
180
+ "type": "address"
292
181
  }
293
182
  ],
294
- "name": "createRole",
295
- "outputs": [
183
+ "name": "ErrorNotRegistry",
184
+ "type": "error"
185
+ },
186
+ {
187
+ "inputs": [],
188
+ "name": "InvalidInitialization",
189
+ "type": "error"
190
+ },
191
+ {
192
+ "inputs": [],
193
+ "name": "NotInitializing",
194
+ "type": "error"
195
+ },
196
+ {
197
+ "anonymous": false,
198
+ "inputs": [
296
199
  {
297
- "internalType": "RoleId",
298
- "name": "role",
299
- "type": "bytes8"
200
+ "indexed": false,
201
+ "internalType": "address",
202
+ "name": "authority",
203
+ "type": "address"
300
204
  }
301
205
  ],
302
- "stateMutability": "nonpayable",
303
- "type": "function"
206
+ "name": "AuthorityUpdated",
207
+ "type": "event"
304
208
  },
305
209
  {
210
+ "anonymous": false,
306
211
  "inputs": [
307
212
  {
308
- "internalType": "NftId",
309
- "name": "poolNftId",
310
- "type": "uint96"
213
+ "indexed": false,
214
+ "internalType": "uint64",
215
+ "name": "version",
216
+ "type": "uint64"
311
217
  }
312
218
  ],
313
- "name": "getBundleCount",
219
+ "name": "Initialized",
220
+ "type": "event"
221
+ },
222
+ {
223
+ "inputs": [],
224
+ "name": "GIF_MAJOR_VERSION",
314
225
  "outputs": [
315
226
  {
316
227
  "internalType": "uint256",
317
- "name": "bundleCount",
228
+ "name": "",
318
229
  "type": "uint256"
319
230
  }
320
231
  ],
@@ -322,85 +233,26 @@
322
233
  "type": "function"
323
234
  },
324
235
  {
325
- "inputs": [
326
- {
327
- "internalType": "NftId",
328
- "name": "bundleNftId",
329
- "type": "uint96"
330
- }
331
- ],
332
- "name": "getBundleInfo",
236
+ "inputs": [],
237
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
333
238
  "outputs": [
334
239
  {
335
- "components": [
336
- {
337
- "internalType": "NftId",
338
- "name": "nftId",
339
- "type": "uint96"
340
- },
341
- {
342
- "internalType": "NftId",
343
- "name": "poolNftId",
344
- "type": "uint96"
345
- },
346
- {
347
- "internalType": "bytes",
348
- "name": "filter",
349
- "type": "bytes"
350
- },
351
- {
352
- "internalType": "uint256",
353
- "name": "capitalAmount",
354
- "type": "uint256"
355
- },
356
- {
357
- "internalType": "uint256",
358
- "name": "lockedAmount",
359
- "type": "uint256"
360
- },
361
- {
362
- "internalType": "uint256",
363
- "name": "balanceAmount",
364
- "type": "uint256"
365
- },
366
- {
367
- "internalType": "Timestamp",
368
- "name": "expiredAt",
369
- "type": "uint40"
370
- },
371
- {
372
- "internalType": "Timestamp",
373
- "name": "closedAt",
374
- "type": "uint40"
375
- }
376
- ],
377
- "internalType": "struct IBundle.BundleInfo",
378
- "name": "bundleInfo",
379
- "type": "tuple"
240
+ "internalType": "bytes32",
241
+ "name": "",
242
+ "type": "bytes32"
380
243
  }
381
244
  ],
382
245
  "stateMutability": "view",
383
246
  "type": "function"
384
247
  },
385
248
  {
386
- "inputs": [
387
- {
388
- "internalType": "NftId",
389
- "name": "poolNftId",
390
- "type": "uint96"
391
- },
392
- {
393
- "internalType": "uint256",
394
- "name": "index",
395
- "type": "uint256"
396
- }
397
- ],
398
- "name": "getBundleNftId",
249
+ "inputs": [],
250
+ "name": "REGISTERABLE_LOCATION_V1",
399
251
  "outputs": [
400
252
  {
401
- "internalType": "NftId",
402
- "name": "bundleNftId",
403
- "type": "uint96"
253
+ "internalType": "bytes32",
254
+ "name": "",
255
+ "type": "bytes32"
404
256
  }
405
257
  ],
406
258
  "stateMutability": "view",
@@ -408,12 +260,12 @@
408
260
  },
409
261
  {
410
262
  "inputs": [],
411
- "name": "getComponentCount",
263
+ "name": "authority",
412
264
  "outputs": [
413
265
  {
414
- "internalType": "uint256",
415
- "name": "numberOfCompnents",
416
- "type": "uint256"
266
+ "internalType": "address",
267
+ "name": "",
268
+ "type": "address"
417
269
  }
418
270
  ],
419
271
  "stateMutability": "view",
@@ -422,60 +274,57 @@
422
274
  {
423
275
  "inputs": [
424
276
  {
425
- "internalType": "uint256",
426
- "name": "idx",
427
- "type": "uint256"
277
+ "internalType": "string",
278
+ "name": "roleName",
279
+ "type": "string"
280
+ },
281
+ {
282
+ "internalType": "string",
283
+ "name": "adminName",
284
+ "type": "string"
428
285
  }
429
286
  ],
430
- "name": "getComponentId",
287
+ "name": "createRole",
431
288
  "outputs": [
432
289
  {
433
- "internalType": "NftId",
434
- "name": "componentNftId",
435
- "type": "uint96"
290
+ "internalType": "RoleId",
291
+ "name": "roleId",
292
+ "type": "uint64"
293
+ },
294
+ {
295
+ "internalType": "RoleId",
296
+ "name": "admin",
297
+ "type": "uint64"
436
298
  }
437
299
  ],
438
- "stateMutability": "view",
300
+ "stateMutability": "nonpayable",
439
301
  "type": "function"
440
302
  },
441
303
  {
442
304
  "inputs": [
443
305
  {
444
- "internalType": "NftId",
445
- "name": "nftId",
446
- "type": "uint96"
447
- }
448
- ],
449
- "name": "getComponentInfo",
450
- "outputs": [
306
+ "internalType": "address",
307
+ "name": "target",
308
+ "type": "address"
309
+ },
451
310
  {
452
- "components": [
453
- {
454
- "internalType": "NftId",
455
- "name": "nftId",
456
- "type": "uint96"
457
- },
458
- {
459
- "internalType": "contract IERC20Metadata",
460
- "name": "token",
461
- "type": "address"
462
- }
463
- ],
464
- "internalType": "struct IComponent.ComponentInfo",
465
- "name": "info",
466
- "type": "tuple"
311
+ "internalType": "string",
312
+ "name": "name",
313
+ "type": "string"
467
314
  }
468
315
  ],
469
- "stateMutability": "view",
316
+ "name": "createTarget",
317
+ "outputs": [],
318
+ "stateMutability": "nonpayable",
470
319
  "type": "function"
471
320
  },
472
321
  {
473
322
  "inputs": [],
474
- "name": "getComponentOwnerService",
323
+ "name": "getBundleManager",
475
324
  "outputs": [
476
325
  {
477
- "internalType": "contract IComponentOwnerService",
478
- "name": "service",
326
+ "internalType": "contract BundleManager",
327
+ "name": "",
479
328
  "type": "address"
480
329
  }
481
330
  ],
@@ -483,19 +332,13 @@
483
332
  "type": "function"
484
333
  },
485
334
  {
486
- "inputs": [
487
- {
488
- "internalType": "NftId",
489
- "name": "nftId",
490
- "type": "uint96"
491
- }
492
- ],
493
- "name": "getComponentState",
335
+ "inputs": [],
336
+ "name": "getBundleService",
494
337
  "outputs": [
495
338
  {
496
- "internalType": "StateId",
497
- "name": "state",
498
- "type": "uint8"
339
+ "internalType": "contract IBundleService",
340
+ "name": "",
341
+ "type": "address"
499
342
  }
500
343
  ],
501
344
  "stateMutability": "view",
@@ -503,60 +346,74 @@
503
346
  },
504
347
  {
505
348
  "inputs": [],
506
- "name": "getData",
349
+ "name": "getDistributionService",
507
350
  "outputs": [
508
351
  {
509
- "internalType": "bytes",
510
- "name": "data",
511
- "type": "bytes"
352
+ "internalType": "contract IDistributionService",
353
+ "name": "",
354
+ "type": "address"
512
355
  }
513
356
  ],
514
357
  "stateMutability": "view",
515
358
  "type": "function"
516
359
  },
517
360
  {
518
- "inputs": [
519
- {
520
- "internalType": "UFixed",
521
- "name": "fractionalFee",
522
- "type": "uint256"
523
- },
524
- {
525
- "internalType": "uint256",
526
- "name": "fixedFee",
527
- "type": "uint256"
528
- }
529
- ],
530
- "name": "getFee",
361
+ "inputs": [],
362
+ "name": "getInitialInfo",
531
363
  "outputs": [
532
364
  {
533
365
  "components": [
534
366
  {
535
- "internalType": "UFixed",
536
- "name": "fractionalFee",
537
- "type": "uint256"
367
+ "internalType": "NftId",
368
+ "name": "nftId",
369
+ "type": "uint96"
370
+ },
371
+ {
372
+ "internalType": "NftId",
373
+ "name": "parentNftId",
374
+ "type": "uint96"
375
+ },
376
+ {
377
+ "internalType": "ObjectType",
378
+ "name": "objectType",
379
+ "type": "uint8"
380
+ },
381
+ {
382
+ "internalType": "bool",
383
+ "name": "isInterceptor",
384
+ "type": "bool"
385
+ },
386
+ {
387
+ "internalType": "address",
388
+ "name": "objectAddress",
389
+ "type": "address"
390
+ },
391
+ {
392
+ "internalType": "address",
393
+ "name": "initialOwner",
394
+ "type": "address"
538
395
  },
539
396
  {
540
- "internalType": "uint256",
541
- "name": "fixedFee",
542
- "type": "uint256"
397
+ "internalType": "bytes",
398
+ "name": "data",
399
+ "type": "bytes"
543
400
  }
544
401
  ],
545
- "internalType": "struct Fee",
546
- "name": "fee",
402
+ "internalType": "struct IRegistry.ObjectInfo",
403
+ "name": "info",
547
404
  "type": "tuple"
548
405
  }
549
406
  ],
550
- "stateMutability": "pure",
407
+ "stateMutability": "view",
551
408
  "type": "function"
552
409
  },
553
410
  {
554
411
  "inputs": [],
555
- "name": "getKeyValueStore",
412
+ "name": "getInstanceAccessManager",
556
413
  "outputs": [
557
414
  {
558
- "internalType": "contract IKeyValueStore",
559
- "name": "keyValueStore",
415
+ "internalType": "contract InstanceAccessManager",
416
+ "name": "",
560
417
  "type": "address"
561
418
  }
562
419
  ],
@@ -565,12 +422,12 @@
565
422
  },
566
423
  {
567
424
  "inputs": [],
568
- "name": "getNftId",
425
+ "name": "getInstanceReader",
569
426
  "outputs": [
570
427
  {
571
- "internalType": "NftId",
572
- "name": "nftId",
573
- "type": "uint96"
428
+ "internalType": "contract InstanceReader",
429
+ "name": "",
430
+ "type": "address"
574
431
  }
575
432
  ],
576
433
  "stateMutability": "view",
@@ -578,11 +435,11 @@
578
435
  },
579
436
  {
580
437
  "inputs": [],
581
- "name": "getOwner",
438
+ "name": "getInstanceStore",
582
439
  "outputs": [
583
440
  {
584
- "internalType": "address",
585
- "name": "owner",
441
+ "internalType": "contract InstanceStore",
442
+ "name": "",
586
443
  "type": "address"
587
444
  }
588
445
  ],
@@ -591,149 +448,51 @@
591
448
  },
592
449
  {
593
450
  "inputs": [],
594
- "name": "getParentNftId",
451
+ "name": "getMajorVersion",
595
452
  "outputs": [
596
453
  {
597
- "internalType": "NftId",
598
- "name": "nftId",
599
- "type": "uint96"
454
+ "internalType": "VersionPart",
455
+ "name": "majorVersion",
456
+ "type": "uint8"
600
457
  }
601
458
  ],
602
- "stateMutability": "view",
459
+ "stateMutability": "pure",
603
460
  "type": "function"
604
461
  },
605
462
  {
606
- "inputs": [
463
+ "inputs": [],
464
+ "name": "getNftId",
465
+ "outputs": [
607
466
  {
608
467
  "internalType": "NftId",
609
- "name": "nftId",
468
+ "name": "",
610
469
  "type": "uint96"
611
470
  }
612
471
  ],
613
- "name": "getPolicyInfo",
472
+ "stateMutability": "view",
473
+ "type": "function"
474
+ },
475
+ {
476
+ "inputs": [],
477
+ "name": "getOwner",
614
478
  "outputs": [
615
479
  {
616
- "components": [
617
- {
618
- "internalType": "NftId",
619
- "name": "nftId",
620
- "type": "uint96"
621
- },
622
- {
623
- "internalType": "NftId",
624
- "name": "productNftId",
625
- "type": "uint96"
626
- },
627
- {
628
- "internalType": "NftId",
629
- "name": "bundleNftId",
630
- "type": "uint96"
631
- },
632
- {
633
- "internalType": "address",
634
- "name": "beneficiary",
635
- "type": "address"
636
- },
637
- {
638
- "internalType": "StateId",
639
- "name": "state",
640
- "type": "uint8"
641
- },
642
- {
643
- "internalType": "uint256",
644
- "name": "sumInsuredAmount",
645
- "type": "uint256"
646
- },
647
- {
648
- "internalType": "uint256",
649
- "name": "premiumAmount",
650
- "type": "uint256"
651
- },
652
- {
653
- "internalType": "uint256",
654
- "name": "premiumPaidAmount",
655
- "type": "uint256"
656
- },
657
- {
658
- "internalType": "uint256",
659
- "name": "lifetime",
660
- "type": "uint256"
661
- },
662
- {
663
- "internalType": "bytes",
664
- "name": "applicationData",
665
- "type": "bytes"
666
- },
667
- {
668
- "internalType": "bytes",
669
- "name": "policyData",
670
- "type": "bytes"
671
- },
672
- {
673
- "internalType": "Timestamp",
674
- "name": "createdAt",
675
- "type": "uint40"
676
- },
677
- {
678
- "internalType": "Timestamp",
679
- "name": "activatedAt",
680
- "type": "uint40"
681
- },
682
- {
683
- "internalType": "Timestamp",
684
- "name": "expiredAt",
685
- "type": "uint40"
686
- },
687
- {
688
- "internalType": "Timestamp",
689
- "name": "closedAt",
690
- "type": "uint40"
691
- },
692
- {
693
- "internalType": "Blocknumber",
694
- "name": "updatedIn",
695
- "type": "uint32"
696
- }
697
- ],
698
- "internalType": "struct IPolicy.PolicyInfo",
699
- "name": "info",
700
- "type": "tuple"
480
+ "internalType": "address",
481
+ "name": "",
482
+ "type": "address"
701
483
  }
702
484
  ],
703
485
  "stateMutability": "view",
704
486
  "type": "function"
705
487
  },
706
488
  {
707
- "inputs": [
708
- {
709
- "internalType": "NftId",
710
- "name": "nftId",
711
- "type": "uint96"
712
- }
713
- ],
714
- "name": "getPoolInfo",
489
+ "inputs": [],
490
+ "name": "getPolicyService",
715
491
  "outputs": [
716
492
  {
717
- "components": [
718
- {
719
- "internalType": "NftId",
720
- "name": "nftId",
721
- "type": "uint96"
722
- },
723
- {
724
- "internalType": "bool",
725
- "name": "isVerifying",
726
- "type": "bool"
727
- },
728
- {
729
- "internalType": "UFixed",
730
- "name": "collateralizationLevel",
731
- "type": "uint256"
732
- }
733
- ],
734
- "internalType": "struct IPool.PoolInfo",
735
- "name": "info",
736
- "type": "tuple"
493
+ "internalType": "contract IPolicyService",
494
+ "name": "",
495
+ "type": "address"
737
496
  }
738
497
  ],
739
498
  "stateMutability": "view",
@@ -745,7 +504,7 @@
745
504
  "outputs": [
746
505
  {
747
506
  "internalType": "contract IPoolService",
748
- "name": "service",
507
+ "name": "",
749
508
  "type": "address"
750
509
  }
751
510
  ],
@@ -753,65 +512,13 @@
753
512
  "type": "function"
754
513
  },
755
514
  {
756
- "inputs": [
757
- {
758
- "internalType": "NftId",
759
- "name": "poolNftId",
760
- "type": "uint96"
761
- }
762
- ],
763
- "name": "getPoolSetup",
515
+ "inputs": [],
516
+ "name": "getProductService",
764
517
  "outputs": [
765
518
  {
766
- "components": [
767
- {
768
- "internalType": "NftId",
769
- "name": "poolNftId",
770
- "type": "uint96"
771
- },
772
- {
773
- "internalType": "address",
774
- "name": "wallet",
775
- "type": "address"
776
- },
777
- {
778
- "components": [
779
- {
780
- "internalType": "UFixed",
781
- "name": "fractionalFee",
782
- "type": "uint256"
783
- },
784
- {
785
- "internalType": "uint256",
786
- "name": "fixedFee",
787
- "type": "uint256"
788
- }
789
- ],
790
- "internalType": "struct Fee",
791
- "name": "stakingFee",
792
- "type": "tuple"
793
- },
794
- {
795
- "components": [
796
- {
797
- "internalType": "UFixed",
798
- "name": "fractionalFee",
799
- "type": "uint256"
800
- },
801
- {
802
- "internalType": "uint256",
803
- "name": "fixedFee",
804
- "type": "uint256"
805
- }
806
- ],
807
- "internalType": "struct Fee",
808
- "name": "performanceFee",
809
- "type": "tuple"
810
- }
811
- ],
812
- "internalType": "struct ITreasury.PoolSetup",
813
- "name": "setup",
814
- "type": "tuple"
519
+ "internalType": "contract IProductService",
520
+ "name": "",
521
+ "type": "address"
815
522
  }
816
523
  ],
817
524
  "stateMutability": "view",
@@ -819,11 +526,11 @@
819
526
  },
820
527
  {
821
528
  "inputs": [],
822
- "name": "getProductService",
529
+ "name": "getRegistry",
823
530
  "outputs": [
824
531
  {
825
- "internalType": "contract IProductService",
826
- "name": "service",
532
+ "internalType": "contract IRegistry",
533
+ "name": "",
827
534
  "type": "address"
828
535
  }
829
536
  ],
@@ -833,1396 +540,396 @@
833
540
  {
834
541
  "inputs": [
835
542
  {
836
- "internalType": "NftId",
837
- "name": "productNftId",
838
- "type": "uint96"
543
+ "internalType": "RoleId",
544
+ "name": "roleId",
545
+ "type": "uint64"
546
+ },
547
+ {
548
+ "internalType": "address",
549
+ "name": "account",
550
+ "type": "address"
839
551
  }
840
552
  ],
841
- "name": "getProductSetup",
842
- "outputs": [
553
+ "name": "grantRole",
554
+ "outputs": [],
555
+ "stateMutability": "nonpayable",
556
+ "type": "function"
557
+ },
558
+ {
559
+ "inputs": [
843
560
  {
844
- "components": [
845
- {
846
- "internalType": "NftId",
847
- "name": "productNftId",
848
- "type": "uint96"
849
- },
850
- {
851
- "internalType": "NftId",
852
- "name": "distributorNftId",
853
- "type": "uint96"
854
- },
855
- {
856
- "internalType": "NftId",
857
- "name": "poolNftId",
858
- "type": "uint96"
859
- },
860
- {
861
- "internalType": "contract IERC20Metadata",
862
- "name": "token",
863
- "type": "address"
864
- },
865
- {
866
- "internalType": "address",
867
- "name": "wallet",
868
- "type": "address"
869
- },
870
- {
871
- "components": [
872
- {
873
- "internalType": "UFixed",
874
- "name": "fractionalFee",
875
- "type": "uint256"
876
- },
877
- {
878
- "internalType": "uint256",
879
- "name": "fixedFee",
880
- "type": "uint256"
881
- }
882
- ],
883
- "internalType": "struct Fee",
884
- "name": "policyFee",
885
- "type": "tuple"
886
- },
887
- {
888
- "components": [
889
- {
890
- "internalType": "UFixed",
891
- "name": "fractionalFee",
892
- "type": "uint256"
893
- },
894
- {
895
- "internalType": "uint256",
896
- "name": "fixedFee",
897
- "type": "uint256"
898
- }
899
- ],
900
- "internalType": "struct Fee",
901
- "name": "processingFee",
902
- "type": "tuple"
903
- }
904
- ],
905
- "internalType": "struct ITreasury.ProductSetup",
906
- "name": "setup",
907
- "type": "tuple"
561
+ "internalType": "address",
562
+ "name": "authority",
563
+ "type": "address"
564
+ },
565
+ {
566
+ "internalType": "address",
567
+ "name": "registryAddress",
568
+ "type": "address"
569
+ },
570
+ {
571
+ "internalType": "address",
572
+ "name": "initialOwner",
573
+ "type": "address"
908
574
  }
909
575
  ],
910
- "stateMutability": "view",
576
+ "name": "initialize",
577
+ "outputs": [],
578
+ "stateMutability": "nonpayable",
911
579
  "type": "function"
912
580
  },
913
581
  {
914
582
  "inputs": [],
915
- "name": "getRegistry",
916
- "outputs": [
583
+ "name": "initializeERC165",
584
+ "outputs": [],
585
+ "stateMutability": "nonpayable",
586
+ "type": "function"
587
+ },
588
+ {
589
+ "inputs": [
917
590
  {
918
- "internalType": "contract IRegistry",
919
- "name": "registry",
591
+ "internalType": "address",
592
+ "name": "initialOwner",
593
+ "type": "address"
594
+ },
595
+ {
596
+ "internalType": "address",
597
+ "name": "registryAddress",
920
598
  "type": "address"
921
599
  }
922
600
  ],
923
- "stateMutability": "view",
601
+ "name": "initializeNftOwnable",
602
+ "outputs": [],
603
+ "stateMutability": "nonpayable",
924
604
  "type": "function"
925
605
  },
926
606
  {
927
607
  "inputs": [
928
608
  {
929
- "internalType": "uint256",
930
- "name": "idx",
931
- "type": "uint256"
609
+ "internalType": "address",
610
+ "name": "registryAddress",
611
+ "type": "address"
612
+ },
613
+ {
614
+ "internalType": "NftId",
615
+ "name": "parentNftId",
616
+ "type": "uint96"
617
+ },
618
+ {
619
+ "internalType": "ObjectType",
620
+ "name": "objectType",
621
+ "type": "uint8"
622
+ },
623
+ {
624
+ "internalType": "bool",
625
+ "name": "isInterceptor",
626
+ "type": "bool"
627
+ },
628
+ {
629
+ "internalType": "address",
630
+ "name": "initialOwner",
631
+ "type": "address"
632
+ },
633
+ {
634
+ "internalType": "bytes",
635
+ "name": "registryData",
636
+ "type": "bytes"
932
637
  }
933
638
  ],
934
- "name": "getRole",
935
- "outputs": [
639
+ "name": "initializeRegisterable",
640
+ "outputs": [],
641
+ "stateMutability": "nonpayable",
642
+ "type": "function"
643
+ },
644
+ {
645
+ "inputs": [
936
646
  {
937
- "internalType": "RoleId",
938
- "name": "role",
939
- "type": "bytes8"
647
+ "internalType": "address",
648
+ "name": "registryAddress",
649
+ "type": "address"
940
650
  }
941
651
  ],
942
- "stateMutability": "view",
652
+ "name": "initializeRegistryLinked",
653
+ "outputs": [],
654
+ "stateMutability": "nonpayable",
943
655
  "type": "function"
944
656
  },
945
657
  {
946
658
  "inputs": [],
947
- "name": "getRoleCount",
659
+ "name": "isConsumingScheduledOp",
948
660
  "outputs": [
949
661
  {
950
- "internalType": "uint256",
951
- "name": "roles",
952
- "type": "uint256"
662
+ "internalType": "bytes4",
663
+ "name": "",
664
+ "type": "bytes4"
953
665
  }
954
666
  ],
955
667
  "stateMutability": "view",
956
668
  "type": "function"
957
669
  },
958
670
  {
959
- "inputs": [
960
- {
961
- "internalType": "string",
962
- "name": "roleName",
963
- "type": "string"
964
- }
965
- ],
966
- "name": "getRoleId",
967
- "outputs": [
968
- {
969
- "internalType": "RoleId",
970
- "name": "role",
971
- "type": "bytes8"
972
- }
973
- ],
974
- "stateMutability": "pure",
671
+ "inputs": [],
672
+ "name": "linkToRegisteredNftId",
673
+ "outputs": [],
674
+ "stateMutability": "nonpayable",
975
675
  "type": "function"
976
676
  },
977
677
  {
978
678
  "inputs": [
979
679
  {
980
- "internalType": "RoleId",
981
- "name": "role",
982
- "type": "bytes8"
983
- }
984
- ],
985
- "name": "getRoleInfo",
986
- "outputs": [
680
+ "internalType": "address",
681
+ "name": "to",
682
+ "type": "address"
683
+ },
987
684
  {
988
- "components": [
989
- {
990
- "internalType": "RoleId",
991
- "name": "id",
992
- "type": "bytes8"
993
- },
994
- {
995
- "internalType": "string",
996
- "name": "name",
997
- "type": "string"
998
- },
999
- {
1000
- "internalType": "bool",
1001
- "name": "isActive",
1002
- "type": "bool"
1003
- }
1004
- ],
1005
- "internalType": "struct IAccess.RoleInfo",
1006
- "name": "info",
1007
- "type": "tuple"
685
+ "internalType": "uint256",
686
+ "name": "tokenId",
687
+ "type": "uint256"
1008
688
  }
1009
689
  ],
1010
- "stateMutability": "view",
690
+ "name": "nftMint",
691
+ "outputs": [],
692
+ "stateMutability": "nonpayable",
1011
693
  "type": "function"
1012
694
  },
1013
695
  {
1014
696
  "inputs": [
1015
697
  {
1016
- "internalType": "RoleId",
1017
- "name": "role",
1018
- "type": "bytes8"
698
+ "internalType": "address",
699
+ "name": "from",
700
+ "type": "address"
701
+ },
702
+ {
703
+ "internalType": "address",
704
+ "name": "to",
705
+ "type": "address"
1019
706
  },
1020
707
  {
1021
708
  "internalType": "uint256",
1022
- "name": "idx",
709
+ "name": "tokenId",
1023
710
  "type": "uint256"
1024
711
  }
1025
712
  ],
1026
- "name": "getRoleMember",
1027
- "outputs": [
713
+ "name": "nftTransferFrom",
714
+ "outputs": [],
715
+ "stateMutability": "nonpayable",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [
1028
720
  {
1029
- "internalType": "address",
1030
- "name": "roleMembers",
1031
- "type": "address"
721
+ "internalType": "bytes4",
722
+ "name": "interfaceId",
723
+ "type": "bytes4"
1032
724
  }
1033
725
  ],
1034
- "stateMutability": "view",
726
+ "name": "registerInterface",
727
+ "outputs": [],
728
+ "stateMutability": "nonpayable",
1035
729
  "type": "function"
1036
730
  },
1037
731
  {
1038
732
  "inputs": [
1039
733
  {
1040
734
  "internalType": "RoleId",
1041
- "name": "role",
1042
- "type": "bytes8"
1043
- }
1044
- ],
1045
- "name": "getRoleMemberCount",
1046
- "outputs": [
735
+ "name": "roleId",
736
+ "type": "uint64"
737
+ },
1047
738
  {
1048
- "internalType": "uint256",
1049
- "name": "roleMembers",
1050
- "type": "uint256"
739
+ "internalType": "address",
740
+ "name": "account",
741
+ "type": "address"
1051
742
  }
1052
743
  ],
1053
- "stateMutability": "view",
744
+ "name": "revokeRole",
745
+ "outputs": [],
746
+ "stateMutability": "nonpayable",
1054
747
  "type": "function"
1055
748
  },
1056
749
  {
1057
750
  "inputs": [
1058
751
  {
1059
- "internalType": "NftId",
1060
- "name": "componentNftId",
1061
- "type": "uint96"
752
+ "internalType": "address",
753
+ "name": "newAuthority",
754
+ "type": "address"
1062
755
  }
1063
756
  ],
1064
- "name": "getTokenHandler",
1065
- "outputs": [
757
+ "name": "setAuthority",
758
+ "outputs": [],
759
+ "stateMutability": "nonpayable",
760
+ "type": "function"
761
+ },
762
+ {
763
+ "inputs": [
1066
764
  {
1067
- "internalType": "contract TokenHandler",
1068
- "name": "tokenHandler",
765
+ "internalType": "contract BundleManager",
766
+ "name": "bundleManager",
1069
767
  "type": "address"
1070
768
  }
1071
769
  ],
1072
- "stateMutability": "view",
770
+ "name": "setBundleManager",
771
+ "outputs": [],
772
+ "stateMutability": "nonpayable",
1073
773
  "type": "function"
1074
774
  },
1075
775
  {
1076
- "inputs": [],
1077
- "name": "getType",
1078
- "outputs": [
776
+ "inputs": [
1079
777
  {
1080
- "internalType": "ObjectType",
1081
- "name": "objectType",
1082
- "type": "uint8"
778
+ "internalType": "contract InstanceAccessManager",
779
+ "name": "accessManager",
780
+ "type": "address"
1083
781
  }
1084
782
  ],
1085
- "stateMutability": "pure",
783
+ "name": "setInstanceAccessManager",
784
+ "outputs": [],
785
+ "stateMutability": "nonpayable",
1086
786
  "type": "function"
1087
787
  },
1088
788
  {
1089
789
  "inputs": [
1090
790
  {
1091
- "internalType": "uint256",
1092
- "name": "a",
1093
- "type": "uint256"
1094
- },
1095
- {
1096
- "internalType": "int8",
1097
- "name": "exp",
1098
- "type": "int8"
791
+ "internalType": "contract InstanceReader",
792
+ "name": "instanceReader",
793
+ "type": "address"
1099
794
  }
1100
795
  ],
1101
- "name": "getUFixed",
1102
- "outputs": [
796
+ "name": "setInstanceReader",
797
+ "outputs": [],
798
+ "stateMutability": "nonpayable",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [
1103
803
  {
1104
- "internalType": "UFixed",
1105
- "name": "",
1106
- "type": "uint256"
804
+ "internalType": "contract InstanceStore",
805
+ "name": "instanceStore",
806
+ "type": "address"
1107
807
  }
1108
808
  ],
1109
- "stateMutability": "pure",
809
+ "name": "setInstanceStore",
810
+ "outputs": [],
811
+ "stateMutability": "nonpayable",
1110
812
  "type": "function"
1111
813
  },
1112
814
  {
1113
815
  "inputs": [
1114
816
  {
1115
- "internalType": "uint256",
1116
- "name": "a",
1117
- "type": "uint256"
1118
- }
1119
- ],
1120
- "name": "getUFixed",
1121
- "outputs": [
817
+ "internalType": "string",
818
+ "name": "targetName",
819
+ "type": "string"
820
+ },
1122
821
  {
1123
- "internalType": "UFixed",
1124
- "name": "",
1125
- "type": "uint256"
822
+ "internalType": "bytes4[]",
823
+ "name": "selectors",
824
+ "type": "bytes4[]"
825
+ },
826
+ {
827
+ "internalType": "RoleId",
828
+ "name": "roleId",
829
+ "type": "uint64"
1126
830
  }
1127
831
  ],
1128
- "stateMutability": "pure",
832
+ "name": "setTargetFunctionRole",
833
+ "outputs": [],
834
+ "stateMutability": "nonpayable",
1129
835
  "type": "function"
1130
836
  },
1131
837
  {
1132
- "inputs": [],
1133
- "name": "getVersion",
1134
- "outputs": [
838
+ "inputs": [
1135
839
  {
1136
- "internalType": "Version",
1137
- "name": "",
1138
- "type": "uint24"
840
+ "internalType": "address",
841
+ "name": "target",
842
+ "type": "address"
843
+ },
844
+ {
845
+ "internalType": "bool",
846
+ "name": "locked",
847
+ "type": "bool"
1139
848
  }
1140
849
  ],
1141
- "stateMutability": "pure",
850
+ "name": "setTargetLocked",
851
+ "outputs": [],
852
+ "stateMutability": "nonpayable",
1142
853
  "type": "function"
1143
854
  },
1144
855
  {
1145
856
  "inputs": [
1146
857
  {
1147
- "internalType": "uint256",
1148
- "name": "idx",
1149
- "type": "uint256"
858
+ "internalType": "bytes4",
859
+ "name": "interfaceId",
860
+ "type": "bytes4"
1150
861
  }
1151
862
  ],
1152
- "name": "getVersion",
863
+ "name": "supportsInterface",
1153
864
  "outputs": [
1154
865
  {
1155
- "internalType": "Version",
866
+ "internalType": "bool",
1156
867
  "name": "",
1157
- "type": "uint24"
868
+ "type": "bool"
1158
869
  }
1159
870
  ],
1160
871
  "stateMutability": "view",
1161
872
  "type": "function"
1162
- },
1163
- {
1164
- "inputs": [],
1165
- "name": "getVersionCount",
1166
- "outputs": [
1167
- {
1168
- "internalType": "uint256",
1169
- "name": "",
1170
- "type": "uint256"
1171
- }
1172
- ],
1173
- "stateMutability": "view",
1174
- "type": "function"
1175
- },
1176
- {
1177
- "inputs": [
1178
- {
1179
- "internalType": "Version",
1180
- "name": "_version",
1181
- "type": "uint24"
1182
- }
1183
- ],
1184
- "name": "getVersionInfo",
1185
- "outputs": [
1186
- {
1187
- "components": [
1188
- {
1189
- "internalType": "Version",
1190
- "name": "version",
1191
- "type": "uint24"
1192
- },
1193
- {
1194
- "internalType": "address",
1195
- "name": "implementation",
1196
- "type": "address"
1197
- },
1198
- {
1199
- "internalType": "address",
1200
- "name": "activatedBy",
1201
- "type": "address"
1202
- },
1203
- {
1204
- "internalType": "Timestamp",
1205
- "name": "activatedAt",
1206
- "type": "uint40"
1207
- },
1208
- {
1209
- "internalType": "Blocknumber",
1210
- "name": "activatedIn",
1211
- "type": "uint32"
1212
- }
1213
- ],
1214
- "internalType": "struct IVersionable.VersionInfo",
1215
- "name": "",
1216
- "type": "tuple"
1217
- }
1218
- ],
1219
- "stateMutability": "view",
1220
- "type": "function"
1221
- },
1222
- {
1223
- "inputs": [],
1224
- "name": "getZeroFee",
1225
- "outputs": [
1226
- {
1227
- "components": [
1228
- {
1229
- "internalType": "UFixed",
1230
- "name": "fractionalFee",
1231
- "type": "uint256"
1232
- },
1233
- {
1234
- "internalType": "uint256",
1235
- "name": "fixedFee",
1236
- "type": "uint256"
1237
- }
1238
- ],
1239
- "internalType": "struct Fee",
1240
- "name": "fee",
1241
- "type": "tuple"
1242
- }
1243
- ],
1244
- "stateMutability": "pure",
1245
- "type": "function"
1246
- },
1247
- {
1248
- "inputs": [
1249
- {
1250
- "internalType": "RoleId",
1251
- "name": "role",
1252
- "type": "bytes8"
1253
- },
1254
- {
1255
- "internalType": "address",
1256
- "name": "member",
1257
- "type": "address"
1258
- }
1259
- ],
1260
- "name": "grantRole",
1261
- "outputs": [],
1262
- "stateMutability": "nonpayable",
1263
- "type": "function"
1264
- },
1265
- {
1266
- "inputs": [
1267
- {
1268
- "internalType": "RoleId",
1269
- "name": "role",
1270
- "type": "bytes8"
1271
- },
1272
- {
1273
- "internalType": "address",
1274
- "name": "member",
1275
- "type": "address"
1276
- }
1277
- ],
1278
- "name": "hasRole",
1279
- "outputs": [
1280
- {
1281
- "internalType": "bool",
1282
- "name": "",
1283
- "type": "bool"
1284
- }
1285
- ],
1286
- "stateMutability": "view",
1287
- "type": "function"
1288
- },
1289
- {
1290
- "inputs": [
1291
- {
1292
- "internalType": "Version",
1293
- "name": "_version",
1294
- "type": "uint24"
1295
- }
1296
- ],
1297
- "name": "isActivated",
1298
- "outputs": [
1299
- {
1300
- "internalType": "bool",
1301
- "name": "",
1302
- "type": "bool"
1303
- }
1304
- ],
1305
- "stateMutability": "view",
1306
- "type": "function"
1307
- },
1308
- {
1309
- "inputs": [],
1310
- "name": "register",
1311
- "outputs": [
1312
- {
1313
- "internalType": "NftId",
1314
- "name": "nftId",
1315
- "type": "uint96"
1316
- }
1317
- ],
1318
- "stateMutability": "nonpayable",
1319
- "type": "function"
1320
- },
1321
- {
1322
- "inputs": [
1323
- {
1324
- "internalType": "NftId",
1325
- "name": "nftId",
1326
- "type": "uint96"
1327
- },
1328
- {
1329
- "internalType": "ObjectType",
1330
- "name": "",
1331
- "type": "uint8"
1332
- },
1333
- {
1334
- "internalType": "contract IERC20Metadata",
1335
- "name": "token",
1336
- "type": "address"
1337
- }
1338
- ],
1339
- "name": "registerComponent",
1340
- "outputs": [],
1341
- "stateMutability": "nonpayable",
1342
- "type": "function"
1343
- },
1344
- {
1345
- "inputs": [
1346
- {
1347
- "internalType": "NftId",
1348
- "name": "poolNftId",
1349
- "type": "uint96"
1350
- },
1351
- {
1352
- "internalType": "address",
1353
- "name": "wallet",
1354
- "type": "address"
1355
- },
1356
- {
1357
- "components": [
1358
- {
1359
- "internalType": "UFixed",
1360
- "name": "fractionalFee",
1361
- "type": "uint256"
1362
- },
1363
- {
1364
- "internalType": "uint256",
1365
- "name": "fixedFee",
1366
- "type": "uint256"
1367
- }
1368
- ],
1369
- "internalType": "struct Fee",
1370
- "name": "stakingFee",
1371
- "type": "tuple"
1372
- },
1373
- {
1374
- "components": [
1375
- {
1376
- "internalType": "UFixed",
1377
- "name": "fractionalFee",
1378
- "type": "uint256"
1379
- },
1380
- {
1381
- "internalType": "uint256",
1382
- "name": "fixedFee",
1383
- "type": "uint256"
1384
- }
1385
- ],
1386
- "internalType": "struct Fee",
1387
- "name": "performanceFee",
1388
- "type": "tuple"
1389
- }
1390
- ],
1391
- "name": "registerPool",
1392
- "outputs": [],
1393
- "stateMutability": "nonpayable",
1394
- "type": "function"
1395
- },
1396
- {
1397
- "inputs": [
1398
- {
1399
- "internalType": "NftId",
1400
- "name": "nftId",
1401
- "type": "uint96"
1402
- },
1403
- {
1404
- "internalType": "bool",
1405
- "name": "isVerifying",
1406
- "type": "bool"
1407
- },
1408
- {
1409
- "internalType": "UFixed",
1410
- "name": "collateralizationRate",
1411
- "type": "uint256"
1412
- }
1413
- ],
1414
- "name": "registerPool",
1415
- "outputs": [],
1416
- "stateMutability": "nonpayable",
1417
- "type": "function"
1418
- },
1419
- {
1420
- "inputs": [
1421
- {
1422
- "internalType": "NftId",
1423
- "name": "productNftId",
1424
- "type": "uint96"
1425
- },
1426
- {
1427
- "internalType": "NftId",
1428
- "name": "distributorNftId",
1429
- "type": "uint96"
1430
- },
1431
- {
1432
- "internalType": "NftId",
1433
- "name": "poolNftId",
1434
- "type": "uint96"
1435
- },
1436
- {
1437
- "internalType": "contract IERC20Metadata",
1438
- "name": "token",
1439
- "type": "address"
1440
- },
1441
- {
1442
- "internalType": "address",
1443
- "name": "wallet",
1444
- "type": "address"
1445
- },
1446
- {
1447
- "components": [
1448
- {
1449
- "internalType": "UFixed",
1450
- "name": "fractionalFee",
1451
- "type": "uint256"
1452
- },
1453
- {
1454
- "internalType": "uint256",
1455
- "name": "fixedFee",
1456
- "type": "uint256"
1457
- }
1458
- ],
1459
- "internalType": "struct Fee",
1460
- "name": "policyFee",
1461
- "type": "tuple"
1462
- },
1463
- {
1464
- "components": [
1465
- {
1466
- "internalType": "UFixed",
1467
- "name": "fractionalFee",
1468
- "type": "uint256"
1469
- },
1470
- {
1471
- "internalType": "uint256",
1472
- "name": "fixedFee",
1473
- "type": "uint256"
1474
- }
1475
- ],
1476
- "internalType": "struct Fee",
1477
- "name": "processingFee",
1478
- "type": "tuple"
1479
- }
1480
- ],
1481
- "name": "registerProduct",
1482
- "outputs": [],
1483
- "stateMutability": "nonpayable",
1484
- "type": "function"
1485
- },
1486
- {
1487
- "inputs": [
1488
- {
1489
- "internalType": "NftId",
1490
- "name": "bundleNftId",
1491
- "type": "uint96"
1492
- },
1493
- {
1494
- "internalType": "NftId",
1495
- "name": "policyNftId",
1496
- "type": "uint96"
1497
- }
1498
- ],
1499
- "name": "releasePolicy",
1500
- "outputs": [
1501
- {
1502
- "internalType": "uint256",
1503
- "name": "collateralAmount",
1504
- "type": "uint256"
1505
- }
1506
- ],
1507
- "stateMutability": "nonpayable",
1508
- "type": "function"
1509
- },
1510
- {
1511
- "inputs": [
1512
- {
1513
- "internalType": "RoleId",
1514
- "name": "role",
1515
- "type": "bytes8"
1516
- },
1517
- {
1518
- "internalType": "address",
1519
- "name": "member",
1520
- "type": "address"
1521
- }
1522
- ],
1523
- "name": "revokeRole",
1524
- "outputs": [],
1525
- "stateMutability": "nonpayable",
1526
- "type": "function"
1527
- },
1528
- {
1529
- "inputs": [
1530
- {
1531
- "internalType": "RoleId",
1532
- "name": "role",
1533
- "type": "bytes8"
1534
- }
1535
- ],
1536
- "name": "roleExists",
1537
- "outputs": [
1538
- {
1539
- "internalType": "bool",
1540
- "name": "",
1541
- "type": "bool"
1542
- }
1543
- ],
1544
- "stateMutability": "view",
1545
- "type": "function"
1546
- },
1547
- {
1548
- "inputs": [
1549
- {
1550
- "components": [
1551
- {
1552
- "internalType": "NftId",
1553
- "name": "nftId",
1554
- "type": "uint96"
1555
- },
1556
- {
1557
- "internalType": "NftId",
1558
- "name": "poolNftId",
1559
- "type": "uint96"
1560
- },
1561
- {
1562
- "internalType": "bytes",
1563
- "name": "filter",
1564
- "type": "bytes"
1565
- },
1566
- {
1567
- "internalType": "uint256",
1568
- "name": "capitalAmount",
1569
- "type": "uint256"
1570
- },
1571
- {
1572
- "internalType": "uint256",
1573
- "name": "lockedAmount",
1574
- "type": "uint256"
1575
- },
1576
- {
1577
- "internalType": "uint256",
1578
- "name": "balanceAmount",
1579
- "type": "uint256"
1580
- },
1581
- {
1582
- "internalType": "Timestamp",
1583
- "name": "expiredAt",
1584
- "type": "uint40"
1585
- },
1586
- {
1587
- "internalType": "Timestamp",
1588
- "name": "closedAt",
1589
- "type": "uint40"
1590
- }
1591
- ],
1592
- "internalType": "struct IBundle.BundleInfo",
1593
- "name": "bundleInfo",
1594
- "type": "tuple"
1595
- }
1596
- ],
1597
- "name": "setBundleInfo",
1598
- "outputs": [],
1599
- "stateMutability": "nonpayable",
1600
- "type": "function"
1601
- },
1602
- {
1603
- "inputs": [
1604
- {
1605
- "components": [
1606
- {
1607
- "internalType": "NftId",
1608
- "name": "nftId",
1609
- "type": "uint96"
1610
- },
1611
- {
1612
- "internalType": "contract IERC20Metadata",
1613
- "name": "token",
1614
- "type": "address"
1615
- }
1616
- ],
1617
- "internalType": "struct IComponent.ComponentInfo",
1618
- "name": "info",
1619
- "type": "tuple"
1620
- }
1621
- ],
1622
- "name": "setComponentInfo",
1623
- "outputs": [],
1624
- "stateMutability": "nonpayable",
1625
- "type": "function"
1626
- },
1627
- {
1628
- "inputs": [
1629
- {
1630
- "components": [
1631
- {
1632
- "internalType": "NftId",
1633
- "name": "nftId",
1634
- "type": "uint96"
1635
- },
1636
- {
1637
- "internalType": "NftId",
1638
- "name": "productNftId",
1639
- "type": "uint96"
1640
- },
1641
- {
1642
- "internalType": "NftId",
1643
- "name": "bundleNftId",
1644
- "type": "uint96"
1645
- },
1646
- {
1647
- "internalType": "address",
1648
- "name": "beneficiary",
1649
- "type": "address"
1650
- },
1651
- {
1652
- "internalType": "StateId",
1653
- "name": "state",
1654
- "type": "uint8"
1655
- },
1656
- {
1657
- "internalType": "uint256",
1658
- "name": "sumInsuredAmount",
1659
- "type": "uint256"
1660
- },
1661
- {
1662
- "internalType": "uint256",
1663
- "name": "premiumAmount",
1664
- "type": "uint256"
1665
- },
1666
- {
1667
- "internalType": "uint256",
1668
- "name": "premiumPaidAmount",
1669
- "type": "uint256"
1670
- },
1671
- {
1672
- "internalType": "uint256",
1673
- "name": "lifetime",
1674
- "type": "uint256"
1675
- },
1676
- {
1677
- "internalType": "bytes",
1678
- "name": "applicationData",
1679
- "type": "bytes"
1680
- },
1681
- {
1682
- "internalType": "bytes",
1683
- "name": "policyData",
1684
- "type": "bytes"
1685
- },
1686
- {
1687
- "internalType": "Timestamp",
1688
- "name": "createdAt",
1689
- "type": "uint40"
1690
- },
1691
- {
1692
- "internalType": "Timestamp",
1693
- "name": "activatedAt",
1694
- "type": "uint40"
1695
- },
1696
- {
1697
- "internalType": "Timestamp",
1698
- "name": "expiredAt",
1699
- "type": "uint40"
1700
- },
1701
- {
1702
- "internalType": "Timestamp",
1703
- "name": "closedAt",
1704
- "type": "uint40"
1705
- },
1706
- {
1707
- "internalType": "Blocknumber",
1708
- "name": "updatedIn",
1709
- "type": "uint32"
1710
- }
1711
- ],
1712
- "internalType": "struct IPolicy.PolicyInfo",
1713
- "name": "policyInfo",
1714
- "type": "tuple"
1715
- }
1716
- ],
1717
- "name": "setPolicyInfo",
1718
- "outputs": [],
1719
- "stateMutability": "nonpayable",
1720
- "type": "function"
1721
- },
1722
- {
1723
- "inputs": [
1724
- {
1725
- "internalType": "NftId",
1726
- "name": "poolNftId",
1727
- "type": "uint96"
1728
- },
1729
- {
1730
- "components": [
1731
- {
1732
- "internalType": "UFixed",
1733
- "name": "fractionalFee",
1734
- "type": "uint256"
1735
- },
1736
- {
1737
- "internalType": "uint256",
1738
- "name": "fixedFee",
1739
- "type": "uint256"
1740
- }
1741
- ],
1742
- "internalType": "struct Fee",
1743
- "name": "stakingFee",
1744
- "type": "tuple"
1745
- },
1746
- {
1747
- "components": [
1748
- {
1749
- "internalType": "UFixed",
1750
- "name": "fractionalFee",
1751
- "type": "uint256"
1752
- },
1753
- {
1754
- "internalType": "uint256",
1755
- "name": "fixedFee",
1756
- "type": "uint256"
1757
- }
1758
- ],
1759
- "internalType": "struct Fee",
1760
- "name": "performanceFee",
1761
- "type": "tuple"
1762
- }
1763
- ],
1764
- "name": "setPoolFees",
1765
- "outputs": [],
1766
- "stateMutability": "nonpayable",
1767
- "type": "function"
1768
- },
1769
- {
1770
- "inputs": [
1771
- {
1772
- "internalType": "NftId",
1773
- "name": "productNftId",
1774
- "type": "uint96"
1775
- },
1776
- {
1777
- "components": [
1778
- {
1779
- "internalType": "UFixed",
1780
- "name": "fractionalFee",
1781
- "type": "uint256"
1782
- },
1783
- {
1784
- "internalType": "uint256",
1785
- "name": "fixedFee",
1786
- "type": "uint256"
1787
- }
1788
- ],
1789
- "internalType": "struct Fee",
1790
- "name": "policyFee",
1791
- "type": "tuple"
1792
- },
1793
- {
1794
- "components": [
1795
- {
1796
- "internalType": "UFixed",
1797
- "name": "fractionalFee",
1798
- "type": "uint256"
1799
- },
1800
- {
1801
- "internalType": "uint256",
1802
- "name": "fixedFee",
1803
- "type": "uint256"
1804
- }
1805
- ],
1806
- "internalType": "struct Fee",
1807
- "name": "processingFee",
1808
- "type": "tuple"
1809
- }
1810
- ],
1811
- "name": "setProductFees",
1812
- "outputs": [],
1813
- "stateMutability": "nonpayable",
1814
- "type": "function"
1815
- },
1816
- {
1817
- "inputs": [
1818
- {
1819
- "internalType": "RoleId",
1820
- "name": "role",
1821
- "type": "bytes8"
1822
- },
1823
- {
1824
- "internalType": "bool",
1825
- "name": "active",
1826
- "type": "bool"
1827
- }
1828
- ],
1829
- "name": "setRoleState",
1830
- "outputs": [],
1831
- "stateMutability": "nonpayable",
1832
- "type": "function"
1833
- },
1834
- {
1835
- "inputs": [
1836
- {
1837
- "internalType": "bytes4",
1838
- "name": "interfaceId",
1839
- "type": "bytes4"
1840
- }
1841
- ],
1842
- "name": "supportsInterface",
1843
- "outputs": [
1844
- {
1845
- "internalType": "bool",
1846
- "name": "",
1847
- "type": "bool"
1848
- }
1849
- ],
1850
- "stateMutability": "view",
1851
- "type": "function"
1852
- },
1853
- {
1854
- "inputs": [
1855
- {
1856
- "internalType": "NftId",
1857
- "name": "bundleNftId",
1858
- "type": "uint96"
1859
- }
1860
- ],
1861
- "name": "toBundleKey32",
1862
- "outputs": [
1863
- {
1864
- "internalType": "Key32",
1865
- "name": "key32",
1866
- "type": "bytes32"
1867
- }
1868
- ],
1869
- "stateMutability": "view",
1870
- "type": "function"
1871
- },
1872
- {
1873
- "inputs": [
1874
- {
1875
- "internalType": "NftId",
1876
- "name": "nftId",
1877
- "type": "uint96"
1878
- }
1879
- ],
1880
- "name": "toComponentKey32",
1881
- "outputs": [
1882
- {
1883
- "internalType": "Key32",
1884
- "name": "key32",
1885
- "type": "bytes32"
1886
- }
1887
- ],
1888
- "stateMutability": "view",
1889
- "type": "function"
1890
- },
1891
- {
1892
- "inputs": [
1893
- {
1894
- "internalType": "NftId",
1895
- "name": "bundleNftId",
1896
- "type": "uint96"
1897
- },
1898
- {
1899
- "internalType": "StateId",
1900
- "name": "state",
1901
- "type": "uint8"
1902
- }
1903
- ],
1904
- "name": "updateBundleState",
1905
- "outputs": [],
1906
- "stateMutability": "nonpayable",
1907
- "type": "function"
1908
- },
1909
- {
1910
- "inputs": [
1911
- {
1912
- "internalType": "NftId",
1913
- "name": "nftId",
1914
- "type": "uint96"
1915
- },
1916
- {
1917
- "internalType": "StateId",
1918
- "name": "state",
1919
- "type": "uint8"
1920
- }
1921
- ],
1922
- "name": "updateComponentState",
1923
- "outputs": [],
1924
- "stateMutability": "nonpayable",
1925
- "type": "function"
1926
873
  }
1927
874
  ],
1928
- "bytecode": "0x60e06040523480156200001157600080fd5b50604051620089fd380380620089fd833981016040819052620000349162000e52565b818181816200004560003362000484565b6301ffc9a760e01b60005260026020527f71203db6a8b906f8e7c7701ea536708e3d7c6018d3ad50e5680c3241edacce17805460ff191660011790556001600160a01b038216620000dd5760405162461bcd60e51b815260206004820152601b60248201527f4552524f523a5247422d3031303a52454749535452595f5a45524f000000000060448201526064015b60405180910390fd5b6001600160a01b03821660808190526040516301ffc9a760e01b81526306ecd8ef60e01b60048201526301ffc9a790602401602060405180830381865afa1580156200012d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000153919062000e9a565b620001a15760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a5247422d3031313a4e4f545f52454749535452590000000000006044820152606401620000d4565b6001600160601b03811660a081905260805160405163e74d052f60e01b815260048101929092526001600160a01b03169063e74d052f90602401602060405180830381865afa158015620001f9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021f919062000e9a565b620002795760405162461bcd60e51b815260206004820152602360248201527f4552524f523a5247422d3031323a504152454e545f4e4f545f5245474953544560448201526214915160ea1b6064820152608401620000d4565b3360c052631dfba64760e11b60005260026020527ffc5164b528507fb56c225cc68864b8f0ef1e129250403b69e252bd0b2789bfea805460ff191660011790555050604051620002c99062000e27565b604051809103906000f080158015620002e6573d6000803e3d6000fd5b50600380546001600160a01b0319166001600160a01b0392909216919091179055638de54b9b60e01b60005260026020527fbbbdb2fb0832d9cc0814bfd5527573cc6f84893ca59f86761ee168a6f8d07708805460ff191660011790556200034d6200075b565b506200039890506200035e620008ee565b60408051808201909152601481527f4469737472696275746f724f776e6572526f6c6500000000000000000000000060208201526200099b565b620003d2620003a662000a00565b60408051808201909152600f81526e4f7261636c654f776e6572526f6c6560881b60208201526200099b565b6200040a620003e062000a5b565b60408051808201909152600d81526c506f6f6c4f776e6572526f6c6560981b60208201526200099b565b620004456200041862000ab4565b60408051808201909152601081526f50726f647563744f776e6572526f6c6560801b60208201526200099b565b6003546200047c906001600160a01b0316600b80546001600160a01b0383166001600160a81b031990911617606960a11b17905550565b5050620011bc565b60006200049062000b10565b90506200049d8162000b98565b15620004fc5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b6064820152608401620000d4565b60015415620005bc5760018054600091906200051a90829062000ec5565b815481106200052d576200052d62000ee7565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff16905062000560828262000c3c565b620005ba5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b6064820152608401620000d4565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b03808616602084015284169082015260608101620006454290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906200074e9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b60405180910390a1505050565b60006200076762000b10565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af4158015620007bd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007e3919062000efd565b90506200082c6040518060400160405280601581526020017f436f6d706f6e656e744f776e65725365727669636500000000000000000000008152508262000c4e60201b60201c565b600480546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600e81526d50726f647563745365727669636560901b60208201526200087d908262000c4e565b600580546001600160a01b0319166001600160a01b039290921691909117905560408051808201909152600b81526a506f6f6c5365727669636560a81b6020820152620008cb908262000c4e565b600680546001600160a01b0319166001600160a01b039290921691909117905550565b60405163e14787cb60e01b815260206004820152601460248201527f4469737472696275746f724f776e6572526f6c65000000000000000000000000604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906064015b602060405180830381865af415801562000970573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000996919062000f22565b905090565b604080516060810182526001600160c01b03198416815260208101839052600191810191909152620009cd8162000d21565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c648583836040516200074e92919062000f96565b60405163e14787cb60e01b815260206004820152600f60248201526e4f7261636c654f776e6572526f6c6560881b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb9060640162000952565b60405163e14787cb60e01b815260206004820152600d60248201526c506f6f6c4f776e6572526f6c6560981b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb9060640162000952565b60405163e14787cb60e01b815260206004820152601060248201526f50726f647563744f776e6572526f6c6560801b604482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb9060640162000952565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562000b72573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000996919062000fc5565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562000c0f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c35919062000fec565b1192915050565b62ffffff808216908316115b92915050565b60805160405163a3bcd81d60e01b81526000916001600160a01b03169063a3bcd81d9062000c83908690869060040162001006565b602060405180830381865afa15801562000ca1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000cc791906200102d565b90506001600160a01b03811662000c485760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a494e532d3030313a4e4f545f52454749535445524544000000006044820152606401620000d4565b80516001600160c01b031981166000908152600760209081526040909120835181546001600160401b03191660c09190911c17815590830151839190600182019062000d6e9082620010f0565b50604091909101516002909101805460ff191691151591909117905562000d958162000dfc565b62000df857600880546001810182556000829052600481047ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301805460c085901c60039093169093026101000a9182026001600160401b03909202199092161790555b5050565b6001600160c01b0319818116600081815260076020526040812054909260c09190911b161462000c48565b611e2b8062006bd283390190565b80516001600160a01b038116811462000e4d57600080fd5b919050565b6000806040838503121562000e6657600080fd5b62000e718362000e35565b60208401519092506001600160601b038116811462000e8f57600080fd5b809150509250929050565b60006020828403121562000ead57600080fd5b8151801515811462000ebe57600080fd5b9392505050565b8181038181111562000c4857634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60006020828403121562000f1057600080fd5b815160ff8116811462000ebe57600080fd5b60006020828403121562000f3557600080fd5b81516001600160c01b03198116811462000ebe57600080fd5b6000815180845260005b8181101562000f765760208185018101518683018201520162000f58565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160c01b03198316815260406020820181905260009062000fbd9083018462000f4e565b949350505050565b60006020828403121562000fd857600080fd5b815162ffffff8116811462000ebe57600080fd5b60006020828403121562000fff57600080fd5b5051919050565b6040815260006200101b604083018562000f4e565b905060ff831660208301529392505050565b6000602082840312156200104057600080fd5b62000ebe8262000e35565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200107657607f821691505b6020821081036200109757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620010eb57600081815260208120601f850160051c81016020861015620010c65750805b601f850160051c820191505b81811015620010e757828155600101620010d2565b5050505b505050565b81516001600160401b038111156200110c576200110c6200104b565b62001124816200111d845462001061565b846200109d565b602080601f8311600181146200115c5760008415620011435750858301515b600019600386901b1c1916600185901b178555620010e7565b600085815260208120601f198616915b828110156200118d578886015182559484019460019091019084016200116c565b5085821015620011ac5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c0516159ca62001208600039600061398e0152600061056c0152600081816108490152818161130701528181611a090152818161390d01526139d101526159ca6000f3fe60806040523480156200001157600080fd5b50600436106200042d5760003560e01c806387c565861162000235578063bd7d9d85116200013d578063e03eeb8511620000c7578063ee0fdf711162000092578063ee0fdf711462000c9f578063f0ea17c31462000cb6578063f274e87d1462000cdc578063f8229f581462000d09578063fe1f18d61462000d2057600080fd5b8063e03eeb851462000c43578063e1f64d771462000c5a578063e7762e4a1462000c71578063e79597401462000c8857600080fd5b8063d250185c1162000108578063d250185c1462000bad578063dad73bed1462000bc4578063db70354c1462000bdb578063dc261c3a1462000bf257600080fd5b8063bd7d9d851462000aba578063c2bf7d261462000ae0578063cf5ccedb1462000af7578063d0bb064c1462000b1d57600080fd5b806399fd467711620001bf578063af17d38a116200018a578063af17d38a1462000a5e578063b88da7591462000a75578063b8c510671462000a8c578063b9f36dde1462000aa357600080fd5b806399fd467714620009fb578063a13df2ab14620008ca578063a310e2a31462000a12578063a90be9071462000a4757600080fd5b8063946dfcfe1162000200578063946dfcfe14620009ad5780639555c4db14620009b65780639675513d14620009cd5780639845743714620009e457600080fd5b806387c565861462000922578063893d20e8146200093b5780638b59fe2a146200094557806393865aec146200095c57600080fd5b80634793b4ab116200033957806369a44a1b11620002c357806375a07ed2116200028e57806375a07ed214620008e15780637fec8b3114620008f85780638125ea92146200090f57806383d33319146200091957600080fd5b806369a44a1b146200088f5780636b9bf08b14620008a65780636fa2985314620008b857806370475d4714620008ca57600080fd5b806357f80bbf116200030457806357f80bbf14620007a75780635ab1bd531462000847578063644c45e0146200086e578063674d0ccf146200087857600080fd5b80634793b4ab14620006195780634d459c90146200063f5780634fd077f514620007505780635312fdc2146200077657600080fd5b80631aa3a00811620003bb5780633300a8a811620003865780633300a8a814620005a8578063349195f914620005ce5780633bc5de3014620005d75780634288121d14620005f357600080fd5b80631aa3a008146200053057806320f4b65e146200055357806331b62a3b146200056a57806331e48e32146200059157600080fd5b80630d0ccc5b11620003fc5780630d0ccc5b14620004be5780630d6844c214620004e45780630d8e6e2c14620004fb57806315dae03e146200051a57600080fd5b806301ffc9a7146200043257806305910874146200047757806306ed966e14620004905780630abd843414620004a7575b600080fd5b620004626200044336600462004163565b6001600160e01b03191660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200048e62000488366004620041b9565b62000d37565b005b6200048e620004a136600462004341565b62000f54565b62000462620004b83660046200439b565b62001020565b620004d5620004cf366004620043bb565b620010c4565b6040519081526020016200046e565b6200048e620004f536600462004410565b6200114f565b62000505620011f7565b60405162ffffff90911681526020016200046e565b60325b60405160ff90911681526020016200046e565b6200053a62001284565b6040516001600160601b0390911681526020016200046e565b6200048e62000564366004620044f4565b6200137f565b7f00000000000000000000000000000000000000000000000000000000000000006200053a565b6200048e620005a236600462004613565b620014f9565b620005bf620005b9366004620046b5565b620017f5565b6040516200046e9190620046d5565b600e54620004d5565b604080516020810182526000815290516200046e919062004788565b6005546001600160a01b03165b6040516001600160a01b0390911681526020016200046e565b620006306200062a366004620046b5565b6200187b565b6040516200046e91906200479d565b620006f2620006503660046200439b565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff90811660009081526020818152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016200046e565b6200076762000761366004620046b5565b62001904565b6040516200046e919062004835565b6200078d62000787366004620048c2565b620019af565b6040516001600160c01b031990911681526020016200046e565b62000819620007b8366004620046b5565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152601083528390208351918201845280549485168252600160601b90940460ff161515918101919091526001909201549082015290565b6040805182516001600160601b0316815260208084015115159082015291810151908201526060016200046e565b7f000000000000000000000000000000000000000000000000000000000000000062000600565b6200053a620019f1565b620004d562000889366004620048f3565b62001a59565b620004d5620008a0366004620046b5565b62001a7d565b6006546001600160a01b031662000600565b6004546001600160a01b031662000600565b620004d5620008db366004620046b5565b62001b0e565b6200048e620008f236600462004913565b62001b1b565b6200053a62000909366004620048c2565b62001e22565b6200060062001e6a565b600854620004d5565b6200092c62001e7f565b6040516200046e919062004981565b6200060062001f02565b6200048e6200095636600462004999565b62001f0e565b6200048e6200096d366004620049eb565b6001600160601b03909216600090815260146020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b600154620004d5565b6200048e620009c736600462004a39565b62002044565b620004d5620009de36600462004a6c565b62002050565b6200048e620009f536600462004a9f565b620021ba565b6200046262000a0c36600462004ae5565b6200233a565b6200060062000a23366004620046b5565b6001600160601b03166000908152601560205260409020546001600160a01b031690565b620004d562000a58366004620048c2565b62002371565b6200078d62000a6f36600462004b06565b620023ad565b6200050562000a86366004620048c2565b6200253b565b6200078d62000a9d36600462004b06565b6200257f565b6200048e62000ab436600462004ae5565b620025ff565b62000ad162000acb366004620046b5565b62002768565b6040516200046e919062004b5b565b6200048e62000af136600462004ae5565b62002a11565b62000b0e62000b08366004620048f3565b62002c11565b6040516200046e919062004cc7565b6200048e62000b2e36600462004d10565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601481529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b6200092c62000bbe36600462004d73565b62002d0f565b6200048e62000bd536600462004da5565b62002d9e565b6200053a62000bec36600462004dd8565b62002fbc565b6200048e62000c03366004620049eb565b6001600160601b03909216600090815260126020908152604090912082516003820155918101516004830155825160058301559190910151600690910155565b6200048e62000c5436600462004e07565b62003053565b6200048e62000c6b36600462004a9f565b6200319f565b6200051d62000c82366004620046b5565b620032ed565b6200060062000c9936600462004e3c565b620032fa565b6200046262000cb0366004620048f3565b6200331f565b62000ccd62000cc7366004620046b5565b6200334a565b6040516200046e919062004e5d565b62000cf362000ced36600462004e86565b6200337e565b604080519283526020830191909152016200046e565b6200048e62000d1a36600462004ecb565b6200340a565b6200048e62000d3136600462004410565b6200362d565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000d78573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d9e919062005064565b6001600160a01b0316336001600160a01b03161462000e045760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f53455256494345000060448201526064015b60405180910390fd5b6000604051806101000160405280886001600160601b03168152602001876001600160601b0316815260200184848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509385525050506020820188905260408201526060810187905260800142604051631ded81af60e31b815264ffffffffff90911660048201526024810187905273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801562000ede573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f04919062005091565b64ffffffffff168152602001600064ffffffffff16815250905062000f4b878260405160200162000f3691906200479d565b604051602081830303815290604052620036f6565b50505050505050565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000f93573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fb9919062005064565b6001600160a01b0316336001600160a01b03161462000fec5760405162461bcd60e51b815260040162000dfb90620050b1565b6200101d81600001518260405160200162001008919062004e5d565b6040516020818303038152906040526200377d565b50565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562001097573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010bd9190620050e8565b1192915050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af415801562001120573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011469190620050e8565b90505b92915050565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200118e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011b4919062005064565b6001600160a01b0316336001600160a01b031614620011e75760405162461bcd60e51b815260040162000dfb90620050b1565b620011f38282620037b9565b5050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562001259573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200127f919062005102565b905090565b60006200129062001f02565b6001600160a01b0316336001600160a01b031614620012f25760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000dfb565b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af115801562001359573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200127f91906200512f565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620013c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013e6919062005064565b6001600160a01b0316336001600160a01b031614806200147d5750306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001442573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001468919062005064565b6001600160a01b0316336001600160a01b0316145b620014dd5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a42444c2d3030333a4e4f545f504f4f4c5f4f525f50524f445543604482015268545f5345525649434560b81b606482015260840162000dfb565b6200101d8160000151826040516020016200100891906200479d565b6001600160601b0387166000908152601560205260409020546001600160a01b031615620015815760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031303a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000dfb565b6001600160601b0385166000908152601560205260409020546001600160a01b031615620016095760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031313a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000dfb565b6001600160601b0386166000908152601560205260409020546001600160a01b031615620016915760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031323a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000dfb565b60008785604051620016a3906200409f565b6001600160601b0390921682526001600160a01b03166020820152604001604051809103906000f080158015620016de573d6000803e3d6000fd5b506001600160601b03988916600081815260156020908152604080832080546001600160a01b039687166001600160a01b031991821681179092559b8e1680855282852080548e16831790559c8e1680855282852080548e16909217909155815160e0810183528581528084019182528083019d8e529a861660608c0190815299861660808c0190815260a08c01998a5260c08c019889529484526012835292209851895492518d16600160601b9081026001600160c01b0319909416918e1691909117929092178955995196518316029590991694909417600186015550955160028401805491909316941693909317905590518051600383015582015160048201559151805160058401550151600690910155565b620017ff620040ad565b506001600160601b03908116600090815260146020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b620018e460405180610100016040528060006001600160601b0316815260200160006001600160601b0316815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b620018ef8262003803565b8060200190518101906200114991906200519b565b6200190e6200411e565b506001600160601b03908116600090815260126020908152604091829020825160e08101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b0395048516606082015260028201549094166080850152825180840184526003820154815260048201548184015260a0850152825180840190935260058101548352600601549082015260c082015290565b600060088281548110620019c757620019c76200526c565b90600052602060002090600491828204019190066008029054906101000a900460c01b9050919050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562001359573d6000803e3d6000fd5b6001600160c01b031981166000908152600a60205260408120620011499062003889565b6001600160601b038116600090815260116020526040808220905163697d0f1b60e11b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__9063d2fa1e36906024015b602060405180830381865af415801562001ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011499190620050e8565b6000620011498262003894565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001b5c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b82919062005064565b6001600160a01b0316336001600160a01b03161462001bb55760405162461bcd60e51b815260040162000dfb9062005282565b604051806102000160405280866001600160601b03168152602001876001600160601b03168152602001826001600160601b0316815260200160006001600160a01b0316815260200162001c07600a90565b60ff1681526020018581526020018481526020016000815260200183815260200160405180602001604052806000815250815260200160405180602001604052806000815250815260200162001c5a4290565b64ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b038681166000908152600f602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e082015160058201556101008201516006820155610120820151600782019062001d5890826200534e565b50610140820151600882019062001d7090826200534e565b50610160820151600990910180546101808401516101a08501516101c08601516101e09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916650100000000000269ffffffffffffffffffff1990961698909716979097179390931791909116939093179290921792909216179055505050505050565b6000600e828154811062001e3a5762001e3a6200526c565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b60006200127f6003546001600160a01b031690565b604080518082019091526000808252602082015273__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af415801562001edc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200127f91906200541a565b60006200127f620038eb565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001f4d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f73919062005064565b6001600160a01b0316336001600160a01b03161462001fa65760405162461bcd60e51b815260040162000dfb90620050b1565b6040805180820182526001600160601b038581168083526001600160a01b038516602080850191909152600e8054600180820183556000929092527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd6002820401805492909116600c026101000a9485021990911693909202929092179055915190916200203e91869162000f369185910162004e5d565b50505050565b620011f3828262003a4d565b6000306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562002093573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020b9919062005064565b6001600160a01b0316336001600160a01b031614620020ec5760405162461bcd60e51b815260040162000dfb906200544f565b506001600160601b038083166000818152600d602090815260408083209486168352938152838220805490839055928252600c9052829020915163539eabab60e11b8152909173__$0dc988b1672de335b826773df9015af2da$__9163a73d5756916200216f9186906004019182526001600160601b0316602082015260400190565b602060405180830381865af41580156200218d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021b3919062005490565b5092915050565b6001600160601b03828116600090815260116020526040908190209051632bfdd6b960e01b81526004810182905291851660248301529073__$0dc988b1672de335b826773df9015af2da$__90632bfdd6b990604401602060405180830381865af41580156200222e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002254919062005490565b15620022ad5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504c2d3032303a42554e444c455f414c52454144595f414444456044820152601160fa1b606482015260840162000dfb565b604051631461054360e31b8152600481018290526001600160601b038516602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af41580156200230d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002333919062005490565b5050505050565b6001600160c01b0319821660009081526009602090815260408083206001600160a01b038516845290915281205460ff1662001146565b6040516322f5db0f60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e9060240162001aca565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620023ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002414919062005064565b6001600160a01b0316336001600160a01b031614620024475760405162461bcd60e51b815260040162000dfb90620054b0565b60405163e14787cb60e01b815273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906200248090859060040162004788565b602060405180830381865af41580156200249e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024c49190620054e7565b9050620024d1816200331f565b156200252a5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4143532d3031303a524f4c455f414c52454144595f45584953546044820152605360f81b606482015260840162000dfb565b62002536818362003d1e565b919050565b6000600182815481106200255357620025536200526c565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60405163e14787cb60e01b815260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90620025bb90859060040162004788565b602060405180830381865af4158015620025d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011499190620054e7565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b1614620026435760405162461bcd60e51b815260040162000dfb9062005507565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002682573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026a8919062005064565b6001600160a01b0316336001600160a01b031614620026db5760405162461bcd60e51b815260040162000dfb90620054b0565b6001600160c01b0319831660008181526009602090815260408083206001600160a01b03871684528252808320805460ff19169055928252600a90522062002724908362003d83565b507fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d16987545396684838360006040516200275b939291906200553e565b60405180910390a1505050565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018390526101208201819052610140820152610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001600160601b038281166000908152600f602090815260409182902082516102008101845281548086168252600160601b9081900486169382019390935260018201549485169381019390935292046001600160a01b03166060820152600282015460ff166080820152600382015460a0820152600482015460c0820152600582015460e08201526006820154610100820152600782018054919291610120840191906200289790620052c3565b80601f0160208091040260200160405190810160405280929190818152602001828054620028c590620052c3565b8015620029165780601f10620028ea5761010080835404028352916020019162002916565b820191906000526020600020905b815481529060010190602001808311620028f857829003601f168201915b505050505081526020016008820180546200293190620052c3565b80601f01602080910402602001604051908101604052809291908181526020018280546200295f90620052c3565b8015620029b05780601f106200298457610100808354040283529160200191620029b0565b820191906000526020600020905b8154815290600101906020018083116200299257829003601f168201915b50505091835250506009919091015464ffffffffff808216602084015265010000000000820481166040840152600160501b820481166060840152600160781b8204166080830152600160a01b900463ffffffff1660a09091015292915050565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b161462002a555760405162461bcd60e51b815260040162000dfb9062005507565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002a94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002aba919062005064565b6001600160a01b0316336001600160a01b03161462002aed5760405162461bcd60e51b815260040162000dfb90620054b0565b6001600160c01b0319831660009081526007602052604090206002015460ff1662002b5b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4143532d3034303a524f4c455f4e4f545f414354495645000000604482015260640162000dfb565b6001600160c01b0319831660008181526009602090815260408083206001600160a01b03871684528252808320805460ff19166001179055928252600a90522062002ba7908362003d9a565b506001600160c01b0319831660009081526009602090815260408083206001600160a01b0386168452909152908190205490517fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d16987545396684916200275b918691869160ff909116906200553e565b6040805160608082018352600080835260208084018390528385018290526001600160c01b0319868116835260078252918590208551938401909552845460c01b9091168252600184018054939492939184019162002c7090620052c3565b80601f016020809104026020016040519081016040528092919081815260200182805462002c9e90620052c3565b801562002cef5780601f1062002cc35761010080835404028352916020019162002cef565b820191906000526020600020905b81548152906001019060200180831162002cd157829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b60408051808201825260008082526020820152905163638086fd60e11b8152600481018490526024810183905273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa906044016040805180830381865af415801562002d78573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200114691906200541a565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b161462002de25760405162461bcd60e51b815260040162000dfb9062005507565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002e21573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e47919062005064565b6001600160a01b0316336001600160a01b03161462002e7a5760405162461bcd60e51b815260040162000dfb90620054b0565b6001600160c01b03198084166000908152600760209081526040808320815160608101909252805460c01b909416815260018401805493949193919284019162002ec490620052c3565b80601f016020809104026020016040519081016040528092919081815260200182805462002ef290620052c3565b801562002f435780601f1062002f175761010080835404028352916020019162002f43565b820191906000526020600020905b81548152906001019060200180831162002f2557829003601f168201915b50505091835250506002919091015460ff1615156020909101528315156040820152905062002f728162003db1565b604080516001600160c01b03198616815284151560208201527feaffaec948991ecc6e201ba4f67ba865fbf66aace3d2f2823dc5483cc9813fda910160405180910390a150505050565b6001600160601b038216600090815260116020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401602060405180830381865af41580156200302d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200114691906200512f565b6001600160601b0383811660009081526010602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015620030bf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030e5919062005490565b620031335760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3031303a414c52454144595f4352454154454400000000604482015260640162000dfb565b604080516060810182526001600160601b039485168082529315156020808301918252828401948552600095865260109052919093209251835491511515600160601b026cffffffffffffffffffffffffff199092169416939093179290921781559051600190910155565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620031e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003206919062005064565b6001600160a01b0316336001600160a01b031614620032395760405162461bcd60e51b815260040162000dfb906200544f565b6001600160601b038381166000818152600d60209081526040808320948716808452948252808320869055928252600c90528190209051631461054360e31b81526004810191909152602481019190915273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af4158015620032c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200203e919062005490565b6000620011498262003e8c565b6001600160c01b031982166000908152600a6020526040812062001146908362003f0e565b6001600160c01b0319818116600081815260076020526040812054909260c09190911b161462001149565b6040805180820190915260008082526020820152620033698262003803565b8060200190518101906200114991906200556b565b60008073__$a23651848365a6a5ca15f07b4331037f48$__63c66fb3ae85856040518363ffffffff1660e01b8152600401620033bc929190620055a7565b6040805180830381865af4158015620033d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033ff9190620055c6565b915091509250929050565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200344b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003471919062005064565b6001600160a01b0316336001600160a01b031614620034a45760405162461bcd60e51b815260040162000dfb9062005282565b80516001600160601b039081166000908152600f602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e08201516005820155610100820151600682015561012082015182919060078201906200356890826200534e565b5061014082015160088201906200358090826200534e565b50610160820151600990910180546101808401516101a08501516101c08601516101e09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916650100000000000269ffffffffffffffffffff199096169890971697909717939093179190911693909317929092179290921617905550565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200366e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003694919062005064565b6001600160a01b0316336001600160a01b031614620011e75760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f534552564943450000604482015260640162000dfb565b600b546001600160a01b0316635dee4788620037128462003894565b600b5460405160e084901b6001600160e01b0319168152620037459291600160a01b900460ff16908690600401620055eb565b600060405180830381600087803b1580156200376057600080fd5b505af115801562003775573d6000803e3d6000fd5b505050505050565b600b546001600160a01b0316636ec3d940620037998462003894565b836040518363ffffffff1660e01b81526004016200374592919062005618565b600b546001600160a01b031663a238accd620037d58462003894565b6040516001600160e01b031960e084901b168152600481019190915260ff8416602482015260440162003745565b600b546060906001600160a01b03166354f6127f620038228462003894565b6040518263ffffffff1660e01b81526004016200384191815260200190565b600060405180830381865afa1580156200385f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001149919081019062005633565b600062001149825490565b600b54604051630711349960e31b81526001600160601b0383166004820152600160a01b90910460ff16602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440162001aca565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801562003955573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200397b91906200512f565b90506001600160601b038116620039b3577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801562003a21573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a47919062005064565b91505090565b600062003a59620011f7565b905062003a668162001020565b1562003ac55760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840162000dfb565b6001541562003b8c57600180546000919062003ae39082906200566b565b8154811062003af65762003af66200526c565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff16905062003b30828262ffffff90811691161190565b62003b8a5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840162000dfb565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b0380861660208401528416908201526060810162003c154290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906200275b9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b604080516060810182526001600160c01b0319841681526020810183905260019181019190915262003d508162003db1565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c648583836040516200275b9291906200568d565b600062001146836001600160a01b03841662003f1c565b600062001146836001600160a01b03841662004020565b80516001600160c01b0319811660009081526007602090815260409091208351815467ffffffffffffffff191660c09190911c17815590830151839190600182019062003dff90826200534e565b50604091909101516002909101805460ff191691151591909117905562003e26816200331f565b620011f357600880546001810182556000829052600481047ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301805460c085901c60039093169093026101000a9182026001600160401b03909202199092161790555050565b600b546000906001600160a01b03166309648a9d62003eab8462003894565b6040518263ffffffff1660e01b815260040162003eca91815260200190565b602060405180830381865afa15801562003ee8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011499190620056b4565b600062001146838362004072565b600081815260018301602052604081205480156200401557600062003f436001836200566b565b855490915060009062003f59906001906200566b565b905081811462003fc557600086600001828154811062003f7d5762003f7d6200526c565b906000526020600020015490508087600001848154811062003fa35762003fa36200526c565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062003fd95762003fd9620056d4565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062001149565b600091505062001149565b6000818152600183016020526040812054620040695750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562001149565b50600062001149565b60008260000182815481106200408c576200408c6200526c565b9060005260206000200154905092915050565b6102aa80620056eb83390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b03168152602001620040f6604051806040016040528060008152602001600081525090565b815260200162004119604051806040016040528060008152602001600081525090565b905290565b6040805160e08101825260008082526020808301829052828401829052606083018290526080830182905283518085019094528184528301529060a0820190620040f6565b6000602082840312156200417657600080fd5b81356001600160e01b0319811681146200418f57600080fd5b9392505050565b6001600160601b03811681146200101d57600080fd5b8035620025368162004196565b60008060008060008060a08789031215620041d357600080fd5b8635620041e08162004196565b95506020870135620041f28162004196565b9450604087013593506060870135925060808701356001600160401b03808211156200421d57600080fd5b818901915089601f8301126200423257600080fd5b8135818111156200424257600080fd5b8a60208285010111156200425557600080fd5b6020830194508093505050509295509295509295565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715620042a657620042a66200426b565b60405290565b60405161010081016001600160401b0381118282101715620042a657620042a66200426b565b60405161020081016001600160401b0381118282101715620042a657620042a66200426b565b604051601f8201601f191681016001600160401b03811182821017156200432357620043236200426b565b604052919050565b6001600160a01b03811681146200101d57600080fd5b6000604082840312156200435457600080fd5b6200435e62004281565b82356200436b8162004196565b815260208301356200437d816200432b565b60208201529392505050565b62ffffff811681146200101d57600080fd5b600060208284031215620043ae57600080fd5b81356200418f8162004389565b60008060408385031215620043cf57600080fd5b8235915060208301358060000b8114620043e857600080fd5b809150509250929050565b60ff811681146200101d57600080fd5b80356200253681620043f3565b600080604083850312156200442457600080fd5b8235620044318162004196565b91506020830135620043e881620043f3565b60006001600160401b038211156200445f576200445f6200426b565b50601f01601f191660200190565b6000620044846200447e8462004443565b620042f8565b90508281528383830111156200449957600080fd5b828260208301376000602084830101529392505050565b600082601f830112620044c257600080fd5b62001146838335602085016200446d565b64ffffffffff811681146200101d57600080fd5b80356200253681620044d3565b6000602082840312156200450757600080fd5b81356001600160401b03808211156200451f57600080fd5b9083019061010082860312156200453557600080fd5b6200453f620042ac565b6200454a83620041ac565b81526200455a60208401620041ac565b60208201526040830135828111156200457257600080fd5b6200458087828601620044b0565b604083015250606083013560608201526080830135608082015260a083013560a0820152620045b260c08401620044e7565b60c0820152620045c560e08401620044e7565b60e082015295945050505050565b803562002536816200432b565b600060408284031215620045f357600080fd5b620045fd62004281565b9050813581526020820135602082015292915050565b6000806000806000806000610120888a0312156200463057600080fd5b87356200463d8162004196565b965060208801356200464f8162004196565b95506040880135620046618162004196565b9450606088013562004673816200432b565b9350608088013562004685816200432b565b9250620046968960a08a01620045e0565b9150620046a78960e08a01620045e0565b905092959891949750929550565b600060208284031215620046c857600080fd5b81356200418f8162004196565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c0830191620047179084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152620021b3565b60005b838110156200475157818101518382015260200162004737565b50506000910152565b600081518084526200477481602086016020860162004734565b601f01601f19169290920160200192915050565b6020815260006200114660208301846200475a565b6020815260006001600160601b03808451166020840152806020850151166040840152506040830151610100806060850152620047df6101208501836200475a565b915060608501516080850152608085015160a085015260a085015160c085015260c08501516200481860e086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b6000610120820190506001600160601b0380845116835280602085015116602084015280604085015116604084015250606083015160018060a01b038082166060850152806080860151166080850152505060a0830151620048a460a084018280518252602090810151910152565b5060c0830151805160e08401526020810151610100840152620021b3565b600060208284031215620048d557600080fd5b5035919050565b6001600160c01b0319811681146200101d57600080fd5b6000602082840312156200490657600080fd5b81356200418f81620048dc565b60008060008060008060c087890312156200492d57600080fd5b86356200493a8162004196565b955060208701356200494c8162004196565b945060408701359350606087013592506080870135915060a0870135620049738162004196565b809150509295509295509295565b81518152602080830151908201526040810162001149565b600080600060608486031215620049af57600080fd5b8335620049bc8162004196565b92506020840135620049ce81620043f3565b91506040840135620049e0816200432b565b809150509250925092565b600080600060a0848603121562004a0157600080fd5b833562004a0e8162004196565b925062004a1f8560208601620045e0565b915062004a308560608601620045e0565b90509250925092565b6000806040838503121562004a4d57600080fd5b823562004a5a816200432b565b91506020830135620043e8816200432b565b6000806040838503121562004a8057600080fd5b823562004a8d8162004196565b91506020830135620043e88162004196565b60008060006060848603121562004ab557600080fd5b833562004ac28162004196565b9250602084013562004ad48162004196565b929592945050506040919091013590565b6000806040838503121562004af957600080fd5b823562004a5a81620048dc565b60006020828403121562004b1957600080fd5b81356001600160401b0381111562004b3057600080fd5b8201601f8101841362004b4257600080fd5b62004b53848235602084016200446d565b949350505050565b6020815262004b766020820183516001600160601b03169052565b6000602083015162004b9360408401826001600160601b03169052565b5060408301516001600160601b03811660608401525060608301516001600160a01b038116608084015250608083015160ff811660a08401525060a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610120818185015280850151915050610200610140818186015262004c1f6102208601846200475a565b9250808601519050610160601f19868503018187015262004c4184836200475a565b93508087015191505061018062004c608187018364ffffffffff169052565b86015190506101a062004c7b8682018364ffffffffff169052565b86015190506101c062004c968682018364ffffffffff169052565b86015190506101e062004cb18682018364ffffffffff169052565b86015163ffffffff81168387015290506200482b565b602080825282516001600160c01b031916828201528201516060604083015260009062004cf860808401826200475a565b90506040840151151560608401528091505092915050565b60008060008060c0858703121562004d2757600080fd5b843562004d348162004196565b9350602085013562004d46816200432b565b925062004d578660408701620045e0565b915062004d688660808701620045e0565b905092959194509250565b6000806040838503121562004d8757600080fd5b50508035926020909101359150565b80151581146200101d57600080fd5b6000806040838503121562004db957600080fd5b823562004dc681620048dc565b91506020830135620043e88162004d96565b6000806040838503121562004dec57600080fd5b823562004df98162004196565b946020939093013593505050565b60008060006060848603121562004e1d57600080fd5b833562004e2a8162004196565b9250602084013562004ad48162004d96565b6000806040838503121562004e5057600080fd5b823562004df981620048dc565b81516001600160601b031681526020918201516001600160a01b03169181019190915260400190565b6000806060838503121562004e9a57600080fd5b8235915062004ead8460208501620045e0565b90509250929050565b803563ffffffff811681146200253657600080fd5b60006020828403121562004ede57600080fd5b81356001600160401b038082111562004ef657600080fd5b90830190610200828603121562004f0c57600080fd5b62004f16620042d2565b62004f2183620041ac565b815262004f3160208401620041ac565b602082015262004f4460408401620041ac565b604082015262004f5760608401620045d3565b606082015262004f6a6080840162004403565b608082015260a083013560a082015260c083013560c082015260e083013560e0820152610100808401358183015250610120808401358381111562004fae57600080fd5b62004fbc88828701620044b0565b828401525050610140808401358381111562004fd757600080fd5b62004fe588828701620044b0565b828401525050610160915062004ffd828401620044e7565b82820152610180915062005013828401620044e7565b828201526101a0915062005029828401620044e7565b828201526101c091506200503f828401620044e7565b828201526101e091506200505582840162004eb6565b91810191909152949350505050565b6000602082840312156200507757600080fd5b81516200418f816200432b565b80516200253681620044d3565b600060208284031215620050a457600080fd5b81516200418f81620044d3565b6020808252601f908201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604082015260600190565b600060208284031215620050fb57600080fd5b5051919050565b6000602082840312156200511557600080fd5b81516200418f8162004389565b8051620025368162004196565b6000602082840312156200514257600080fd5b81516200418f8162004196565b600082601f8301126200516157600080fd5b8151620051726200447e8262004443565b8181528460208386010111156200518857600080fd5b62004b5382602083016020870162004734565b600060208284031215620051ae57600080fd5b81516001600160401b0380821115620051c657600080fd5b908301906101008286031215620051dc57600080fd5b620051e6620042ac565b620051f18362005122565b8152620052016020840162005122565b60208201526040830151828111156200521957600080fd5b62005227878286016200514f565b604083015250606083015160608201526080830151608082015260a083015160a08201526200525960c0840162005084565b60c0820152620045c560e0840162005084565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b600181811c90821680620052d857607f821691505b602082108103620052f957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200534957600081815260208120601f850160051c81016020861015620053285750805b601f850160051c820191505b81811015620037755782815560010162005334565b505050565b81516001600160401b038111156200536a576200536a6200426b565b62005382816200537b8454620052c3565b84620052ff565b602080601f831160018114620053ba5760008415620053a15750858301515b600019600386901b1c1916600185901b17855562003775565b600085815260208120601f198616915b82811015620053eb57888601518255948401946001909101908401620053ca565b50858210156200540a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000604082840312156200542d57600080fd5b6200543762004281565b82518152602083015160208201528091505092915050565b60208082526021908201527f4552524f523a42444c2d3030323a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b600060208284031215620054a357600080fd5b81516200418f8162004d96565b60208082526017908201527f4552524f523a4143532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b600060208284031215620054fa57600080fd5b81516200418f81620048dc565b6020808252601f908201527f4552524f523a4143532d3030323a524f4c455f4e4f545f4558495354494e4700604082015260600190565b6001600160c01b03199390931683526001600160a01b039190911660208301521515604082015260600190565b6000604082840312156200557e57600080fd5b6200558862004281565b8251620055958162004196565b815260208301516200437d816200432b565b828152606081016200418f602083018480518252602090810151910152565b60008060408385031215620055da57600080fd5b505080516020909101519092909150565b83815260ff831660208201526060604082015260006200560f60608301846200475a565b95945050505050565b82815260406020820152600062004b5360408301846200475a565b6000602082840312156200564657600080fd5b81516001600160401b038111156200565d57600080fd5b62004b53848285016200514f565b818103818111156200114957634e487b7160e01b600052601160045260246000fd5b6001600160401b0360c01b8316815260406020820152600062004b5360408301846200475a565b600060208284031215620056c757600080fd5b81516200418f81620043f3565b634e487b7160e01b600052603160045260246000fdfe608060405234801561001057600080fd5b506040516102aa3803806102aa83398101604081905261002f9161005b565b6001600160a01b03166c01000000000000000000000000026001600160601b03909116176000556100ad565b6000806040838503121561006e57600080fd5b82516001600160601b038116811461008557600080fd5b60208401519092506001600160a01b03811681146100a257600080fd5b809150509250929050565b6101ee806100bc6000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806251884a1461004557806321df0da71461006a578063beabacc814610095575b600080fd5b6000546040516bffffffffffffffffffffffff90911681526020015b60405180910390f35b600054600160601b90046001600160a01b03166040516001600160a01b039091168152602001610061565b6100a86100a3366004610153565b6100aa565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052600160601b909204909116906323b872dd906064016020604051808303816000875af115801561010d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610131919061018f565b50505050565b80356001600160a01b038116811461014e57600080fd5b919050565b60008060006060848603121561016857600080fd5b61017184610137565b925061017f60208501610137565b9150604084013590509250925092565b6000602082840312156101a157600080fd5b815180151581146101b157600080fd5b939250505056fea2646970667358221220b2dc602efa8d917afc68991abe7ff07f9812a03e7ec51a59254a086b30f8785364736f6c63430008140033a2646970667358221220e1b7c0a8cfa4f756988dd8bf3b64f12f77c69a276664fbd5f8d8b35bd1d7f86564736f6c6343000814003360806040523480156200001157600080fd5b506200001e606e62000067565b6200002a608262000067565b62000036608c62000067565b6200004062000195565b6200004a62000349565b600380546001600160a01b03191633179055620005d4565b606e90565b60ff8116600090815260208181526040808320805460ff191660649081179091556001808452828520918552925282209091620000a2606e90565b60ff908116825260208083019390935260409182016000908120805460ff1916951515959095179094558416835260019182905282209091620000e3606e90565b60ff1660ff168152602001908152602001600020600062000109620005b160201b60201c565b60ff908116825260208083019390935260409182016000908120805460ff19169515159590951790945584168352600191829052822090916200014a606e90565b60ff1660ff168152602001908152602001600020600062000170620005b660201b60201c565b60ff1681526020810191909152604001600020805460ff191691151591909117905550565b60d2600090815260208190527fc0d27dadfcf8ee0186a0f6fe9b5805a51e99869050491e4a3040efec012a214f805460ff191660641790556001908190620001db60d290565b60ff1660ff168152602001908152602001600020600062000201620005b160201b60201c565b60ff1660ff1681526020019081526020016000206000620002276200006260201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200025a60d290565b60ff1660ff1681526020019081526020016000206000620002806200006260201b60201c565b60ff1660ff1681526020019081526020016000206000620002a6620005b160201b60201c565b60ff16815260208101919091526040016000908120805460ff1916921515929092179091556001908190620002d960d290565b60ff1660ff1681526020019081526020016000206000620002ff6200006260201b60201c565b60ff1660ff168152602001908152602001600020600062000325620005bb60201b60201c565b60ff1681526020810191909152604001600020805460ff1916911515919091179055565b60c8600090815260208190527fc5f2c791ab4e0b1a0b6c600884b07e98575b00ebd7c3166c4272a53bebf71403805460ff1916600a17905560019081906200038f60c890565b60ff1660ff1681526020019081526020016000206000620003b5620005c060201b60201c565b60ff1660ff1681526020019081526020016000206000620003db620005c560201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200040e60c890565b60ff1660ff168152602001908152602001600020600062000434620005c060201b60201c565b60ff1660ff16815260200190815260200160002060006200045a620005ca60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200048d60c890565b60ff1660ff1681526020019081526020016000206000620004b3620005c060201b60201c565b60ff1660ff1681526020019081526020016000206000620004d9620005cf60201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200050c60c890565b60ff1660ff168152602001908152602001600020600062000532620005cf60201b60201c565b60ff1660ff168152602001908152602001600020600062000558620005b160201b60201c565b60ff16815260208101919091526040016000908120805460ff19169215159290921790915560019081906200058b60c890565b60ff1660ff1681526020019081526020016000206000620002ff620005b160201b60201c565b606490565b60d290565b60c890565b600a90565b601490565b601e90565b602890565b61184780620005e46000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063a238accd11610097578063b24133ec11610066578063b24133ec146102e1578063bf1db3f9146102f4578063e9e96c7014610307578063f48016ce1461034557600080fd5b8063a238accd146101ea578063a4dc7d86146101fd578063a5961b4c1461021d578063a8989675146102ce57600080fd5b806354f6127f116100d357806354f6127f146101825780635dee4788146101a25780636ec3d940146101b75780638eaa6ac0146101ca57600080fd5b806309648a9d146100fa5780630d3581811461013957806338a699a41461015f575b600080fd5b61012261010836600461122a565b600090815260026020526040902054610100900460ff1690565b60405160ff90911681526020015b60405180910390f35b610122610147366004611255565b60ff9081166000908152602081905260409020541690565b61017261016d36600461122a565b610366565b6040519015158152602001610130565b61019561019036600461122a565b6103f7565b60405161013091906112b8565b6101b56101b036600461136e565b61049c565b005b6101b56101c53660046113c7565b61076f565b6101dd6101d836600461122a565b610923565b6040516101309190611458565b6101b56101f836600461148c565b610a64565b61021061020b36600461122a565b610cd4565b60405161013091906114d2565b6102c161022b36600461122a565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915250600090815260026020908152604091829020825160a081018452905460ff8082168352610100820416928201929092526001600160a01b03620100008304169281019290925263ffffffff600160b01b820481166060840152600160d01b90910416608082015290565b60405161013091906114e0565b6101b56102dc3660046114ee565b610d82565b6101b56102ef36600461136e565b610e78565b610172610302366004611255565b611153565b6101726103153660046114ee565b60ff9283166000908152600160209081526040808320948616835293815283822092851682529190915220541690565b610358610353366004611549565b6111a0565b604051908152602001610130565b60008181526002602052604080822054905163b2466acf60e01b815261010090910460ff16600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024015b602060405180830381865af41580156103cd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f19190611577565b92915050565b600081815260026020526040902060010180546060919061041790611599565b80601f016020809104026020016040519081016040528092919081815260200182805461044390611599565b80156104905780601f1061046557610100808354040283529160200191610490565b820191906000526020600020905b81548152906001019060200180831161047357829003601f168201915b50505050509050919050565b6003546001600160a01b031633146104cf5760405162461bcd60e51b81526004016104c6906115d3565b60405180910390fd5b60405163b2466acf60e01b815260ff8316600482015273__$fb4566b39bd2075cb32f600f6f40bfaef2$__9063b2466acf90602401602060405180830381865af4158015610521573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105459190611577565b6105915760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a4b56532d3031303a545950455f554e444546494e45440000000060448201526064016104c6565b600083815260026020526040908190208054915163037c8cb160e51b815261010090920460ff1660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af41580156105fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061061e9190611577565b61066a5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3031323a414c52454144595f4352454154454400000060448201526064016104c6565b3343600061067786611153565b610682576064610698565b60ff808716600090815260208190526040902054165b845460ff88811661ffff1990921691909117610100918316919091021762010000600160d01b031916620100006001600160a01b0386160263ffffffff60b01b191617600160b01b63ffffffff85169081029190911763ffffffff60d01b1916600160d01b9190910217855560008881526002602052604090209091506001016107228682611658565b507f73f3182791c24ae0b300ad6af1a7068367128fc289a81ef990679ae73fd6b43261074d88610cd4565b828560405161075e93929190611718565b60405180910390a150505050505050565b6003546001600160a01b031633146107995760405162461bcd60e51b81526004016104c6906115d3565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610805573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108299190611577565b6108755760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3033303a4e4f545f4558495354494e4700000000000060448201526064016104c6565b60008481526002602052604090206001016108908482611658565b508154620100003390810262010000600160b01b031983161784559063ffffffff600160b01b909104166108c14390565b845463ffffffff91909116600160b01b0263ffffffff60b01b1990911617845560006108ec87610cd4565b90507f816901577d1f95b21749b8032a8c0475ee6d8f8bb5917d222ce852943b0fc1a38185858560405161075e9493929190611748565b6040805160e081018252600091810182815260608083018490526080830184905260a0830184905260c083019390935281526020810191909152600082815260026020908152604091829020825160e081018452815460ff80821695830195865261010082041660608301526001600160a01b0362010000820416608083015263ffffffff600160b01b8204811660a0840152600160d01b9091041660c082015292835260018101805491928401916109db90611599565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0790611599565b8015610a545780601f10610a2957610100808354040283529160200191610a54565b820191906000526020600020905b815481529060010190602001808311610a3757829003601f168201915b5050505050815250509050919050565b6003546001600160a01b03163314610a8e5760405162461bcd60e51b81526004016104c6906115d3565b60405163b2466acf60e01b815260ff8216600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610ae0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b049190611577565b610b505760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3034303a53544154455f554e444546494e454400000060448201526064016104c6565b600082815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610bbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610be09190611577565b610c2c5760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3034313a4e4f545f4558495354494e4700000000000060448201526064016104c6565b8154620100003390810262010000600160b01b031960ff87166101000216610100600160b01b03198416171784559063ffffffff600160b01b90910416610c704390565b845463ffffffff91909116600160b01b0263ffffffff60b01b199091161784556000610c9b87610cd4565b90507f6858c0d3ed40228af5781ff90503acebd6c673c57f8eddec5815410aa6f21118818786868660405161075e959493929190611783565b604080518082019091526000808252602082015260405163526e3ec360e11b815260048101839052600090819073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063a4dc7d86906024016040805180830381865af4158015610d3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6091906117c9565b6040805180820190915260ff909216825260ff19166020820152949350505050565b60ff8381166000908152602081905260409081902054905163037c8cb160e51b81529116600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__90636f91962090602401602060405180830381865af4158015610de7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0b9190611577565b15610e1557505050565b60ff808416600090815260016020908152604080832086851684528252808320858516845290915290205416610e7357604051636bb20ea760e01b815260ff80851660048301528084166024830152821660448201526064016104c6565b505050565b6003546001600160a01b03163314610ea25760405162461bcd60e51b81526004016104c6906115d3565b60405163b2466acf60e01b815260ff8316600482015273__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610ef4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f189190611577565b610f645760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4b56532d3032303a53544154455f554e444546494e454400000060448201526064016104c6565b600083815260026020526040908190208054915163b2466acf60e01b815261010090920460ff1660048301819052909173__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf90602401602060405180830381865af4158015610fd0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ff49190611577565b6110405760405162461bcd60e51b815260206004820152601a60248201527f4552524f523a4b56532d3032313a4e4f545f4558495354494e4700000000000060448201526064016104c6565b600085815260026020526040902060010161105b8482611658565b508154620100003390810262010000600160b01b031960ff88166101000216610100600160b01b03198416171784559063ffffffff600160b01b909104166110a04390565b845463ffffffff91909116600160b01b0263ffffffff60b01b1990911617845560006110cb88610cd4565b90507f6858c0d3ed40228af5781ff90503acebd6c673c57f8eddec5815410aa6f211188188868686604051611104959493929190611783565b60405180910390a17f816901577d1f95b21749b8032a8c0475ee6d8f8bb5917d222ce852943b0fc1a3818885856040516111419493929190611748565b60405180910390a15050505050505050565b60ff81811660009081526020819052604080822054905163b2466acf60e01b8152921660048301529073__$2a12cf1a40369f689f3a67e70f4b31dadc$__9063b2466acf906024016103b0565b604051637a400b6760e11b815260ff8316600482015260ff198216602482015260009073__$c8f743efd2b4f0c9300f2558c784479d3e$__9063f48016ce90604401602060405180830381865af41580156111ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122391906117f8565b9392505050565b60006020828403121561123c57600080fd5b5035919050565b60ff8116811461125257600080fd5b50565b60006020828403121561126757600080fd5b813561122381611243565b6000815180845260005b818110156112985760208185018101518683018201520161127c565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006112236020830184611272565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126112f257600080fd5b813567ffffffffffffffff8082111561130d5761130d6112cb565b604051601f8301601f19908116603f01168101908282118183101715611335576113356112cb565b8160405283815286602085880101111561134e57600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561138357600080fd5b83359250602084013561139581611243565b9150604084013567ffffffffffffffff8111156113b157600080fd5b6113bd868287016112e1565b9150509250925092565b600080604083850312156113da57600080fd5b82359150602083013567ffffffffffffffff8111156113f857600080fd5b611404858286016112e1565b9150509250929050565b60ff815116825260ff602082015116602083015260018060a01b036040820151166040830152606081015163ffffffff808216606085015280608084015116608085015250505050565b6020815261146a60208201835161140e565b6000602083015160c08084015261148460e0840182611272565b949350505050565b6000806040838503121561149f57600080fd5b8235915060208301356114b181611243565b809150509250929050565b805160ff16825260209081015160ff1916910152565b604081016103f182846114bc565b60a081016103f1828461140e565b60008060006060848603121561150357600080fd5b833561150e81611243565b9250602084013561151e81611243565b9150604084013561152e81611243565b809150509250925092565b60ff198116811461125257600080fd5b6000806040838503121561155c57600080fd5b823561156781611243565b915060208301356114b181611539565b60006020828403121561158957600080fd5b8151801515811461122357600080fd5b600181811c908216806115ad57607f821691505b6020821081036115cd57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526017908201527f4552524f523a4b56532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b601f821115610e7357600081815260208120601f850160051c810160208610156116315750805b601f850160051c820191505b818110156116505782815560010161163d565b505050505050565b815167ffffffffffffffff811115611672576116726112cb565b611686816116808454611599565b8461160a565b602080601f8311600181146116bb57600084156116a35750858301515b600019600386901b1c1916600185901b178555611650565b600085815260208120601f198616915b828110156116ea578886015182559484019460019091019084016116cb565b50858210156117085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6080810161172682866114bc565b60ff9390931660408201526001600160a01b0391909116606090910152919050565b60a0810161175682876114bc565b60ff9490941660408201526001600160a01b0392909216606083015263ffffffff16608090910152919050565b60c0810161179182886114bc565b60ff95861660408301529390941660608501526001600160a01b0391909116608084015263ffffffff1660a090920191909152919050565b600080604083850312156117dc57600080fd5b82516117e781611243565b60208401519092506114b181611539565b60006020828403121561180a57600080fd5b505191905056fea26469706673582212200baea1d1d5536d5c8a8d942ff02b586f479373c1d952cb7d598870c89cdb189d64736f6c63430008140033",
1929
- "deployedBytecode": "0x60806040523480156200001157600080fd5b50600436106200042d5760003560e01c806387c565861162000235578063bd7d9d85116200013d578063e03eeb8511620000c7578063ee0fdf711162000092578063ee0fdf711462000c9f578063f0ea17c31462000cb6578063f274e87d1462000cdc578063f8229f581462000d09578063fe1f18d61462000d2057600080fd5b8063e03eeb851462000c43578063e1f64d771462000c5a578063e7762e4a1462000c71578063e79597401462000c8857600080fd5b8063d250185c1162000108578063d250185c1462000bad578063dad73bed1462000bc4578063db70354c1462000bdb578063dc261c3a1462000bf257600080fd5b8063bd7d9d851462000aba578063c2bf7d261462000ae0578063cf5ccedb1462000af7578063d0bb064c1462000b1d57600080fd5b806399fd467711620001bf578063af17d38a116200018a578063af17d38a1462000a5e578063b88da7591462000a75578063b8c510671462000a8c578063b9f36dde1462000aa357600080fd5b806399fd467714620009fb578063a13df2ab14620008ca578063a310e2a31462000a12578063a90be9071462000a4757600080fd5b8063946dfcfe1162000200578063946dfcfe14620009ad5780639555c4db14620009b65780639675513d14620009cd5780639845743714620009e457600080fd5b806387c565861462000922578063893d20e8146200093b5780638b59fe2a146200094557806393865aec146200095c57600080fd5b80634793b4ab116200033957806369a44a1b11620002c357806375a07ed2116200028e57806375a07ed214620008e15780637fec8b3114620008f85780638125ea92146200090f57806383d33319146200091957600080fd5b806369a44a1b146200088f5780636b9bf08b14620008a65780636fa2985314620008b857806370475d4714620008ca57600080fd5b806357f80bbf116200030457806357f80bbf14620007a75780635ab1bd531462000847578063644c45e0146200086e578063674d0ccf146200087857600080fd5b80634793b4ab14620006195780634d459c90146200063f5780634fd077f514620007505780635312fdc2146200077657600080fd5b80631aa3a00811620003bb5780633300a8a811620003865780633300a8a814620005a8578063349195f914620005ce5780633bc5de3014620005d75780634288121d14620005f357600080fd5b80631aa3a008146200053057806320f4b65e146200055357806331b62a3b146200056a57806331e48e32146200059157600080fd5b80630d0ccc5b11620003fc5780630d0ccc5b14620004be5780630d6844c214620004e45780630d8e6e2c14620004fb57806315dae03e146200051a57600080fd5b806301ffc9a7146200043257806305910874146200047757806306ed966e14620004905780630abd843414620004a7575b600080fd5b620004626200044336600462004163565b6001600160e01b03191660009081526002602052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200048e62000488366004620041b9565b62000d37565b005b6200048e620004a136600462004341565b62000f54565b62000462620004b83660046200439b565b62001020565b620004d5620004cf366004620043bb565b620010c4565b6040519081526020016200046e565b6200048e620004f536600462004410565b6200114f565b62000505620011f7565b60405162ffffff90911681526020016200046e565b60325b60405160ff90911681526020016200046e565b6200053a62001284565b6040516001600160601b0390911681526020016200046e565b6200048e62000564366004620044f4565b6200137f565b7f00000000000000000000000000000000000000000000000000000000000000006200053a565b6200048e620005a236600462004613565b620014f9565b620005bf620005b9366004620046b5565b620017f5565b6040516200046e9190620046d5565b600e54620004d5565b604080516020810182526000815290516200046e919062004788565b6005546001600160a01b03165b6040516001600160a01b0390911681526020016200046e565b620006306200062a366004620046b5565b6200187b565b6040516200046e91906200479d565b620006f2620006503660046200439b565b6040805160a0810182526000808252602082018190529181018290526060810182905260808101919091525062ffffff90811660009081526020818152604091829020825160a0810184528154948516815263010000009094046001600160a01b03908116928501929092526001015490811691830191909152600160a01b810464ffffffffff166060830152600160c81b900463ffffffff16608082015290565b60408051825162ffffff1681526020808401516001600160a01b039081169183019190915283830151169181019190915260608083015164ffffffffff169082015260809182015163ffffffff169181019190915260a0016200046e565b6200076762000761366004620046b5565b62001904565b6040516200046e919062004835565b6200078d62000787366004620048c2565b620019af565b6040516001600160c01b031990911681526020016200046e565b62000819620007b8366004620046b5565b6040805160608082018352600080835260208084018290529284018190526001600160601b039485168152601083528390208351918201845280549485168252600160601b90940460ff161515918101919091526001909201549082015290565b6040805182516001600160601b0316815260208084015115159082015291810151908201526060016200046e565b7f000000000000000000000000000000000000000000000000000000000000000062000600565b6200053a620019f1565b620004d562000889366004620048f3565b62001a59565b620004d5620008a0366004620046b5565b62001a7d565b6006546001600160a01b031662000600565b6004546001600160a01b031662000600565b620004d5620008db366004620046b5565b62001b0e565b6200048e620008f236600462004913565b62001b1b565b6200053a62000909366004620048c2565b62001e22565b6200060062001e6a565b600854620004d5565b6200092c62001e7f565b6040516200046e919062004981565b6200060062001f02565b6200048e6200095636600462004999565b62001f0e565b6200048e6200096d366004620049eb565b6001600160601b03909216600090815260146020908152604090912082516001820155918101516002830155825160038301559190910151600490910155565b600154620004d5565b6200048e620009c736600462004a39565b62002044565b620004d5620009de36600462004a6c565b62002050565b6200048e620009f536600462004a9f565b620021ba565b6200046262000a0c36600462004ae5565b6200233a565b6200060062000a23366004620046b5565b6001600160601b03166000908152601560205260409020546001600160a01b031690565b620004d562000a58366004620048c2565b62002371565b6200078d62000a6f36600462004b06565b620023ad565b6200050562000a86366004620048c2565b6200253b565b6200078d62000a9d36600462004b06565b6200257f565b6200048e62000ab436600462004ae5565b620025ff565b62000ad162000acb366004620046b5565b62002768565b6040516200046e919062004b5b565b6200048e62000af136600462004ae5565b62002a11565b62000b0e62000b08366004620048f3565b62002c11565b6040516200046e919062004cc7565b6200048e62000b2e36600462004d10565b604080516080810182526001600160601b039586168082526001600160a01b039586166020808401918252838501968752606084019586526000928352601481529390912091519051909516600160601b0294909516939093178455905180516001850155820151600284015551805160038401550151600490910155565b6200092c62000bbe36600462004d73565b62002d0f565b6200048e62000bd536600462004da5565b62002d9e565b6200053a62000bec36600462004dd8565b62002fbc565b6200048e62000c03366004620049eb565b6001600160601b03909216600090815260126020908152604090912082516003820155918101516004830155825160058301559190910151600690910155565b6200048e62000c5436600462004e07565b62003053565b6200048e62000c6b36600462004a9f565b6200319f565b6200051d62000c82366004620046b5565b620032ed565b6200060062000c9936600462004e3c565b620032fa565b6200046262000cb0366004620048f3565b6200331f565b62000ccd62000cc7366004620046b5565b6200334a565b6040516200046e919062004e5d565b62000cf362000ced36600462004e86565b6200337e565b604080519283526020830191909152016200046e565b6200048e62000d1a36600462004ecb565b6200340a565b6200048e62000d3136600462004410565b6200362d565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562000d78573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000d9e919062005064565b6001600160a01b0316336001600160a01b03161462000e045760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f53455256494345000060448201526064015b60405180910390fd5b6000604051806101000160405280886001600160601b03168152602001876001600160601b0316815260200184848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201829052509385525050506020820188905260408201526060810187905260800142604051631ded81af60e31b815264ffffffffff90911660048201526024810187905273__$d53880c81dc91c20799140d711e5ab8718$__9063ef6c0d7890604401602060405180830381865af415801562000ede573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000f04919062005091565b64ffffffffff168152602001600064ffffffffff16815250905062000f4b878260405160200162000f3691906200479d565b604051602081830303815290604052620036f6565b50505050505050565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000f93573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000fb9919062005064565b6001600160a01b0316336001600160a01b03161462000fec5760405162461bcd60e51b815260040162000dfb90620050b1565b6200101d81600001518260405160200162001008919062004e5d565b6040516020818303038152906040526200377d565b50565b62ffffff8116600090815260208190526040808220600101549051631bbffab160e21b8152600160c81b90910463ffffffff166004820152819073__$5f476116ae21c5294e0c0761c07efa7e1c$__90636effeac490602401602060405180830381865af415801562001097573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620010bd9190620050e8565b1192915050565b604051631488c84560e01b815260048101839052600082810b60248301529073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__90631488c84590604401602060405180830381865af415801562001120573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011469190620050e8565b90505b92915050565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200118e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011b4919062005064565b6001600160a01b0316336001600160a01b031614620011e75760405162461bcd60e51b815260040162000dfb90620050b1565b620011f38282620037b9565b5050565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af415801562001259573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200127f919062005102565b905090565b60006200129062001f02565b6001600160a01b0316336001600160a01b031614620012f25760405162461bcd60e51b815260206004820152601760248201527f4552524f523a5247422d3030313a4e4f545f4f574e4552000000000000000000604482015260640162000dfb565b604051632210724360e11b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634420e486906024016020604051808303816000875af115801562001359573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200127f91906200512f565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620013c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620013e6919062005064565b6001600160a01b0316336001600160a01b031614806200147d5750306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001442573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001468919062005064565b6001600160a01b0316336001600160a01b0316145b620014dd5760405162461bcd60e51b815260206004820152602960248201527f4552524f523a42444c2d3030333a4e4f545f504f4f4c5f4f525f50524f445543604482015268545f5345525649434560b81b606482015260840162000dfb565b6200101d8160000151826040516020016200100891906200479d565b6001600160601b0387166000908152601560205260409020546001600160a01b031615620015815760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031303a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000dfb565b6001600160601b0385166000908152601560205260409020546001600160a01b031615620016095760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031313a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000dfb565b6001600160601b0386166000908152601560205260409020546001600160a01b031615620016915760405162461bcd60e51b815260206004820152602e60248201527f4552524f523a5452532d3031323a544f4b454e5f48414e444c45525f414c524560448201526d10511657d49151d254d51154915160921b606482015260840162000dfb565b60008785604051620016a3906200409f565b6001600160601b0390921682526001600160a01b03166020820152604001604051809103906000f080158015620016de573d6000803e3d6000fd5b506001600160601b03988916600081815260156020908152604080832080546001600160a01b039687166001600160a01b031991821681179092559b8e1680855282852080548e16831790559c8e1680855282852080548e16909217909155815160e0810183528581528084019182528083019d8e529a861660608c0190815299861660808c0190815260a08c01998a5260c08c019889529484526012835292209851895492518d16600160601b9081026001600160c01b0319909416918e1691909117929092178955995196518316029590991694909417600186015550955160028401805491909316941693909317905590518051600383015582015160048201559151805160058401550151600690910155565b620017ff620040ad565b506001600160601b03908116600090815260146020908152604091829020825160808101845281549485168152600160601b9094046001600160a01b0316848301528251808401845260018201548152600282015481840152848401528251808401909352600381015483526004015490820152606082015290565b620018e460405180610100016040528060006001600160601b0316815260200160006001600160601b0316815260200160608152602001600081526020016000815260200160008152602001600064ffffffffff168152602001600064ffffffffff1681525090565b620018ef8262003803565b8060200190518101906200114991906200519b565b6200190e6200411e565b506001600160601b03908116600090815260126020908152604091829020825160e08101845281548086168252600160601b908190048616828501526001830154958616828601526001600160a01b0395048516606082015260028201549094166080850152825180840184526003820154815260048201548184015260a0850152825180840190935260058101548352600601549082015260c082015290565b600060088281548110620019c757620019c76200526c565b90600052602060002090600491828204019190066008029054906101000a900460c01b9050919050565b604051636939560f60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063d272ac1e90602401602060405180830381865afa15801562001359573d6000803e3d6000fd5b6001600160c01b031981166000908152600a60205260408120620011499062003889565b6001600160601b038116600090815260116020526040808220905163697d0f1b60e11b8152600481019190915273__$0dc988b1672de335b826773df9015af2da$__9063d2fa1e36906024015b602060405180830381865af415801562001ae8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011499190620050e8565b6000620011498262003894565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562001b5c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b82919062005064565b6001600160a01b0316336001600160a01b03161462001bb55760405162461bcd60e51b815260040162000dfb9062005282565b604051806102000160405280866001600160601b03168152602001876001600160601b03168152602001826001600160601b0316815260200160006001600160a01b0316815260200162001c07600a90565b60ff1681526020018581526020018481526020016000815260200183815260200160405180602001604052806000815250815260200160405180602001604052806000815250815260200162001c5a4290565b64ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff168152602001600064ffffffffff1681526020014363ffffffff1690526001600160601b038681166000908152600f602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e082015160058201556101008201516006820155610120820151600782019062001d5890826200534e565b50610140820151600882019062001d7090826200534e565b50610160820151600990910180546101808401516101a08501516101c08601516101e09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916650100000000000269ffffffffffffffffffff1990961698909716979097179390931791909116939093179290921792909216179055505050505050565b6000600e828154811062001e3a5762001e3a6200526c565b9060005260206000209060029182820401919006600c029054906101000a90046001600160601b03169050919050565b60006200127f6003546001600160a01b031690565b604080518082019091526000808252602082015273__$a23651848365a6a5ca15f07b4331037f48$__632bd182d36040518163ffffffff1660e01b81526004016040805180830381865af415801562001edc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200127f91906200541a565b60006200127f620038eb565b306001600160a01b0316636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001f4d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f73919062005064565b6001600160a01b0316336001600160a01b03161462001fa65760405162461bcd60e51b815260040162000dfb90620050b1565b6040805180820182526001600160601b038581168083526001600160a01b038516602080850191909152600e8054600180820183556000929092527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd6002820401805492909116600c026101000a9485021990911693909202929092179055915190916200203e91869162000f369185910162004e5d565b50505050565b620011f3828262003a4d565b6000306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af115801562002093573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020b9919062005064565b6001600160a01b0316336001600160a01b031614620020ec5760405162461bcd60e51b815260040162000dfb906200544f565b506001600160601b038083166000818152600d602090815260408083209486168352938152838220805490839055928252600c9052829020915163539eabab60e11b8152909173__$0dc988b1672de335b826773df9015af2da$__9163a73d5756916200216f9186906004019182526001600160601b0316602082015260400190565b602060405180830381865af41580156200218d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021b3919062005490565b5092915050565b6001600160601b03828116600090815260116020526040908190209051632bfdd6b960e01b81526004810182905291851660248301529073__$0dc988b1672de335b826773df9015af2da$__90632bfdd6b990604401602060405180830381865af41580156200222e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002254919062005490565b15620022ad5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a504c2d3032303a42554e444c455f414c52454144595f414444456044820152601160fa1b606482015260840162000dfb565b604051631461054360e31b8152600481018290526001600160601b038516602482015273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af41580156200230d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002333919062005490565b5050505050565b6001600160c01b0319821660009081526009602090815260408083206001600160a01b038516845290915281205460ff1662001146565b6040516322f5db0f60e11b81526004810182905260009073__$fa7f345063a1bf0cf2bd14a32ccc1b6018$__906345ebb61e9060240162001aca565b6000306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620023ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002414919062005064565b6001600160a01b0316336001600160a01b031614620024475760405162461bcd60e51b815260040162000dfb90620054b0565b60405163e14787cb60e01b815273__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb906200248090859060040162004788565b602060405180830381865af41580156200249e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024c49190620054e7565b9050620024d1816200331f565b156200252a5760405162461bcd60e51b815260206004820152602160248201527f4552524f523a4143532d3031303a524f4c455f414c52454144595f45584953546044820152605360f81b606482015260840162000dfb565b62002536818362003d1e565b919050565b6000600182815481106200255357620025536200526c565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff169050919050565b60405163e14787cb60e01b815260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__9063e14787cb90620025bb90859060040162004788565b602060405180830381865af4158015620025d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011499190620054e7565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b1614620026435760405162461bcd60e51b815260040162000dfb9062005507565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002682573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026a8919062005064565b6001600160a01b0316336001600160a01b031614620026db5760405162461bcd60e51b815260040162000dfb90620054b0565b6001600160c01b0319831660008181526009602090815260408083206001600160a01b03871684528252808320805460ff19169055928252600a90522062002724908362003d83565b507fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d16987545396684838360006040516200275b939291906200553e565b60405180910390a1505050565b604080516102008101825260008082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820183905260e0820183905261010082018390526101208201819052610140820152610160810182905261018081018290526101a081018290526101c081018290526101e08101919091526001600160601b038281166000908152600f602090815260409182902082516102008101845281548086168252600160601b9081900486169382019390935260018201549485169381019390935292046001600160a01b03166060820152600282015460ff166080820152600382015460a0820152600482015460c0820152600582015460e08201526006820154610100820152600782018054919291610120840191906200289790620052c3565b80601f0160208091040260200160405190810160405280929190818152602001828054620028c590620052c3565b8015620029165780601f10620028ea5761010080835404028352916020019162002916565b820191906000526020600020905b815481529060010190602001808311620028f857829003601f168201915b505050505081526020016008820180546200293190620052c3565b80601f01602080910402602001604051908101604052809291908181526020018280546200295f90620052c3565b8015620029b05780601f106200298457610100808354040283529160200191620029b0565b820191906000526020600020905b8154815290600101906020018083116200299257829003601f168201915b50505091835250506009919091015464ffffffffff808216602084015265010000000000820481166040840152600160501b820481166060840152600160781b8204166080830152600160a01b900463ffffffff1660a09091015292915050565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b161462002a555760405162461bcd60e51b815260040162000dfb9062005507565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002a94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002aba919062005064565b6001600160a01b0316336001600160a01b03161462002aed5760405162461bcd60e51b815260040162000dfb90620054b0565b6001600160c01b0319831660009081526007602052604090206002015460ff1662002b5b5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a4143532d3034303a524f4c455f4e4f545f414354495645000000604482015260640162000dfb565b6001600160c01b0319831660008181526009602090815260408083206001600160a01b03871684528252808320805460ff19166001179055928252600a90522062002ba7908362003d9a565b506001600160c01b0319831660009081526009602090815260408083206001600160a01b0386168452909152908190205490517fab64a6bff51dad0663bf6702fca25a9e2751ecc0353d6fe92d16987545396684916200275b918691869160ff909116906200553e565b6040805160608082018352600080835260208084018390528385018290526001600160c01b0319868116835260078252918590208551938401909552845460c01b9091168252600184018054939492939184019162002c7090620052c3565b80601f016020809104026020016040519081016040528092919081815260200182805462002c9e90620052c3565b801562002cef5780601f1062002cc35761010080835404028352916020019162002cef565b820191906000526020600020905b81548152906001019060200180831162002cd157829003601f168201915b50505091835250506002919091015460ff16151560209091015292915050565b60408051808201825260008082526020820152905163638086fd60e11b8152600481018490526024810183905273__$a23651848365a6a5ca15f07b4331037f48$__9063c7010dfa906044016040805180830381865af415801562002d78573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200114691906200541a565b6001600160c01b0319828116600081815260076020526040902054849260c09190911b161462002de25760405162461bcd60e51b815260040162000dfb9062005507565b306001600160a01b031663893d20e86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002e21573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002e47919062005064565b6001600160a01b0316336001600160a01b03161462002e7a5760405162461bcd60e51b815260040162000dfb90620054b0565b6001600160c01b03198084166000908152600760209081526040808320815160608101909252805460c01b909416815260018401805493949193919284019162002ec490620052c3565b80601f016020809104026020016040519081016040528092919081815260200182805462002ef290620052c3565b801562002f435780601f1062002f175761010080835404028352916020019162002f43565b820191906000526020600020905b81548152906001019060200180831162002f2557829003601f168201915b50505091835250506002919091015460ff1615156020909101528315156040820152905062002f728162003db1565b604080516001600160c01b03198616815284151560208201527feaffaec948991ecc6e201ba4f67ba865fbf66aace3d2f2823dc5483cc9813fda910160405180910390a150505050565b6001600160601b038216600090815260116020526040808220905163e797d89960e01b815260048101919091526024810183905273__$0dc988b1672de335b826773df9015af2da$__9063e797d89990604401602060405180830381865af41580156200302d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200114691906200512f565b6001600160601b0383811660009081526010602052604090819020549051630a4d29dd60e31b81529116600482015273__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906352694ee890602401602060405180830381865af4158015620030bf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030e5919062005490565b620031335760405162461bcd60e51b815260206004820152601c60248201527f4552524f523a504c2d3031303a414c52454144595f4352454154454400000000604482015260640162000dfb565b604080516060810182526001600160601b039485168082529315156020808301918252828401948552600095865260109052919093209251835491511515600160601b026cffffffffffffffffffffffffff199092169416939093179290921781559051600190910155565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015620031e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003206919062005064565b6001600160a01b0316336001600160a01b031614620032395760405162461bcd60e51b815260040162000dfb906200544f565b6001600160601b038381166000818152600d60209081526040808320948716808452948252808320869055928252600c90528190209051631461054360e31b81526004810191909152602481019190915273__$0dc988b1672de335b826773df9015af2da$__9063a3082a1890604401602060405180830381865af4158015620032c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200203e919062005490565b6000620011498262003e8c565b6001600160c01b031982166000908152600a6020526040812062001146908362003f0e565b6001600160c01b0319818116600081815260076020526040812054909260c09190911b161462001149565b6040805180820190915260008082526020820152620033698262003803565b8060200190518101906200114991906200556b565b60008073__$a23651848365a6a5ca15f07b4331037f48$__63c66fb3ae85856040518363ffffffff1660e01b8152600401620033bc929190620055a7565b6040805180830381865af4158015620033d9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033ff9190620055c6565b915091509250929050565b306001600160a01b0316634288121d6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200344b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003471919062005064565b6001600160a01b0316336001600160a01b031614620034a45760405162461bcd60e51b815260040162000dfb9062005282565b80516001600160601b039081166000908152600f602090815260409182902084518154928601519085166001600160c01b031990931692909217600160601b928516830217815591840151606085015193166001600160a01b0390931602919091176001820155608082015160028201805460ff191660ff90921691909117905560a0820151600382015560c0820151600482015560e08201516005820155610100820151600682015561012082015182919060078201906200356890826200534e565b5061014082015160088201906200358090826200534e565b50610160820151600990910180546101808401516101a08501516101c08601516101e09096015163ffffffff16600160a01b0263ffffffff60a01b1964ffffffffff978816600160781b0264ffffffffff60781b19938916600160501b029390931669ffffffffffffffffffff60501b19948916650100000000000269ffffffffffffffffffff199096169890971697909717939093179190911693909317929092179290921617905550565b306001600160a01b0316636b9bf08b6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156200366e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003694919062005064565b6001600160a01b0316336001600160a01b031614620011e75760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a42444c2d3030313a4e4f545f504f4f4c5f534552564943450000604482015260640162000dfb565b600b546001600160a01b0316635dee4788620037128462003894565b600b5460405160e084901b6001600160e01b0319168152620037459291600160a01b900460ff16908690600401620055eb565b600060405180830381600087803b1580156200376057600080fd5b505af115801562003775573d6000803e3d6000fd5b505050505050565b600b546001600160a01b0316636ec3d940620037998462003894565b836040518363ffffffff1660e01b81526004016200374592919062005618565b600b546001600160a01b031663a238accd620037d58462003894565b6040516001600160e01b031960e084901b168152600481019190915260ff8416602482015260440162003745565b600b546060906001600160a01b03166354f6127f620038228462003894565b6040518263ffffffff1660e01b81526004016200384191815260200190565b600060405180830381865afa1580156200385f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001149919081019062005633565b600062001149825490565b600b54604051630711349960e31b81526001600160601b0383166004820152600160a01b90910460ff16602482015260009073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__90633889a4c89060440162001aca565b604051636939560f60e11b815230600482015260009081906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d272ac1e90602401602060405180830381865afa15801562003955573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200397b91906200512f565b90506001600160601b038116620039b3577f000000000000000000000000000000000000000000000000000000000000000091505090565b60405163df33330b60e01b81526001600160601b03821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063df33330b90602401602060405180830381865afa15801562003a21573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a47919062005064565b91505090565b600062003a59620011f7565b905062003a668162001020565b1562003ac55760405162461bcd60e51b815260206004820152602760248201527f4552524f523a56524e2d3030313a56455253494f4e5f414c52454144595f41436044820152661512559055115160ca1b606482015260840162000dfb565b6001541562003b8c57600180546000919062003ae39082906200566b565b8154811062003af65762003af66200526c565b90600052602060002090600a91828204019190066003029054906101000a900462ffffff16905062003b30828262ffffff90811691161190565b62003b8a5760405162461bcd60e51b8152602060048201526024808201527f4552524f523a56524e2d3030323a56455253494f4e5f4e4f545f494e4352454160448201526353494e4760e01b606482015260840162000dfb565b505b600180548082018255600091909152600a8082047fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf601805462ffffff808616600394909506939093026101000a848102930219169190911790556040805160a0810182529182526001600160a01b0380861660208401528416908201526060810162003c154290565b64ffffffffff1681526020014363ffffffff90811690915262ffffff8084166000908152602081815260409182902085518154928701516001600160a01b039081166301000000026001600160b81b0319909416919095161791909117815584820151600190910180546060870151608090970151909516600160c81b0263ffffffff60c81b1964ffffffffff909716600160a01b026001600160c81b031990961692909416919091179390931793909316179055517f68e7327fca0057a787cde34ababb9ef9844ba8065ee03e8781d8122fc15d4419906200275b9083908690869062ffffff9390931683526001600160a01b03918216602084015216604082015260600190565b604080516060810182526001600160c01b0319841681526020810183905260019181019190915262003d508162003db1565b7f34e1f82fc40bf14028ae2a3150f074e7715e20ed8e30e250f8789cee718c648583836040516200275b9291906200568d565b600062001146836001600160a01b03841662003f1c565b600062001146836001600160a01b03841662004020565b80516001600160c01b0319811660009081526007602090815260409091208351815467ffffffffffffffff191660c09190911c17815590830151839190600182019062003dff90826200534e565b50604091909101516002909101805460ff191691151591909117905562003e26816200331f565b620011f357600880546001810182556000829052600481047ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301805460c085901c60039093169093026101000a9182026001600160401b03909202199092161790555050565b600b546000906001600160a01b03166309648a9d62003eab8462003894565b6040518263ffffffff1660e01b815260040162003eca91815260200190565b602060405180830381865afa15801562003ee8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011499190620056b4565b600062001146838362004072565b600081815260018301602052604081205480156200401557600062003f436001836200566b565b855490915060009062003f59906001906200566b565b905081811462003fc557600086600001828154811062003f7d5762003f7d6200526c565b906000526020600020015490508087600001848154811062003fa35762003fa36200526c565b6000918252602080832090910192909255918252600188019052604090208390555b855486908062003fd95762003fd9620056d4565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505062001149565b600091505062001149565b6000818152600183016020526040812054620040695750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562001149565b50600062001149565b60008260000182815481106200408c576200408c6200526c565b9060005260206000200154905092915050565b6102aa80620056eb83390190565b604051806080016040528060006001600160601b0316815260200160006001600160a01b03168152602001620040f6604051806040016040528060008152602001600081525090565b815260200162004119604051806040016040528060008152602001600081525090565b905290565b6040805160e08101825260008082526020808301829052828401829052606083018290526080830182905283518085019094528184528301529060a0820190620040f6565b6000602082840312156200417657600080fd5b81356001600160e01b0319811681146200418f57600080fd5b9392505050565b6001600160601b03811681146200101d57600080fd5b8035620025368162004196565b60008060008060008060a08789031215620041d357600080fd5b8635620041e08162004196565b95506020870135620041f28162004196565b9450604087013593506060870135925060808701356001600160401b03808211156200421d57600080fd5b818901915089601f8301126200423257600080fd5b8135818111156200424257600080fd5b8a60208285010111156200425557600080fd5b6020830194508093505050509295509295509295565b634e487b7160e01b600052604160045260246000fd5b604080519081016001600160401b0381118282101715620042a657620042a66200426b565b60405290565b60405161010081016001600160401b0381118282101715620042a657620042a66200426b565b60405161020081016001600160401b0381118282101715620042a657620042a66200426b565b604051601f8201601f191681016001600160401b03811182821017156200432357620043236200426b565b604052919050565b6001600160a01b03811681146200101d57600080fd5b6000604082840312156200435457600080fd5b6200435e62004281565b82356200436b8162004196565b815260208301356200437d816200432b565b60208201529392505050565b62ffffff811681146200101d57600080fd5b600060208284031215620043ae57600080fd5b81356200418f8162004389565b60008060408385031215620043cf57600080fd5b8235915060208301358060000b8114620043e857600080fd5b809150509250929050565b60ff811681146200101d57600080fd5b80356200253681620043f3565b600080604083850312156200442457600080fd5b8235620044318162004196565b91506020830135620043e881620043f3565b60006001600160401b038211156200445f576200445f6200426b565b50601f01601f191660200190565b6000620044846200447e8462004443565b620042f8565b90508281528383830111156200449957600080fd5b828260208301376000602084830101529392505050565b600082601f830112620044c257600080fd5b62001146838335602085016200446d565b64ffffffffff811681146200101d57600080fd5b80356200253681620044d3565b6000602082840312156200450757600080fd5b81356001600160401b03808211156200451f57600080fd5b9083019061010082860312156200453557600080fd5b6200453f620042ac565b6200454a83620041ac565b81526200455a60208401620041ac565b60208201526040830135828111156200457257600080fd5b6200458087828601620044b0565b604083015250606083013560608201526080830135608082015260a083013560a0820152620045b260c08401620044e7565b60c0820152620045c560e08401620044e7565b60e082015295945050505050565b803562002536816200432b565b600060408284031215620045f357600080fd5b620045fd62004281565b9050813581526020820135602082015292915050565b6000806000806000806000610120888a0312156200463057600080fd5b87356200463d8162004196565b965060208801356200464f8162004196565b95506040880135620046618162004196565b9450606088013562004673816200432b565b9350608088013562004685816200432b565b9250620046968960a08a01620045e0565b9150620046a78960e08a01620045e0565b905092959891949750929550565b600060208284031215620046c857600080fd5b81356200418f8162004196565b81516001600160601b031681526020808301516001600160a01b03169082015260408083015160c0830191620047179084018280518252602090810151910152565b50606083015180516080840152602081015160a0840152620021b3565b60005b838110156200475157818101518382015260200162004737565b50506000910152565b600081518084526200477481602086016020860162004734565b601f01601f19169290920160200192915050565b6020815260006200114660208301846200475a565b6020815260006001600160601b03808451166020840152806020850151166040840152506040830151610100806060850152620047df6101208501836200475a565b915060608501516080850152608085015160a085015260a085015160c085015260c08501516200481860e086018264ffffffffff169052565b5060e085015164ffffffffff8116858301525b5090949350505050565b6000610120820190506001600160601b0380845116835280602085015116602084015280604085015116604084015250606083015160018060a01b038082166060850152806080860151166080850152505060a0830151620048a460a084018280518252602090810151910152565b5060c0830151805160e08401526020810151610100840152620021b3565b600060208284031215620048d557600080fd5b5035919050565b6001600160c01b0319811681146200101d57600080fd5b6000602082840312156200490657600080fd5b81356200418f81620048dc565b60008060008060008060c087890312156200492d57600080fd5b86356200493a8162004196565b955060208701356200494c8162004196565b945060408701359350606087013592506080870135915060a0870135620049738162004196565b809150509295509295509295565b81518152602080830151908201526040810162001149565b600080600060608486031215620049af57600080fd5b8335620049bc8162004196565b92506020840135620049ce81620043f3565b91506040840135620049e0816200432b565b809150509250925092565b600080600060a0848603121562004a0157600080fd5b833562004a0e8162004196565b925062004a1f8560208601620045e0565b915062004a308560608601620045e0565b90509250925092565b6000806040838503121562004a4d57600080fd5b823562004a5a816200432b565b91506020830135620043e8816200432b565b6000806040838503121562004a8057600080fd5b823562004a8d8162004196565b91506020830135620043e88162004196565b60008060006060848603121562004ab557600080fd5b833562004ac28162004196565b9250602084013562004ad48162004196565b929592945050506040919091013590565b6000806040838503121562004af957600080fd5b823562004a5a81620048dc565b60006020828403121562004b1957600080fd5b81356001600160401b0381111562004b3057600080fd5b8201601f8101841362004b4257600080fd5b62004b53848235602084016200446d565b949350505050565b6020815262004b766020820183516001600160601b03169052565b6000602083015162004b9360408401826001600160601b03169052565b5060408301516001600160601b03811660608401525060608301516001600160a01b038116608084015250608083015160ff811660a08401525060a083015160c083015260c083015160e083015260e0830151610100818185015280850151915050610120818185015280850151915050610200610140818186015262004c1f6102208601846200475a565b9250808601519050610160601f19868503018187015262004c4184836200475a565b93508087015191505061018062004c608187018364ffffffffff169052565b86015190506101a062004c7b8682018364ffffffffff169052565b86015190506101c062004c968682018364ffffffffff169052565b86015190506101e062004cb18682018364ffffffffff169052565b86015163ffffffff81168387015290506200482b565b602080825282516001600160c01b031916828201528201516060604083015260009062004cf860808401826200475a565b90506040840151151560608401528091505092915050565b60008060008060c0858703121562004d2757600080fd5b843562004d348162004196565b9350602085013562004d46816200432b565b925062004d578660408701620045e0565b915062004d688660808701620045e0565b905092959194509250565b6000806040838503121562004d8757600080fd5b50508035926020909101359150565b80151581146200101d57600080fd5b6000806040838503121562004db957600080fd5b823562004dc681620048dc565b91506020830135620043e88162004d96565b6000806040838503121562004dec57600080fd5b823562004df98162004196565b946020939093013593505050565b60008060006060848603121562004e1d57600080fd5b833562004e2a8162004196565b9250602084013562004ad48162004d96565b6000806040838503121562004e5057600080fd5b823562004df981620048dc565b81516001600160601b031681526020918201516001600160a01b03169181019190915260400190565b6000806060838503121562004e9a57600080fd5b8235915062004ead8460208501620045e0565b90509250929050565b803563ffffffff811681146200253657600080fd5b60006020828403121562004ede57600080fd5b81356001600160401b038082111562004ef657600080fd5b90830190610200828603121562004f0c57600080fd5b62004f16620042d2565b62004f2183620041ac565b815262004f3160208401620041ac565b602082015262004f4460408401620041ac565b604082015262004f5760608401620045d3565b606082015262004f6a6080840162004403565b608082015260a083013560a082015260c083013560c082015260e083013560e0820152610100808401358183015250610120808401358381111562004fae57600080fd5b62004fbc88828701620044b0565b828401525050610140808401358381111562004fd757600080fd5b62004fe588828701620044b0565b828401525050610160915062004ffd828401620044e7565b82820152610180915062005013828401620044e7565b828201526101a0915062005029828401620044e7565b828201526101c091506200503f828401620044e7565b828201526101e091506200505582840162004eb6565b91810191909152949350505050565b6000602082840312156200507757600080fd5b81516200418f816200432b565b80516200253681620044d3565b600060208284031215620050a457600080fd5b81516200418f81620044d3565b6020808252601f908201527f4552524f523a434d502d3030313a4e4f545f4f574e45525f5345525649434500604082015260600190565b600060208284031215620050fb57600080fd5b5051919050565b6000602082840312156200511557600080fd5b81516200418f8162004389565b8051620025368162004196565b6000602082840312156200514257600080fd5b81516200418f8162004196565b600082601f8301126200516157600080fd5b8151620051726200447e8262004443565b8181528460208386010111156200518857600080fd5b62004b5382602083016020870162004734565b600060208284031215620051ae57600080fd5b81516001600160401b0380821115620051c657600080fd5b908301906101008286031215620051dc57600080fd5b620051e6620042ac565b620051f18362005122565b8152620052016020840162005122565b60208201526040830151828111156200521957600080fd5b62005227878286016200514f565b604083015250606083015160608201526080830151608082015260a083015160a08201526200525960c0840162005084565b60c0820152620045c560e0840162005084565b634e487b7160e01b600052603260045260246000fd5b60208082526021908201527f4552524f523a504f4c2d3030313a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b600181811c90821680620052d857607f821691505b602082108103620052f957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200534957600081815260208120601f850160051c81016020861015620053285750805b601f850160051c820191505b81811015620037755782815560010162005334565b505050565b81516001600160401b038111156200536a576200536a6200426b565b62005382816200537b8454620052c3565b84620052ff565b602080601f831160018114620053ba5760008415620053a15750858301515b600019600386901b1c1916600185901b17855562003775565b600085815260208120601f198616915b82811015620053eb57888601518255948401946001909101908401620053ca565b50858210156200540a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000604082840312156200542d57600080fd5b6200543762004281565b82518152602083015160208201528091505092915050565b60208082526021908201527f4552524f523a42444c2d3030323a4e4f545f50524f445543545f5345525649436040820152604560f81b606082015260800190565b600060208284031215620054a357600080fd5b81516200418f8162004d96565b60208082526017908201527f4552524f523a4143532d3030313a4e4f545f4f574e4552000000000000000000604082015260600190565b600060208284031215620054fa57600080fd5b81516200418f81620048dc565b6020808252601f908201527f4552524f523a4143532d3030323a524f4c455f4e4f545f4558495354494e4700604082015260600190565b6001600160c01b03199390931683526001600160a01b039190911660208301521515604082015260600190565b6000604082840312156200557e57600080fd5b6200558862004281565b8251620055958162004196565b815260208301516200437d816200432b565b828152606081016200418f602083018480518252602090810151910152565b60008060408385031215620055da57600080fd5b505080516020909101519092909150565b83815260ff831660208201526060604082015260006200560f60608301846200475a565b95945050505050565b82815260406020820152600062004b5360408301846200475a565b6000602082840312156200564657600080fd5b81516001600160401b038111156200565d57600080fd5b62004b53848285016200514f565b818103818111156200114957634e487b7160e01b600052601160045260246000fd5b6001600160401b0360c01b8316815260406020820152600062004b5360408301846200475a565b600060208284031215620056c757600080fd5b81516200418f81620043f3565b634e487b7160e01b600052603160045260246000fdfe608060405234801561001057600080fd5b506040516102aa3803806102aa83398101604081905261002f9161005b565b6001600160a01b03166c01000000000000000000000000026001600160601b03909116176000556100ad565b6000806040838503121561006e57600080fd5b82516001600160601b038116811461008557600080fd5b60208401519092506001600160a01b03811681146100a257600080fd5b809150509250929050565b6101ee806100bc6000396000f3fe608060405234801561001057600080fd5b50600436106100405760003560e01c806251884a1461004557806321df0da71461006a578063beabacc814610095575b600080fd5b6000546040516bffffffffffffffffffffffff90911681526020015b60405180910390f35b600054600160601b90046001600160a01b03166040516001600160a01b039091168152602001610061565b6100a86100a3366004610153565b6100aa565b005b6000546040516323b872dd60e01b81526001600160a01b038581166004830152848116602483015260448201849052600160601b909204909116906323b872dd906064016020604051808303816000875af115801561010d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610131919061018f565b50505050565b80356001600160a01b038116811461014e57600080fd5b919050565b60008060006060848603121561016857600080fd5b61017184610137565b925061017f60208501610137565b9150604084013590509250925092565b6000602082840312156101a157600080fd5b815180151581146101b157600080fd5b939250505056fea2646970667358221220b2dc602efa8d917afc68991abe7ff07f9812a03e7ec51a59254a086b30f8785364736f6c63430008140033a2646970667358221220e1b7c0a8cfa4f756988dd8bf3b64f12f77c69a276664fbd5f8d8b35bd1d7f86564736f6c63430008140033",
875
+ "bytecode": "0x608060405234801561001057600080fd5b5061288f806100206000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063ca600b1c116100b8578063e5f6cd271161007c578063e5f6cd2714610530578063e7f7fb8614610541578063f7bc431c14610554578063f7c34ee014610567578063fed3d63f1461057a57600080fd5b8063ca600b1c146104c2578063cde749f4146104ca578063d2192dbf146104e4578063d4cda0d814610517578063e1033e7d1461052857600080fd5b8063b428b0b0116100ff578063b428b0b01461046e578063b7d2b16214610481578063bb1e0e5914610494578063bf7e214f146104a7578063c0c53b8b146104af57600080fd5b80637a9e5e4b1461040a578063868923131461041d578063893d20e8146104305780638fb3603714610438578063ada9652e1461045957600080fd5b806329db8c3d116101c95780635fa8aad41161018d5780635fa8aad4146103a357806361f5f420146103b6578063644c45e0146103c7578063675393bf146103ef5780636b9bf08b1461040257600080fd5b806329db8c3d1461035c57806336fc697e1461036f578063422c9d00146103775780634288121d1461038a5780635ab1bd531461039257600080fd5b80631eff4b22116102105780631eff4b22146102e6578063214cdb801461031b5780632449aea81461032e5780632781d4431461034157806327bb7a331461034957600080fd5b806301ffc9a71461024d57806302cd30711461028f5780630f749a89146102b45780630fec111c146102c9578063138461e0146102de575b600080fd5b61027a61025b366004611ead565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6102c76102c2366004611ee4565b610582565b005b6102d161069d565b6040516102869190611f51565b6102c76107f0565b61030d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102c7610329366004611ead565b6109f2565b6102c761033c366004611ee4565b610a1f565b61030d600381565b6102c7610357366004612099565b610b31565b6102c761036a366004612185565b610bd6565b6102c7610c43565b6102c7610385366004611ee4565b610c89565b61029c610e33565b6001546001600160a01b031661029c565b6102c76103b136600461222f565b610ec6565b6004546001600160a01b031661029c565b60008051602061281a833981519152546040516001600160601b039091168152602001610286565b6102c76103fd366004611ee4565b610f37565b61029c611045565b6102c7610418366004611ee4565b61106e565b6102c761042b36600461227e565b6110f1565b61029c611134565b61044061126b565b6040516001600160e01b03199091168152602001610286565b61030d60008051602061281a83398151915281565b6102c761047c3660046122b7565b6112a3565b6102c761048f3660046122b7565b611326565b6102c76104a23660046122e5565b611361565b61029c611504565b6102c76104bd366004612311565b611520565b61029c6116ec565b6104d2611715565b60405160ff9091168152602001610286565b6104f76104f236600461235c565b61178c565b604080516001600160401b03938416815292909116602083015201610286565b6005546001600160a01b031661029c565b61029c611817565b6002546001600160a01b031661029c565b6102c761054f3660046123b5565b611840565b6102c7610562366004611ee4565b6119e0565b6102c76105753660046123f6565b611aa0565b61029c611b17565b61058f335b600036611b40565b6002546001600160a01b0316156105cd5760025460405163e02ca03360e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6105d5611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106409190612414565b6001600160a01b03161461067b57610656611504565b6040516374150f9560e11b81526001600160a01b0390911660048201526024016105c4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161074c611134565b6001600160a01b0316815260200182600101805461076990612431565b80601f016020809104026020016040519081016040528092919081815260200182805461079590612431565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b505050505081525091505090565b600060008051602061281a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561085f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610883919061246b565b156108af5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b306108c26001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561090a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092e919061246b565b6109565760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156109aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ce9190612488565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109fa611c3e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a2833610587565b6005546001600160a01b031615610a6157600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024016105c4565b610a69611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad49190612414565b6001600160a01b031614610b0f57610aea611504565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016105c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610b39611c3e565b610b438287611aa0565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610bcc83826124eb565b5050505050505050565b610bdf33610587565b6002546040516329db8c3d60e01b81526001600160a01b03909116906329db8c3d90610c159087908790879087906004016125aa565b600060405180830381600087803b158015610c2f57600080fd5b505af1158015610bcc573d6000803e3d6000fd5b610c4b611c3e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610c9233610587565b6004546001600160a01b031615610cce576004805460405163384c2dbd60e11b81526001600160a01b03909116918101919091526024016105c4565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a9190612414565b6001600160a01b031614610d635760405163decb98c560e01b81523060048201526024016105c4565b610d6b611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd69190612414565b6001600160a01b031614610e1157610dec611504565b604051630312205960e41b81526001600160a01b0390911660048201526024016105c4565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e476001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610e9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec19190612414565b905090565b610ecf33610587565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f01908590859060040161261f565b600060405180830381600087803b158015610f1b57600080fd5b505af1158015610f2f573d6000803e3d6000fd5b505050505050565b610f3f611c3e565b806001600160a01b03163b600003610f755760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610fef575060408051601f3d908101601f19168201909252610fec9181019061246b565b60015b6110175760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b806110405760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b505b50565b60006110596001546001600160a01b031690565b6001600160a01b031663d39e6043608c610e58565b33611077611504565b6001600160a01b0316816001600160a01b0316146110b25760405162d1953b60e31b81526001600160a01b03821660048201526024016105c4565b816001600160a01b03163b6000036110e8576040516361798f2f60e11b81526001600160a01b03831660048201526024016105c4565b61104082611c89565b6110fa33610587565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610f01565b60008060008051602061281a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c8919061246b565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124f9190612414565b91505090565b54600160601b90046001600160a01b0316919050565b60008051602061283a833981519152805460009190600160a01b900460ff1661129557600061124f565b638fb3603760e01b91505090565b6112ac33610587565b600254604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906112de9085908590600401612643565b6020604051808303816000875af11580156112fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611321919061246b565b505050565b61132f33610587565b600254604051635be958b160e11b81526001600160a01b039091169063b7d2b162906112de9085908590600401612643565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ce9190612414565b6001600160a01b0316336001600160a01b0316146113eb57600080fd5b6002546001600160a01b03166303014974611404611cea565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa158015611448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146c9190612665565b156114795761147961267e565b6002546001600160a01b031663b428b0b0611492611cea565b846040518363ffffffff1660e01b81526004016114b0929190612643565b6020604051808303816000875af11580156114cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f3919061246b565b15156001146110405761104061267e565b60008051602061283a833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115655750825b90506000826001600160401b031660011480156115815750303b155b90508115801561158f575080155b156115ad5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115d757845460ff60401b1916600160401b1785555b6001600160a01b0388166115fe5760405163da1db49160e01b815260040160405180910390fd5b61160788611d62565b600087905061168c88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561164e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116729190612488565b604660018b60405180602001604052806000815250610b31565b61169c63425ec80560e01b6109f2565b508315610bcc57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006117006001546001600160a01b031690565b6001600160a01b031663d39e60436078610e58565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611768573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec19190612694565b60008061179833610587565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf906117ca90879087906004016126b1565b60408051808303816000875af11580156117e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180c91906126df565b909590945092505050565b600061182b6001546001600160a01b031690565b6001600160a01b031663d39e604360d3610e58565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ad9190612414565b6001600160a01b0316336001600160a01b0316146118ca57600080fd5b6002546001600160a01b031663b7d2b1626118e3611cea565b856040518363ffffffff1660e01b8152600401611901929190612643565b6020604051808303816000875af1158015611920573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611944919061246b565b15156001146119555761195561267e565b6002546001600160a01b031663b428b0b061196e611cea565b846040518363ffffffff1660e01b815260040161198c929190612643565b6020604051808303816000875af11580156119ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cf919061246b565b15156001146113215761132161267e565b6119e933610587565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a559190612414565b6001600160a01b031614611a7e576040516345789cf560e01b81523060048201526024016105c4565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611aa8611c3e565b611ab181610f37565b611ab9610c43565b6001600160a01b038216611ae05760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061281a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000611b2b6001546001600160a01b031690565b6001600160a01b031663d39e604360dc610e58565b60008051602061283a833981519152600080611b7b611b5d611504565b8730611b6d600460008a8c61270e565b611b7691612738565b611d73565b9150915081610f2f5763ffffffff811615611c1b57825460ff60a01b1916600160a01b178355611ba9611504565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611bd893929190612768565b600060405180830381600087803b158015611bf257600080fd5b505af1158015611c06573d6000803e3d6000fd5b5050845460ff60a01b1916855550610f2f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016105c4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611c8757604051631afcd79f60e31b815260040160405180910390fd5b565b60008051602061283a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015611d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec191906127a8565b611d6a611c3e565b61104281611e7f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611de291906127c5565b600060405180830381855afa9150503d8060008114611e1d576040519150601f19603f3d011682016040523d82523d6000602084013e611e22565b606091505b50915091508115611e74576040815110611e545780806020019051810190611e4a91906127e1565b9094509250611e74565b6020815110611e745780806020019051810190611e71919061246b565b93505b505094509492505050565b611e87611c3e565b61104281611c89565b80356001600160e01b031981168114611ea857600080fd5b919050565b600060208284031215611ebf57600080fd5b611ec882611e90565b9392505050565b6001600160a01b038116811461104257600080fd5b600060208284031215611ef657600080fd5b8135611ec881611ecf565b60005b83811015611f1c578181015183820152602001611f04565b50506000910152565b60008151808452611f3d816020860160208601611f01565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611fba60c08401826001600160a01b03169052565b5060c083015160e080840152611fd4610100840182611f25565b949350505050565b6001600160601b038116811461104257600080fd5b60ff8116811461104257600080fd5b801515811461104257600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561203e5761203e61200e565b604051601f8501601f19908116603f011681019082821181831017156120665761206661200e565b8160405280935085815286868601111561207f57600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c087890312156120b257600080fd5b86356120bd81611ecf565b955060208701356120cd81611fdc565b945060408701356120dd81611ff1565b935060608701356120ed81612000565b925060808701356120fd81611ecf565b915060a08701356001600160401b0381111561211857600080fd5b8701601f8101891361212957600080fd5b61213889823560208401612024565b9150509295509295509295565b600082601f83011261215657600080fd5b611ec883833560208501612024565b6001600160401b038116811461104257600080fd5b8035611ea881612165565b6000806000806060858703121561219b57600080fd5b84356001600160401b03808211156121b257600080fd5b6121be88838901612145565b955060208701359150808211156121d457600080fd5b818701915087601f8301126121e857600080fd5b8135818111156121f757600080fd5b8860208260051b850101111561220c57600080fd5b6020830195508094505050506122246040860161217a565b905092959194509250565b6000806040838503121561224257600080fd5b823561224d81611ecf565b915060208301356001600160401b0381111561226857600080fd5b61227485828601612145565b9150509250929050565b6000806040838503121561229157600080fd5b823561229c81611ecf565b915060208301356122ac81612000565b809150509250929050565b600080604083850312156122ca57600080fd5b82356122d581612165565b915060208301356122ac81611ecf565b600080604083850312156122f857600080fd5b823561230381611ecf565b946020939093013593505050565b60008060006060848603121561232657600080fd5b833561233181611ecf565b9250602084013561234181611ecf565b9150604084013561235181611ecf565b809150509250925092565b6000806040838503121561236f57600080fd5b82356001600160401b038082111561238657600080fd5b61239286838701612145565b935060208501359150808211156123a857600080fd5b5061227485828601612145565b6000806000606084860312156123ca57600080fd5b83356123d581611ecf565b925060208401356123e581611ecf565b929592945050506040919091013590565b6000806040838503121561240957600080fd5b82356122d581611ecf565b60006020828403121561242657600080fd5b8151611ec881611ecf565b600181811c9082168061244557607f821691505b60208210810361246557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561247d57600080fd5b8151611ec881612000565b60006020828403121561249a57600080fd5b8151611ec881611fdc565b601f82111561132157600081815260208120601f850160051c810160208610156124cc5750805b601f850160051c820191505b81811015610f2f578281556001016124d8565b81516001600160401b038111156125045761250461200e565b612518816125128454612431565b846124a5565b602080601f83116001811461254d57600084156125355750858301515b600019600386901b1c1916600185901b178555610f2f565b600085815260208120601f198616915b8281101561257c5788860151825594840194600190910190840161255d565b508582101561259a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006125bd6060830187611f25565b8281036020848101919091528582528691810160005b87811015612600576001600160e01b03196125ed85611e90565b16825292820192908201906001016125d3565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b0383168152604060208201819052600090611fd490830184611f25565b6001600160401b039290921682526001600160a01b0316602082015260400190565b60006020828403121561267757600080fd5b5051919050565b634e487b7160e01b600052600160045260246000fd5b6000602082840312156126a657600080fd5b8151611ec881611ff1565b6040815260006126c46040830185611f25565b82810360208401526126d68185611f25565b95945050505050565b600080604083850312156126f257600080fd5b82516126fd81612165565b60208401519092506122ac81612165565b6000808585111561271e57600080fd5b8386111561272b57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156127605780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000602082840312156127ba57600080fd5b8151611ec881612165565b600082516127d7818460208701611f01565b9190910192915050565b600080604083850312156127f457600080fd5b82516127ff81612000565b602084015190925063ffffffff811681146122ac57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202c69d46456c4a71d438187fc289f744d1724d5ecbf828c19f37e9da80632ff1664736f6c63430008140033",
876
+ "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102485760003560e01c80637a9e5e4b1161013b578063ca600b1c116100b8578063e5f6cd271161007c578063e5f6cd2714610530578063e7f7fb8614610541578063f7bc431c14610554578063f7c34ee014610567578063fed3d63f1461057a57600080fd5b8063ca600b1c146104c2578063cde749f4146104ca578063d2192dbf146104e4578063d4cda0d814610517578063e1033e7d1461052857600080fd5b8063b428b0b0116100ff578063b428b0b01461046e578063b7d2b16214610481578063bb1e0e5914610494578063bf7e214f146104a7578063c0c53b8b146104af57600080fd5b80637a9e5e4b1461040a578063868923131461041d578063893d20e8146104305780638fb3603714610438578063ada9652e1461045957600080fd5b806329db8c3d116101c95780635fa8aad41161018d5780635fa8aad4146103a357806361f5f420146103b6578063644c45e0146103c7578063675393bf146103ef5780636b9bf08b1461040257600080fd5b806329db8c3d1461035c57806336fc697e1461036f578063422c9d00146103775780634288121d1461038a5780635ab1bd531461039257600080fd5b80631eff4b22116102105780631eff4b22146102e6578063214cdb801461031b5780632449aea81461032e5780632781d4431461034157806327bb7a331461034957600080fd5b806301ffc9a71461024d57806302cd30711461028f5780630f749a89146102b45780630fec111c146102c9578063138461e0146102de575b600080fd5b61027a61025b366004611ead565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6003546001600160a01b03165b6040516001600160a01b039091168152602001610286565b6102c76102c2366004611ee4565b610582565b005b6102d161069d565b6040516102869190611f51565b6102c76107f0565b61030d7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b604051908152602001610286565b6102c7610329366004611ead565b6109f2565b6102c761033c366004611ee4565b610a1f565b61030d600381565b6102c7610357366004612099565b610b31565b6102c761036a366004612185565b610bd6565b6102c7610c43565b6102c7610385366004611ee4565b610c89565b61029c610e33565b6001546001600160a01b031661029c565b6102c76103b136600461222f565b610ec6565b6004546001600160a01b031661029c565b60008051602061281a833981519152546040516001600160601b039091168152602001610286565b6102c76103fd366004611ee4565b610f37565b61029c611045565b6102c7610418366004611ee4565b61106e565b6102c761042b36600461227e565b6110f1565b61029c611134565b61044061126b565b6040516001600160e01b03199091168152602001610286565b61030d60008051602061281a83398151915281565b6102c761047c3660046122b7565b6112a3565b6102c761048f3660046122b7565b611326565b6102c76104a23660046122e5565b611361565b61029c611504565b6102c76104bd366004612311565b611520565b61029c6116ec565b6104d2611715565b60405160ff9091168152602001610286565b6104f76104f236600461235c565b61178c565b604080516001600160401b03938416815292909116602083015201610286565b6005546001600160a01b031661029c565b61029c611817565b6002546001600160a01b031661029c565b6102c761054f3660046123b5565b611840565b6102c7610562366004611ee4565b6119e0565b6102c76105753660046123f6565b611aa0565b61029c611b17565b61058f335b600036611b40565b6002546001600160a01b0316156105cd5760025460405163e02ca03360e01b81526001600160a01b0390911660048201526024015b60405180910390fd5b6105d5611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561061c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106409190612414565b6001600160a01b03161461067b57610656611504565b6040516374150f9560e11b81526001600160a01b0390911660048201526024016105c4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6040805160e0808201835260008083526020830181905282840181905260608084018290526080840182905260a0840182905260c0840152835191820190935290917f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa300919081906001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161074c611134565b6001600160a01b0316815260200182600101805461076990612431565b80601f016020809104026020016040519081016040528092919081815260200182805461079590612431565b80156107e25780601f106107b7576101008083540402835291602001916107e2565b820191906000526020600020905b8154815290600101906020018083116107c557829003601f168201915b505050505081525091505090565b600060008051602061281a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561085f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610883919061246b565b156108af5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024016105c4565b306108c26001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801561090a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092e919061246b565b6109565760405163b9304b0d60e01b81526001600160a01b03821660048201526024016105c4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa1580156109aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109ce9190612488565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6109fa611c3e565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b610a2833610587565b6005546001600160a01b031615610a6157600554604051632e67e2ab60e21b81526001600160a01b0390911660048201526024016105c4565b610a69611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ab0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad49190612414565b6001600160a01b031614610b0f57610aea611504565b6040516348263eef60e01b81526001600160a01b0390911660048201526024016105c4565b600580546001600160a01b0319166001600160a01b0392909216919091179055565b610b39611c3e565b610b438287611aa0565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa301610bcc83826124eb565b5050505050505050565b610bdf33610587565b6002546040516329db8c3d60e01b81526001600160a01b03909116906329db8c3d90610c159087908790879087906004016125aa565b600060405180830381600087803b158015610c2f57600080fd5b505af1158015610bcc573d6000803e3d6000fd5b610c4b611c3e565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b610c9233610587565b6004546001600160a01b031615610cce576004805460405163384c2dbd60e11b81526001600160a01b03909116918101919091526024016105c4565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015610d16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3a9190612414565b6001600160a01b031614610d635760405163decb98c560e01b81523060048201526024016105c4565b610d6b611504565b6001600160a01b0316816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd69190612414565b6001600160a01b031614610e1157610dec611504565b604051630312205960e41b81526001600160a01b0390911660048201526024016105c4565b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e476001546001600160a01b031690565b6001600160a01b031663d39e6043606e5b6040516001600160e01b031960e084901b16815260ff909116600482015260036024820152604401602060405180830381865afa158015610e9d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec19190612414565b905090565b610ecf33610587565b6002546040516317ea2ab560e21b81526001600160a01b0390911690635fa8aad490610f01908590859060040161261f565b600060405180830381600087803b158015610f1b57600080fd5b505af1158015610f2f573d6000803e3d6000fd5b505050505050565b610f3f611c3e565b806001600160a01b03163b600003610f755760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa925050508015610fef575060408051601f3d908101601f19168201909252610fec9181019061246b565b60015b6110175760405163fdeac91f60e01b81526001600160a01b03821660048201526024016105c4565b806110405760405163fdeac91f60e01b81526001600160a01b03831660048201526024016105c4565b505b50565b60006110596001546001600160a01b031690565b6001600160a01b031663d39e6043608c610e58565b33611077611504565b6001600160a01b0316816001600160a01b0316146110b25760405162d1953b60e31b81526001600160a01b03821660048201526024016105c4565b816001600160a01b03163b6000036110e8576040516361798f2f60e11b81526001600160a01b03831660048201526024016105c4565b61104082611c89565b6110fa33610587565b6002546040516308b6d1c760e21b81526001600160a01b0384811660048301528315156024830152909116906322db471c90604401610f01565b60008060008051602061281a83398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156111a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111c8919061246b565b15611255576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561122b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061124f9190612414565b91505090565b54600160601b90046001600160a01b0316919050565b60008051602061283a833981519152805460009190600160a01b900460ff1661129557600061124f565b638fb3603760e01b91505090565b6112ac33610587565b600254604051630b428b0b60e41b81526001600160a01b039091169063b428b0b0906112de9085908590600401612643565b6020604051808303816000875af11580156112fd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611321919061246b565b505050565b61132f33610587565b600254604051635be958b160e11b81526001600160a01b039091169063b7d2b162906112de9085908590600401612643565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa1580156113aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113ce9190612414565b6001600160a01b0316336001600160a01b0316146113eb57600080fd5b6002546001600160a01b03166303014974611404611cea565b6040516001600160e01b031960e084901b1681526001600160401b039091166004820152602401602060405180830381865afa158015611448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146c9190612665565b156114795761147961267e565b6002546001600160a01b031663b428b0b0611492611cea565b846040518363ffffffff1660e01b81526004016114b0929190612643565b6020604051808303816000875af11580156114cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f3919061246b565b15156001146110405761104061267e565b60008051602061283a833981519152546001600160a01b031690565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff1615906001600160401b03166000811580156115655750825b90506000826001600160401b031660011480156115815750303b155b90508115801561158f575080155b156115ad5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156115d757845460ff60401b1916600160401b1785555b6001600160a01b0388166115fe5760405163da1db49160e01b815260040160405180910390fd5b61160788611d62565b600087905061168c88826001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561164e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116729190612488565b604660018b60405180602001604052806000815250610b31565b61169c63425ec80560e01b6109f2565b508315610bcc57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15050505050505050565b60006117006001546001600160a01b031690565b6001600160a01b031663d39e60436078610e58565b604051632392b61b60e21b81526003600482015260009073__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af4158015611768573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec19190612694565b60008061179833610587565b60025460405163d2192dbf60e01b81526001600160a01b039091169063d2192dbf906117ca90879087906004016126b1565b60408051808303816000875af11580156117e8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061180c91906126df565b909590945092505050565b600061182b6001546001600160a01b031690565b6001600160a01b031663d39e604360d3610e58565b6001546001600160a01b03166001600160a01b031663120726c36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611889573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118ad9190612414565b6001600160a01b0316336001600160a01b0316146118ca57600080fd5b6002546001600160a01b031663b7d2b1626118e3611cea565b856040518363ffffffff1660e01b8152600401611901929190612643565b6020604051808303816000875af1158015611920573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611944919061246b565b15156001146119555761195561267e565b6002546001600160a01b031663b428b0b061196e611cea565b846040518363ffffffff1660e01b815260040161198c929190612643565b6020604051808303816000875af11580156119ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cf919061246b565b15156001146113215761132161267e565b6119e933610587565b306001600160a01b0316816001600160a01b031663de7b5d146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a559190612414565b6001600160a01b031614611a7e576040516345789cf560e01b81523060048201526024016105c4565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b611aa8611c3e565b611ab181610f37565b611ab9610c43565b6001600160a01b038216611ae05760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602061281a83398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b6000611b2b6001546001600160a01b031690565b6001600160a01b031663d39e604360dc610e58565b60008051602061283a833981519152600080611b7b611b5d611504565b8730611b6d600460008a8c61270e565b611b7691612738565b611d73565b9150915081610f2f5763ffffffff811615611c1b57825460ff60a01b1916600160a01b178355611ba9611504565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b8152600401611bd893929190612768565b600060405180830381600087803b158015611bf257600080fd5b505af1158015611c06573d6000803e3d6000fd5b5050845460ff60a01b1916855550610f2f9050565b60405162d1953b60e31b81526001600160a01b03871660048201526024016105c4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff16611c8757604051631afcd79f60e31b815260040160405180910390fd5b565b60008051602061283a83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516368aebf7b60e01b815261076c600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b90602401602060405180830381865af4158015611d3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ec191906127a8565b611d6a611c3e565b61104281611e7f565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b17905251611de291906127c5565b600060405180830381855afa9150503d8060008114611e1d576040519150601f19603f3d011682016040523d82523d6000602084013e611e22565b606091505b50915091508115611e74576040815110611e545780806020019051810190611e4a91906127e1565b9094509250611e74565b6020815110611e745780806020019051810190611e71919061246b565b93505b505094509492505050565b611e87611c3e565b61104281611c89565b80356001600160e01b031981168114611ea857600080fd5b919050565b600060208284031215611ebf57600080fd5b611ec882611e90565b9392505050565b6001600160a01b038116811461104257600080fd5b600060208284031215611ef657600080fd5b8135611ec881611ecf565b60005b83811015611f1c578181015183820152602001611f04565b50506000910152565b60008151808452611f3d816020860160208601611f01565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a0830151611fba60c08401826001600160a01b03169052565b5060c083015160e080840152611fd4610100840182611f25565b949350505050565b6001600160601b038116811461104257600080fd5b60ff8116811461104257600080fd5b801515811461104257600080fd5b634e487b7160e01b600052604160045260246000fd5b60006001600160401b038084111561203e5761203e61200e565b604051601f8501601f19908116603f011681019082821181831017156120665761206661200e565b8160405280935085815286868601111561207f57600080fd5b858560208301376000602087830101525050509392505050565b60008060008060008060c087890312156120b257600080fd5b86356120bd81611ecf565b955060208701356120cd81611fdc565b945060408701356120dd81611ff1565b935060608701356120ed81612000565b925060808701356120fd81611ecf565b915060a08701356001600160401b0381111561211857600080fd5b8701601f8101891361212957600080fd5b61213889823560208401612024565b9150509295509295509295565b600082601f83011261215657600080fd5b611ec883833560208501612024565b6001600160401b038116811461104257600080fd5b8035611ea881612165565b6000806000806060858703121561219b57600080fd5b84356001600160401b03808211156121b257600080fd5b6121be88838901612145565b955060208701359150808211156121d457600080fd5b818701915087601f8301126121e857600080fd5b8135818111156121f757600080fd5b8860208260051b850101111561220c57600080fd5b6020830195508094505050506122246040860161217a565b905092959194509250565b6000806040838503121561224257600080fd5b823561224d81611ecf565b915060208301356001600160401b0381111561226857600080fd5b61227485828601612145565b9150509250929050565b6000806040838503121561229157600080fd5b823561229c81611ecf565b915060208301356122ac81612000565b809150509250929050565b600080604083850312156122ca57600080fd5b82356122d581612165565b915060208301356122ac81611ecf565b600080604083850312156122f857600080fd5b823561230381611ecf565b946020939093013593505050565b60008060006060848603121561232657600080fd5b833561233181611ecf565b9250602084013561234181611ecf565b9150604084013561235181611ecf565b809150509250925092565b6000806040838503121561236f57600080fd5b82356001600160401b038082111561238657600080fd5b61239286838701612145565b935060208501359150808211156123a857600080fd5b5061227485828601612145565b6000806000606084860312156123ca57600080fd5b83356123d581611ecf565b925060208401356123e581611ecf565b929592945050506040919091013590565b6000806040838503121561240957600080fd5b82356122d581611ecf565b60006020828403121561242657600080fd5b8151611ec881611ecf565b600181811c9082168061244557607f821691505b60208210810361246557634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561247d57600080fd5b8151611ec881612000565b60006020828403121561249a57600080fd5b8151611ec881611fdc565b601f82111561132157600081815260208120601f850160051c810160208610156124cc5750805b601f850160051c820191505b81811015610f2f578281556001016124d8565b81516001600160401b038111156125045761250461200e565b612518816125128454612431565b846124a5565b602080601f83116001811461254d57600084156125355750858301515b600019600386901b1c1916600185901b178555610f2f565b600085815260208120601f198616915b8281101561257c5788860151825594840194600190910190840161255d565b508582101561259a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6060815260006125bd6060830187611f25565b8281036020848101919091528582528691810160005b87811015612600576001600160e01b03196125ed85611e90565b16825292820192908201906001016125d3565b508093505050506001600160401b038316604083015295945050505050565b6001600160a01b0383168152604060208201819052600090611fd490830184611f25565b6001600160401b039290921682526001600160a01b0316602082015260400190565b60006020828403121561267757600080fd5b5051919050565b634e487b7160e01b600052600160045260246000fd5b6000602082840312156126a657600080fd5b8151611ec881611ff1565b6040815260006126c46040830185611f25565b82810360208401526126d68185611f25565b95945050505050565b600080604083850312156126f257600080fd5b82516126fd81612165565b60208401519092506122ac81612165565b6000808585111561271e57600080fd5b8386111561272b57600080fd5b5050820193919092039150565b6001600160e01b031981358181169160048510156127605780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190528101829052818360608301376000818301606090810191909152601f909201601f1916010192915050565b6000602082840312156127ba57600080fd5b8151611ec881612165565b600082516127d7818460208701611f01565b9190910192915050565b600080604083850312156127f457600080fd5b82516127ff81612000565b602084015190925063ffffffff811681146122ac57600080fdfe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202c69d46456c4a71d438187fc289f744d1724d5ecbf828c19f37e9da80632ff1664736f6c63430008140033",
1930
877
  "linkReferences": {
1931
- "contracts/types/Blocknumber.sol": {
1932
- "BlocknumberLib": [
1933
- {
1934
- "length": 20,
1935
- "start": 3028
1936
- },
1937
- {
1938
- "length": 20,
1939
- "start": 8804
1940
- }
1941
- ]
1942
- },
1943
- "contracts/types/Fee.sol": {
1944
- "FeeLib": [
1945
- {
1946
- "length": 20,
1947
- "start": 12445
1948
- },
1949
- {
1950
- "length": 20,
1951
- "start": 16198
1952
- },
1953
- {
1954
- "length": 20,
1955
- "start": 17803
1956
- }
1957
- ]
1958
- },
1959
- "contracts/types/Key32.sol": {
1960
- "Key32Lib": [
1961
- {
1962
- "length": 20,
1963
- "start": 32441
1964
- },
1965
- {
1966
- "length": 20,
1967
- "start": 33659
1968
- }
1969
- ]
1970
- },
1971
- "contracts/types/NftId.sol": {
878
+ "contracts/type/NftId.sol": {
1972
879
  "NftIdLib": [
1973
880
  {
1974
881
  "length": 20,
1975
- "start": 17036
1976
- },
1977
- {
1978
- "length": 20,
1979
- "start": 19152
1980
- }
1981
- ]
1982
- },
1983
- "contracts/types/NftIdSet.sol": {
1984
- "LibNftIdSet": [
1985
- {
1986
- "length": 20,
1987
- "start": 11444
1988
- },
1989
- {
1990
- "length": 20,
1991
- "start": 13116
1992
- },
1993
- {
1994
- "length": 20,
1995
- "start": 13307
1996
- },
1997
- {
1998
- "length": 20,
1999
- "start": 13530
2000
- },
2001
- {
2002
- "length": 20,
2003
- "start": 16890
882
+ "start": 2117
2004
883
  },
2005
884
  {
2006
885
  "length": 20,
2007
- "start": 17556
886
+ "start": 4490
2008
887
  }
2009
888
  ]
2010
889
  },
2011
- "contracts/types/ObjectType.sol": {
2012
- "ObjectTypeLib": [
2013
- {
2014
- "length": 20,
2015
- "start": 30365
2016
- }
2017
- ]
2018
- },
2019
- "contracts/types/RoleId.sol": {
890
+ "contracts/type/RoleId.sol": {
2020
891
  "RoleIdLib": [
2021
892
  {
2022
893
  "length": 20,
2023
- "start": 2356
2024
- },
2025
- {
2026
- "length": 20,
2027
- "start": 2616
2028
- },
2029
- {
2030
- "length": 20,
2031
- "start": 2705
2032
- },
2033
- {
2034
- "length": 20,
2035
- "start": 2797
2036
- },
2037
- {
2038
- "length": 20,
2039
- "start": 13918
2040
- },
2041
- {
2042
- "length": 20,
2043
- "start": 14233
2044
- }
2045
- ]
2046
- },
2047
- "contracts/types/StateId.sol": {
2048
- "StateIdLib": [
2049
- {
2050
- "length": 20,
2051
- "start": 30024
2052
- },
2053
- {
2054
- "length": 20,
2055
- "start": 30582
2056
- },
2057
- {
2058
- "length": 20,
2059
- "start": 31105
2060
- },
2061
- {
2062
- "length": 20,
2063
- "start": 31836
2064
- },
2065
- {
2066
- "length": 20,
2067
- "start": 32056
2068
- },
2069
- {
2070
- "length": 20,
2071
- "start": 32611
2072
- },
2073
- {
2074
- "length": 20,
2075
- "start": 32880
2076
- },
2077
- {
2078
- "length": 20,
2079
- "start": 33100
2080
- },
2081
- {
2082
- "length": 20,
2083
- "start": 33588
2084
- }
2085
- ]
2086
- },
2087
- "contracts/types/Timestamp.sol": {
2088
- "TimestampLib": [
2089
- {
2090
- "length": 20,
2091
- "start": 8363
2092
- }
2093
- ]
2094
- },
2095
- "contracts/types/UFixed.sol": {
2096
- "UFixedMathLib": [
2097
- {
2098
- "length": 20,
2099
- "start": 8941
2100
- },
2101
- {
2102
- "length": 20,
2103
- "start": 13714
894
+ "start": 7460
2104
895
  }
2105
896
  ]
2106
897
  },
2107
- "contracts/types/Version.sol": {
2108
- "VersionLib": [
2109
- {
2110
- "length": 20,
2111
- "start": 1922
2112
- },
2113
- {
2114
- "length": 20,
2115
- "start": 2871
2116
- },
898
+ "contracts/type/Version.sol": {
899
+ "VersionPartLib": [
2117
900
  {
2118
901
  "length": 20,
2119
- "start": 9254
902
+ "start": 5966
2120
903
  }
2121
904
  ]
2122
905
  }
2123
906
  },
2124
907
  "deployedLinkReferences": {
2125
- "contracts/types/Blocknumber.sol": {
2126
- "BlocknumberLib": [
2127
- {
2128
- "length": 20,
2129
- "start": 4188
2130
- }
2131
- ]
2132
- },
2133
- "contracts/types/Fee.sol": {
2134
- "FeeLib": [
2135
- {
2136
- "length": 20,
2137
- "start": 7829
2138
- },
2139
- {
2140
- "length": 20,
2141
- "start": 11582
2142
- },
2143
- {
2144
- "length": 20,
2145
- "start": 13187
2146
- }
2147
- ]
2148
- },
2149
- "contracts/types/NftId.sol": {
908
+ "contracts/type/NftId.sol": {
2150
909
  "NftIdLib": [
2151
910
  {
2152
911
  "length": 20,
2153
- "start": 12420
2154
- },
2155
- {
2156
- "length": 20,
2157
- "start": 14536
2158
- }
2159
- ]
2160
- },
2161
- "contracts/types/NftIdSet.sol": {
2162
- "LibNftIdSet": [
2163
- {
2164
- "length": 20,
2165
- "start": 6828
2166
- },
2167
- {
2168
- "length": 20,
2169
- "start": 8500
2170
- },
2171
- {
2172
- "length": 20,
2173
- "start": 8691
2174
- },
2175
- {
2176
- "length": 20,
2177
- "start": 8914
2178
- },
2179
- {
2180
- "length": 20,
2181
- "start": 12274
912
+ "start": 2085
2182
913
  },
2183
914
  {
2184
915
  "length": 20,
2185
- "start": 12940
916
+ "start": 4458
2186
917
  }
2187
918
  ]
2188
919
  },
2189
- "contracts/types/RoleId.sol": {
920
+ "contracts/type/RoleId.sol": {
2190
921
  "RoleIdLib": [
2191
922
  {
2192
923
  "length": 20,
2193
- "start": 9302
2194
- },
2195
- {
2196
- "length": 20,
2197
- "start": 9617
2198
- }
2199
- ]
2200
- },
2201
- "contracts/types/Timestamp.sol": {
2202
- "TimestampLib": [
2203
- {
2204
- "length": 20,
2205
- "start": 3747
2206
- }
2207
- ]
2208
- },
2209
- "contracts/types/UFixed.sol": {
2210
- "UFixedMathLib": [
2211
- {
2212
- "length": 20,
2213
- "start": 4325
2214
- },
2215
- {
2216
- "length": 20,
2217
- "start": 9098
924
+ "start": 7428
2218
925
  }
2219
926
  ]
2220
927
  },
2221
- "contracts/types/Version.sol": {
2222
- "VersionLib": [
928
+ "contracts/type/Version.sol": {
929
+ "VersionPartLib": [
2223
930
  {
2224
931
  "length": 20,
2225
- "start": 4638
932
+ "start": 5934
2226
933
  }
2227
934
  ]
2228
935
  }