@etherisc/gif-next 0.0.2-f7be756-963 → 0.0.2-f7bec40-735

Sign up to get free protection for your applications and to get access to all the features.
Files changed (492) hide show
  1. package/README.md +337 -19
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +698 -30
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1376 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/IComponent.sol/IComponent.json +636 -0
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +1095 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +861 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1214 -135
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +1008 -156
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +190 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +312 -1138
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +616 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +441 -1229
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +1348 -0
  30. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  32. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1569 -0
  34. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +979 -0
  36. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +656 -0
  38. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  39. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2788 -0
  40. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  41. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +256 -0
  42. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  43. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +631 -0
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  46. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  47. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  48. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  49. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  50. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  52. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +237 -0
  54. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  56. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  57. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  58. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  60. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  62. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  63. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  64. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  65. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  66. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  68. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +918 -0
  70. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +648 -0
  72. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1288 -0
  74. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +696 -0
  76. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +1384 -0
  78. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +752 -0
  80. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1556 -0
  82. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +780 -0
  84. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +493 -0
  86. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +735 -0
  88. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +743 -0
  90. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +840 -0
  92. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +651 -0
  94. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +1077 -0
  96. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/IPricingService.sol/IPricingService.json +510 -0
  98. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +442 -0
  100. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1281 -0
  102. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +740 -0
  104. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +1622 -0
  106. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +708 -0
  108. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/PricingService.sol/PricingService.json +1004 -0
  110. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/PricingServiceManager.sol/PricingServiceManager.json +688 -0
  112. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  113. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +864 -0
  114. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  115. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +640 -0
  116. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  117. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +252 -2
  118. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  119. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +595 -27
  120. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  121. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +858 -0
  122. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  123. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +52 -0
  124. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  125. package/artifacts/contracts/registry/Registry.sol/Registry.json +652 -50
  126. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  127. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  128. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  129. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1150 -0
  130. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +657 -0
  132. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  133. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +559 -0
  134. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  135. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +485 -0
  136. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  137. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  138. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  139. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  140. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  141. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  142. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +125 -0
  144. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  146. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +175 -0
  148. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  149. package/artifacts/contracts/{instance/access/IAccess.sol/IAccessCheckRole.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +11 -11
  150. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  151. package/artifacts/contracts/shared/IService.sol/IService.json +327 -0
  152. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  153. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  154. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  155. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +238 -0
  156. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  157. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  158. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  159. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +569 -0
  160. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +339 -0
  162. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  163. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  164. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  165. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → shared/Service.sol/Service.json} +256 -220
  166. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  167. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +114 -0
  168. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  169. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  170. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  171. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  172. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  174. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +370 -0
  176. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  177. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  178. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  179. package/artifacts/contracts/test/TestService.sol/TestService.json +588 -0
  180. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  181. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  182. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  183. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  184. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  185. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  186. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  187. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  188. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  189. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  190. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/Amount.sol/AmountLib.json +281 -0
  192. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  194. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  195. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +179 -0
  197. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  198. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  199. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  200. package/artifacts/contracts/types/Fee.sol/FeeLib.json +312 -0
  201. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  202. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  203. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  204. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
  205. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  206. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  207. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  208. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  209. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  210. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  211. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  212. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +209 -0
  213. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  214. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  215. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  216. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  217. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  218. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  219. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  220. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  221. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  222. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  223. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  224. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +110 -4
  225. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  226. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  227. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  228. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  229. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  230. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  231. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  232. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  233. package/contracts/components/Component.sol +245 -50
  234. package/contracts/components/Distribution.sol +285 -0
  235. package/contracts/components/IComponent.sol +90 -0
  236. package/contracts/components/IDistributionComponent.sol +71 -0
  237. package/contracts/components/IPoolComponent.sol +114 -0
  238. package/contracts/components/IProductComponent.sol +41 -0
  239. package/contracts/components/Pool.sol +280 -30
  240. package/contracts/components/Product.sol +337 -51
  241. package/contracts/instance/BundleManager.sol +126 -0
  242. package/contracts/instance/Cloneable.sol +51 -0
  243. package/contracts/instance/IInstance.sol +74 -22
  244. package/contracts/instance/IInstanceService.sol +73 -0
  245. package/contracts/instance/Instance.sol +210 -53
  246. package/contracts/instance/InstanceAccessManager.sol +541 -0
  247. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  248. package/contracts/instance/InstanceReader.sol +368 -0
  249. package/contracts/instance/InstanceService.sol +308 -0
  250. package/contracts/instance/InstanceServiceManager.sol +54 -0
  251. package/contracts/instance/InstanceStore.sol +212 -0
  252. package/contracts/instance/ObjectManager.sol +82 -0
  253. package/contracts/instance/base/ComponentService.sol +148 -0
  254. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  255. package/contracts/instance/base/ILifecycle.sol +30 -0
  256. package/contracts/instance/base/KeyValueStore.sol +149 -0
  257. package/contracts/instance/base/Lifecycle.sol +120 -0
  258. package/contracts/instance/module/IAccess.sol +54 -0
  259. package/contracts/instance/module/IBundle.sol +23 -0
  260. package/contracts/instance/module/IComponents.sol +41 -0
  261. package/contracts/instance/module/IDistribution.sol +42 -0
  262. package/contracts/instance/module/IPolicy.sol +77 -0
  263. package/contracts/instance/module/IRisk.sol +11 -0
  264. package/contracts/instance/module/ISetup.sol +33 -0
  265. package/contracts/instance/module/ITreasury.sol +23 -0
  266. package/contracts/instance/service/ApplicationService.sol +186 -0
  267. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  268. package/contracts/instance/service/BundleService.sol +382 -0
  269. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  270. package/contracts/instance/service/ClaimService.sol +437 -0
  271. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  272. package/contracts/instance/service/DistributionService.sol +348 -0
  273. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  274. package/contracts/instance/service/IApplicationService.sol +62 -0
  275. package/contracts/instance/service/IBundleService.sol +118 -0
  276. package/contracts/instance/service/IClaimService.sol +90 -0
  277. package/contracts/instance/service/IDistributionService.sol +87 -0
  278. package/contracts/instance/service/IPolicyService.sol +80 -0
  279. package/contracts/instance/service/IPoolService.sol +114 -0
  280. package/contracts/instance/service/IPricingService.sol +37 -0
  281. package/contracts/instance/service/IProductService.sol +40 -0
  282. package/contracts/instance/service/PolicyService.sol +376 -0
  283. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  284. package/contracts/instance/service/PoolService.sol +403 -0
  285. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  286. package/contracts/instance/service/PricingService.sol +275 -0
  287. package/contracts/instance/service/PricingServiceManager.sol +51 -0
  288. package/contracts/instance/service/ProductService.sol +210 -0
  289. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  290. package/contracts/registry/ChainNft.sol +137 -62
  291. package/contracts/registry/IRegistry.sol +75 -41
  292. package/contracts/registry/IRegistryService.sol +66 -0
  293. package/contracts/registry/ITransferInterceptor.sol +7 -0
  294. package/contracts/registry/Registry.sol +413 -128
  295. package/contracts/registry/RegistryAccessManager.sol +216 -0
  296. package/contracts/registry/RegistryService.sol +286 -0
  297. package/contracts/registry/RegistryServiceManager.sol +62 -0
  298. package/contracts/registry/ReleaseManager.sol +324 -0
  299. package/contracts/registry/TokenRegistry.sol +116 -0
  300. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  301. package/contracts/shared/ContractDeployerLib.sol +72 -0
  302. package/contracts/shared/ERC165.sol +27 -0
  303. package/contracts/shared/INftOwnable.sol +23 -0
  304. package/contracts/shared/IPolicyHolder.sol +40 -0
  305. package/contracts/shared/IRegisterable.sol +15 -0
  306. package/contracts/shared/IRegistryLinked.sol +11 -0
  307. package/contracts/shared/IService.sol +18 -0
  308. package/contracts/shared/IVersionable.sol +53 -0
  309. package/contracts/shared/NftOwnable.sol +118 -0
  310. package/contracts/shared/PolicyHolder.sol +94 -0
  311. package/contracts/shared/ProxyManager.sol +169 -0
  312. package/contracts/shared/Registerable.sol +75 -0
  313. package/contracts/shared/RegistryLinked.sol +43 -0
  314. package/contracts/shared/Service.sol +72 -0
  315. package/contracts/shared/TokenHandler.sol +35 -0
  316. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  317. package/contracts/shared/Versionable.sol +59 -0
  318. package/contracts/test/TestFee.sol +25 -0
  319. package/contracts/test/TestRegisterable.sol +18 -0
  320. package/contracts/test/TestRoleId.sol +14 -0
  321. package/contracts/test/TestService.sol +25 -0
  322. package/contracts/{mock/Dip.sol → test/TestToken.sol} +5 -5
  323. package/contracts/test/TestVersion.sol +44 -0
  324. package/contracts/test/TestVersionable.sol +17 -0
  325. package/contracts/{mock → test}/Usdc.sol +1 -1
  326. package/contracts/types/AddressSet.sol +58 -0
  327. package/contracts/types/Amount.sol +109 -0
  328. package/contracts/types/Blocknumber.sol +1 -0
  329. package/contracts/types/ClaimId.sol +75 -0
  330. package/contracts/types/DistributorType.sol +55 -0
  331. package/contracts/types/Fee.sol +53 -20
  332. package/contracts/types/Key32.sol +50 -0
  333. package/contracts/types/NftId.sol +30 -1
  334. package/contracts/types/NftIdSet.sol +62 -0
  335. package/contracts/types/NumberId.sol +52 -0
  336. package/contracts/types/ObjectType.sol +69 -15
  337. package/contracts/types/PayoutId.sol +82 -0
  338. package/contracts/types/Referral.sol +89 -0
  339. package/contracts/types/RiskId.sol +43 -0
  340. package/contracts/types/RoleId.sol +97 -0
  341. package/contracts/types/Seconds.sol +54 -0
  342. package/contracts/types/StateId.sol +23 -4
  343. package/contracts/types/Timestamp.sol +36 -6
  344. package/contracts/types/UFixed.sol +139 -23
  345. package/contracts/types/Version.sol +108 -0
  346. package/package.json +11 -5
  347. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  348. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  349. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  350. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  351. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  352. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  353. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  355. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  357. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  359. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  361. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  363. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  365. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  367. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  369. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  370. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  371. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  372. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  373. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  374. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  375. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  376. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  377. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  378. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  379. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  380. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  381. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  382. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  383. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  384. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  385. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  386. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  387. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  388. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  389. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  390. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  391. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  392. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  394. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  395. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
  396. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  397. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  398. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  399. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  400. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  401. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  402. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  403. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  404. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  405. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  406. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  407. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  408. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  409. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  410. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  411. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  412. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  413. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  414. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  415. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  416. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  417. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  418. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  419. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  420. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  421. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  422. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  423. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  424. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  425. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -127
  426. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  427. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  428. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  429. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  430. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  431. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  432. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  433. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  434. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  435. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  436. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  437. package/artifacts/contracts/mock/Dip.sol/DIP.dbg.json +0 -4
  438. package/artifacts/contracts/mock/Dip.sol/DIP.json +0 -338
  439. package/artifacts/contracts/mock/TestPool.sol/TestPool.dbg.json +0 -4
  440. package/artifacts/contracts/mock/TestPool.sol/TestPool.json +0 -294
  441. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.dbg.json +0 -4
  442. package/artifacts/contracts/mock/TestProduct.sol/TestProduct.json +0 -384
  443. package/artifacts/contracts/mock/Usdc.sol/USDC.dbg.json +0 -4
  444. package/artifacts/contracts/mock/Usdc.sol/USDC.json +0 -338
  445. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  446. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  447. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  448. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  449. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  450. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  451. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  452. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  453. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  454. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  455. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  456. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  457. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -479
  458. package/contracts/components/IPool.sol +0 -15
  459. package/contracts/components/IProduct.sol +0 -16
  460. package/contracts/experiment/errors/Require.sol +0 -38
  461. package/contracts/experiment/errors/Revert.sol +0 -44
  462. package/contracts/experiment/inheritance/A.sol +0 -53
  463. package/contracts/experiment/inheritance/B.sol +0 -28
  464. package/contracts/experiment/inheritance/C.sol +0 -34
  465. package/contracts/experiment/inheritance/IA.sol +0 -13
  466. package/contracts/experiment/inheritance/IB.sol +0 -10
  467. package/contracts/experiment/inheritance/IC.sol +0 -12
  468. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  469. package/contracts/experiment/statemachine/ISM.sol +0 -25
  470. package/contracts/experiment/statemachine/README.md +0 -112
  471. package/contracts/experiment/statemachine/SM.sol +0 -57
  472. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  473. package/contracts/experiment/types/TypeA.sol +0 -47
  474. package/contracts/experiment/types/TypeB.sol +0 -29
  475. package/contracts/instance/access/Access.sol +0 -165
  476. package/contracts/instance/access/IAccess.sol +0 -63
  477. package/contracts/instance/component/ComponentModule.sol +0 -274
  478. package/contracts/instance/component/IComponent.sol +0 -74
  479. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  480. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  481. package/contracts/instance/policy/IPolicy.sol +0 -50
  482. package/contracts/instance/policy/PolicyModule.sol +0 -114
  483. package/contracts/instance/pool/IPoolModule.sol +0 -23
  484. package/contracts/instance/pool/PoolModule.sol +0 -81
  485. package/contracts/instance/product/IProductService.sol +0 -36
  486. package/contracts/instance/product/ProductService.sol +0 -136
  487. package/contracts/instance/treasury/ITreasury.sol +0 -91
  488. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  489. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  490. package/contracts/mock/TestPool.sol +0 -16
  491. package/contracts/mock/TestProduct.sol +0 -39
  492. package/contracts/registry/IChainNft.sol +0 -21
