@etherisc/gif-next 0.0.2-ecbd488-936 → 0.0.2-ed3b1b0-046

Sign up to get free protection for your applications and to get access to all the features.
Files changed (493) hide show
  1. package/README.md +71 -14
  2. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  3. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1376 -0
  4. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  5. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1556 -0
  6. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  7. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +819 -0
  8. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +1000 -0
  10. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  11. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +840 -0
  12. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  13. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +778 -0
  14. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  15. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +415 -776
  16. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  17. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +314 -178
  18. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  19. package/artifacts/contracts/instance/Instance.sol/Instance.json +452 -3067
  20. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +612 -181
  22. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +4 -0
  23. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +124 -0
  24. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +443 -257
  26. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  27. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +446 -398
  28. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +319 -132
  30. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2847 -0
  32. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  33. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +91 -2
  34. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  35. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +49 -0
  36. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  37. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  38. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +93 -14
  39. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  40. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +38 -13
  41. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  42. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +256 -0
  43. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  44. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +71 -45
  45. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  47. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  48. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  49. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  53. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  54. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1288 -0
  55. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  56. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +735 -0
  57. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  58. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → pool/IBundleService.sol/IBundleService.json} +332 -336
  59. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  60. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +1095 -0
  61. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  62. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1077 -0
  63. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  64. package/artifacts/contracts/pool/Pool.sol/Pool.json +1407 -0
  65. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  66. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1622 -0
  67. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  68. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +747 -0
  69. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  70. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +918 -0
  71. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  72. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +687 -0
  73. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  74. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1386 -0
  75. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  76. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +787 -0
  77. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  78. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IApplicationService.sol/IApplicationService.json} +231 -204
  79. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  80. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +753 -0
  81. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  82. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +651 -0
  83. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  84. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +237 -288
  85. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  86. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +861 -0
  87. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +4 -0
  88. package/artifacts/contracts/{instance/service/IDistributionService.sol/IDistributionService.json → product/IProductService.sol/IProductService.json} +162 -166
  89. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  90. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1281 -0
  91. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +779 -0
  93. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  94. package/artifacts/contracts/product/PricingService.sol/PricingService.json +1004 -0
  95. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +727 -0
  97. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  98. package/artifacts/contracts/product/Product.sol/Product.json +1198 -0
  99. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +4 -0
  100. package/artifacts/contracts/product/ProductService.sol/ProductService.json +864 -0
  101. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  102. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +679 -0
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +15 -2
  105. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +319 -129
  107. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +268 -255
  109. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +339 -222
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +238 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +313 -354
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +323 -135
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +846 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +132 -57
  123. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +4 -0
  124. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +1206 -0
  125. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  126. package/artifacts/contracts/shared/Component.sol/Component.json +873 -0
  127. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  128. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → shared/ComponentService.sol/ComponentService.json} +271 -180
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  130. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  131. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  132. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +636 -0
  133. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  134. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +27 -29
  135. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  136. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +189 -0
  137. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +8 -34
  139. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  141. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  142. package/artifacts/contracts/shared/IService.sol/IService.json +84 -178
  143. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  144. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  145. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  146. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +109 -29
  147. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  148. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +302 -0
  149. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  150. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -61
  151. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  152. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +118 -53
  153. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  154. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +71 -0
  155. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  156. package/artifacts/contracts/shared/Service.sol/Service.json +185 -165
  157. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  158. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +24 -6
  159. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  160. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  161. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  162. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  163. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  164. package/artifacts/contracts/{shared/RegisterableUpgradable.sol/RegisterableUpgradable.json → staking/IStakingService.sol/IStakingService.json} +226 -145
  165. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  166. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +767 -0
  167. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  168. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +667 -0
  169. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  170. package/artifacts/contracts/{types → type}/AddressSet.sol/LibAddressSet.json +3 -3
  171. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  172. package/artifacts/contracts/type/Amount.sol/AmountLib.json +281 -0
  173. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  174. package/artifacts/contracts/{types → type}/Blocknumber.sol/BlocknumberLib.json +3 -3
  175. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  176. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +179 -0
  177. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  178. package/artifacts/contracts/{types → type}/DistributorType.sol/DistributorTypeLib.json +5 -5
  179. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  180. package/artifacts/contracts/type/Fee.sol/FeeLib.json +312 -0
  181. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  182. package/artifacts/contracts/{types → type}/Key32.sol/Key32Lib.json +3 -3
  183. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +166 -0
  185. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  186. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  187. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  188. package/artifacts/contracts/{types → type}/ObjectType.sol/ObjectTypeLib.json +3 -3
  189. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  190. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  191. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  192. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  193. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  194. package/artifacts/contracts/{types → type}/RiskId.sol/RiskIdLib.json +5 -5
  195. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  196. package/artifacts/contracts/{types → type}/RoleId.sol/RoleIdLib.json +5 -5
  197. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  198. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +124 -0
  199. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  200. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  201. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  202. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -8
  203. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  204. package/artifacts/contracts/{types → type}/UFixed.sol/MathLib.json +3 -3
  205. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  206. package/artifacts/contracts/{types → type}/UFixed.sol/UFixedLib.json +3 -3
  207. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  208. package/artifacts/contracts/{types → type}/Version.sol/VersionLib.json +3 -3
  209. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  210. package/artifacts/contracts/{types → type}/Version.sol/VersionPartLib.json +3 -3
  211. package/contracts/distribution/Distribution.sol +285 -0
  212. package/contracts/distribution/DistributionService.sol +351 -0
  213. package/contracts/{instance/service → distribution}/DistributionServiceManager.sol +20 -20
  214. package/contracts/distribution/IDistributionComponent.sol +71 -0
  215. package/contracts/distribution/IDistributionService.sol +87 -0
  216. package/contracts/instance/BundleManager.sol +126 -0
  217. package/contracts/instance/IInstance.sol +60 -31
  218. package/contracts/instance/IInstanceService.sol +56 -13
  219. package/contracts/instance/Instance.sol +149 -363
  220. package/contracts/instance/InstanceAccessManager.sol +432 -177
  221. package/contracts/instance/InstanceAuthorizationsLib.sol +308 -0
  222. package/contracts/instance/InstanceReader.sol +109 -47
  223. package/contracts/instance/InstanceService.sol +246 -140
  224. package/contracts/instance/InstanceServiceManager.sol +12 -25
  225. package/contracts/instance/InstanceStore.sol +211 -0
  226. package/contracts/instance/base/Cloneable.sol +51 -0
  227. package/contracts/instance/base/IKeyValueStore.sol +14 -10
  228. package/contracts/instance/base/ILifecycle.sol +3 -3
  229. package/contracts/instance/base/KeyValueStore.sol +44 -47
  230. package/contracts/instance/base/Lifecycle.sol +28 -7
  231. package/contracts/instance/base/ObjectManager.sol +82 -0
  232. package/contracts/instance/module/IAccess.sol +37 -21
  233. package/contracts/instance/module/IBundle.sol +11 -8
  234. package/contracts/instance/module/IComponents.sol +41 -0
  235. package/contracts/instance/module/IDistribution.sol +7 -4
  236. package/contracts/instance/module/IPolicy.sol +50 -17
  237. package/contracts/instance/module/IRisk.sol +1 -1
  238. package/contracts/instance/module/ISetup.sol +11 -22
  239. package/contracts/instance/module/ITreasury.sol +2 -2
  240. package/contracts/pool/BundleService.sol +384 -0
  241. package/contracts/pool/BundleServiceManager.sol +42 -0
  242. package/contracts/pool/IBundleService.sol +118 -0
  243. package/contracts/pool/IPoolComponent.sol +114 -0
  244. package/contracts/pool/IPoolService.sol +114 -0
  245. package/contracts/pool/Pool.sol +302 -0
  246. package/contracts/pool/PoolService.sol +404 -0
  247. package/contracts/pool/PoolServiceManager.sol +42 -0
  248. package/contracts/product/ApplicationService.sol +187 -0
  249. package/contracts/product/ApplicationServiceManager.sol +38 -0
  250. package/contracts/product/ClaimService.sol +443 -0
  251. package/contracts/product/ClaimServiceManager.sol +38 -0
  252. package/contracts/product/IApplicationService.sol +62 -0
  253. package/contracts/product/IClaimService.sol +93 -0
  254. package/contracts/product/IPolicyService.sol +80 -0
  255. package/contracts/product/IPricingService.sol +37 -0
  256. package/contracts/product/IProductComponent.sol +41 -0
  257. package/contracts/product/IProductService.sol +40 -0
  258. package/contracts/product/PolicyService.sol +378 -0
  259. package/contracts/product/PolicyServiceManager.sol +42 -0
  260. package/contracts/product/PricingService.sol +276 -0
  261. package/contracts/product/PricingServiceManager.sol +42 -0
  262. package/contracts/product/Product.sol +379 -0
  263. package/contracts/product/ProductService.sol +212 -0
  264. package/contracts/product/ProductServiceManager.sol +42 -0
  265. package/contracts/registry/ChainNft.sol +9 -1
  266. package/contracts/registry/IRegistry.sol +56 -27
  267. package/contracts/registry/IRegistryService.sol +36 -28
  268. package/contracts/registry/ITransferInterceptor.sol +1 -0
  269. package/contracts/registry/Registry.sol +259 -232
  270. package/contracts/registry/RegistryAccessManager.sol +132 -0
  271. package/contracts/registry/RegistryService.sol +81 -208
  272. package/contracts/registry/RegistryServiceManager.sol +34 -42
  273. package/contracts/registry/ReleaseManager.sol +382 -0
  274. package/contracts/registry/TokenRegistry.sol +22 -17
  275. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +13 -0
  276. package/contracts/shared/Component.sol +271 -0
  277. package/contracts/shared/ComponentService.sol +141 -0
  278. package/contracts/shared/ERC165.sol +14 -12
  279. package/contracts/shared/IComponent.sol +90 -0
  280. package/contracts/shared/INftOwnable.sol +12 -11
  281. package/contracts/shared/IPolicyHolder.sol +40 -0
  282. package/contracts/shared/IRegisterable.sol +4 -6
  283. package/contracts/shared/IRegistryLinked.sol +11 -0
  284. package/contracts/shared/IService.sol +7 -4
  285. package/contracts/shared/IVersionable.sol +5 -48
  286. package/contracts/shared/NftOwnable.sol +64 -80
  287. package/contracts/shared/PolicyHolder.sol +94 -0
  288. package/contracts/shared/ProxyManager.sol +126 -25
  289. package/contracts/shared/Registerable.sol +26 -41
  290. package/contracts/shared/RegistryLinked.sol +43 -0
  291. package/contracts/shared/Service.sol +41 -24
  292. package/contracts/shared/TokenHandler.sol +14 -6
  293. package/contracts/shared/Versionable.sol +4 -92
  294. package/contracts/staking/IStakingService.sol +102 -0
  295. package/contracts/staking/StakingService.sol +169 -0
  296. package/contracts/staking/StakingServiceManager.sol +40 -0
  297. package/contracts/type/Amount.sol +109 -0
  298. package/contracts/{types → type}/Blocknumber.sol +1 -0
  299. package/contracts/type/ClaimId.sol +75 -0
  300. package/contracts/{types → type}/DistributorType.sol +2 -2
  301. package/contracts/{types → type}/Fee.sol +17 -8
  302. package/contracts/{types → type}/NftId.sol +8 -0
  303. package/contracts/type/NftIdSet.sol +62 -0
  304. package/contracts/{types → type}/ObjectType.sol +17 -7
  305. package/contracts/type/PayoutId.sol +82 -0
  306. package/contracts/{types → type}/Referral.sol +4 -0
  307. package/contracts/type/RoleId.sol +139 -0
  308. package/contracts/type/Seconds.sol +54 -0
  309. package/contracts/{types → type}/StateId.sol +7 -2
  310. package/contracts/{types → type}/Timestamp.sol +18 -13
  311. package/contracts/{types → type}/UFixed.sol +1 -0
  312. package/contracts/{types → type}/Version.sol +1 -0
  313. package/package.json +3 -3
  314. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  315. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -327
  316. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  317. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -618
  318. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  319. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -280
  320. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  321. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  322. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  323. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  324. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  325. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  326. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  327. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -782
  328. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  329. package/artifacts/contracts/components/Product.sol/Product.json +0 -719
  330. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  331. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  332. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  333. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  334. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  335. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  336. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  337. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  338. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  339. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  340. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  341. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  342. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  343. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  344. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  345. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  346. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  347. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  348. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  349. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  350. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  351. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  353. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  355. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  357. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  359. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  361. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  363. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  365. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  367. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  368. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  369. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  370. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  371. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  372. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  373. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  374. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  375. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  376. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  377. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  378. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  379. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  380. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -716
  381. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  382. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -444
  383. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  384. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  385. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  386. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  387. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  388. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -839
  389. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  390. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -448
  391. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  392. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -1046
  393. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  394. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -448
  395. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  396. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  397. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  398. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  399. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  400. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  401. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  402. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  403. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  404. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  405. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  406. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  407. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  408. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  409. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  410. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  411. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  412. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  413. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  414. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  415. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  416. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  417. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  418. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  419. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  420. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  421. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  422. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  423. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  424. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  425. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  426. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  427. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  428. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  429. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  430. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  431. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  432. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  433. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  434. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  435. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  436. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  437. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  438. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  439. package/contracts/components/BaseComponent.sol +0 -91
  440. package/contracts/components/Distribution.sol +0 -159
  441. package/contracts/components/IBaseComponent.sol +0 -25
  442. package/contracts/components/IDistributionComponent.sol +0 -44
  443. package/contracts/components/IPoolComponent.sol +0 -62
  444. package/contracts/components/IProductComponent.sol +0 -35
  445. package/contracts/components/Pool.sol +0 -242
  446. package/contracts/components/Product.sol +0 -284
  447. package/contracts/experiment/cloning/Cloner.sol +0 -47
  448. package/contracts/experiment/errors/Require.sol +0 -38
  449. package/contracts/experiment/errors/Revert.sol +0 -44
  450. package/contracts/experiment/inheritance/A.sol +0 -53
  451. package/contracts/experiment/inheritance/B.sol +0 -28
  452. package/contracts/experiment/inheritance/C.sol +0 -34
  453. package/contracts/experiment/inheritance/IA.sol +0 -13
  454. package/contracts/experiment/inheritance/IB.sol +0 -10
  455. package/contracts/experiment/inheritance/IC.sol +0 -12
  456. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  457. package/contracts/experiment/statemachine/ISM.sol +0 -25
  458. package/contracts/experiment/statemachine/SM.sol +0 -57
  459. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  460. package/contracts/experiment/types/TypeA.sol +0 -47
  461. package/contracts/experiment/types/TypeB.sol +0 -29
  462. package/contracts/instance/AccessManagedSimple.sol +0 -115
  463. package/contracts/instance/AccessManagerSimple.sol +0 -692
  464. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  465. package/contracts/instance/base/ComponentServiceBase.sol +0 -124
  466. package/contracts/instance/base/IInstanceBase.sol +0 -23
  467. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  468. package/contracts/instance/service/DistributionService.sol +0 -88
  469. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  470. package/contracts/instance/service/IDistributionService.sol +0 -12
  471. package/contracts/instance/service/IPoolService.sol +0 -37
  472. package/contracts/instance/service/IProductService.sol +0 -107
  473. package/contracts/instance/service/PoolService.sol +0 -194
  474. package/contracts/instance/service/PoolServiceManager.sol +0 -54
  475. package/contracts/instance/service/ProductService.sol +0 -543
  476. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  477. package/contracts/shared/ContractDeployerLib.sol +0 -72
  478. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  479. package/contracts/test/TestFee.sol +0 -25
  480. package/contracts/test/TestRegisterable.sol +0 -18
  481. package/contracts/test/TestRoleId.sol +0 -14
  482. package/contracts/test/TestService.sol +0 -24
  483. package/contracts/test/TestToken.sol +0 -26
  484. package/contracts/test/TestVersion.sol +0 -44
  485. package/contracts/test/TestVersionable.sol +0 -17
  486. package/contracts/test/Usdc.sol +0 -26
  487. package/contracts/types/ChainId.sol +0 -38
  488. package/contracts/types/NftIdSet.sol +0 -60
  489. package/contracts/types/NumberId.sol +0 -52
  490. package/contracts/types/RoleId.sol +0 -90
  491. /package/contracts/{types → type}/AddressSet.sol +0 -0
  492. /package/contracts/{types → type}/Key32.sol +0 -0
  493. /package/contracts/{types → type}/RiskId.sol +0 -0