@@ -0,0 +1,1622 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PoolService",
4
+ "sourceName": "contracts/instance/service/PoolService.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "component",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentServiceComponentLocked",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "component",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "ObjectType",
64
+ "name": "expectedType",
65
+ "type": "uint8"
66
+ },
67
+ {
68
+ "internalType": "ObjectType",
69
+ "name": "foundType",
70
+ "type": "uint8"
71
+ }
72
+ ],
73
+ "name": "ErrorComponentServiceComponentTypeInvalid",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "instanceNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "RoleId",
85
+ "name": "requiredRole",
86
+ "type": "uint64"
87
+ },
88
+ {
89
+ "internalType": "address",
90
+ "name": "sender",
91
+ "type": "address"
92
+ }
93
+ ],
94
+ "name": "ErrorComponentServiceExpectedRoleMissing",
95
+ "type": "error"
96
+ },
97
+ {
98
+ "inputs": [
99
+ {
100
+ "internalType": "address",
101
+ "name": "component",
102
+ "type": "address"
103
+ },
104
+ {
105
+ "internalType": "ObjectType",
106
+ "name": "requiredType",
107
+ "type": "uint8"
108
+ },
109
+ {
110
+ "internalType": "ObjectType",
111
+ "name": "componentType",
112
+ "type": "uint8"
113
+ }
114
+ ],
115
+ "name": "ErrorComponentServiceInvalidType",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [
120
+ {
121
+ "internalType": "address",
122
+ "name": "component",
123
+ "type": "address"
124
+ }
125
+ ],
126
+ "name": "ErrorComponentServiceNotComponent",
127
+ "type": "error"
128
+ },
129
+ {
130
+ "inputs": [
131
+ {
132
+ "internalType": "address",
133
+ "name": "component",
134
+ "type": "address"
135
+ },
136
+ {
137
+ "internalType": "address",
138
+ "name": "initialOwner",
139
+ "type": "address"
140
+ },
141
+ {
142
+ "internalType": "address",
143
+ "name": "sender",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "ErrorComponentServiceSenderNotOwner",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "sender",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ErrorComponentServiceSenderNotService",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "address",
165
+ "name": "target",
166
+ "type": "address"
167
+ }
168
+ ],
169
+ "name": "ErrorIAccessTargetLocked",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
174
+ {
175
+ "internalType": "NftId",
176
+ "name": "nftId",
177
+ "type": "uint96"
178
+ }
179
+ ],
180
+ "name": "ErrorNftOwnableAlreadyLinked",
181
+ "type": "error"
182
+ },
183
+ {
184
+ "inputs": [
185
+ {
186
+ "internalType": "address",
187
+ "name": "contractAddress",
188
+ "type": "address"
189
+ }
190
+ ],
191
+ "name": "ErrorNftOwnableContractNotRegistered",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [],
196
+ "name": "ErrorNftOwnableInitialOwnerZero",
197
+ "type": "error"
198
+ },
199
+ {
200
+ "inputs": [
201
+ {
202
+ "internalType": "address",
203
+ "name": "account",
204
+ "type": "address"
205
+ }
206
+ ],
207
+ "name": "ErrorNftOwnableNotOwner",
208
+ "type": "error"
209
+ },
210
+ {
211
+ "inputs": [
212
+ {
213
+ "internalType": "address",
214
+ "name": "registryAddress",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "name": "ErrorNotRegistry",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [
223
+ {
224
+ "internalType": "NftId",
225
+ "name": "poolNftId",
226
+ "type": "uint96"
227
+ }
228
+ ],
229
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "inputs": [
234
+ {
235
+ "internalType": "NftId",
236
+ "name": "bundlePoolNftId",
237
+ "type": "uint96"
238
+ },
239
+ {
240
+ "internalType": "NftId",
241
+ "name": "productPoolNftId",
242
+ "type": "uint96"
243
+ }
244
+ ],
245
+ "name": "ErrorPoolServiceBundlePoolMismatch",
246
+ "type": "error"
247
+ },
248
+ {
249
+ "inputs": [
250
+ {
251
+ "internalType": "Amount",
252
+ "name": "expectedAmount",
253
+ "type": "uint96"
254
+ },
255
+ {
256
+ "internalType": "Amount",
257
+ "name": "actualAmount",
258
+ "type": "uint96"
259
+ }
260
+ ],
261
+ "name": "ErrorPoolServiceInvalidTransferAmount",
262
+ "type": "error"
263
+ },
264
+ {
265
+ "inputs": [],
266
+ "name": "ErrorServiceNotImplemented",
267
+ "type": "error"
268
+ },
269
+ {
270
+ "inputs": [],
271
+ "name": "InvalidInitialization",
272
+ "type": "error"
273
+ },
274
+ {
275
+ "inputs": [],
276
+ "name": "NotInitializing",
277
+ "type": "error"
278
+ },
279
+ {
280
+ "anonymous": false,
281
+ "inputs": [
282
+ {
283
+ "indexed": false,
284
+ "internalType": "address",
285
+ "name": "authority",
286
+ "type": "address"
287
+ }
288
+ ],
289
+ "name": "AuthorityUpdated",
290
+ "type": "event"
291
+ },
292
+ {
293
+ "anonymous": false,
294
+ "inputs": [
295
+ {
296
+ "indexed": false,
297
+ "internalType": "uint64",
298
+ "name": "version",
299
+ "type": "uint64"
300
+ }
301
+ ],
302
+ "name": "Initialized",
303
+ "type": "event"
304
+ },
305
+ {
306
+ "anonymous": false,
307
+ "inputs": [
308
+ {
309
+ "indexed": false,
310
+ "internalType": "NftId",
311
+ "name": "instanceNftId",
312
+ "type": "uint96"
313
+ },
314
+ {
315
+ "indexed": false,
316
+ "internalType": "NftId",
317
+ "name": "poolNftId",
318
+ "type": "uint96"
319
+ },
320
+ {
321
+ "indexed": false,
322
+ "internalType": "NftId",
323
+ "name": "bundleNftId",
324
+ "type": "uint96"
325
+ }
326
+ ],
327
+ "name": "LogPoolServiceBundleClosed",
328
+ "type": "event"
329
+ },
330
+ {
331
+ "anonymous": false,
332
+ "inputs": [
333
+ {
334
+ "indexed": false,
335
+ "internalType": "NftId",
336
+ "name": "instanceNftId",
337
+ "type": "uint96"
338
+ },
339
+ {
340
+ "indexed": false,
341
+ "internalType": "NftId",
342
+ "name": "poolNftId",
343
+ "type": "uint96"
344
+ },
345
+ {
346
+ "indexed": false,
347
+ "internalType": "NftId",
348
+ "name": "bundleNftId",
349
+ "type": "uint96"
350
+ }
351
+ ],
352
+ "name": "LogPoolServiceBundleCreated",
353
+ "type": "event"
354
+ },
355
+ {
356
+ "anonymous": false,
357
+ "inputs": [
358
+ {
359
+ "indexed": false,
360
+ "internalType": "NftId",
361
+ "name": "poolNftId",
362
+ "type": "uint96"
363
+ },
364
+ {
365
+ "indexed": false,
366
+ "internalType": "RoleId",
367
+ "name": "bundleOwnerRole",
368
+ "type": "uint64"
369
+ }
370
+ ],
371
+ "name": "LogPoolServiceBundleOwnerRoleSet",
372
+ "type": "event"
373
+ },
374
+ {
375
+ "anonymous": false,
376
+ "inputs": [
377
+ {
378
+ "indexed": false,
379
+ "internalType": "NftId",
380
+ "name": "poolNftId",
381
+ "type": "uint96"
382
+ },
383
+ {
384
+ "indexed": false,
385
+ "internalType": "Amount",
386
+ "name": "previousMaxCapitalAmount",
387
+ "type": "uint96"
388
+ },
389
+ {
390
+ "indexed": false,
391
+ "internalType": "Amount",
392
+ "name": "currentMaxCapitalAmount",
393
+ "type": "uint96"
394
+ }
395
+ ],
396
+ "name": "LogPoolServiceMaxCapitalAmountUpdated",
397
+ "type": "event"
398
+ },
399
+ {
400
+ "inputs": [],
401
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
402
+ "outputs": [
403
+ {
404
+ "internalType": "bytes32",
405
+ "name": "",
406
+ "type": "bytes32"
407
+ }
408
+ ],
409
+ "stateMutability": "view",
410
+ "type": "function"
411
+ },
412
+ {
413
+ "inputs": [],
414
+ "name": "REGISTERABLE_LOCATION_V1",
415
+ "outputs": [
416
+ {
417
+ "internalType": "bytes32",
418
+ "name": "",
419
+ "type": "bytes32"
420
+ }
421
+ ],
422
+ "stateMutability": "view",
423
+ "type": "function"
424
+ },
425
+ {
426
+ "inputs": [],
427
+ "name": "authority",
428
+ "outputs": [
429
+ {
430
+ "internalType": "address",
431
+ "name": "",
432
+ "type": "address"
433
+ }
434
+ ],
435
+ "stateMutability": "view",
436
+ "type": "function"
437
+ },
438
+ {
439
+ "inputs": [
440
+ {
441
+ "internalType": "NftId",
442
+ "name": "bundleNftId",
443
+ "type": "uint96"
444
+ }
445
+ ],
446
+ "name": "closeBundle",
447
+ "outputs": [],
448
+ "stateMutability": "nonpayable",
449
+ "type": "function"
450
+ },
451
+ {
452
+ "inputs": [
453
+ {
454
+ "internalType": "address",
455
+ "name": "owner",
456
+ "type": "address"
457
+ },
458
+ {
459
+ "components": [
460
+ {
461
+ "internalType": "UFixed",
462
+ "name": "fractionalFee",
463
+ "type": "uint256"
464
+ },
465
+ {
466
+ "internalType": "uint256",
467
+ "name": "fixedFee",
468
+ "type": "uint256"
469
+ }
470
+ ],
471
+ "internalType": "struct Fee",
472
+ "name": "fee",
473
+ "type": "tuple"
474
+ },
475
+ {
476
+ "internalType": "Amount",
477
+ "name": "stakingAmount",
478
+ "type": "uint96"
479
+ },
480
+ {
481
+ "internalType": "Seconds",
482
+ "name": "lifetime",
483
+ "type": "uint40"
484
+ },
485
+ {
486
+ "internalType": "bytes",
487
+ "name": "filter",
488
+ "type": "bytes"
489
+ }
490
+ ],
491
+ "name": "createBundle",
492
+ "outputs": [
493
+ {
494
+ "internalType": "NftId",
495
+ "name": "bundleNftId",
496
+ "type": "uint96"
497
+ }
498
+ ],
499
+ "stateMutability": "nonpayable",
500
+ "type": "function"
501
+ },
502
+ {
503
+ "inputs": [],
504
+ "name": "getDomain",
505
+ "outputs": [
506
+ {
507
+ "internalType": "ObjectType",
508
+ "name": "",
509
+ "type": "uint8"
510
+ }
511
+ ],
512
+ "stateMutability": "pure",
513
+ "type": "function"
514
+ },
515
+ {
516
+ "inputs": [],
517
+ "name": "getInitialInfo",
518
+ "outputs": [
519
+ {
520
+ "components": [
521
+ {
522
+ "internalType": "NftId",
523
+ "name": "nftId",
524
+ "type": "uint96"
525
+ },
526
+ {
527
+ "internalType": "NftId",
528
+ "name": "parentNftId",
529
+ "type": "uint96"
530
+ },
531
+ {
532
+ "internalType": "ObjectType",
533
+ "name": "objectType",
534
+ "type": "uint8"
535
+ },
536
+ {
537
+ "internalType": "bool",
538
+ "name": "isInterceptor",
539
+ "type": "bool"
540
+ },
541
+ {
542
+ "internalType": "address",
543
+ "name": "objectAddress",
544
+ "type": "address"
545
+ },
546
+ {
547
+ "internalType": "address",
548
+ "name": "initialOwner",
549
+ "type": "address"
550
+ },
551
+ {
552
+ "internalType": "bytes",
553
+ "name": "data",
554
+ "type": "bytes"
555
+ }
556
+ ],
557
+ "internalType": "struct IRegistry.ObjectInfo",
558
+ "name": "info",
559
+ "type": "tuple"
560
+ }
561
+ ],
562
+ "stateMutability": "view",
563
+ "type": "function"
564
+ },
565
+ {
566
+ "inputs": [],
567
+ "name": "getInstanceService",
568
+ "outputs": [
569
+ {
570
+ "internalType": "contract InstanceService",
571
+ "name": "",
572
+ "type": "address"
573
+ }
574
+ ],
575
+ "stateMutability": "view",
576
+ "type": "function"
577
+ },
578
+ {
579
+ "inputs": [],
580
+ "name": "getNftId",
581
+ "outputs": [
582
+ {
583
+ "internalType": "NftId",
584
+ "name": "",
585
+ "type": "uint96"
586
+ }
587
+ ],
588
+ "stateMutability": "view",
589
+ "type": "function"
590
+ },
591
+ {
592
+ "inputs": [],
593
+ "name": "getOwner",
594
+ "outputs": [
595
+ {
596
+ "internalType": "address",
597
+ "name": "",
598
+ "type": "address"
599
+ }
600
+ ],
601
+ "stateMutability": "view",
602
+ "type": "function"
603
+ },
604
+ {
605
+ "inputs": [],
606
+ "name": "getRegistry",
607
+ "outputs": [
608
+ {
609
+ "internalType": "contract IRegistry",
610
+ "name": "",
611
+ "type": "address"
612
+ }
613
+ ],
614
+ "stateMutability": "view",
615
+ "type": "function"
616
+ },
617
+ {
618
+ "inputs": [],
619
+ "name": "getRegistryService",
620
+ "outputs": [
621
+ {
622
+ "internalType": "contract IRegistryService",
623
+ "name": "",
624
+ "type": "address"
625
+ }
626
+ ],
627
+ "stateMutability": "view",
628
+ "type": "function"
629
+ },
630
+ {
631
+ "inputs": [],
632
+ "name": "getVersion",
633
+ "outputs": [
634
+ {
635
+ "internalType": "Version",
636
+ "name": "",
637
+ "type": "uint24"
638
+ }
639
+ ],
640
+ "stateMutability": "pure",
641
+ "type": "function"
642
+ },
643
+ {
644
+ "inputs": [],
645
+ "name": "initializeERC165",
646
+ "outputs": [],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [
652
+ {
653
+ "internalType": "address",
654
+ "name": "initialOwner",
655
+ "type": "address"
656
+ },
657
+ {
658
+ "internalType": "address",
659
+ "name": "registryAddress",
660
+ "type": "address"
661
+ }
662
+ ],
663
+ "name": "initializeNftOwnable",
664
+ "outputs": [],
665
+ "stateMutability": "nonpayable",
666
+ "type": "function"
667
+ },
668
+ {
669
+ "inputs": [
670
+ {
671
+ "internalType": "address",
672
+ "name": "registryAddress",
673
+ "type": "address"
674
+ },
675
+ {
676
+ "internalType": "NftId",
677
+ "name": "parentNftId",
678
+ "type": "uint96"
679
+ },
680
+ {
681
+ "internalType": "ObjectType",
682
+ "name": "objectType",
683
+ "type": "uint8"
684
+ },
685
+ {
686
+ "internalType": "bool",
687
+ "name": "isInterceptor",
688
+ "type": "bool"
689
+ },
690
+ {
691
+ "internalType": "address",
692
+ "name": "initialOwner",
693
+ "type": "address"
694
+ },
695
+ {
696
+ "internalType": "bytes",
697
+ "name": "registryData",
698
+ "type": "bytes"
699
+ }
700
+ ],
701
+ "name": "initializeRegisterable",
702
+ "outputs": [],
703
+ "stateMutability": "nonpayable",
704
+ "type": "function"
705
+ },
706
+ {
707
+ "inputs": [
708
+ {
709
+ "internalType": "address",
710
+ "name": "registryAddress",
711
+ "type": "address"
712
+ }
713
+ ],
714
+ "name": "initializeRegistryLinked",
715
+ "outputs": [],
716
+ "stateMutability": "nonpayable",
717
+ "type": "function"
718
+ },
719
+ {
720
+ "inputs": [
721
+ {
722
+ "internalType": "address",
723
+ "name": "registry",
724
+ "type": "address"
725
+ },
726
+ {
727
+ "internalType": "address",
728
+ "name": "authority",
729
+ "type": "address"
730
+ },
731
+ {
732
+ "internalType": "address",
733
+ "name": "initialOwner",
734
+ "type": "address"
735
+ }
736
+ ],
737
+ "name": "initializeService",
738
+ "outputs": [],
739
+ "stateMutability": "nonpayable",
740
+ "type": "function"
741
+ },
742
+ {
743
+ "inputs": [
744
+ {
745
+ "internalType": "address",
746
+ "name": "activatedBy",
747
+ "type": "address"
748
+ },
749
+ {
750
+ "internalType": "bytes",
751
+ "name": "data",
752
+ "type": "bytes"
753
+ }
754
+ ],
755
+ "name": "initializeVersionable",
756
+ "outputs": [],
757
+ "stateMutability": "nonpayable",
758
+ "type": "function"
759
+ },
760
+ {
761
+ "inputs": [],
762
+ "name": "isConsumingScheduledOp",
763
+ "outputs": [
764
+ {
765
+ "internalType": "bytes4",
766
+ "name": "",
767
+ "type": "bytes4"
768
+ }
769
+ ],
770
+ "stateMutability": "view",
771
+ "type": "function"
772
+ },
773
+ {
774
+ "inputs": [],
775
+ "name": "linkToRegisteredNftId",
776
+ "outputs": [],
777
+ "stateMutability": "nonpayable",
778
+ "type": "function"
779
+ },
780
+ {
781
+ "inputs": [
782
+ {
783
+ "internalType": "contract IInstance",
784
+ "name": "instance",
785
+ "type": "address"
786
+ },
787
+ {
788
+ "internalType": "NftId",
789
+ "name": "productNftId",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "internalType": "NftId",
794
+ "name": "applicationNftId",
795
+ "type": "uint96"
796
+ },
797
+ {
798
+ "components": [
799
+ {
800
+ "internalType": "NftId",
801
+ "name": "productNftId",
802
+ "type": "uint96"
803
+ },
804
+ {
805
+ "internalType": "NftId",
806
+ "name": "bundleNftId",
807
+ "type": "uint96"
808
+ },
809
+ {
810
+ "internalType": "ReferralId",
811
+ "name": "referralId",
812
+ "type": "bytes8"
813
+ },
814
+ {
815
+ "internalType": "RiskId",
816
+ "name": "riskId",
817
+ "type": "bytes8"
818
+ },
819
+ {
820
+ "internalType": "Amount",
821
+ "name": "sumInsuredAmount",
822
+ "type": "uint96"
823
+ },
824
+ {
825
+ "internalType": "Amount",
826
+ "name": "premiumAmount",
827
+ "type": "uint96"
828
+ },
829
+ {
830
+ "internalType": "Amount",
831
+ "name": "premiumPaidAmount",
832
+ "type": "uint96"
833
+ },
834
+ {
835
+ "internalType": "Seconds",
836
+ "name": "lifetime",
837
+ "type": "uint40"
838
+ },
839
+ {
840
+ "internalType": "bytes",
841
+ "name": "applicationData",
842
+ "type": "bytes"
843
+ },
844
+ {
845
+ "internalType": "bytes",
846
+ "name": "policyData",
847
+ "type": "bytes"
848
+ },
849
+ {
850
+ "internalType": "uint16",
851
+ "name": "claimsCount",
852
+ "type": "uint16"
853
+ },
854
+ {
855
+ "internalType": "uint16",
856
+ "name": "openClaimsCount",
857
+ "type": "uint16"
858
+ },
859
+ {
860
+ "internalType": "Amount",
861
+ "name": "claimAmount",
862
+ "type": "uint96"
863
+ },
864
+ {
865
+ "internalType": "Amount",
866
+ "name": "payoutAmount",
867
+ "type": "uint96"
868
+ },
869
+ {
870
+ "internalType": "Timestamp",
871
+ "name": "activatedAt",
872
+ "type": "uint40"
873
+ },
874
+ {
875
+ "internalType": "Timestamp",
876
+ "name": "expiredAt",
877
+ "type": "uint40"
878
+ },
879
+ {
880
+ "internalType": "Timestamp",
881
+ "name": "closedAt",
882
+ "type": "uint40"
883
+ }
884
+ ],
885
+ "internalType": "struct IPolicy.PolicyInfo",
886
+ "name": "applicationInfo",
887
+ "type": "tuple"
888
+ },
889
+ {
890
+ "internalType": "Amount",
891
+ "name": "premiumAmount",
892
+ "type": "uint96"
893
+ }
894
+ ],
895
+ "name": "lockCollateral",
896
+ "outputs": [],
897
+ "stateMutability": "nonpayable",
898
+ "type": "function"
899
+ },
900
+ {
901
+ "inputs": [
902
+ {
903
+ "internalType": "NftId",
904
+ "name": "bundleNftId",
905
+ "type": "uint96"
906
+ },
907
+ {
908
+ "components": [
909
+ {
910
+ "internalType": "uint256",
911
+ "name": "netPremiumAmount",
912
+ "type": "uint256"
913
+ },
914
+ {
915
+ "internalType": "uint256",
916
+ "name": "fullPremiumAmount",
917
+ "type": "uint256"
918
+ },
919
+ {
920
+ "internalType": "uint256",
921
+ "name": "premiumAmount",
922
+ "type": "uint256"
923
+ },
924
+ {
925
+ "internalType": "uint256",
926
+ "name": "productFeeFixAmount",
927
+ "type": "uint256"
928
+ },
929
+ {
930
+ "internalType": "uint256",
931
+ "name": "poolFeeFixAmount",
932
+ "type": "uint256"
933
+ },
934
+ {
935
+ "internalType": "uint256",
936
+ "name": "bundleFeeFixAmount",
937
+ "type": "uint256"
938
+ },
939
+ {
940
+ "internalType": "uint256",
941
+ "name": "distributionFeeFixAmount",
942
+ "type": "uint256"
943
+ },
944
+ {
945
+ "internalType": "uint256",
946
+ "name": "productFeeVarAmount",
947
+ "type": "uint256"
948
+ },
949
+ {
950
+ "internalType": "uint256",
951
+ "name": "poolFeeVarAmount",
952
+ "type": "uint256"
953
+ },
954
+ {
955
+ "internalType": "uint256",
956
+ "name": "bundleFeeVarAmount",
957
+ "type": "uint256"
958
+ },
959
+ {
960
+ "internalType": "uint256",
961
+ "name": "distributionFeeVarAmount",
962
+ "type": "uint256"
963
+ },
964
+ {
965
+ "internalType": "uint256",
966
+ "name": "distributionOwnerFeeFixAmount",
967
+ "type": "uint256"
968
+ },
969
+ {
970
+ "internalType": "uint256",
971
+ "name": "distributionOwnerFeeVarAmount",
972
+ "type": "uint256"
973
+ },
974
+ {
975
+ "internalType": "uint256",
976
+ "name": "commissionAmount",
977
+ "type": "uint256"
978
+ },
979
+ {
980
+ "internalType": "uint256",
981
+ "name": "discountAmount",
982
+ "type": "uint256"
983
+ }
984
+ ],
985
+ "internalType": "struct IPolicy.Premium",
986
+ "name": "premium",
987
+ "type": "tuple"
988
+ },
989
+ {
990
+ "internalType": "Amount",
991
+ "name": "actualAmountTransferred",
992
+ "type": "uint96"
993
+ }
994
+ ],
995
+ "name": "processSale",
996
+ "outputs": [],
997
+ "stateMutability": "nonpayable",
998
+ "type": "function"
999
+ },
1000
+ {
1001
+ "inputs": [
1002
+ {
1003
+ "internalType": "contract IInstance",
1004
+ "name": "instance",
1005
+ "type": "address"
1006
+ },
1007
+ {
1008
+ "internalType": "NftId",
1009
+ "name": "policyNftId",
1010
+ "type": "uint96"
1011
+ },
1012
+ {
1013
+ "components": [
1014
+ {
1015
+ "internalType": "NftId",
1016
+ "name": "productNftId",
1017
+ "type": "uint96"
1018
+ },
1019
+ {
1020
+ "internalType": "NftId",
1021
+ "name": "bundleNftId",
1022
+ "type": "uint96"
1023
+ },
1024
+ {
1025
+ "internalType": "ReferralId",
1026
+ "name": "referralId",
1027
+ "type": "bytes8"
1028
+ },
1029
+ {
1030
+ "internalType": "RiskId",
1031
+ "name": "riskId",
1032
+ "type": "bytes8"
1033
+ },
1034
+ {
1035
+ "internalType": "Amount",
1036
+ "name": "sumInsuredAmount",
1037
+ "type": "uint96"
1038
+ },
1039
+ {
1040
+ "internalType": "Amount",
1041
+ "name": "premiumAmount",
1042
+ "type": "uint96"
1043
+ },
1044
+ {
1045
+ "internalType": "Amount",
1046
+ "name": "premiumPaidAmount",
1047
+ "type": "uint96"
1048
+ },
1049
+ {
1050
+ "internalType": "Seconds",
1051
+ "name": "lifetime",
1052
+ "type": "uint40"
1053
+ },
1054
+ {
1055
+ "internalType": "bytes",
1056
+ "name": "applicationData",
1057
+ "type": "bytes"
1058
+ },
1059
+ {
1060
+ "internalType": "bytes",
1061
+ "name": "policyData",
1062
+ "type": "bytes"
1063
+ },
1064
+ {
1065
+ "internalType": "uint16",
1066
+ "name": "claimsCount",
1067
+ "type": "uint16"
1068
+ },
1069
+ {
1070
+ "internalType": "uint16",
1071
+ "name": "openClaimsCount",
1072
+ "type": "uint16"
1073
+ },
1074
+ {
1075
+ "internalType": "Amount",
1076
+ "name": "claimAmount",
1077
+ "type": "uint96"
1078
+ },
1079
+ {
1080
+ "internalType": "Amount",
1081
+ "name": "payoutAmount",
1082
+ "type": "uint96"
1083
+ },
1084
+ {
1085
+ "internalType": "Timestamp",
1086
+ "name": "activatedAt",
1087
+ "type": "uint40"
1088
+ },
1089
+ {
1090
+ "internalType": "Timestamp",
1091
+ "name": "expiredAt",
1092
+ "type": "uint40"
1093
+ },
1094
+ {
1095
+ "internalType": "Timestamp",
1096
+ "name": "closedAt",
1097
+ "type": "uint40"
1098
+ }
1099
+ ],
1100
+ "internalType": "struct IPolicy.PolicyInfo",
1101
+ "name": "policyInfo",
1102
+ "type": "tuple"
1103
+ },
1104
+ {
1105
+ "internalType": "Amount",
1106
+ "name": "payoutAmount",
1107
+ "type": "uint96"
1108
+ }
1109
+ ],
1110
+ "name": "reduceCollateral",
1111
+ "outputs": [],
1112
+ "stateMutability": "nonpayable",
1113
+ "type": "function"
1114
+ },
1115
+ {
1116
+ "inputs": [
1117
+ {
1118
+ "internalType": "address",
1119
+ "name": "poolAddress",
1120
+ "type": "address"
1121
+ }
1122
+ ],
1123
+ "name": "register",
1124
+ "outputs": [
1125
+ {
1126
+ "internalType": "NftId",
1127
+ "name": "poolNftId",
1128
+ "type": "uint96"
1129
+ }
1130
+ ],
1131
+ "stateMutability": "nonpayable",
1132
+ "type": "function"
1133
+ },
1134
+ {
1135
+ "inputs": [
1136
+ {
1137
+ "internalType": "bytes4",
1138
+ "name": "interfaceId",
1139
+ "type": "bytes4"
1140
+ }
1141
+ ],
1142
+ "name": "registerInterface",
1143
+ "outputs": [],
1144
+ "stateMutability": "nonpayable",
1145
+ "type": "function"
1146
+ },
1147
+ {
1148
+ "inputs": [
1149
+ {
1150
+ "internalType": "contract IInstance",
1151
+ "name": "instance",
1152
+ "type": "address"
1153
+ },
1154
+ {
1155
+ "internalType": "NftId",
1156
+ "name": "policyNftId",
1157
+ "type": "uint96"
1158
+ },
1159
+ {
1160
+ "components": [
1161
+ {
1162
+ "internalType": "NftId",
1163
+ "name": "productNftId",
1164
+ "type": "uint96"
1165
+ },
1166
+ {
1167
+ "internalType": "NftId",
1168
+ "name": "bundleNftId",
1169
+ "type": "uint96"
1170
+ },
1171
+ {
1172
+ "internalType": "ReferralId",
1173
+ "name": "referralId",
1174
+ "type": "bytes8"
1175
+ },
1176
+ {
1177
+ "internalType": "RiskId",
1178
+ "name": "riskId",
1179
+ "type": "bytes8"
1180
+ },
1181
+ {
1182
+ "internalType": "Amount",
1183
+ "name": "sumInsuredAmount",
1184
+ "type": "uint96"
1185
+ },
1186
+ {
1187
+ "internalType": "Amount",
1188
+ "name": "premiumAmount",
1189
+ "type": "uint96"
1190
+ },
1191
+ {
1192
+ "internalType": "Amount",
1193
+ "name": "premiumPaidAmount",
1194
+ "type": "uint96"
1195
+ },
1196
+ {
1197
+ "internalType": "Seconds",
1198
+ "name": "lifetime",
1199
+ "type": "uint40"
1200
+ },
1201
+ {
1202
+ "internalType": "bytes",
1203
+ "name": "applicationData",
1204
+ "type": "bytes"
1205
+ },
1206
+ {
1207
+ "internalType": "bytes",
1208
+ "name": "policyData",
1209
+ "type": "bytes"
1210
+ },
1211
+ {
1212
+ "internalType": "uint16",
1213
+ "name": "claimsCount",
1214
+ "type": "uint16"
1215
+ },
1216
+ {
1217
+ "internalType": "uint16",
1218
+ "name": "openClaimsCount",
1219
+ "type": "uint16"
1220
+ },
1221
+ {
1222
+ "internalType": "Amount",
1223
+ "name": "claimAmount",
1224
+ "type": "uint96"
1225
+ },
1226
+ {
1227
+ "internalType": "Amount",
1228
+ "name": "payoutAmount",
1229
+ "type": "uint96"
1230
+ },
1231
+ {
1232
+ "internalType": "Timestamp",
1233
+ "name": "activatedAt",
1234
+ "type": "uint40"
1235
+ },
1236
+ {
1237
+ "internalType": "Timestamp",
1238
+ "name": "expiredAt",
1239
+ "type": "uint40"
1240
+ },
1241
+ {
1242
+ "internalType": "Timestamp",
1243
+ "name": "closedAt",
1244
+ "type": "uint40"
1245
+ }
1246
+ ],
1247
+ "internalType": "struct IPolicy.PolicyInfo",
1248
+ "name": "policyInfo",
1249
+ "type": "tuple"
1250
+ }
1251
+ ],
1252
+ "name": "releaseCollateral",
1253
+ "outputs": [],
1254
+ "stateMutability": "nonpayable",
1255
+ "type": "function"
1256
+ },
1257
+ {
1258
+ "inputs": [
1259
+ {
1260
+ "internalType": "address",
1261
+ "name": "newAuthority",
1262
+ "type": "address"
1263
+ }
1264
+ ],
1265
+ "name": "setAuthority",
1266
+ "outputs": [],
1267
+ "stateMutability": "nonpayable",
1268
+ "type": "function"
1269
+ },
1270
+ {
1271
+ "inputs": [
1272
+ {
1273
+ "internalType": "RoleId",
1274
+ "name": "bundleOwnerRole",
1275
+ "type": "uint64"
1276
+ }
1277
+ ],
1278
+ "name": "setBundleOwnerRole",
1279
+ "outputs": [],
1280
+ "stateMutability": "nonpayable",
1281
+ "type": "function"
1282
+ },
1283
+ {
1284
+ "inputs": [
1285
+ {
1286
+ "components": [
1287
+ {
1288
+ "internalType": "UFixed",
1289
+ "name": "fractionalFee",
1290
+ "type": "uint256"
1291
+ },
1292
+ {
1293
+ "internalType": "uint256",
1294
+ "name": "fixedFee",
1295
+ "type": "uint256"
1296
+ }
1297
+ ],
1298
+ "internalType": "struct Fee",
1299
+ "name": "poolFee",
1300
+ "type": "tuple"
1301
+ },
1302
+ {
1303
+ "components": [
1304
+ {
1305
+ "internalType": "UFixed",
1306
+ "name": "fractionalFee",
1307
+ "type": "uint256"
1308
+ },
1309
+ {
1310
+ "internalType": "uint256",
1311
+ "name": "fixedFee",
1312
+ "type": "uint256"
1313
+ }
1314
+ ],
1315
+ "internalType": "struct Fee",
1316
+ "name": "stakingFee",
1317
+ "type": "tuple"
1318
+ },
1319
+ {
1320
+ "components": [
1321
+ {
1322
+ "internalType": "UFixed",
1323
+ "name": "fractionalFee",
1324
+ "type": "uint256"
1325
+ },
1326
+ {
1327
+ "internalType": "uint256",
1328
+ "name": "fixedFee",
1329
+ "type": "uint256"
1330
+ }
1331
+ ],
1332
+ "internalType": "struct Fee",
1333
+ "name": "performanceFee",
1334
+ "type": "tuple"
1335
+ }
1336
+ ],
1337
+ "name": "setFees",
1338
+ "outputs": [],
1339
+ "stateMutability": "nonpayable",
1340
+ "type": "function"
1341
+ },
1342
+ {
1343
+ "inputs": [
1344
+ {
1345
+ "internalType": "Amount",
1346
+ "name": "maxCapitalAmount",
1347
+ "type": "uint96"
1348
+ }
1349
+ ],
1350
+ "name": "setMaxCapitalAmount",
1351
+ "outputs": [],
1352
+ "stateMutability": "nonpayable",
1353
+ "type": "function"
1354
+ },
1355
+ {
1356
+ "inputs": [
1357
+ {
1358
+ "internalType": "bytes4",
1359
+ "name": "interfaceId",
1360
+ "type": "bytes4"
1361
+ }
1362
+ ],
1363
+ "name": "supportsInterface",
1364
+ "outputs": [
1365
+ {
1366
+ "internalType": "bool",
1367
+ "name": "",
1368
+ "type": "bool"
1369
+ }
1370
+ ],
1371
+ "stateMutability": "view",
1372
+ "type": "function"
1373
+ },
1374
+ {
1375
+ "inputs": [
1376
+ {
1377
+ "internalType": "bytes",
1378
+ "name": "data",
1379
+ "type": "bytes"
1380
+ }
1381
+ ],
1382
+ "name": "upgradeVersionable",
1383
+ "outputs": [],
1384
+ "stateMutability": "nonpayable",
1385
+ "type": "function"
1386
+ }
1387
+ ],
1388
+ "bytecode": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615d8c80620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063a8de511711620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063f7c34ee0146200054c578063fce06ca8146200056357600080fd5b8063a8de511714620004c3578063ada9652e14620004da578063b68d180914620004f1578063bf7e214f146200050157600080fd5b80638e32e97911620000fc5780638e32e979146200045a5780638fb360371462000471578063991cbfb31462000495578063a3c2605214620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b806336fc697e11620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063673ad94f14620003dd578063675393bf14620003f457600080fd5b806336fc697e146200032f5780633cc70e3e14620003395780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462004059565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200057a565b60405162ffffff909116815260200162000266565b6200029862000607565b604051620002669190620040d9565b620002b162000734565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462004059565b62000949565b620002b162000312366004620043a1565b62000978565b620002b16200032936600462004447565b62000a23565b620002b162000b7b565b620002b16200034a3660046200466d565b62000bc3565b620003676200036136600462004702565b62000fc5565b6040516001600160601b03909116815260200162000266565b620002b16200039136600462004722565b62001563565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005cf7833981519152546001600160601b031662000367565b620002b1620003ee36600462004777565b6200166b565b620002b16200040536600462004702565b620018dc565b620003676200041c366004620047ca565b620019f5565b620002b16200043336600462004702565b62001c67565b620002b16200044a36600462004891565b62001d09565b620003a462001f3a565b620002b16200046b366004620048de565b62002079565b6200047b620022cd565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a636600462004930565b62002308565b620002b1620004bd36600462004a45565b62002aa9565b620002b1620004d436600462004a65565b62002d6b565b620002db60008051602062005cf783398151915281565b604051608c815260200162000266565b60008051602062005d17833981519152546001600160a01b0316620003a4565b620003a462002e61565b620003a462002e6f565b620002b16200054636600462004777565b62002e7d565b620002b16200055d36600462004ace565b62002fb3565b620002b16200057436600462004b0c565b62003032565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004b8a565b905090565b620006116200400d565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016200068862001f3a565b6001600160a01b03168152602001826001018054620006a79062004bb1565b80601f0160208091040260200160405190810160405280929190818152602001828054620006d59062004bb1565b8015620007265780601f10620006fa5761010080835404028352916020019162000726565b820191906000526020600020905b8154815290600101906020018083116200070857829003601f168201915b505050505081525091505090565b600060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007cb919062004bfa565b15620007fd5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008116001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000880919062004bfa565b620008aa5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620007f4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620008ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000925919062004c27565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b620009536200309d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009826200309d565b6200098e828762002fb3565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a19838262004c99565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000a476200057a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000a88573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000aae919062004d72565b60008051602062005d378339815191528054600160401b900460ff168062000ae3575080546001600160401b03808416911610155b1562000b025760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b2e83620030d8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000b856200309d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c2a919062004d92565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000c7f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ca5919062004df2565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000d03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d2d919081019062004f06565b905062000d3f816000015184620030e2565b1562000d75578051604051630a49ea2360e01b81526001600160601b0391821660048201529084166024820152604401620007f4565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000dc6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000df091908101906200501a565b905060008160c0015180602001905181019062000e0e919062005114565b608089015160025460405163377a6db760e01b81526001600160a01b038f811660048301526001600160601b03808f166024840152808a16604484015280851660648401528c16608483015293945091928a9291169063377a6db79060a401600060405180830381600087803b15801562000e8857600080fd5b505af115801562000e9d573d6000803e3d6000fd5b505050508260e001511562000fb657600062000ec16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000f11573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f3b91908101906200522e565b608001519050806001600160a01b0316639e2177a78d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000f80959493929190620052df565b600060405180830381600087803b15801562000f9b57600080fd5b505af115801562000fb0573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b60008080808062000fe286608c62000fdc620030f9565b62003173565b9296509094509250905085600062000ff962002e61565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af11580156200104c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200107691908101906200522e565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010b457600080fd5b505af1158015620010c9573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001115573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200113f91908101906200501a565b9050806020015160405162001154906200404b565b6001600160a01b039091168152602001604051809103906000f08015801562001181573d6000803e3d6000fd5b5081604001906001600160a01b031690816001600160a01b031681525050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620011de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001204919062004d92565b6001600160a01b031663d5c9d77d89836040518363ffffffff1660e01b815260040162001233929190620053c2565b600060405180830381600087803b1580156200124e57600080fd5b505af115801562001263573d6000803e3d6000fd5b506000925060029150620012749050565b604051908082528060200260200182016040528015620012a957816020015b6060815260200190600190039081620012935790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110620012e057620012e0620053e6565b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505081600181518110620013215762001321620053e6565b6020026020010181905250638267876660e01b816000815181106200134a576200134a620053e6565b6020026020010151600081518110620013675762001367620053e6565b6001600160e01b0319909216602092830291909101909101528051639e2177a760e01b9082906001908110620013a157620013a1620053e6565b6020026020010151600081518110620013be57620013be620053e6565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905062001404620030f9565b816000815181106200141a576200141a620053e6565b60200260200101906001600160401b031690816001600160401b031681525050620014446200347b565b816001815181106200145a576200145a620053e6565b60200260200101906001600160401b031690816001600160401b0316815250506200148462002e6f565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014fd9190810190620053fc565b86866040518663ffffffff1660e01b8152600401620015219594939291906200547a565b600060405180830381600087803b1580156200153c57600080fd5b505af115801562001551573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620015985750825b90506000826001600160401b03166001148015620015b55750303b155b905081158015620015c4575080155b15620015e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200160e57845460ff60401b1916600160401b1785555b6200161a8787620034b8565b83156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806200167a608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620016c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016e6919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa1580156200173a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200176491908101906200501a565b905060008160c0015180602001905181019062001782919062005114565b604080820180516001600160601b038a16909152905191925090620017ac90839060200162005556565b6040516020818303038152906040528360c00181905250846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001802573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001828919062004d92565b6001600160a01b031663a4eeee59878560ff6040518463ffffffff1660e01b81526004016200185a9392919062005685565b600060405180830381600087803b1580156200187557600080fd5b505af11580156200188a573d6000803e3d6000fd5b5050604080516001600160601b03808b16825280861660208301528b16918101919091527f15f0f748447bed1cb913d60c17d7d4a527d11df02aae753d4c2e07c88f2ec2159250606001905062001659565b620018e66200309d565b806001600160a01b03163b6000036200191e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156200199b575060408051601f3d908101601f19168201909252620019989181019062004bfa565b60015b620019c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b80620019f05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007f4565b505b50565b6000808062001a05608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a4b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a71919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001ac5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001aef91908101906200501a565b9050600062001aff828b620038be565b9050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b815260040162001b52989796959493929190620056bc565b6020604051808303816000875af115801562001b72573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b98919062004c27565b955062001ba7828d8c62003a0b565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c07573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c2d919062004c27565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b3362001c8960008051602062005d17833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001cc65760405162d1953b60e31b81526001600160a01b0382166004820152602401620007f4565b816001600160a01b03163b60000362001cfe576040516361798f2f60e11b81526001600160a01b0383166004820152602401620007f4565b620019f08262003b19565b60008062001d18608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d5e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d84919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001e0291908101906200501a565b905060008160c0015180602001905181019062001e20919062005114565b61014081018990526101608101889052610180810187905260405190915062001e4e90829060200162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ea4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001eca919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162001efc9392919062005685565b600060405180830381600087803b15801562001f1757600080fd5b505af115801562001f2c573d6000803e3d6000fd5b505050505050505050505050565b60008060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001fac573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fd2919062004bfa565b1562002063576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562002037573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200205d919062004d92565b91505090565b54600160601b90046001600160a01b0316919050565b620020836200309d565b6200210883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620020c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020ed919062004c27565b603c6000856040518060200160405280600081525062000978565b6001600160a01b038216156200212957620021238262003b7b565b620022a4565b60006200213e6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156200219f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021c591906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200220b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002231919062004d92565b9050620022a2816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002276573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200229c919062004d92565b62003b7b565b505b620022b6634a531f3360e01b62000949565b620022c863b68d180960e01b62000949565b505050565b60008051602062005d17833981519152805460009190600160a01b900460ff16620022fa5760006200205d565b638fb3603760e01b91505090565b60006200231d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562002371573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200239b91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015620023f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200241f91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa15801562002479573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620024a391908101906200522e565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a60800151620024e191906200576d565b6040518263ffffffff1660e01b81526004016200250091815260200190565b602060405180830381865af41580156200251e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002544919062004c27565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a001516200257991906200576d565b6040518263ffffffff1660e01b81526004016200259891815260200190565b602060405180830381865af4158015620025b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025dc919062004c27565b90506000620026786200267173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968d600001516040518263ffffffff1660e01b81526004016200262691815260200190565b602060405180830381865af415801562002644573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200266a919062004c27565b8562003b90565b8362003b90565b905062002686898262003c22565b620026b857604051639080fd1360e01b81526001600160601b0380831660048301528a166024820152604401620007f4565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002711573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002737919062004bfa565b156200299e576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200277e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027a4919062004d92565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015620027f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200282191908101906200501a565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200288b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028b1919062004c27565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0387169163d4cda0d89160048083019260209291908290030181865afa15801562002905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200292b919062004d92565b6001600160a01b031663a4eeee598860000151836200294860ff90565b6040518463ffffffff1660e01b8152600401620029689392919062005685565b600060405180830381600087803b1580156200298357600080fd5b505af115801562002998573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015620029f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a1d919062004bfa565b1562002a9c57600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b15801562002a8257600080fd5b505af115801562002a97573d6000803e3d6000fd5b505050505b5050505050505050505050565b60008062002ab8608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002afe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b24919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002b78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ba291908101906200501a565b905060008160c0015180602001905181019062002bc0919062005114565b905062002be7816020015162002bd562003cac565b6001600160401b039081169116141590565b1562002c125760405163eff765ff60e01b81526001600160601b0386166004820152602401620007f4565b6001600160401b03861660208083019190915260405162002c369183910162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002c8c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cb2919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162002ce49392919062005685565b600060405180830381600087803b15801562002cff57600080fd5b505af115801562002d14573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f928792879262002da0919062003cee565b6040518563ffffffff1660e01b815260040162002dc194939291906200578f565b600060405180830381600087803b15801562002ddc57600080fd5b505af115801562002df1573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801562002e4c57600080fd5b505af115801562001662573d6000803e3d6000fd5b600062000602602862003d3a565b600062000602604662003d3a565b60008062002e8c608c6200370c565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002eeb57600080fd5b505af115801562002f00573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002f64573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f8a919062004c27565b604080516001600160601b03928316815282861660208201529186169082015260600162000b6e565b62002fbd6200309d565b62002fc881620018dc565b62002fd262000b7b565b6001600160a01b03821662002ffa5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062005cf783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f916200306d918891889187906004016200578f565b600060405180830381600087803b1580156200308857600080fd5b505af115801562000a19573d6000803e3d6000fd5b60008051602062005d3783398151915254600160401b900460ff16620030d657604051631afcd79f60e31b815260040160405180910390fd5b565b620002256200309d565b6001600160601b0382811690821614155b92915050565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156200314d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004d72565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015620031c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031ee919062004bfa565b62003218576040516359bff0e360e11b81526001600160a01b0388166004820152602401620007f4565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562003259573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200328391908101906200522e565b90506200329b81604001518860ff9081169116141590565b15620032dd576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401620007f4565b60a08101516001600160a01b0385811690821614620033315760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401620007f4565b81602001519250620033438362003e50565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003384573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033aa919062004d92565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801562003402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003428919062004bfa565b6200347057604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401620007f4565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620034ed5750825b90506000826001600160401b031660011480156200350a5750303b155b90508115801562003519575080155b15620035385760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200356357845460ff60401b1916600160401b1785555b600080878060200190518101906200357c9190620057c1565b90925090506200358f8260008b62002079565b6001546001600160a01b031663d39e604360dc620035ac6200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200362891906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200366e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003694919062004d92565b600280546001600160a01b0319166001600160a01b0392909216919091179055620036c6630152d21960e61b62000949565b505083156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001659565b6000620037186200400d565b60006200372d6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562003774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200379a919062004c27565b9250620037a8838562003ee9565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620037ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003815919062004d92565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801562003860573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003886919062004bfa565b15620038b757608082015160405163d53987e560e01b81526001600160a01b039091166004820152602401620007f4565b9193909250565b600081905060008360c00151806020019051810190620038df919062005114565b61016001516040516305deb8b760e01b815290915073__$a23651848365a6a5ca15f07b4331037f48$__906305deb8b79062003920908490600401620057f5565b602060405180830381865af41580156200393e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003964919062004bfa565b1562003a0457604051634f69237560e11b815281516004820152602082015160248201526001600160601b0384166044820152600090819073__$a23651848365a6a5ca15f07b4331037f48$__90639ed246ea906064016040805180830381865af4158015620039d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620039fe91906200580d565b94505050505b5092915050565b604083810151606085015191516330b8415f60e01b81526001600160601b038416600482015290919073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562003a71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a97919062004bfa565b1562003b125760405163c661667d60e01b81526001600160a01b03858116600483015282811660248301526001600160601b038516604483015283169063c661667d90606401600060405180830381600087803b15801562003af857600080fd5b505af115801562003b0d573d6000803e3d6000fd5b505050505b5050505050565b60008051602062005d1783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003b856200309d565b620019f28162003ff8565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb35906044015b602060405180830381865af415801562003bf5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004c27565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562003c86573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004bfa565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c79eaa229060440162003bd7565b600062003d4f6001546001600160a01b031690565b6001600160a01b031663d39e60438362003d686200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003dbe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003de491906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030f3919062004d92565b600062003e656001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003edf91908101906200522e565b6080015192915050565b62003ef36200400d565b600062003f086001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003f58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003f8291908101906200522e565b915062003f9a82604001518460ff9081169116141590565b1562003fe057608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff8086166024840152166044820152606401620007f4565b62003fef826020015162003e50565b90509250929050565b620040026200309d565b620019f28162003b19565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6104b5806200584283390190565b6000602082840312156200406c57600080fd5b81356001600160e01b03198116811462003c1b57600080fd5b60005b83811015620040a257818101518382015260200162004088565b50506000910152565b60008151808452620040c581602086016020860162004085565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516200414360c08401826001600160a01b03169052565b5060c083015160e0808401526200415f610100840182620040ab565b949350505050565b6001600160a01b0381168114620019f257600080fd5b6001600160601b0381168114620019f257600080fd5b8035620041a0816200417d565b919050565b60ff81168114620019f257600080fd5b8015158114620019f257600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b0381118282101715620042005762004200620041c4565b60405290565b604080519081016001600160401b0381118282101715620042005762004200620041c4565b6040516101e081016001600160401b0381118282101715620042005762004200620041c4565b60405161010081016001600160401b0381118282101715620042005762004200620041c4565b60405161012081016001600160401b0381118282101715620042005762004200620041c4565b60405160e081016001600160401b0381118282101715620042005762004200620041c4565b6040516101a081016001600160401b0381118282101715620042005762004200620041c4565b604051601f8201601f191681016001600160401b0381118282101715620043135762004313620041c4565b604052919050565b60006001600160401b03821115620043375762004337620041c4565b50601f01601f191660200190565b600082601f8301126200435757600080fd5b81356200436e62004368826200431b565b620042e8565b8181528460208386010111156200438457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215620043bb57600080fd5b8635620043c88162004167565b95506020870135620043da816200417d565b94506040870135620043ec81620041a5565b93506060870135620043fe81620041b5565b92506080870135620044108162004167565b915060a08701356001600160401b038111156200442c57600080fd5b6200443a89828a0162004345565b9150509295509295509295565b6000602082840312156200445a57600080fd5b81356001600160401b038111156200447157600080fd5b6200415f8482850162004345565b80356001600160c01b031981168114620041a057600080fd5b64ffffffffff81168114620019f257600080fd5b8035620041a08162004498565b803561ffff81168114620041a057600080fd5b60006102208284031215620044e057600080fd5b620044ea620041da565b9050620044f78262004193565b8152620045076020830162004193565b60208201526200451a604083016200447f565b60408201526200452d606083016200447f565b6060820152620045406080830162004193565b60808201526200455360a0830162004193565b60a08201526200456660c0830162004193565b60c08201526200457960e08301620044ac565b60e0820152610100808301356001600160401b03808211156200459b57600080fd5b620045a98683870162004345565b83850152610120925082850135915080821115620045c657600080fd5b50620045d58582860162004345565b828401525050610140620045eb818401620044b9565b90820152610160620045ff838201620044b9565b908201526101806200461383820162004193565b908201526101a06200462783820162004193565b908201526101c06200463b838201620044ac565b908201526101e06200464f838201620044ac565b9082015261020062004663838201620044ac565b9082015292915050565b600080600080600060a086880312156200468657600080fd5b8535620046938162004167565b94506020860135620046a5816200417d565b93506040860135620046b7816200417d565b925060608601356001600160401b03811115620046d357600080fd5b620046e188828901620044cc565b9250506080860135620046f4816200417d565b809150509295509295909350565b6000602082840312156200471557600080fd5b813562003c1b8162004167565b600080604083850312156200473657600080fd5b8235620047438162004167565b915060208301356001600160401b038111156200475f57600080fd5b6200476d8582860162004345565b9150509250929050565b6000602082840312156200478a57600080fd5b813562003c1b816200417d565b600060408284031215620047aa57600080fd5b620047b462004206565b9050813581526020820135602082015292915050565b60008060008060008060c08789031215620047e457600080fd5b8635620047f18162004167565b955062004802886020890162004797565b9450606087013562004814816200417d565b93506080870135620048268162004498565b925060a08701356001600160401b03808211156200484357600080fd5b818901915089601f8301126200485857600080fd5b8135818111156200486857600080fd5b8a60208285010111156200487b57600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620048a757600080fd5b620048b3858562004797565b9250620048c4856040860162004797565b9150620048d5856080860162004797565b90509250925092565b600080600060608486031215620048f457600080fd5b8335620049018162004167565b92506020840135620049138162004167565b91506040840135620049258162004167565b809150509250925092565b60008060008385036102208112156200494857600080fd5b843562004955816200417d565b93506101e0601f1982018113156200496c57600080fd5b620049766200422b565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c091508188013581850152508187013581840152505080925050620048d5610200850162004193565b6001600160401b0381168114620019f257600080fd5b60006020828403121562004a5857600080fd5b813562003c1b8162004a2f565b60008060006060848603121562004a7b57600080fd5b833562004a888162004167565b9250602084013562004a9a816200417d565b915060408401356001600160401b0381111562004ab657600080fd5b62004ac486828701620044cc565b9150509250925092565b6000806040838503121562004ae257600080fd5b823562004aef8162004167565b9150602083013562004b018162004167565b809150509250929050565b6000806000806080858703121562004b2357600080fd5b843562004b308162004167565b9350602085013562004b42816200417d565b925060408501356001600160401b0381111562004b5e57600080fd5b62004b6c87828801620044cc565b925050606085013562004b7f816200417d565b939692955090935050565b60006020828403121562004b9d57600080fd5b815162ffffff8116811462003c1b57600080fd5b600181811c9082168062004bc657607f821691505b60208210810362004be757634e487b7160e01b600052602260045260246000fd5b50919050565b8051620041a081620041b5565b60006020828403121562004c0d57600080fd5b815162003c1b81620041b5565b8051620041a0816200417d565b60006020828403121562004c3a57600080fd5b815162003c1b816200417d565b601f821115620022c857600081815260208120601f850160051c8101602086101562004c705750805b601f850160051c820191505b8181101562004c915782815560010162004c7c565b505050505050565b81516001600160401b0381111562004cb55762004cb5620041c4565b62004ccd8162004cc6845462004bb1565b8462004c47565b602080601f83116001811462004d05576000841562004cec5750858301515b600019600386901b1c1916600185901b17855562004c91565b600085815260208120601f198616915b8281101562004d365788860151825594840194600190910190840162004d15565b508582101562004d555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8051620041a08162004a2f565b60006020828403121562004d8557600080fd5b815162003c1b8162004a2f565b60006020828403121562004da557600080fd5b815162003c1b8162004167565b8051620041a08162004167565b60006040828403121562004dd257600080fd5b62004ddc62004206565b9050815181526020820151602082015292915050565b6000610140828403121562004e0657600080fd5b62004e1062004251565b62004e1b8362004db2565b815262004e2b6020840162004db2565b602082015262004e3e6040840162004c1a565b604082015262004e516060840162004c1a565b606082015262004e65846080850162004dbf565b608082015262004e798460c0850162004dbf565b60a082015262004e8d610100840162004bed565b60c082015262004ea1610120840162004db2565b60e08201529392505050565b600082601f83011262004ebf57600080fd5b815162004ed062004368826200431b565b81815284602083860101111562004ee657600080fd5b6200415f82602083016020870162004085565b8051620041a08162004498565b60006020828403121562004f1957600080fd5b81516001600160401b038082111562004f3157600080fd5b90830190610140828603121562004f4757600080fd5b62004f5162004277565b62004f5c8362004c1a565b815262004f6d866020850162004dbf565b602082015260608301518281111562004f8557600080fd5b62004f938782860162004ead565b60408301525062004fa76080840162004c1a565b606082015262004fba60a0840162004c1a565b608082015262004fcd60c0840162004c1a565b60a082015262004fe060e0840162004ef9565b60c0820152610100915062004ff782840162004ef9565b60e08201526200500b610120840162004ef9565b91810191909152949350505050565b6000602082840312156200502d57600080fd5b81516001600160401b03808211156200504557600080fd5b9083019060e082860312156200505a57600080fd5b620050646200429d565b8251828111156200507457600080fd5b620050828782860162004ead565b825250620050936020840162004db2565b6020820152620050a66040840162004db2565b6040820152620050b96060840162004db2565b6060820152620050cc6080840162004c1a565b6080820152620050df60a0840162004c1a565b60a082015260c083015182811115620050f757600080fd5b620051058782860162004ead565b60c08301525095945050505050565b600061020082840312156200512857600080fd5b62005132620042c2565b6200513d8362004c1a565b81526200514d6020840162004d65565b6020820152620051606040840162004c1a565b6040820152620051736060840162004c1a565b6060820152620051866080840162004c1a565b60808201526200519960a0840162004bed565b60a0820152620051ac60c0840162004bed565b60c0820152620051bf60e0840162004bed565b60e082015261010083810151908201526101208084015190820152610140620051eb8582860162004dbf565b90820152610180620052008585830162004dbf565b61016083015262005216856101c0860162004dbf565b908201529392505050565b8051620041a081620041a5565b6000602082840312156200524157600080fd5b81516001600160401b03808211156200525957600080fd5b9083019060e082860312156200526e57600080fd5b620052786200429d565b620052838362004c1a565b8152620052936020840162004c1a565b6020820152620052a66040840162005221565b6040820152620052b96060840162004bed565b6060820152620052cc6080840162004db2565b6080820152620050df60a0840162004db2565b60006001600160601b03808816835260a060208401526200530460a0840188620040ab565b81871660408501528381036060850152620053208187620040ab565b9250508084166080840152509695505050505050565b6000815160e084526200534d60e0850182620040ab565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c0860152620053b98282620040ab565b95945050505050565b6001600160601b03831681526040602082015260006200415f604083018462005336565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200540f57600080fd5b81516001600160401b038111156200542657600080fd5b6200415f8482850162004ead565b600081518084526020808501945080840160005b838110156200546f5781516001600160401b03168752958201959082019060010162005448565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620054ad60a0840187620040ab565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200552f57868403601f19018652825180518086529089019089860190845b81811015620055195783516001600160e01b0319168352928b0192918b0191600101620054f1565b50509689019694505091870191600101620054ce565b505050868103608088015262005546818962005434565b9c9b505050505050505050505050565b81516001600160601b03168152610200810160208301516200558360208401826001600160401b03169052565b5060408301516200559f60408401826001600160601b03169052565b506060830151620055bb60608401826001600160601b03169052565b506080830151620055d760808401826001600160601b03169052565b5060a0830151620055ec60a084018215159052565b5060c08301516200560160c084018215159052565b5060e08301516200561660e084018215159052565b50610100838101519083015261012080840151908301526101408084015180518285015260208101516101608501525050610160830151610180620056678185018380518252602090810151910152565b84015180516101c085015260208101516101e0850152905062003a04565b6001600160601b0384168152606060208201526000620056a9606083018562005336565b905060ff83166040830152949350505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162005700606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b6000602082840312156200576057600080fd5b815162003c1b81620041a5565b80820180821115620030f357634e487b7160e01b600052601160045260246000fd5b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b60008060408385031215620057d557600080fd5b8251620057e28162004167565b602084015190925062004b018162004167565b815181526020808301519082015260408101620030f3565b600080604083850312156200582157600080fd5b82516200582e816200417d565b602084015190925062004b01816200417d56fe608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212206527407be49ce27152c90b431b7430a6bf6b837533825111eff835d5f8e9989564736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203f5dbaff0bc8268aed9860de9b0749da0aee6f3bdf4090001e7eb82d5ad031c864736f6c63430008140033",
1389
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063a8de511711620000bb578063caf4e3d41162000086578063caf4e3d41462000521578063cc9fc59a146200052b578063d0d63b091462000535578063f7c34ee0146200054c578063fce06ca8146200056357600080fd5b8063a8de511714620004c3578063ada9652e14620004da578063b68d180914620004f1578063bf7e214f146200050157600080fd5b80638e32e97911620000fc5780638e32e979146200045a5780638fb360371462000471578063991cbfb31462000495578063a3c2605214620004ac57600080fd5b80637738eb86146200040b5780637a9e5e4b1462000422578063826787661462000439578063893d20e8146200045057600080fd5b806336fc697e11620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063673ad94f14620003dd578063675393bf14620003f457600080fd5b806336fc697e146200032f5780633cc70e3e14620003395780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462004059565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b620002796200057a565b60405162ffffff909116815260200162000266565b6200029862000607565b604051620002669190620040d9565b620002b162000734565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462004059565b62000949565b620002b162000312366004620043a1565b62000978565b620002b16200032936600462004447565b62000a23565b620002b162000b7b565b620002b16200034a3660046200466d565b62000bc3565b620003676200036136600462004702565b62000fc5565b6040516001600160601b03909116815260200162000266565b620002b16200039136600462004722565b62001563565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005cf7833981519152546001600160601b031662000367565b620002b1620003ee36600462004777565b6200166b565b620002b16200040536600462004702565b620018dc565b620003676200041c366004620047ca565b620019f5565b620002b16200043336600462004702565b62001c67565b620002b16200044a36600462004891565b62001d09565b620003a462001f3a565b620002b16200046b366004620048de565b62002079565b6200047b620022cd565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a636600462004930565b62002308565b620002b1620004bd36600462004a45565b62002aa9565b620002b1620004d436600462004a65565b62002d6b565b620002db60008051602062005cf783398151915281565b604051608c815260200162000266565b60008051602062005d17833981519152546001600160a01b0316620003a4565b620003a462002e61565b620003a462002e6f565b620002b16200054636600462004777565b62002e7d565b620002b16200055d36600462004ace565b62002fb3565b620002b16200057436600462004b0c565b62003032565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__90632efe011390606401602060405180830381865af4158015620005dc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004b8a565b905090565b620006116200400d565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016200068862001f3a565b6001600160a01b03168152602001826001018054620006a79062004bb1565b80601f0160208091040260200160405190810160405280929190818152602001828054620006d59062004bb1565b8015620007265780601f10620006fa5761010080835404028352916020019162000726565b820191906000526020600020905b8154815290600101906020018083116200070857829003601f168201915b505050505081525091505090565b600060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af4158015620007a5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007cb919062004bfa565b15620007fd5780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620008116001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa1580156200085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000880919062004bfa565b620008aa5760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620007f4565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620008ff573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000925919062004c27565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b620009536200309d565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b620009826200309d565b6200098e828762002fb3565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a19838262004c99565b5050505050505050565b73__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__63a123b37c62000a476200057a565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000a88573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000aae919062004d72565b60008051602062005d378339815191528054600160401b900460ff168062000ae3575080546001600160401b03808416911610155b1562000b025760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b2e83620030d8565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000b856200309d565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000c04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c2a919062004d92565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000c7f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000ca5919062004df2565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000d03573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d2d919081019062004f06565b905062000d3f816000015184620030e2565b1562000d75578051604051630a49ea2360e01b81526001600160601b0391821660048201529084166024820152604401620007f4565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000dc6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000df091908101906200501a565b905060008160c0015180602001905181019062000e0e919062005114565b608089015160025460405163377a6db760e01b81526001600160a01b038f811660048301526001600160601b03808f166024840152808a16604484015280851660648401528c16608483015293945091928a9291169063377a6db79060a401600060405180830381600087803b15801562000e8857600080fd5b505af115801562000e9d573d6000803e3d6000fd5b505050508260e001511562000fb657600062000ec16001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000f11573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f3b91908101906200522e565b608001519050806001600160a01b0316639e2177a78d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000f80959493929190620052df565b600060405180830381600087803b15801562000f9b57600080fd5b505af115801562000fb0573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b60008080808062000fe286608c62000fdc620030f9565b62003173565b9296509094509250905085600062000ff962002e61565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af11580156200104c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200107691908101906200522e565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010b457600080fd5b505af1158015620010c9573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa15801562001115573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200113f91908101906200501a565b9050806020015160405162001154906200404b565b6001600160a01b039091168152602001604051809103906000f08015801562001181573d6000803e3d6000fd5b5081604001906001600160a01b031690816001600160a01b031681525050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620011de573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001204919062004d92565b6001600160a01b031663d5c9d77d89836040518363ffffffff1660e01b815260040162001233929190620053c2565b600060405180830381600087803b1580156200124e57600080fd5b505af115801562001263573d6000803e3d6000fd5b506000925060029150620012749050565b604051908082528060200260200182016040528015620012a957816020015b6060815260200190600190039081620012935790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110620012e057620012e0620053e6565b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505081600181518110620013215762001321620053e6565b6020026020010181905250638267876660e01b816000815181106200134a576200134a620053e6565b6020026020010151600081518110620013675762001367620053e6565b6001600160e01b0319909216602092830291909101909101528051639e2177a760e01b9082906001908110620013a157620013a1620053e6565b6020026020010151600081518110620013be57620013be620053e6565b6001600160e01b031992909216602092830291909101820152604080516002808252606082018352600093919290918301908036833701905050905062001404620030f9565b816000815181106200141a576200141a620053e6565b60200260200101906001600160401b031690816001600160401b031681525050620014446200347b565b816001815181106200145a576200145a620053e6565b60200260200101906001600160401b031690816001600160401b0316815250506200148462002e6f565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014d3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014fd9190810190620053fc565b86866040518663ffffffff1660e01b8152600401620015219594939291906200547a565b600060405180830381600087803b1580156200153c57600080fd5b505af115801562001551573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620015985750825b90506000826001600160401b03166001148015620015b55750303b155b905081158015620015c4575080155b15620015e35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200160e57845460ff60401b1916600160401b1785555b6200161a8787620034b8565b83156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6000806200167a608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620016c0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620016e6919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa1580156200173a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200176491908101906200501a565b905060008160c0015180602001905181019062001782919062005114565b604080820180516001600160601b038a16909152905191925090620017ac90839060200162005556565b6040516020818303038152906040528360c00181905250846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001802573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001828919062004d92565b6001600160a01b031663a4eeee59878560ff6040518463ffffffff1660e01b81526004016200185a9392919062005685565b600060405180830381600087803b1580156200187557600080fd5b505af11580156200188a573d6000803e3d6000fd5b5050604080516001600160601b03808b16825280861660208301528b16918101919091527f15f0f748447bed1cb913d60c17d7d4a527d11df02aae753d4c2e07c88f2ec2159250606001905062001659565b620018e66200309d565b806001600160a01b03163b6000036200191e5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b8152630a3888e560e31b60048201526301ffc9a790602401602060405180830381865afa9250505080156200199b575060408051601f3d908101601f19168201909252620019989181019062004bfa565b60015b620019c55760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007f4565b80620019f05760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007f4565b505b50565b6000808062001a05608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001a4b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001a71919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001ac5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001aef91908101906200501a565b9050600062001aff828b620038be565b9050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b815260040162001b52989796959493929190620056bc565b6020604051808303816000875af115801562001b72573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001b98919062004c27565b955062001ba7828d8c62003a0b565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c07573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c2d919062004c27565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b3362001c8960008051602062005d17833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b03161462001cc65760405162d1953b60e31b81526001600160a01b0382166004820152602401620007f4565b816001600160a01b03163b60000362001cfe576040516361798f2f60e11b81526001600160a01b0383166004820152602401620007f4565b620019f08262003b19565b60008062001d18608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001d5e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d84919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001dd8573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001e0291908101906200501a565b905060008160c0015180602001905181019062001e20919062005114565b61014081018990526101608101889052610180810187905260405190915062001e4e90829060200162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001ea4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001eca919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162001efc9392919062005685565b600060405180830381600087803b15801562001f1757600080fd5b505af115801562001f2c573d6000803e3d6000fd5b505050505050505050505050565b60008060008051602062005cf783398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__906330b8415f90602401602060405180830381865af415801562001fac573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001fd2919062004bfa565b1562002063576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562002037573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200205d919062004d92565b91505090565b54600160601b90046001600160a01b0316919050565b620020836200309d565b6200210883846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620020c7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620020ed919062004c27565b603c6000856040518060200160405280600081525062000978565b6001600160a01b038216156200212957620021238262003b7b565b620022a4565b60006200213e6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$9dab98ad7ae1a426029e5739f922230a41$__90638e4ad86c90602401602060405180830381865af41580156200219f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620021c591906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200220b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002231919062004d92565b9050620022a2816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002276573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200229c919062004d92565b62003b7b565b505b620022b6634a531f3360e01b62000949565b620022c863b68d180960e01b62000949565b505050565b60008051602062005d17833981519152805460009190600160a01b900460ff16620022fa5760006200205d565b638fb3603760e01b91505090565b60006200231d6001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa15801562002371573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200239b91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa158015620023f5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200241f91908101906200522e565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa15801562002479573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620024a391908101906200522e565b9050600081608001519050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968961010001518a60800151620024e191906200576d565b6040518263ffffffff1660e01b81526004016200250091815260200190565b602060405180830381865af41580156200251e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002544919062004c27565b9050600073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968a61012001518b60a001516200257991906200576d565b6040518263ffffffff1660e01b81526004016200259891815260200190565b602060405180830381865af4158015620025b6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620025dc919062004c27565b90506000620026786200267173__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__634c41dd968d600001516040518263ffffffff1660e01b81526004016200262691815260200190565b602060405180830381865af415801562002644573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200266a919062004c27565b8562003b90565b8362003b90565b905062002686898262003c22565b620026b857604051639080fd1360e01b81526001600160601b0380831660048301528a166024820152604401620007f4565b6040516330b8415f60e01b81526001600160601b038416600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562002711573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002737919062004bfa565b156200299e576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200277e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620027a4919062004d92565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa158015620027f7573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200282191908101906200501a565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb3590604401602060405180830381865af41580156200288b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620028b1919062004c27565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0387169163d4cda0d89160048083019260209291908290030181865afa15801562002905573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200292b919062004d92565b6001600160a01b031663a4eeee598860000151836200294860ff90565b6040518463ffffffff1660e01b8152600401620029689392919062005685565b600060405180830381600087803b1580156200298357600080fd5b505af115801562002998573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af4158015620029f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a1d919062004bfa565b1562002a9c57600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b15801562002a8257600080fd5b505af115801562002a97573d6000803e3d6000fd5b505050505b5050505050505050505050565b60008062002ab8608c6200370c565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002afe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002b24919062004d92565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562002b78573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002ba291908101906200501a565b905060008160c0015180602001905181019062002bc0919062005114565b905062002be7816020015162002bd562003cac565b6001600160401b039081169116141590565b1562002c125760405163eff765ff60e01b81526001600160601b0386166004820152602401620007f4565b6001600160401b03861660208083019190915260405162002c369183910162005556565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002c8c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002cb2919062004d92565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162002ce49392919062005685565b600060405180830381600087803b15801562002cff57600080fd5b505af115801562002d14573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f928792879262002da0919062003cee565b6040518563ffffffff1660e01b815260040162002dc194939291906200578f565b600060405180830381600087803b15801562002ddc57600080fd5b505af115801562002df1573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801562002e4c57600080fd5b505af115801562001662573d6000803e3d6000fd5b600062000602602862003d3a565b600062000602604662003d3a565b60008062002e8c608c6200370c565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002eeb57600080fd5b505af115801562002f00573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002f64573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002f8a919062004c27565b604080516001600160601b03928316815282861660208201529186169082015260600162000b6e565b62002fbd6200309d565b62002fc881620018dc565b62002fd262000b7b565b6001600160a01b03821662002ffa5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062005cf783398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f916200306d918891889187906004016200578f565b600060405180830381600087803b1580156200308857600080fd5b505af115801562000a19573d6000803e3d6000fd5b60008051602062005d3783398151915254600160401b900460ff16620030d657604051631afcd79f60e31b815260040160405180910390fd5b565b620002256200309d565b6001600160601b0382811690821614155b92915050565b6040516368aebf7b60e01b815260048082015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024015b602060405180830381865af41580156200314d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000602919062004d72565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa158015620031c8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620031ee919062004bfa565b62003218576040516359bff0e360e11b81526001600160a01b0388166004820152602401620007f4565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562003259573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200328391908101906200522e565b90506200329b81604001518860ff9081169116141590565b15620032dd576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401620007f4565b60a08101516001600160a01b0385811690821614620033315760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401620007f4565b81602001519250620033438362003e50565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003384573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620033aa919062004d92565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa15801562003402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003428919062004bfa565b6200347057604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401620007f4565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b60008051602062005d378339815191528054600160401b810460ff1615906001600160401b0316600081158015620034ed5750825b90506000826001600160401b031660011480156200350a5750303b155b90508115801562003519575080155b15620035385760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200356357845460ff60401b1916600160401b1785555b600080878060200190518101906200357c9190620057c1565b90925090506200358f8260008b62002079565b6001546001600160a01b031663d39e604360dc620035ac6200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003602573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200362891906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa1580156200366e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003694919062004d92565b600280546001600160a01b0319166001600160a01b0392909216919091179055620036c6630152d21960e61b62000949565b505083156200166257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200162001659565b6000620037186200400d565b60006200372d6001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562003774573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200379a919062004c27565b9250620037a8838562003ee9565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620037ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003815919062004d92565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801562003860573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003886919062004bfa565b15620038b757608082015160405163d53987e560e01b81526001600160a01b039091166004820152602401620007f4565b9193909250565b600081905060008360c00151806020019051810190620038df919062005114565b61016001516040516305deb8b760e01b815290915073__$a23651848365a6a5ca15f07b4331037f48$__906305deb8b79062003920908490600401620057f5565b602060405180830381865af41580156200393e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003964919062004bfa565b1562003a0457604051634f69237560e11b815281516004820152602082015160248201526001600160601b0384166044820152600090819073__$a23651848365a6a5ca15f07b4331037f48$__90639ed246ea906064016040805180830381865af4158015620039d8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620039fe91906200580d565b94505050505b5092915050565b604083810151606085015191516330b8415f60e01b81526001600160601b038416600482015290919073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906330b8415f90602401602060405180830381865af415801562003a71573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003a97919062004bfa565b1562003b125760405163c661667d60e01b81526001600160a01b03858116600483015282811660248301526001600160601b038516604483015283169063c661667d90606401600060405180830381600087803b15801562003af857600080fd5b505af115801562003b0d573d6000803e3d6000fd5b505050505b5050505050565b60008051602062005d1783398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003b856200309d565b620019f28162003ff8565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063274acb35906044015b602060405180830381865af415801562003bf5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004c27565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c4cade9d90604401602060405180830381865af415801562003c86573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003c1b919062004bfa565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$cd131c2b3ba46b9dbe046aaf4458b9777d$__906368aebf7b906024016200312f565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__9063c79eaa229060440162003bd7565b600062003d4f6001546001600160a01b031690565b6001600160a01b031663d39e60438362003d686200057a565b60405163c9e66e2960e01b815262ffffff909116600482015273__$c0fcb9c1c2e971ebe3d8745a7e2c5cc364$__9063c9e66e2990602401602060405180830381865af415801562003dbe573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003de491906200574d565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003e2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030f3919062004d92565b600062003e656001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003eb5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003edf91908101906200522e565b6080015192915050565b62003ef36200400d565b600062003f086001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003f58573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003f8291908101906200522e565b915062003f9a82604001518460ff9081169116141590565b1562003fe057608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff8086166024840152166044820152606401620007f4565b62003fef826020015162003e50565b90509250929050565b620040026200309d565b620019f28162003b19565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6104b5806200584283390190565b6000602082840312156200406c57600080fd5b81356001600160e01b03198116811462003c1b57600080fd5b60005b83811015620040a257818101518382015260200162004088565b50506000910152565b60008151808452620040c581602086016020860162004085565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516200414360c08401826001600160a01b03169052565b5060c083015160e0808401526200415f610100840182620040ab565b949350505050565b6001600160a01b0381168114620019f257600080fd5b6001600160601b0381168114620019f257600080fd5b8035620041a0816200417d565b919050565b60ff81168114620019f257600080fd5b8015158114620019f257600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b0381118282101715620042005762004200620041c4565b60405290565b604080519081016001600160401b0381118282101715620042005762004200620041c4565b6040516101e081016001600160401b0381118282101715620042005762004200620041c4565b60405161010081016001600160401b0381118282101715620042005762004200620041c4565b60405161012081016001600160401b0381118282101715620042005762004200620041c4565b60405160e081016001600160401b0381118282101715620042005762004200620041c4565b6040516101a081016001600160401b0381118282101715620042005762004200620041c4565b604051601f8201601f191681016001600160401b0381118282101715620043135762004313620041c4565b604052919050565b60006001600160401b03821115620043375762004337620041c4565b50601f01601f191660200190565b600082601f8301126200435757600080fd5b81356200436e62004368826200431b565b620042e8565b8181528460208386010111156200438457600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215620043bb57600080fd5b8635620043c88162004167565b95506020870135620043da816200417d565b94506040870135620043ec81620041a5565b93506060870135620043fe81620041b5565b92506080870135620044108162004167565b915060a08701356001600160401b038111156200442c57600080fd5b6200443a89828a0162004345565b9150509295509295509295565b6000602082840312156200445a57600080fd5b81356001600160401b038111156200447157600080fd5b6200415f8482850162004345565b80356001600160c01b031981168114620041a057600080fd5b64ffffffffff81168114620019f257600080fd5b8035620041a08162004498565b803561ffff81168114620041a057600080fd5b60006102208284031215620044e057600080fd5b620044ea620041da565b9050620044f78262004193565b8152620045076020830162004193565b60208201526200451a604083016200447f565b60408201526200452d606083016200447f565b6060820152620045406080830162004193565b60808201526200455360a0830162004193565b60a08201526200456660c0830162004193565b60c08201526200457960e08301620044ac565b60e0820152610100808301356001600160401b03808211156200459b57600080fd5b620045a98683870162004345565b83850152610120925082850135915080821115620045c657600080fd5b50620045d58582860162004345565b828401525050610140620045eb818401620044b9565b90820152610160620045ff838201620044b9565b908201526101806200461383820162004193565b908201526101a06200462783820162004193565b908201526101c06200463b838201620044ac565b908201526101e06200464f838201620044ac565b9082015261020062004663838201620044ac565b9082015292915050565b600080600080600060a086880312156200468657600080fd5b8535620046938162004167565b94506020860135620046a5816200417d565b93506040860135620046b7816200417d565b925060608601356001600160401b03811115620046d357600080fd5b620046e188828901620044cc565b9250506080860135620046f4816200417d565b809150509295509295909350565b6000602082840312156200471557600080fd5b813562003c1b8162004167565b600080604083850312156200473657600080fd5b8235620047438162004167565b915060208301356001600160401b038111156200475f57600080fd5b6200476d8582860162004345565b9150509250929050565b6000602082840312156200478a57600080fd5b813562003c1b816200417d565b600060408284031215620047aa57600080fd5b620047b462004206565b9050813581526020820135602082015292915050565b60008060008060008060c08789031215620047e457600080fd5b8635620047f18162004167565b955062004802886020890162004797565b9450606087013562004814816200417d565b93506080870135620048268162004498565b925060a08701356001600160401b03808211156200484357600080fd5b818901915089601f8301126200485857600080fd5b8135818111156200486857600080fd5b8a60208285010111156200487b57600080fd5b6020830194508093505050509295509295509295565b600080600060c08486031215620048a757600080fd5b620048b3858562004797565b9250620048c4856040860162004797565b9150620048d5856080860162004797565b90509250925092565b600080600060608486031215620048f457600080fd5b8335620049018162004167565b92506020840135620049138162004167565b91506040840135620049258162004167565b809150509250925092565b60008060008385036102208112156200494857600080fd5b843562004955816200417d565b93506101e0601f1982018113156200496c57600080fd5b620049766200422b565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c091508188013581850152508187013581840152505080925050620048d5610200850162004193565b6001600160401b0381168114620019f257600080fd5b60006020828403121562004a5857600080fd5b813562003c1b8162004a2f565b60008060006060848603121562004a7b57600080fd5b833562004a888162004167565b9250602084013562004a9a816200417d565b915060408401356001600160401b0381111562004ab657600080fd5b62004ac486828701620044cc565b9150509250925092565b6000806040838503121562004ae257600080fd5b823562004aef8162004167565b9150602083013562004b018162004167565b809150509250929050565b6000806000806080858703121562004b2357600080fd5b843562004b308162004167565b9350602085013562004b42816200417d565b925060408501356001600160401b0381111562004b5e57600080fd5b62004b6c87828801620044cc565b925050606085013562004b7f816200417d565b939692955090935050565b60006020828403121562004b9d57600080fd5b815162ffffff8116811462003c1b57600080fd5b600181811c9082168062004bc657607f821691505b60208210810362004be757634e487b7160e01b600052602260045260246000fd5b50919050565b8051620041a081620041b5565b60006020828403121562004c0d57600080fd5b815162003c1b81620041b5565b8051620041a0816200417d565b60006020828403121562004c3a57600080fd5b815162003c1b816200417d565b601f821115620022c857600081815260208120601f850160051c8101602086101562004c705750805b601f850160051c820191505b8181101562004c915782815560010162004c7c565b505050505050565b81516001600160401b0381111562004cb55762004cb5620041c4565b62004ccd8162004cc6845462004bb1565b8462004c47565b602080601f83116001811462004d05576000841562004cec5750858301515b600019600386901b1c1916600185901b17855562004c91565b600085815260208120601f198616915b8281101562004d365788860151825594840194600190910190840162004d15565b508582101562004d555787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8051620041a08162004a2f565b60006020828403121562004d8557600080fd5b815162003c1b8162004a2f565b60006020828403121562004da557600080fd5b815162003c1b8162004167565b8051620041a08162004167565b60006040828403121562004dd257600080fd5b62004ddc62004206565b9050815181526020820151602082015292915050565b6000610140828403121562004e0657600080fd5b62004e1062004251565b62004e1b8362004db2565b815262004e2b6020840162004db2565b602082015262004e3e6040840162004c1a565b604082015262004e516060840162004c1a565b606082015262004e65846080850162004dbf565b608082015262004e798460c0850162004dbf565b60a082015262004e8d610100840162004bed565b60c082015262004ea1610120840162004db2565b60e08201529392505050565b600082601f83011262004ebf57600080fd5b815162004ed062004368826200431b565b81815284602083860101111562004ee657600080fd5b6200415f82602083016020870162004085565b8051620041a08162004498565b60006020828403121562004f1957600080fd5b81516001600160401b038082111562004f3157600080fd5b90830190610140828603121562004f4757600080fd5b62004f5162004277565b62004f5c8362004c1a565b815262004f6d866020850162004dbf565b602082015260608301518281111562004f8557600080fd5b62004f938782860162004ead565b60408301525062004fa76080840162004c1a565b606082015262004fba60a0840162004c1a565b608082015262004fcd60c0840162004c1a565b60a082015262004fe060e0840162004ef9565b60c0820152610100915062004ff782840162004ef9565b60e08201526200500b610120840162004ef9565b91810191909152949350505050565b6000602082840312156200502d57600080fd5b81516001600160401b03808211156200504557600080fd5b9083019060e082860312156200505a57600080fd5b620050646200429d565b8251828111156200507457600080fd5b620050828782860162004ead565b825250620050936020840162004db2565b6020820152620050a66040840162004db2565b6040820152620050b96060840162004db2565b6060820152620050cc6080840162004c1a565b6080820152620050df60a0840162004c1a565b60a082015260c083015182811115620050f757600080fd5b620051058782860162004ead565b60c08301525095945050505050565b600061020082840312156200512857600080fd5b62005132620042c2565b6200513d8362004c1a565b81526200514d6020840162004d65565b6020820152620051606040840162004c1a565b6040820152620051736060840162004c1a565b6060820152620051866080840162004c1a565b60808201526200519960a0840162004bed565b60a0820152620051ac60c0840162004bed565b60c0820152620051bf60e0840162004bed565b60e082015261010083810151908201526101208084015190820152610140620051eb8582860162004dbf565b90820152610180620052008585830162004dbf565b61016083015262005216856101c0860162004dbf565b908201529392505050565b8051620041a081620041a5565b6000602082840312156200524157600080fd5b81516001600160401b03808211156200525957600080fd5b9083019060e082860312156200526e57600080fd5b620052786200429d565b620052838362004c1a565b8152620052936020840162004c1a565b6020820152620052a66040840162005221565b6040820152620052b96060840162004bed565b6060820152620052cc6080840162004db2565b6080820152620050df60a0840162004db2565b60006001600160601b03808816835260a060208401526200530460a0840188620040ab565b81871660408501528381036060850152620053208187620040ab565b9250508084166080840152509695505050505050565b6000815160e084526200534d60e0850182620040ab565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c0860152620053b98282620040ab565b95945050505050565b6001600160601b03831681526040602082015260006200415f604083018462005336565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156200540f57600080fd5b81516001600160401b038111156200542657600080fd5b6200415f8482850162004ead565b600081518084526020808501945080840160005b838110156200546f5781516001600160401b03168752958201959082019060010162005448565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a06040840152620054ad60a0840187620040ab565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200552f57868403601f19018652825180518086529089019089860190845b81811015620055195783516001600160e01b0319168352928b0192918b0191600101620054f1565b50509689019694505091870191600101620054ce565b505050868103608088015262005546818962005434565b9c9b505050505050505050505050565b81516001600160601b03168152610200810160208301516200558360208401826001600160401b03169052565b5060408301516200559f60408401826001600160601b03169052565b506060830151620055bb60608401826001600160601b03169052565b506080830151620055d760808401826001600160601b03169052565b5060a0830151620055ec60a084018215159052565b5060c08301516200560160c084018215159052565b5060e08301516200561660e084018215159052565b50610100838101519083015261012080840151908301526101408084015180518285015260208101516101608501525050610160830151610180620056678185018380518252602090810151910152565b84015180516101c085015260208101516101e0850152905062003a04565b6001600160601b0384168152606060208201526000620056a9606083018562005336565b905060ff83166040830152949350505050565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162005700606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e0830181905282018390526101208385828501376000838501820152601f909301601f191690910190910198975050505050505050565b6000602082840312156200576057600080fd5b815162003c1b81620041a5565b80820180821115620030f357634e487b7160e01b600052601160045260246000fd5b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b60008060408385031215620057d557600080fd5b8251620057e28162004167565b602084015190925062004b018162004167565b815181526020808301519082015260408101620030f3565b600080604083850312156200582157600080fd5b82516200582e816200417d565b602084015190925062004b01816200417d56fe608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$ea4dcf94bcd4a5d2e83a2341ef616bff8d$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212206527407be49ce27152c90b431b7430a6bf6b837533825111eff835d5f8e9989564736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203f5dbaff0bc8268aed9860de9b0749da0aee6f3bdf4090001e7eb82d5ad031c864736f6c63430008140033",
1390
+ "linkReferences": {
1391
+ "contracts/types/Amount.sol": {
1392
+ "AmountLib": [
1393
+ {
1394
+ "length": 20,
1395
+ "start": 9624
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 9776
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 9936
1404
+ },
1405
+ {
1406
+ "length": 20,
1407
+ "start": 10172
1408
+ },
1409
+ {
1410
+ "length": 20,
1411
+ "start": 10550
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 10914
1416
+ },
1417
+ {
1418
+ "length": 20,
1419
+ "start": 15132
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 15519
1424
+ },
1425
+ {
1426
+ "length": 20,
1427
+ "start": 15665
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 15869
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 23138
1436
+ }
1437
+ ]
1438
+ },
1439
+ "contracts/types/Fee.sol": {
1440
+ "FeeLib": [
1441
+ {
1442
+ "length": 20,
1443
+ "start": 14812
1444
+ },
1445
+ {
1446
+ "length": 20,
1447
+ "start": 14980
1448
+ }
1449
+ ]
1450
+ },
1451
+ "contracts/types/NftId.sol": {
1452
+ "NftIdLib": [
1453
+ {
1454
+ "length": 20,
1455
+ "start": 2128
1456
+ },
1457
+ {
1458
+ "length": 20,
1459
+ "start": 8279
1460
+ }
1461
+ ]
1462
+ },
1463
+ "contracts/types/RoleId.sol": {
1464
+ "RoleIdLib": [
1465
+ {
1466
+ "length": 20,
1467
+ "start": 12791
1468
+ },
1469
+ {
1470
+ "length": 20,
1471
+ "start": 13691
1472
+ },
1473
+ {
1474
+ "length": 20,
1475
+ "start": 15793
1476
+ }
1477
+ ]
1478
+ },
1479
+ "contracts/types/Version.sol": {
1480
+ "VersionLib": [
1481
+ {
1482
+ "length": 20,
1483
+ "start": 1671
1484
+ },
1485
+ {
1486
+ "length": 20,
1487
+ "start": 2827
1488
+ },
1489
+ {
1490
+ "length": 20,
1491
+ "start": 13997
1492
+ },
1493
+ {
1494
+ "length": 20,
1495
+ "start": 15977
1496
+ }
1497
+ ],
1498
+ "VersionPartLib": [
1499
+ {
1500
+ "length": 20,
1501
+ "start": 8778
1502
+ }
1503
+ ]
1504
+ }
1505
+ },
1506
+ "deployedLinkReferences": {
1507
+ "contracts/types/Amount.sol": {
1508
+ "AmountLib": [
1509
+ {
1510
+ "length": 20,
1511
+ "start": 9394
1512
+ },
1513
+ {
1514
+ "length": 20,
1515
+ "start": 9546
1516
+ },
1517
+ {
1518
+ "length": 20,
1519
+ "start": 9706
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 9942
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 10320
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 10684
1532
+ },
1533
+ {
1534
+ "length": 20,
1535
+ "start": 14902
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 15289
1540
+ },
1541
+ {
1542
+ "length": 20,
1543
+ "start": 15435
1544
+ },
1545
+ {
1546
+ "length": 20,
1547
+ "start": 15639
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 22908
1552
+ }
1553
+ ]
1554
+ },
1555
+ "contracts/types/Fee.sol": {
1556
+ "FeeLib": [
1557
+ {
1558
+ "length": 20,
1559
+ "start": 14582
1560
+ },
1561
+ {
1562
+ "length": 20,
1563
+ "start": 14750
1564
+ }
1565
+ ]
1566
+ },
1567
+ "contracts/types/NftId.sol": {
1568
+ "NftIdLib": [
1569
+ {
1570
+ "length": 20,
1571
+ "start": 1898
1572
+ },
1573
+ {
1574
+ "length": 20,
1575
+ "start": 8049
1576
+ }
1577
+ ]
1578
+ },
1579
+ "contracts/types/RoleId.sol": {
1580
+ "RoleIdLib": [
1581
+ {
1582
+ "length": 20,
1583
+ "start": 12561
1584
+ },
1585
+ {
1586
+ "length": 20,
1587
+ "start": 13461
1588
+ },
1589
+ {
1590
+ "length": 20,
1591
+ "start": 15563
1592
+ }
1593
+ ]
1594
+ },
1595
+ "contracts/types/Version.sol": {
1596
+ "VersionLib": [
1597
+ {
1598
+ "length": 20,
1599
+ "start": 1441
1600
+ },
1601
+ {
1602
+ "length": 20,
1603
+ "start": 2597
1604
+ },
1605
+ {
1606
+ "length": 20,
1607
+ "start": 13767
1608
+ },
1609
+ {
1610
+ "length": 20,
1611
+ "start": 15747
1612
+ }
1613
+ ],
1614
+ "VersionPartLib": [
1615
+ {
1616
+ "length": 20,
1617
+ "start": 8548
1618
+ }
1619
+ ]
1620
+ }
1621
+ }
1622
+ }