@@ -0,0 +1,1622 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "PoolService",
4
+ "sourceName": "contracts/pool/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": "processData",
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": "processData",
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": "processData",
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": "0x60806040523480156200001157600080fd5b506200001c62000022565b620000d6565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff1615620000735760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b0390811614620000d35780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615e6880620000e66000396000f3fe60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063a8de511711620000bb578063caf4e3d41162000086578063caf4e3d41462000508578063cc9fc59a1462000512578063d0d63b09146200051c578063f7c34ee01462000533578063fce06ca8146200054a57600080fd5b8063a8de511714620004c0578063ada9652e14620004d7578063b68d180914620004ee578063bf7e214f14620004fe57600080fd5b80638e32e97911620000fc5780638e32e97914620004575780638fb36037146200046e578063991cbfb31462000492578063a3c2605214620004a957600080fd5b80637738eb8614620004085780637a9e5e4b146200041f578063826787661462000436578063893d20e8146200044d57600080fd5b806336fc697e11620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063673ad94f14620003dd578063675393bf14620003f157600080fd5b806336fc697e146200032f5780633cc70e3e14620003395780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462004034565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200027962000561565b60405162ffffff909116815260200162000266565b62000298620005ee565b604051620002669190620040b4565b620002b16200071b565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462004034565b62000930565b620002b1620003123660046200437c565b6200095f565b620002b16200032936600462004422565b62000a0a565b620002b162000b62565b620002b16200034a36600462004648565b62000baa565b6200036762000361366004620046dd565b62000fbb565b6040516001600160601b03909116815260200162000266565b620002b162000391366004620046fd565b62001559565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005dd3833981519152546001600160601b031662000367565b620002b1620003ee36600462004752565b50565b620002b162000402366004620046dd565b62001661565b6200036762000419366004620047a5565b62001779565b620002b162000430366004620046dd565b620019eb565b620002b1620004473660046200486c565b62001a76565b620003a462001ca7565b620002b162000468366004620048b9565b62001de6565b620004786200203a565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a33660046200490b565b62002075565b620002b1620004ba36600462004a20565b62002821565b620002b1620004d136600462004a40565b62002ae3565b620002db60008051602062005dd383398151915281565b604051608c815260200162000266565b620003a462002be4565b620003a462002c01565b620003a462002c0f565b620002b16200052d36600462004752565b62002c1d565b620002b16200054436600462004aa9565b62002d53565b620002b16200055b36600462004ae7565b62002dd2565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015620005c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e9919062004b65565b905090565b620005f862003fe8565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016200066f62001ca7565b6001600160a01b031681526020018260010180546200068e9062004b8c565b80601f0160208091040260200160405190810160405280929190818152602001828054620006bc9062004b8c565b80156200070d5780601f10620006e1576101008083540402835291602001916200070d565b820191906000526020600020905b815481529060010190602001808311620006ef57829003601f168201915b505050505081525091505090565b600060008051602062005dd383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156200078c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007b2919062004bd5565b15620007e45780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620007f86001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801562000841573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000867919062004bd5565b620008915760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620007db565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620008e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200090c919062004c02565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6200093a62002e48565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6200096962002e48565b62000975828762002d53565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a00838262004c6c565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c62000a2e62000561565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000a6f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a95919062004d45565b60008051602062005e138339815191528054600160401b900460ff168062000aca575080546001600160401b03808416911610155b1562000ae95760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b158362002e83565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000b6c62002e48565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b62000bb9335b60003662002e8d565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000bfa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c20919062004d65565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000c75573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c9b919062004dc5565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000cf9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d23919081019062004ed9565b905062000d3581600001518462002fa6565b1562000d6b578051604051630a49ea2360e01b81526001600160601b0391821660048201529084166024820152604401620007db565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000dbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000de6919081019062004fed565b905060008160c0015180602001905181019062000e049190620050e7565b608089015160025460405163377a6db760e01b81526001600160a01b038f811660048301526001600160601b03808f166024840152808a16604484015280851660648401528c16608483015293945091928a9291169063377a6db79060a401600060405180830381600087803b15801562000e7e57600080fd5b505af115801562000e93573d6000803e3d6000fd5b505050508260e001511562000fac57600062000eb76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000f07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f31919081019062005201565b608001519050806001600160a01b0316639e2177a78d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000f76959493929190620052b2565b600060405180830381600087803b15801562000f9157600080fd5b505af115801562000fa6573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b60008080808062000fd886608c62000fd262002fbd565b62003037565b9296509094509250905085600062000fef62002c01565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af115801562001042573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200106c919081019062005201565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010aa57600080fd5b505af1158015620010bf573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200110b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001135919081019062004fed565b905080602001516040516200114a9062004026565b6001600160a01b039091168152602001604051809103906000f08015801562001177573d6000803e3d6000fd5b5081604001906001600160a01b031690816001600160a01b031681525050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620011d4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011fa919062004d65565b6001600160a01b031663d5c9d77d89836040518363ffffffff1660e01b81526004016200122992919062005395565b600060405180830381600087803b1580156200124457600080fd5b505af115801562001259573d6000803e3d6000fd5b5060009250600291506200126a9050565b6040519080825280602002602001820160405280156200129f57816020015b6060815260200190600190039081620012895790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110620012d657620012d6620053b9565b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505081600181518110620013175762001317620053b9565b6020026020010181905250638267876660e01b81600081518110620013405762001340620053b9565b60200260200101516000815181106200135d576200135d620053b9565b6001600160e01b0319909216602092830291909101909101528051639e2177a760e01b9082906001908110620013975762001397620053b9565b6020026020010151600081518110620013b457620013b4620053b9565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050620013fa62002fbd565b81600081518110620014105762001410620053b9565b60200260200101906001600160401b031690816001600160401b0316815250506200143a6200333f565b81600181518110620014505762001450620053b9565b60200260200101906001600160401b031690816001600160401b0316815250506200147a62002c0f565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014c9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014f39190810190620053cf565b86866040518663ffffffff1660e01b8152600401620015179594939291906200544d565b600060405180830381600087803b1580156200153257600080fd5b505af115801562001547573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062005e138339815191528054600160401b810460ff1615906001600160401b03166000811580156200158e5750825b90506000826001600160401b03166001148015620015ab5750303b155b905081158015620015ba575080155b15620015d95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200160457845460ff60401b1916600160401b1785555b6200161087876200337c565b83156200165857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6200166b62002e48565b806001600160a01b03163b600003620016a35760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007db565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263530ca14960e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562001720575060408051601f3d908101601f191682019092526200171d9181019062004bd5565b60015b6200174a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007db565b80620017755760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007db565b5050565b6000808062001789608c620035cf565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620017cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017f5919062004d65565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001849573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001873919081019062004fed565b9050600062001883828b62003781565b9050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b8152600401620018d698979695949392919062005552565b6020604051808303816000875af1158015620018f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200191c919062004c02565b95506200192b828d8c620038ce565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200198b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019b1919062004c02565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b33620019f662002be4565b6001600160a01b0316816001600160a01b03161462001a335760405162d1953b60e31b81526001600160a01b0382166004820152602401620007db565b816001600160a01b03163b60000362001a6b576040516361798f2f60e11b81526001600160a01b0383166004820152602401620007db565b6200177582620039dc565b60008062001a85608c620035cf565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001acb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001af1919062004d65565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001b45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001b6f919081019062004fed565b905060008160c0015180602001905181019062001b8d9190620050e7565b61014081018990526101608101889052610180810187905260405190915062001bbb908290602001620055d0565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c37919062004d65565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162001c6993929190620056ff565b600060405180830381600087803b15801562001c8457600080fd5b505af115801562001c99573d6000803e3d6000fd5b505050505050505050505050565b60008060008051602062005dd383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562001d19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d3f919062004bd5565b1562001dd0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001da4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001dca919062004d65565b91505090565b54600160601b90046001600160a01b0316919050565b62001df062002e48565b62001e7583846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001e34573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e5a919062004c02565b603c600085604051806020016040528060008152506200095f565b6001600160a01b0382161562001e965762001e908262003a3e565b62002011565b600062001eab6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801562001f0c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f32919062005736565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562001f78573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f9e919062004d65565b90506200200f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001fe3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002009919062004d65565b62003a3e565b505b62002023634a531f3360e01b62000930565b6200203563b68d180960e01b62000930565b505050565b60008051602062005df3833981519152805460009190600160a01b900460ff166200206757600062001dca565b638fb3603760e01b91505090565b620020803362000bb0565b6000620020956001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015620020e9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002113919081019062005201565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa1580156200216d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002197919081019062005201565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015620021f1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200221b919081019062005201565b9050600081608001519050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968961010001518a6080015162002259919062005756565b6040518263ffffffff1660e01b81526004016200227891815260200190565b602060405180830381865af415801562002296573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022bc919062004c02565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968a61012001518b60a00151620022f1919062005756565b6040518263ffffffff1660e01b81526004016200231091815260200190565b602060405180830381865af41580156200232e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002354919062004c02565b90506000620023f0620023e973__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968d600001516040518263ffffffff1660e01b81526004016200239e91815260200190565b602060405180830381865af4158015620023bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023e2919062004c02565b8562003a53565b8362003a53565b9050620023fe898262003ae5565b6200243057604051639080fd1360e01b81526001600160601b0380831660048301528a166024820152604401620007db565b6040516330b8415f60e01b81526001600160601b038416600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801562002489573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024af919062004bd5565b1562002716576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620024f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200251c919062004d65565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa1580156200256f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002599919081019062004fed565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af415801562002603573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002629919062004c02565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0387169163d4cda0d89160048083019260209291908290030181865afa1580156200267d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026a3919062004d65565b6001600160a01b031663a4eeee59886000015183620026c060ff90565b6040518463ffffffff1660e01b8152600401620026e093929190620056ff565b600060405180830381600087803b158015620026fb57600080fd5b505af115801562002710573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156200276f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002795919062004bd5565b156200281457600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b158015620027fa57600080fd5b505af11580156200280f573d6000803e3d6000fd5b505050505b5050505050505050505050565b60008062002830608c620035cf565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002876573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200289c919062004d65565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620028f0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200291a919081019062004fed565b905060008160c00151806020019051810190620029389190620050e7565b90506200295f81602001516200294d62003b6f565b6001600160401b039081169116141590565b156200298a5760405163eff765ff60e01b81526001600160601b0386166004820152602401620007db565b6001600160401b038616602080830191909152604051620029ae91839101620055d0565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002a04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a2a919062004d65565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162002a5c93929190620056ff565b600060405180830381600087803b15801562002a7757600080fd5b505af115801562002a8c573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b62002aee3362000bb0565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f928792879262002b23919062003bb1565b6040518563ffffffff1660e01b815260040162002b44949392919062005778565b600060405180830381600087803b15801562002b5f57600080fd5b505af115801562002b74573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801562002bcf57600080fd5b505af115801562001658573d6000803e3d6000fd5b60008051602062005df3833981519152546001600160a01b031690565b6000620005e9602862003bfd565b6000620005e9604662003bfd565b60008062002c2c608c620035cf565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002c8b57600080fd5b505af115801562002ca0573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002d04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d2a919062004c02565b604080516001600160601b03928316815282861660208201529186169082015260600162000b55565b62002d5d62002e48565b62002d688162001661565b62002d7262000b62565b6001600160a01b03821662002d9a5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062005dd383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b62002ddd3362000bb0565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f9162002e189188918891879060040162005778565b600060405180830381600087803b15801562002e3357600080fd5b505af115801562000a00573d6000803e3d6000fd5b60008051602062005e1383398151915254600160401b900460ff1662002e8157604051631afcd79f60e31b815260040160405180910390fd5b565b6200022562002e48565b60008051602062005df383398151915260008062002ed162002eae62002be4565b873062002ec0600460008a8c620057aa565b62002ecb91620057d6565b62003d13565b915091508162002f9e5763ffffffff81161562002f7a57825460ff60a01b1916600160a01b17835562002f0362002be4565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040162002f349392919062005807565b600060405180830381600087803b15801562002f4f57600080fd5b505af115801562002f64573d6000803e3d6000fd5b5050845460ff60a01b191685555062002f9e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401620007db565b505050505050565b6001600160601b0382811690821614155b92915050565b6040516368aebf7b60e01b815260048082015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af415801562003011573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e9919062004d45565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156200308c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030b2919062004bd5565b620030dc576040516359bff0e360e11b81526001600160a01b0388166004820152602401620007db565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200311d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003147919081019062005201565b90506200315f81604001518860ff9081169116141590565b15620031a1576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401620007db565b60a08101516001600160a01b0385811690821614620031f55760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401620007db565b81602001519250620032078362003e2b565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003248573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200326e919062004d65565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015620032c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620032ec919062004bd5565b6200333457604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401620007db565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9060240162002ff3565b60008051602062005e138339815191528054600160401b810460ff1615906001600160401b0316600081158015620033b15750825b90506000826001600160401b03166001148015620033ce5750303b155b905081158015620033dd575080155b15620033fc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200342757845460ff60401b1916600160401b1785555b600080878060200190518101906200344091906200582e565b92505091506200345282828b62001de6565b6001546001600160a01b031663d39e604360dc6200346f62000561565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015620034c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620034eb919062005736565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003531573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003557919062004d65565b600280546001600160a01b0319166001600160a01b039290921691909117905562003589630152d21960e61b62000930565b505083156200165857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016200164f565b6000620035db62003fe8565b6000620035f06001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562003637573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200365d919062004c02565b92506200366b838562003ec4565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620036b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036d8919062004d65565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801562003723573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003749919062004bd5565b156200377a57608082015160405163d53987e560e01b81526001600160a01b039091166004820152602401620007db565b9193909250565b600081905060008360c00151806020019051810190620037a29190620050e7565b61016001516040516305deb8b760e01b815290915073__$58e11c6004c5796aaa8c56e718245e69a2$__906305deb8b790620037e390849060040162005877565b602060405180830381865af415801562003801573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003827919062004bd5565b15620038c757604051634f69237560e11b815281516004820152602082015160248201526001600160601b0384166044820152600090819073__$58e11c6004c5796aaa8c56e718245e69a2$__90639ed246ea906064016040805180830381865af41580156200389b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620038c191906200588f565b94505050505b5092915050565b604083810151606085015191516330b8415f60e01b81526001600160601b038416600482015290919073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801562003934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200395a919062004bd5565b15620039d55760405163c661667d60e01b81526001600160a01b03858116600483015282811660248301526001600160601b038516604483015283169063c661667d90606401600060405180830381600087803b158015620039bb57600080fd5b505af1158015620039d0573d6000803e3d6000fd5b505050505b5050505050565b60008051602062005df383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003a4862002e48565b620003ee8162003fd3565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af415801562003ab8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003ade919062004c02565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801562003b49573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003ade919062004bd5565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9060240162002ff3565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa229060440162003a9a565b600062003c126001546001600160a01b031690565b6001600160a01b031663d39e60438362003c2b62000561565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801562003c81573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003ca7919062005736565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003ced573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002fb7919062004d65565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525162003d849190620058c3565b600060405180830381855afa9150503d806000811462003dc1576040519150601f19603f3d011682016040523d82523d6000602084013e62003dc6565b606091505b5091509150811562003e2057604081511062003dfd578080602001905181019062003df29190620058e1565b909450925062003e20565b602081511062003e20578080602001905181019062003e1d919062004bd5565b93505b505094509492505050565b600062003e406001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003e90573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003eba919081019062005201565b6080015192915050565b62003ece62003fe8565b600062003ee36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003f33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003f5d919081019062005201565b915062003f7582604001518460ff9081169116141590565b1562003fbb57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff8086166024840152166044820152606401620007db565b62003fca826020015162003e2b565b90509250929050565b62003fdd62002e48565b620003ee81620039dc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6104b5806200591e83390190565b6000602082840312156200404757600080fd5b81356001600160e01b03198116811462003ade57600080fd5b60005b838110156200407d57818101518382015260200162004063565b50506000910152565b60008151808452620040a081602086016020860162004060565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516200411e60c08401826001600160a01b03169052565b5060c083015160e0808401526200413a61010084018262004086565b949350505050565b6001600160a01b0381168114620003ee57600080fd5b6001600160601b0381168114620003ee57600080fd5b80356200417b8162004158565b919050565b60ff81168114620003ee57600080fd5b8015158114620003ee57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b0381118282101715620041db57620041db6200419f565b60405290565b604080519081016001600160401b0381118282101715620041db57620041db6200419f565b6040516101e081016001600160401b0381118282101715620041db57620041db6200419f565b60405161010081016001600160401b0381118282101715620041db57620041db6200419f565b60405161012081016001600160401b0381118282101715620041db57620041db6200419f565b60405160e081016001600160401b0381118282101715620041db57620041db6200419f565b6040516101a081016001600160401b0381118282101715620041db57620041db6200419f565b604051601f8201601f191681016001600160401b0381118282101715620042ee57620042ee6200419f565b604052919050565b60006001600160401b038211156200431257620043126200419f565b50601f01601f191660200190565b600082601f8301126200433257600080fd5b8135620043496200434382620042f6565b620042c3565b8181528460208386010111156200435f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156200439657600080fd5b8635620043a38162004142565b95506020870135620043b58162004158565b94506040870135620043c78162004180565b93506060870135620043d98162004190565b92506080870135620043eb8162004142565b915060a08701356001600160401b038111156200440757600080fd5b6200441589828a0162004320565b9150509295509295509295565b6000602082840312156200443557600080fd5b81356001600160401b038111156200444c57600080fd5b6200413a8482850162004320565b80356001600160c01b0319811681146200417b57600080fd5b64ffffffffff81168114620003ee57600080fd5b80356200417b8162004473565b803561ffff811681146200417b57600080fd5b60006102208284031215620044bb57600080fd5b620044c5620041b5565b9050620044d2826200416e565b8152620044e2602083016200416e565b6020820152620044f5604083016200445a565b604082015262004508606083016200445a565b60608201526200451b608083016200416e565b60808201526200452e60a083016200416e565b60a08201526200454160c083016200416e565b60c08201526200455460e0830162004487565b60e0820152610100808301356001600160401b03808211156200457657600080fd5b620045848683870162004320565b83850152610120925082850135915080821115620045a157600080fd5b50620045b08582860162004320565b828401525050610140620045c681840162004494565b90820152610160620045da83820162004494565b90820152610180620045ee8382016200416e565b908201526101a0620046028382016200416e565b908201526101c06200461683820162004487565b908201526101e06200462a83820162004487565b908201526102006200463e83820162004487565b9082015292915050565b600080600080600060a086880312156200466157600080fd5b85356200466e8162004142565b94506020860135620046808162004158565b93506040860135620046928162004158565b925060608601356001600160401b03811115620046ae57600080fd5b620046bc88828901620044a7565b9250506080860135620046cf8162004158565b809150509295509295909350565b600060208284031215620046f057600080fd5b813562003ade8162004142565b600080604083850312156200471157600080fd5b82356200471e8162004142565b915060208301356001600160401b038111156200473a57600080fd5b620047488582860162004320565b9150509250929050565b6000602082840312156200476557600080fd5b813562003ade8162004158565b6000604082840312156200478557600080fd5b6200478f620041e1565b9050813581526020820135602082015292915050565b60008060008060008060c08789031215620047bf57600080fd5b8635620047cc8162004142565b9550620047dd886020890162004772565b94506060870135620047ef8162004158565b93506080870135620048018162004473565b925060a08701356001600160401b03808211156200481e57600080fd5b818901915089601f8301126200483357600080fd5b8135818111156200484357600080fd5b8a60208285010111156200485657600080fd5b6020830194508093505050509295509295509295565b600080600060c084860312156200488257600080fd5b6200488e858562004772565b92506200489f856040860162004772565b9150620048b0856080860162004772565b90509250925092565b600080600060608486031215620048cf57600080fd5b8335620048dc8162004142565b92506020840135620048ee8162004142565b91506040840135620049008162004142565b809150509250925092565b60008060008385036102208112156200492357600080fd5b8435620049308162004158565b93506101e0601f1982018113156200494757600080fd5b6200495162004206565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c091508188013581850152508187013581840152505080925050620048b061020085016200416e565b6001600160401b0381168114620003ee57600080fd5b60006020828403121562004a3357600080fd5b813562003ade8162004a0a565b60008060006060848603121562004a5657600080fd5b833562004a638162004142565b9250602084013562004a758162004158565b915060408401356001600160401b0381111562004a9157600080fd5b62004a9f86828701620044a7565b9150509250925092565b6000806040838503121562004abd57600080fd5b823562004aca8162004142565b9150602083013562004adc8162004142565b809150509250929050565b6000806000806080858703121562004afe57600080fd5b843562004b0b8162004142565b9350602085013562004b1d8162004158565b925060408501356001600160401b0381111562004b3957600080fd5b62004b4787828801620044a7565b925050606085013562004b5a8162004158565b939692955090935050565b60006020828403121562004b7857600080fd5b815162ffffff8116811462003ade57600080fd5b600181811c9082168062004ba157607f821691505b60208210810362004bc257634e487b7160e01b600052602260045260246000fd5b50919050565b80516200417b8162004190565b60006020828403121562004be857600080fd5b815162003ade8162004190565b80516200417b8162004158565b60006020828403121562004c1557600080fd5b815162003ade8162004158565b601f8211156200203557600081815260208120601f850160051c8101602086101562004c4b5750805b601f850160051c820191505b8181101562002f9e5782815560010162004c57565b81516001600160401b0381111562004c885762004c886200419f565b62004ca08162004c99845462004b8c565b8462004c22565b602080601f83116001811462004cd8576000841562004cbf5750858301515b600019600386901b1c1916600185901b17855562002f9e565b600085815260208120601f198616915b8281101562004d095788860151825594840194600190910190840162004ce8565b508582101562004d285787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516200417b8162004a0a565b60006020828403121562004d5857600080fd5b815162003ade8162004a0a565b60006020828403121562004d7857600080fd5b815162003ade8162004142565b80516200417b8162004142565b60006040828403121562004da557600080fd5b62004daf620041e1565b9050815181526020820151602082015292915050565b6000610140828403121562004dd957600080fd5b62004de36200422c565b62004dee8362004d85565b815262004dfe6020840162004d85565b602082015262004e116040840162004bf5565b604082015262004e246060840162004bf5565b606082015262004e38846080850162004d92565b608082015262004e4c8460c0850162004d92565b60a082015262004e60610100840162004bc8565b60c082015262004e74610120840162004d85565b60e08201529392505050565b600082601f83011262004e9257600080fd5b815162004ea36200434382620042f6565b81815284602083860101111562004eb957600080fd5b6200413a82602083016020870162004060565b80516200417b8162004473565b60006020828403121562004eec57600080fd5b81516001600160401b038082111562004f0457600080fd5b90830190610140828603121562004f1a57600080fd5b62004f2462004252565b62004f2f8362004bf5565b815262004f40866020850162004d92565b602082015260608301518281111562004f5857600080fd5b62004f668782860162004e80565b60408301525062004f7a6080840162004bf5565b606082015262004f8d60a0840162004bf5565b608082015262004fa060c0840162004bf5565b60a082015262004fb360e0840162004ecc565b60c0820152610100915062004fca82840162004ecc565b60e082015262004fde610120840162004ecc565b91810191909152949350505050565b6000602082840312156200500057600080fd5b81516001600160401b03808211156200501857600080fd5b9083019060e082860312156200502d57600080fd5b6200503762004278565b8251828111156200504757600080fd5b620050558782860162004e80565b825250620050666020840162004d85565b6020820152620050796040840162004d85565b60408201526200508c6060840162004d85565b60608201526200509f6080840162004bf5565b6080820152620050b260a0840162004bf5565b60a082015260c083015182811115620050ca57600080fd5b620050d88782860162004e80565b60c08301525095945050505050565b60006102008284031215620050fb57600080fd5b620051056200429d565b620051108362004bf5565b8152620051206020840162004d38565b6020820152620051336040840162004bf5565b6040820152620051466060840162004bf5565b6060820152620051596080840162004bf5565b60808201526200516c60a0840162004bc8565b60a08201526200517f60c0840162004bc8565b60c08201526200519260e0840162004bc8565b60e082015261010083810151908201526101208084015190820152610140620051be8582860162004d92565b90820152610180620051d38585830162004d92565b610160830152620051e9856101c0860162004d92565b908201529392505050565b80516200417b8162004180565b6000602082840312156200521457600080fd5b81516001600160401b03808211156200522c57600080fd5b9083019060e082860312156200524157600080fd5b6200524b62004278565b620052568362004bf5565b8152620052666020840162004bf5565b60208201526200527960408401620051f4565b60408201526200528c6060840162004bc8565b60608201526200529f6080840162004d85565b6080820152620050b260a0840162004d85565b60006001600160601b03808816835260a06020840152620052d760a084018862004086565b81871660408501528381036060850152620052f3818762004086565b9250508084166080840152509695505050505050565b6000815160e084526200532060e085018262004086565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c08601526200538c828262004086565b95945050505050565b6001600160601b03831681526040602082015260006200413a604083018462005309565b634e487b7160e01b600052603260045260246000fd5b600060208284031215620053e257600080fd5b81516001600160401b03811115620053f957600080fd5b6200413a8482850162004e80565b600081518084526020808501945080840160005b83811015620054425781516001600160401b0316875295820195908201906001016200541b565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a060408401526200548060a084018762004086565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200550257868403601f19018652825180518086529089019089860190845b81811015620054ec5783516001600160e01b0319168352928b0192918b0191600101620054c4565b50509689019694505091870191600101620054a1565b505050868103608088015262005519818962005407565b9c9b505050505050505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162005596606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e08301819052620055c1818401858762005529565b9b9a5050505050505050505050565b81516001600160601b0316815261020081016020830151620055fd60208401826001600160401b03169052565b5060408301516200561960408401826001600160601b03169052565b5060608301516200563560608401826001600160601b03169052565b5060808301516200565160808401826001600160601b03169052565b5060a08301516200566660a084018215159052565b5060c08301516200567b60c084018215159052565b5060e08301516200569060e084018215159052565b50610100838101519083015261012080840151908301526101408084015180518285015260208101516101608501525050610160830151610180620056e18185018380518252602090810151910152565b84015180516101c085015260208101516101e08501529050620038c7565b6001600160601b038416815260606020820152600062005723606083018562005309565b905060ff83166040830152949350505050565b6000602082840312156200574957600080fd5b815162003ade8162004180565b8082018082111562002fb757634e487b7160e01b600052601160045260246000fd5b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b60008085851115620057bb57600080fd5b83861115620057c957600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015620057ff5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190526000906200538c908301848662005529565b6000806000606084860312156200584457600080fd5b8351620058518162004142565b6020850151909350620058648162004142565b6040850151909250620049008162004142565b81518152602080830151908201526040810162002fb7565b60008060408385031215620058a357600080fd5b8251620058b08162004158565b602084015190925062004adc8162004158565b60008251620058d781846020870162004060565b9190910192915050565b60008060408385031215620058f557600080fd5b8251620059028162004190565b602084015190925063ffffffff8116811462004adc57600080fdfe608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212203db1aac92e21e780f4b5ce101e999c8f18a1f78b8f894aa6d113d336086f758564736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220986e954aedff355c55c39e8c4408be471a0bda1071ae91dcc57212a943450cd664736f6c63430008140033",
1389
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620002255760003560e01c80637738eb861162000131578063a8de511711620000bb578063caf4e3d41162000086578063caf4e3d41462000508578063cc9fc59a1462000512578063d0d63b09146200051c578063f7c34ee01462000533578063fce06ca8146200054a57600080fd5b8063a8de511714620004c0578063ada9652e14620004d7578063b68d180914620004ee578063bf7e214f14620004fe57600080fd5b80638e32e97911620000fc5780638e32e97914620004575780638fb36037146200046e578063991cbfb31462000492578063a3c2605214620004a957600080fd5b80637738eb8614620004085780637a9e5e4b146200041f578063826787661462000436578063893d20e8146200044d57600080fd5b806336fc697e11620001b35780635ab1bd53116200017e5780635ab1bd531462000397578063644c45e014620003bd578063673ad94f14620003dd578063675393bf14620003f157600080fd5b806336fc697e146200032f5780633cc70e3e14620003395780634420e486146200035057806349bb9e4b146200038057600080fd5b80631eff4b2211620001f45780631eff4b2214620002b3578063214cdb8014620002ea57806327bb7a331462000301578063329d6e74146200031857600080fd5b806301ffc9a7146200022a5780630d8e6e2c146200026f5780630fec111c146200028e578063138461e014620002a7575b600080fd5b6200025a6200023b36600462004034565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b6200027962000561565b60405162ffffff909116815260200162000266565b62000298620005ee565b604051620002669190620040b4565b620002b16200071b565b005b620002db7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200162000266565b620002b1620002fb36600462004034565b62000930565b620002b1620003123660046200437c565b6200095f565b620002b16200032936600462004422565b62000a0a565b620002b162000b62565b620002b16200034a36600462004648565b62000baa565b6200036762000361366004620046dd565b62000fbb565b6040516001600160601b03909116815260200162000266565b620002b162000391366004620046fd565b62001559565b6001546001600160a01b03165b6040516001600160a01b03909116815260200162000266565b60008051602062005dd3833981519152546001600160601b031662000367565b620002b1620003ee36600462004752565b50565b620002b162000402366004620046dd565b62001661565b6200036762000419366004620047a5565b62001779565b620002b162000430366004620046dd565b620019eb565b620002b1620004473660046200486c565b62001a76565b620003a462001ca7565b620002b162000468366004620048b9565b62001de6565b620004786200203a565b6040516001600160e01b0319909116815260200162000266565b620002b1620004a33660046200490b565b62002075565b620002b1620004ba36600462004a20565b62002821565b620002b1620004d136600462004a40565b62002ae3565b620002db60008051602062005dd383398151915281565b604051608c815260200162000266565b620003a462002be4565b620003a462002c01565b620003a462002c0f565b620002b16200052d36600462004752565b62002c1d565b620002b16200054436600462004aa9565b62002d53565b620002b16200055b36600462004ae7565b62002dd2565b604051632efe011360e01b815260036004820152600060248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015620005c3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e9919062004b65565b905090565b620005f862003fe8565b6040805160e081018252600081527f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b038116602084015260ff600160601b8204811694840194909452600160681b90049092161515606082015230608082015260a081016200066f62001ca7565b6001600160a01b031681526020018260010180546200068e9062004b8c565b80601f0160208091040260200160405190810160405280929190818152602001828054620006bc9062004b8c565b80156200070d5780601f10620006e1576101008083540402835291602001916200070d565b820191906000526020600020905b815481529060010190602001808311620006ef57829003601f168201915b505050505081525091505090565b600060008051602062005dd383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af41580156200078c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007b2919062004bd5565b15620007e45780546040516301ab8b6760e21b81526001600160601b0390911660048201526024015b60405180910390fd5b30620007f86001546001600160a01b031690565b60405163c3c5a54760e01b81526001600160a01b038381166004830152919091169063c3c5a54790602401602060405180830381865afa15801562000841573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000867919062004bd5565b620008915760405163b9304b0d60e01b81526001600160a01b0382166004820152602401620007db565b6001546001600160a01b0316604051636939560f60e11b81526001600160a01b038381166004830152919091169063d272ac1e90602401602060405180830381865afa158015620008e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200090c919062004c02565b82546bffffffffffffffffffffffff19166001600160601b03919091161790915550565b6200093a62002e48565b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b6200096962002e48565b62000975828762002d53565b7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0387166cffffffffffffffffffffffffff1990911617600160601b60ff8716021760ff60681b1916600160681b851515021781557f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30162000a00838262004c6c565b5050505050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c62000a2e62000561565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af415801562000a6f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a95919062004d45565b60008051602062005e138339815191528054600160401b900460ff168062000aca575080546001600160401b03808416911610155b1562000ae95760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815562000b158362002e83565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a1505050565b62000b6c62002e48565b6301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b62000bb9335b60003662002e8d565b6000856001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000bfa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c20919062004d65565b60405163242bdc1960e21b81526001600160601b03871660048201529091506000906001600160a01b038316906390af70649060240161014060405180830381865afa15801562000c75573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000c9b919062004dc5565b606001516020850151604051634793b4ab60e01b81526001600160601b0382166004820152919250906000906001600160a01b03851690634793b4ab90602401600060405180830381865afa15801562000cf9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000d23919081019062004ed9565b905062000d3581600001518462002fa6565b1562000d6b578051604051630a49ea2360e01b81526001600160601b0391821660048201529084166024820152604401620007db565b60405163f0ea17c360e01b81526001600160601b03841660048201526000906001600160a01b0386169063f0ea17c390602401600060405180830381865afa15801562000dbc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000de6919081019062004fed565b905060008160c0015180602001905181019062000e049190620050e7565b608089015160025460405163377a6db760e01b81526001600160a01b038f811660048301526001600160601b03808f166024840152808a16604484015280851660648401528c16608483015293945091928a9291169063377a6db79060a401600060405180830381600087803b15801562000e7e57600080fd5b505af115801562000e93573d6000803e3d6000fd5b505050508260e001511562000fac57600062000eb76001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b038a1660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562000f07573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262000f31919081019062005201565b608001519050806001600160a01b0316639e2177a78d8d61010001518a8a60400151886040518663ffffffff1660e01b815260040162000f76959493929190620052b2565b600060405180830381600087803b15801562000f9157600080fd5b505af115801562000fa6573d6000803e3d6000fd5b50505050505b50505050505050505050505050565b60008080808062000fd886608c62000fd262002fbd565b62003037565b9296509094509250905085600062000fef62002c01565b604051637286e5e560e01b81526001600160a01b03848116600483015287811660248301529190911690637286e5e5906044016000604051808303816000875af115801562001042573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200106c919081019062005201565b9050816001600160a01b031663138461e06040518163ffffffff1660e01b8152600401600060405180830381600087803b158015620010aa57600080fd5b505af1158015620010bf573d6000803e3d6000fd5b50505050806000015196506000826001600160a01b03166390edbd356040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200110b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001135919081019062004fed565b905080602001516040516200114a9062004026565b6001600160a01b039091168152602001604051809103906000f08015801562001177573d6000803e3d6000fd5b5081604001906001600160a01b031690816001600160a01b031681525050846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015620011d4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620011fa919062004d65565b6001600160a01b031663d5c9d77d89836040518363ffffffff1660e01b81526004016200122992919062005395565b600060405180830381600087803b1580156200124457600080fd5b505af115801562001259573d6000803e3d6000fd5b5060009250600291506200126a9050565b6040519080825280602002602001820160405280156200129f57816020015b6060815260200190600190039081620012895790505b50604080516001808252818301909252919250602080830190803683370190505081600081518110620012d657620012d6620053b9565b6020908102919091010152604080516001808252818301909252908160200160208202803683370190505081600181518110620013175762001317620053b9565b6020026020010181905250638267876660e01b81600081518110620013405762001340620053b9565b60200260200101516000815181106200135d576200135d620053b9565b6001600160e01b0319909216602092830291909101909101528051639e2177a760e01b9082906001908110620013975762001397620053b9565b6020026020010151600081518110620013b457620013b4620053b9565b6001600160e01b0319929092166020928302919091018201526040805160028082526060820183526000939192909183019080368337019050509050620013fa62002fbd565b81600081518110620014105762001410620053b9565b60200260200101906001600160401b031690816001600160401b0316815250506200143a6200333f565b81600181518110620014505762001450620053b9565b60200260200101906001600160401b031690816001600160401b0316815250506200147a62002c0f565b6001600160a01b0316636c6fbb28878d886001600160a01b03166317d7de7c6040518163ffffffff1660e01b8152600401600060405180830381865afa158015620014c9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620014f39190810190620053cf565b86866040518663ffffffff1660e01b8152600401620015179594939291906200544d565b600060405180830381600087803b1580156200153257600080fd5b505af115801562001547573d6000803e3d6000fd5b50505050505050505050505050919050565b60008051602062005e138339815191528054600160401b810460ff1615906001600160401b03166000811580156200158e5750825b90506000826001600160401b03166001148015620015ab5750303b155b905081158015620015ba575080155b15620015d95760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200160457845460ff60401b1916600160401b1785555b6200161087876200337c565b83156200165857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b6200166b62002e48565b806001600160a01b03163b600003620016a35760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007db565b600180546001600160a01b0319166001600160a01b0383169081179091556040516301ffc9a760e01b815263530ca14960e11b60048201526301ffc9a790602401602060405180830381865afa92505050801562001720575060408051601f3d908101601f191682019092526200171d9181019062004bd5565b60015b6200174a5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401620007db565b80620017755760405163fdeac91f60e01b81526001600160a01b0383166004820152602401620007db565b5050565b6000808062001789608c620035cf565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620017cf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620017f5919062004d65565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001849573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001873919081019062004fed565b9050600062001883828b62003781565b9050600260009054906101000a90046001600160a01b03166001600160a01b031663e283b4a985878f8f868f8f8f6040518963ffffffff1660e01b8152600401620018d698979695949392919062005552565b6020604051808303816000875af1158015620018f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200191c919062004c02565b95506200192b828d8c620038ce565b7f0dcadf661b8b2888423f78a848a77785b4dc0138395b12584835f6a65dfcea79846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200198b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620019b1919062004c02565b604080516001600160601b03928316815282891660208201529189169082015260600160405180910390a150505050509695505050505050565b33620019f662002be4565b6001600160a01b0316816001600160a01b03161462001a335760405162d1953b60e31b81526001600160a01b0382166004820152602401620007db565b816001600160a01b03163b60000362001a6b576040516361798f2f60e11b81526001600160a01b0383166004820152602401620007db565b6200177582620039dc565b60008062001a85608c620035cf565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001acb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001af1919062004d65565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa15801562001b45573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262001b6f919081019062004fed565b905060008160c0015180602001905181019062001b8d9190620050e7565b61014081018990526101608101889052610180810187905260405190915062001bbb908290602001620055d0565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001c11573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001c37919062004d65565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162001c6993929190620056ff565b600060405180830381600087803b15801562001c8457600080fd5b505af115801562001c99573d6000803e3d6000fd5b505050505050505050505050565b60008060008051602062005dd383398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801562001d19573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001d3f919062004bd5565b1562001dd0576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801562001da4573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001dca919062004d65565b91505090565b54600160601b90046001600160a01b0316919050565b62001df062002e48565b62001e7583846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001e34573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001e5a919062004c02565b603c600085604051806020016040528060008152506200095f565b6001600160a01b0382161562001e965762001e908262003a3e565b62002011565b600062001eab6001546001600160a01b031690565b6001600160a01b031663d39e60436028604051632392b61b60e21b81526003600482015273__$b659da7d8a6d2d32aa6c1e17da23dc2174$__90638e4ad86c90602401602060405180830381865af415801562001f0c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f32919062005736565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562001f78573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062001f9e919062004d65565b90506200200f816001600160a01b031663bf7e214f6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562001fe3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002009919062004d65565b62003a3e565b505b62002023634a531f3360e01b62000930565b6200203563b68d180960e01b62000930565b505050565b60008051602062005df3833981519152805460009190600160a01b900460ff166200206757600062001dca565b638fb3603760e01b91505090565b620020803362000bb0565b6000620020956001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201529091506000906001600160a01b0383169063a48f42e090602401600060405180830381865afa158015620020e9573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002113919081019062005201565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0384169063a48f42e090602401600060405180830381865afa1580156200216d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002197919081019062005201565b60208101516040516305247a1760e51b81526001600160601b0390911660048201529091506000906001600160a01b0385169063a48f42e090602401600060405180830381865afa158015620021f1573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200221b919081019062005201565b9050600081608001519050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968961010001518a6080015162002259919062005756565b6040518263ffffffff1660e01b81526004016200227891815260200190565b602060405180830381865af415801562002296573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620022bc919062004c02565b9050600073__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968a61012001518b60a00151620022f1919062005756565b6040518263ffffffff1660e01b81526004016200231091815260200190565b602060405180830381865af41580156200232e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002354919062004c02565b90506000620023f0620023e973__$3bac17678db7ae928afa209f2f44deec9c$__634c41dd968d600001516040518263ffffffff1660e01b81526004016200239e91815260200190565b602060405180830381865af4158015620023bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620023e2919062004c02565b8562003a53565b8362003a53565b9050620023fe898262003ae5565b6200243057604051639080fd1360e01b81526001600160601b0380831660048301528a166024820152604401620007db565b6040516330b8415f60e01b81526001600160601b038416600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801562002489573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620024af919062004bd5565b1562002716576000846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015620024f6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200251c919062004d65565b875160405163f0ea17c360e01b81526001600160601b0390911660048201526001600160a01b03919091169063f0ea17c390602401600060405180830381865afa1580156200256f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262002599919081019062004fed565b60a081015160405163274acb3560e01b81526001600160601b039182166004820152908616602482015290915073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb3590604401602060405180830381865af415801562002603573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002629919062004c02565b6001600160601b031660a082015260408051631a99b41b60e31b815290516001600160a01b0387169163d4cda0d89160048083019260209291908290030181865afa1580156200267d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620026a3919062004d65565b6001600160a01b031663a4eeee59886000015183620026c060ff90565b6040518463ffffffff1660e01b8152600401620026e093929190620056ff565b600060405180830381600087803b158015620026fb57600080fd5b505af115801562002710573d6000803e3d6000fd5b50505050505b6040516330b8415f60e01b81526001600160601b038316600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af41580156200276f573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002795919062004bd5565b156200281457600254604051632dd597e760e21b81526001600160a01b0386811660048301526001600160601b03808f166024840152851660448301529091169063b7565f9c90606401600060405180830381600087803b158015620027fa57600080fd5b505af11580156200280f573d6000803e3d6000fd5b505050505b5050505050505050505050565b60008062002830608c620035cf565b92505091506000816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002876573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200289c919062004d65565b60405163f0ea17c360e01b81526001600160601b03851660048201529091506000906001600160a01b0383169063f0ea17c390602401600060405180830381865afa158015620028f0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200291a919081019062004fed565b905060008160c00151806020019051810190620029389190620050e7565b90506200295f81602001516200294d62003b6f565b6001600160401b039081169116141590565b156200298a5760405163eff765ff60e01b81526001600160601b0386166004820152602401620007db565b6001600160401b038616602080830191909152604051620029ae91839101620055d0565b6040516020818303038152906040528260c00181905250836001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002a04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002a2a919062004d65565b6001600160a01b031663a4eeee59868460ff6040518463ffffffff1660e01b815260040162002a5c93929190620056ff565b600060405180830381600087803b15801562002a7757600080fd5b505af115801562002a8c573d6000803e3d6000fd5b5050604080516001600160601b03891681526001600160401b038a1660208201527fe7e6a7a42cbdb2d274dfaaac06073a09d6095ca3745ce71fe5a137f8247ea23e935001905060405180910390a1505050505050565b62002aee3362000bb0565b600254602082015160808301516101808401516001600160a01b039093169263ad328d9f928792879262002b23919062003bb1565b6040518563ffffffff1660e01b815260040162002b44949392919062005778565b600060405180830381600087803b15801562002b5f57600080fd5b505af115801562002b74573d6000803e3d6000fd5b50506002546040516301d90a6f60e61b81526001600160a01b0387811660048301526001600160601b038716602483015290911692506376429bc09150604401600060405180830381600087803b15801562002bcf57600080fd5b505af115801562001658573d6000803e3d6000fd5b60008051602062005df3833981519152546001600160a01b031690565b6000620005e9602862003bfd565b6000620005e9604662003bfd565b60008062002c2c608c620035cf565b600254604051632aa6b2cb60e21b81526001600160a01b0380841660048301526001600160601b0389166024830152949650919450929092169163aa9acb2c9150604401600060405180830381600087803b15801562002c8b57600080fd5b505af115801562002ca0573d6000803e3d6000fd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042816001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa15801562002d04573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002d2a919062004c02565b604080516001600160601b03928316815282861660208201529186169082015260600162000b55565b62002d5d62002e48565b62002d688162001661565b62002d7262000b62565b6001600160a01b03821662002d9a5760405163f17ef42d60e01b815260040160405180910390fd5b5060008051602062005dd383398151915280546001600160601b0316600160601b6001600160a01b0390931692909202919091179055565b62002ddd3362000bb0565b600254602083015160405163ad328d9f60e01b81526001600160a01b039092169163ad328d9f9162002e189188918891879060040162005778565b600060405180830381600087803b15801562002e3357600080fd5b505af115801562000a00573d6000803e3d6000fd5b60008051602062005e1383398151915254600160401b900460ff1662002e8157604051631afcd79f60e31b815260040160405180910390fd5b565b6200022562002e48565b60008051602062005df383398151915260008062002ed162002eae62002be4565b873062002ec0600460008a8c620057aa565b62002ecb91620057d6565b62003d13565b915091508162002f9e5763ffffffff81161562002f7a57825460ff60a01b1916600160a01b17835562002f0362002be4565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b815260040162002f349392919062005807565b600060405180830381600087803b15801562002f4f57600080fd5b505af115801562002f64573d6000803e3d6000fd5b5050845460ff60a01b191685555062002f9e9050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401620007db565b505050505050565b6001600160601b0382811690821614155b92915050565b6040516368aebf7b60e01b815260048082015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b906024015b602060405180830381865af415801562003011573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005e9919062004d45565b6040516301ffc9a760e01b815263bcb0007960e01b60048201528390339060009081906001600160a01b038516906301ffc9a790602401602060405180830381865afa1580156200308c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620030b2919062004bd5565b620030dc576040516359bff0e360e11b81526001600160a01b0388166004820152602401620007db565b6000846001600160a01b0316630fec111c6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200311d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003147919081019062005201565b90506200315f81604001518860ff9081169116141590565b15620031a1576040808201519051634a2e948760e11b81526001600160a01b038a16600482015260ff808a1660248301529091166044820152606401620007db565b60a08101516001600160a01b0385811690821614620031f55760a0820151604051632b50a20960e21b81526001600160a01b03808c16600483015291821660248201529086166044820152606401620007db565b81602001519250620032078362003e2b565b9350836001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa15801562003248573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200326e919062004d65565b6040516368fc2b7760e11b81526001600160401b03891660048201526001600160a01b038781166024830152919091169063d1f856ee90604401602060405180830381865afa158015620032c6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620032ec919062004bd5565b6200333457604051636af540d960e01b81526001600160601b03841660048201526001600160401b03881660248201526001600160a01b0386166044820152606401620007db565b505093509350935093565b6040516368aebf7b60e01b815261096a600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9060240162002ff3565b60008051602062005e138339815191528054600160401b810460ff1615906001600160401b0316600081158015620033b15750825b90506000826001600160401b03166001148015620033ce5750303b155b905081158015620033dd575080155b15620033fc5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156200342757845460ff60401b1916600160401b1785555b600080878060200190518101906200344091906200582e565b92505091506200345282828b62001de6565b6001546001600160a01b031663d39e604360dc6200346f62000561565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af4158015620034c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620034eb919062005736565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003531573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003557919062004d65565b600280546001600160a01b0319166001600160a01b039290921691909117905562003589630152d21960e61b62000930565b505083156200165857845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016200164f565b6000620035db62003fe8565b6000620035f06001546001600160a01b031690565b604051636939560f60e11b81523360048201526001600160a01b03919091169063d272ac1e90602401602060405180830381865afa15801562003637573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200365d919062004c02565b92506200366b838562003ec4565b8092508193505050806001600160a01b031663e5f6cd276040518163ffffffff1660e01b8152600401602060405180830381865afa158015620036b2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620036d8919062004d65565b6080830151604051629b7b3560e61b81526001600160a01b0391821660048201529116906326decd4090602401602060405180830381865afa15801562003723573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003749919062004bd5565b156200377a57608082015160405163d53987e560e01b81526001600160a01b039091166004820152602401620007db565b9193909250565b600081905060008360c00151806020019051810190620037a29190620050e7565b61016001516040516305deb8b760e01b815290915073__$58e11c6004c5796aaa8c56e718245e69a2$__906305deb8b790620037e390849060040162005877565b602060405180830381865af415801562003801573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003827919062004bd5565b15620038c757604051634f69237560e11b815281516004820152602082015160248201526001600160601b0384166044820152600090819073__$58e11c6004c5796aaa8c56e718245e69a2$__90639ed246ea906064016040805180830381865af41580156200389b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620038c191906200588f565b94505050505b5092915050565b604083810151606085015191516330b8415f60e01b81526001600160601b038416600482015290919073__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af415801562003934573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200395a919062004bd5565b15620039d55760405163c661667d60e01b81526001600160a01b03858116600483015282811660248301526001600160601b038516604483015283169063c661667d90606401600060405180830381600087803b158015620039bb57600080fd5b505af1158015620039d0573d6000803e3d6000fd5b505050505b5050505050565b60008051602062005df383398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b62003a4862002e48565b620003ee8162003fd3565b60405163274acb3560e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb35906044015b602060405180830381865af415801562003ab8573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003ade919062004c02565b9392505050565b60405163c4cade9d60e01b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c4cade9d90604401602060405180830381865af415801562003b49573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003ade919062004bd5565b6040516368aebf7b60e01b81526001600160401b03600482015260009073__$1d92393fa9ccd763988368ce8a1cb90d26$__906368aebf7b9060240162002ff3565b6040516363cf551160e11b81526001600160601b0380841660048301528216602482015260009073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa229060440162003a9a565b600062003c126001546001600160a01b031690565b6001600160a01b031663d39e60438362003c2b62000561565b60405163c9e66e2960e01b815262ffffff909116600482015273__$8eede297b65ed5a56eb3f84d8232ae93f5$__9063c9e66e2990602401602060405180830381865af415801562003c81573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062003ca7919062005736565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa15801562003ced573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062002fb7919062004d65565b6040516001600160a01b03848116602483015283811660448301526001600160e01b03198316606483015260009182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b1790525162003d849190620058c3565b600060405180830381855afa9150503d806000811462003dc1576040519150601f19603f3d011682016040523d82523d6000602084013e62003dc6565b606091505b5091509150811562003e2057604081511062003dfd578080602001905181019062003df29190620058e1565b909450925062003e20565b602081511062003e20578080602001905181019062003e1d919062004bd5565b93505b505094509492505050565b600062003e406001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03841660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003e90573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003eba919081019062005201565b6080015192915050565b62003ece62003fe8565b600062003ee36001546001600160a01b031690565b6040516305247a1760e51b81526001600160601b03861660048201526001600160a01b03919091169063a48f42e090602401600060405180830381865afa15801562003f33573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405262003f5d919081019062005201565b915062003f7582604001518460ff9081169116141590565b1562003fbb57608082015160408084015190516304081d4960e41b81526001600160a01b03909216600483015260ff8086166024840152166044820152606401620007db565b62003fca826020015162003e2b565b90509250929050565b62003fdd62002e48565b620003ee81620039dc565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082019290925260c081019190915290565b6104b5806200591e83390190565b6000602082840312156200404757600080fd5b81356001600160e01b03198116811462003ade57600080fd5b60005b838110156200407d57818101518382015260200162004063565b50506000910152565b60008151808452620040a081602086016020860162004060565b601f01601f19169290920160200192915050565b6020815260006001600160601b038084511660208401528060208501511660408401525060ff604084015116606083015260608301511515608083015260018060a01b0360808401511660a083015260a08301516200411e60c08401826001600160a01b03169052565b5060c083015160e0808401526200413a61010084018262004086565b949350505050565b6001600160a01b0381168114620003ee57600080fd5b6001600160601b0381168114620003ee57600080fd5b80356200417b8162004158565b919050565b60ff81168114620003ee57600080fd5b8015158114620003ee57600080fd5b634e487b7160e01b600052604160045260246000fd5b60405161022081016001600160401b0381118282101715620041db57620041db6200419f565b60405290565b604080519081016001600160401b0381118282101715620041db57620041db6200419f565b6040516101e081016001600160401b0381118282101715620041db57620041db6200419f565b60405161010081016001600160401b0381118282101715620041db57620041db6200419f565b60405161012081016001600160401b0381118282101715620041db57620041db6200419f565b60405160e081016001600160401b0381118282101715620041db57620041db6200419f565b6040516101a081016001600160401b0381118282101715620041db57620041db6200419f565b604051601f8201601f191681016001600160401b0381118282101715620042ee57620042ee6200419f565b604052919050565b60006001600160401b038211156200431257620043126200419f565b50601f01601f191660200190565b600082601f8301126200433257600080fd5b8135620043496200434382620042f6565b620042c3565b8181528460208386010111156200435f57600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c087890312156200439657600080fd5b8635620043a38162004142565b95506020870135620043b58162004158565b94506040870135620043c78162004180565b93506060870135620043d98162004190565b92506080870135620043eb8162004142565b915060a08701356001600160401b038111156200440757600080fd5b6200441589828a0162004320565b9150509295509295509295565b6000602082840312156200443557600080fd5b81356001600160401b038111156200444c57600080fd5b6200413a8482850162004320565b80356001600160c01b0319811681146200417b57600080fd5b64ffffffffff81168114620003ee57600080fd5b80356200417b8162004473565b803561ffff811681146200417b57600080fd5b60006102208284031215620044bb57600080fd5b620044c5620041b5565b9050620044d2826200416e565b8152620044e2602083016200416e565b6020820152620044f5604083016200445a565b604082015262004508606083016200445a565b60608201526200451b608083016200416e565b60808201526200452e60a083016200416e565b60a08201526200454160c083016200416e565b60c08201526200455460e0830162004487565b60e0820152610100808301356001600160401b03808211156200457657600080fd5b620045848683870162004320565b83850152610120925082850135915080821115620045a157600080fd5b50620045b08582860162004320565b828401525050610140620045c681840162004494565b90820152610160620045da83820162004494565b90820152610180620045ee8382016200416e565b908201526101a0620046028382016200416e565b908201526101c06200461683820162004487565b908201526101e06200462a83820162004487565b908201526102006200463e83820162004487565b9082015292915050565b600080600080600060a086880312156200466157600080fd5b85356200466e8162004142565b94506020860135620046808162004158565b93506040860135620046928162004158565b925060608601356001600160401b03811115620046ae57600080fd5b620046bc88828901620044a7565b9250506080860135620046cf8162004158565b809150509295509295909350565b600060208284031215620046f057600080fd5b813562003ade8162004142565b600080604083850312156200471157600080fd5b82356200471e8162004142565b915060208301356001600160401b038111156200473a57600080fd5b620047488582860162004320565b9150509250929050565b6000602082840312156200476557600080fd5b813562003ade8162004158565b6000604082840312156200478557600080fd5b6200478f620041e1565b9050813581526020820135602082015292915050565b60008060008060008060c08789031215620047bf57600080fd5b8635620047cc8162004142565b9550620047dd886020890162004772565b94506060870135620047ef8162004158565b93506080870135620048018162004473565b925060a08701356001600160401b03808211156200481e57600080fd5b818901915089601f8301126200483357600080fd5b8135818111156200484357600080fd5b8a60208285010111156200485657600080fd5b6020830194508093505050509295509295509295565b600080600060c084860312156200488257600080fd5b6200488e858562004772565b92506200489f856040860162004772565b9150620048b0856080860162004772565b90509250925092565b600080600060608486031215620048cf57600080fd5b8335620048dc8162004142565b92506020840135620048ee8162004142565b91506040840135620049008162004142565b809150509250925092565b60008060008385036102208112156200492357600080fd5b8435620049308162004158565b93506101e0601f1982018113156200494757600080fd5b6200495162004206565b91506020860135825260408601356020830152606086013560408301526080860135606083015260a0860135608083015260c086013560a083015260e086013560c08301526101008087013560e084015261012080880135828501526101409150818801358185015250610160808801358285015261018091508188013581850152506101a080880135828501526101c091508188013581850152508187013581840152505080925050620048b061020085016200416e565b6001600160401b0381168114620003ee57600080fd5b60006020828403121562004a3357600080fd5b813562003ade8162004a0a565b60008060006060848603121562004a5657600080fd5b833562004a638162004142565b9250602084013562004a758162004158565b915060408401356001600160401b0381111562004a9157600080fd5b62004a9f86828701620044a7565b9150509250925092565b6000806040838503121562004abd57600080fd5b823562004aca8162004142565b9150602083013562004adc8162004142565b809150509250929050565b6000806000806080858703121562004afe57600080fd5b843562004b0b8162004142565b9350602085013562004b1d8162004158565b925060408501356001600160401b0381111562004b3957600080fd5b62004b4787828801620044a7565b925050606085013562004b5a8162004158565b939692955090935050565b60006020828403121562004b7857600080fd5b815162ffffff8116811462003ade57600080fd5b600181811c9082168062004ba157607f821691505b60208210810362004bc257634e487b7160e01b600052602260045260246000fd5b50919050565b80516200417b8162004190565b60006020828403121562004be857600080fd5b815162003ade8162004190565b80516200417b8162004158565b60006020828403121562004c1557600080fd5b815162003ade8162004158565b601f8211156200203557600081815260208120601f850160051c8101602086101562004c4b5750805b601f850160051c820191505b8181101562002f9e5782815560010162004c57565b81516001600160401b0381111562004c885762004c886200419f565b62004ca08162004c99845462004b8c565b8462004c22565b602080601f83116001811462004cd8576000841562004cbf5750858301515b600019600386901b1c1916600185901b17855562002f9e565b600085815260208120601f198616915b8281101562004d095788860151825594840194600190910190840162004ce8565b508582101562004d285787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80516200417b8162004a0a565b60006020828403121562004d5857600080fd5b815162003ade8162004a0a565b60006020828403121562004d7857600080fd5b815162003ade8162004142565b80516200417b8162004142565b60006040828403121562004da557600080fd5b62004daf620041e1565b9050815181526020820151602082015292915050565b6000610140828403121562004dd957600080fd5b62004de36200422c565b62004dee8362004d85565b815262004dfe6020840162004d85565b602082015262004e116040840162004bf5565b604082015262004e246060840162004bf5565b606082015262004e38846080850162004d92565b608082015262004e4c8460c0850162004d92565b60a082015262004e60610100840162004bc8565b60c082015262004e74610120840162004d85565b60e08201529392505050565b600082601f83011262004e9257600080fd5b815162004ea36200434382620042f6565b81815284602083860101111562004eb957600080fd5b6200413a82602083016020870162004060565b80516200417b8162004473565b60006020828403121562004eec57600080fd5b81516001600160401b038082111562004f0457600080fd5b90830190610140828603121562004f1a57600080fd5b62004f2462004252565b62004f2f8362004bf5565b815262004f40866020850162004d92565b602082015260608301518281111562004f5857600080fd5b62004f668782860162004e80565b60408301525062004f7a6080840162004bf5565b606082015262004f8d60a0840162004bf5565b608082015262004fa060c0840162004bf5565b60a082015262004fb360e0840162004ecc565b60c0820152610100915062004fca82840162004ecc565b60e082015262004fde610120840162004ecc565b91810191909152949350505050565b6000602082840312156200500057600080fd5b81516001600160401b03808211156200501857600080fd5b9083019060e082860312156200502d57600080fd5b6200503762004278565b8251828111156200504757600080fd5b620050558782860162004e80565b825250620050666020840162004d85565b6020820152620050796040840162004d85565b60408201526200508c6060840162004d85565b60608201526200509f6080840162004bf5565b6080820152620050b260a0840162004bf5565b60a082015260c083015182811115620050ca57600080fd5b620050d88782860162004e80565b60c08301525095945050505050565b60006102008284031215620050fb57600080fd5b620051056200429d565b620051108362004bf5565b8152620051206020840162004d38565b6020820152620051336040840162004bf5565b6040820152620051466060840162004bf5565b6060820152620051596080840162004bf5565b60808201526200516c60a0840162004bc8565b60a08201526200517f60c0840162004bc8565b60c08201526200519260e0840162004bc8565b60e082015261010083810151908201526101208084015190820152610140620051be8582860162004d92565b90820152610180620051d38585830162004d92565b610160830152620051e9856101c0860162004d92565b908201529392505050565b80516200417b8162004180565b6000602082840312156200521457600080fd5b81516001600160401b03808211156200522c57600080fd5b9083019060e082860312156200524157600080fd5b6200524b62004278565b620052568362004bf5565b8152620052666020840162004bf5565b60208201526200527960408401620051f4565b60408201526200528c6060840162004bc8565b60608201526200529f6080840162004d85565b6080820152620050b260a0840162004d85565b60006001600160601b03808816835260a06020840152620052d760a084018862004086565b81871660408501528381036060850152620052f3818762004086565b9250508084166080840152509695505050505050565b6000815160e084526200532060e085018262004086565b9050602083015160018060a01b038082166020870152806040860151166040870152806060860151166060870152505060808301516001600160601b0380821660808701528060a08601511660a0870152505060c083015184820360c08601526200538c828262004086565b95945050505050565b6001600160601b03831681526040602082015260006200413a604083018462005309565b634e487b7160e01b600052603260045260246000fd5b600060208284031215620053e257600080fd5b81516001600160401b03811115620053f957600080fd5b6200413a8482850162004e80565b600081518084526020808501945080840160005b83811015620054425781516001600160401b0316875295820195908201906001016200541b565b509495945050505050565b6001600160601b03861681526000602060018060a01b0387168184015260a060408401526200548060a084018762004086565b8381036060850152855180825282820190600581901b830184018489016000805b848110156200550257868403601f19018652825180518086529089019089860190845b81811015620054ec5783516001600160e01b0319168352928b0192918b0191600101620054c4565b50509689019694505091870191600101620054a1565b505050868103608088015262005519818962005407565b9c9b505050505050505050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b0389811682526001600160601b03898116602084015288821660408401526000916101009162005596606086018b80518252602090810151910152565b881660a08501525064ffffffffff861660c084015260e08301819052620055c1818401858762005529565b9b9a5050505050505050505050565b81516001600160601b0316815261020081016020830151620055fd60208401826001600160401b03169052565b5060408301516200561960408401826001600160601b03169052565b5060608301516200563560608401826001600160601b03169052565b5060808301516200565160808401826001600160601b03169052565b5060a08301516200566660a084018215159052565b5060c08301516200567b60c084018215159052565b5060e08301516200569060e084018215159052565b50610100838101519083015261012080840151908301526101408084015180518285015260208101516101608501525050610160830151610180620056e18185018380518252602090810151910152565b84015180516101c085015260208101516101e08501529050620038c7565b6001600160601b038416815260606020820152600062005723606083018562005309565b905060ff83166040830152949350505050565b6000602082840312156200574957600080fd5b815162003ade8162004180565b8082018082111562002fb757634e487b7160e01b600052601160045260246000fd5b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b60008085851115620057bb57600080fd5b83861115620057c957600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015620057ff5780818660040360031b1b83161692505b505092915050565b6001600160a01b03841681526040602082018190526000906200538c908301848662005529565b6000806000606084860312156200584457600080fd5b8351620058518162004142565b6020850151909350620058648162004142565b6040850151909250620049008162004142565b81518152602080830151908201526040810162002fb7565b60008060408385031215620058a357600080fd5b8251620058b08162004158565b602084015190925062004adc8162004158565b60008251620058d781846020870162004060565b9190910192915050565b60008060408385031215620058f557600080fd5b8251620059028162004190565b602084015190925063ffffffff8116811462004adc57600080fdfe608060405234801561001057600080fd5b506040516104b53803806104b583398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610422806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806321df0da71461003b578063c661667d1461005a575b600080fd5b600054604080516001600160a01b039092168252519081900360200190f35b61006d61006836600461032a565b61006f565b005b60005460405163046e44af60e11b81526bffffffffffffffffffffffff8316600482015261010a916001600160a01b0316908590859073__$3bac17678db7ae928afa209f2f44deec9c$__906308dc895e90602401602060405180830381865af41580156100e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101059190610382565b61010f565b505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261016990859061016f565b50505050565b60006101846001600160a01b038416836101d7565b905080516000141580156101a95750808060200190518101906101a7919061039b565b155b1561010a57604051635274afe760e01b81526001600160a01b03841660048201526024015b60405180910390fd5b60606101e5838360006101ec565b9392505050565b6060814710156102115760405163cd78605960e01b81523060048201526024016101ce565b600080856001600160a01b0316848660405161022d91906103bd565b60006040518083038185875af1925050503d806000811461026a576040519150601f19603f3d011682016040523d82523d6000602084013e61026f565b606091505b509150915061027f868383610289565b9695505050505050565b60608261029e57610299826102e5565b6101e5565b81511580156102b557506001600160a01b0384163b155b156102de57604051639996b31560e01b81526001600160a01b03851660048201526024016101ce565b50806101e5565b8051156102f55780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b80356001600160a01b038116811461032557600080fd5b919050565b60008060006060848603121561033f57600080fd5b6103488461030e565b92506103566020850161030e565b915060408401356bffffffffffffffffffffffff8116811461037757600080fd5b809150509250925092565b60006020828403121561039457600080fd5b5051919050565b6000602082840312156103ad57600080fd5b815180151581146101e557600080fd5b6000825160005b818110156103de57602081860181015185830152016103c4565b50600092019182525091905056fea26469706673582212203db1aac92e21e780f4b5ce101e999c8f18a1f78b8f894aa6d113d336086f758564736f6c6343000814003307ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a2646970667358221220986e954aedff355c55c39e8c4408be471a0bda1071ae91dcc57212a943450cd664736f6c63430008140033",
1390
+ "linkReferences": {
1391
+ "contracts/type/Amount.sol": {
1392
+ "AmountLib": [
1393
+ {
1394
+ "length": 20,
1395
+ "start": 8976
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 9128
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 9288
1404
+ },
1405
+ {
1406
+ "length": 20,
1407
+ "start": 9524
1408
+ },
1409
+ {
1410
+ "length": 20,
1411
+ "start": 9902
1412
+ },
1413
+ {
1414
+ "length": 20,
1415
+ "start": 10266
1416
+ },
1417
+ {
1418
+ "length": 20,
1419
+ "start": 14815
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 15202
1424
+ },
1425
+ {
1426
+ "length": 20,
1427
+ "start": 15348
1428
+ },
1429
+ {
1430
+ "length": 20,
1431
+ "start": 15552
1432
+ },
1433
+ {
1434
+ "length": 20,
1435
+ "start": 23358
1436
+ }
1437
+ ]
1438
+ },
1439
+ "contracts/type/Fee.sol": {
1440
+ "FeeLib": [
1441
+ {
1442
+ "length": 20,
1443
+ "start": 14495
1444
+ },
1445
+ {
1446
+ "length": 20,
1447
+ "start": 14663
1448
+ }
1449
+ ]
1450
+ },
1451
+ "contracts/type/NftId.sol": {
1452
+ "NftIdLib": [
1453
+ {
1454
+ "length": 20,
1455
+ "start": 2103
1456
+ },
1457
+ {
1458
+ "length": 20,
1459
+ "start": 7620
1460
+ }
1461
+ ]
1462
+ },
1463
+ "contracts/type/RoleId.sol": {
1464
+ "RoleIdLib": [
1465
+ {
1466
+ "length": 20,
1467
+ "start": 12475
1468
+ },
1469
+ {
1470
+ "length": 20,
1471
+ "start": 13375
1472
+ },
1473
+ {
1474
+ "length": 20,
1475
+ "start": 15476
1476
+ }
1477
+ ]
1478
+ },
1479
+ "contracts/type/Version.sol": {
1480
+ "VersionLib": [
1481
+ {
1482
+ "length": 20,
1483
+ "start": 1646
1484
+ },
1485
+ {
1486
+ "length": 20,
1487
+ "start": 2802
1488
+ },
1489
+ {
1490
+ "length": 20,
1491
+ "start": 13680
1492
+ },
1493
+ {
1494
+ "length": 20,
1495
+ "start": 15660
1496
+ }
1497
+ ],
1498
+ "VersionPartLib": [
1499
+ {
1500
+ "length": 20,
1501
+ "start": 8119
1502
+ }
1503
+ ]
1504
+ }
1505
+ },
1506
+ "deployedLinkReferences": {
1507
+ "contracts/type/Amount.sol": {
1508
+ "AmountLib": [
1509
+ {
1510
+ "length": 20,
1511
+ "start": 8746
1512
+ },
1513
+ {
1514
+ "length": 20,
1515
+ "start": 8898
1516
+ },
1517
+ {
1518
+ "length": 20,
1519
+ "start": 9058
1520
+ },
1521
+ {
1522
+ "length": 20,
1523
+ "start": 9294
1524
+ },
1525
+ {
1526
+ "length": 20,
1527
+ "start": 9672
1528
+ },
1529
+ {
1530
+ "length": 20,
1531
+ "start": 10036
1532
+ },
1533
+ {
1534
+ "length": 20,
1535
+ "start": 14585
1536
+ },
1537
+ {
1538
+ "length": 20,
1539
+ "start": 14972
1540
+ },
1541
+ {
1542
+ "length": 20,
1543
+ "start": 15118
1544
+ },
1545
+ {
1546
+ "length": 20,
1547
+ "start": 15322
1548
+ },
1549
+ {
1550
+ "length": 20,
1551
+ "start": 23128
1552
+ }
1553
+ ]
1554
+ },
1555
+ "contracts/type/Fee.sol": {
1556
+ "FeeLib": [
1557
+ {
1558
+ "length": 20,
1559
+ "start": 14265
1560
+ },
1561
+ {
1562
+ "length": 20,
1563
+ "start": 14433
1564
+ }
1565
+ ]
1566
+ },
1567
+ "contracts/type/NftId.sol": {
1568
+ "NftIdLib": [
1569
+ {
1570
+ "length": 20,
1571
+ "start": 1873
1572
+ },
1573
+ {
1574
+ "length": 20,
1575
+ "start": 7390
1576
+ }
1577
+ ]
1578
+ },
1579
+ "contracts/type/RoleId.sol": {
1580
+ "RoleIdLib": [
1581
+ {
1582
+ "length": 20,
1583
+ "start": 12245
1584
+ },
1585
+ {
1586
+ "length": 20,
1587
+ "start": 13145
1588
+ },
1589
+ {
1590
+ "length": 20,
1591
+ "start": 15246
1592
+ }
1593
+ ]
1594
+ },
1595
+ "contracts/type/Version.sol": {
1596
+ "VersionLib": [
1597
+ {
1598
+ "length": 20,
1599
+ "start": 1416
1600
+ },
1601
+ {
1602
+ "length": 20,
1603
+ "start": 2572
1604
+ },
1605
+ {
1606
+ "length": 20,
1607
+ "start": 13450
1608
+ },
1609
+ {
1610
+ "length": 20,
1611
+ "start": 15430
1612
+ }
1613
+ ],
1614
+ "VersionPartLib": [
1615
+ {
1616
+ "length": 20,
1617
+ "start": 7889
1618
+ }
1619
+ ]
1620
+ }
1621
+ }
1622
+ }