@etherisc/gif-next 0.0.2-ff8087d-237 → 0.0.2-ffa91a6-022

Sign up to get free protection for your applications and to get access to all the features.
Files changed (721) hide show
  1. package/README.md +77 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1007 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +744 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +791 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1494 -0
  10. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdmin.sol/IAccessManagedChecker.json +24 -0
  12. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +673 -0
  14. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  16. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +615 -0
  18. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  19. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  20. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.json +1224 -0
  22. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +382 -0
  24. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +167 -0
  26. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  27. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +253 -0
  28. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1209 -0
  30. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +644 -0
  32. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  33. package/artifacts/contracts/{components/IDistributionComponent.sol/IDistributionComponent.json → distribution/Distribution.sol/Distribution.json} +261 -331
  34. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1580 -0
  36. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  37. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +868 -0
  38. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  39. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +829 -0
  40. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  41. package/artifacts/contracts/{instance/service → distribution}/IDistributionService.sol/IDistributionService.json +318 -306
  42. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  44. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1445 -0
  46. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +644 -0
  48. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2002 -0
  50. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  51. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +644 -0
  52. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  53. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1388 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +644 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1152 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1612 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +644 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2389 -0
  66. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  67. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +644 -0
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  71. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +384 -2276
  72. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +284 -82
  74. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  75. package/artifacts/contracts/instance/Instance.sol/Instance.json +534 -2908
  76. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  77. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2036 -0
  78. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +716 -0
  80. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  81. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1406 -517
  82. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +310 -361
  84. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +153 -143
  86. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  87. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3728 -0
  88. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  89. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +853 -0
  90. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  92. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  93. package/artifacts/contracts/instance/{Cloneable.sol → base/Cloneable.sol}/Cloneable.json +1 -54
  94. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  96. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  97. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  98. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  100. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  102. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  103. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  104. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  105. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  106. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  107. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  108. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  109. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  110. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +938 -0
  111. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  112. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +632 -0
  113. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  115. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +753 -0
  117. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  118. package/artifacts/contracts/{instance/service/IPolicyService.sol/IPolicyService.json → oracle/IOracleService.sol/IOracleService.json} +280 -198
  119. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  120. package/artifacts/contracts/{components/Component.sol/Component.json → oracle/Oracle.sol/Oracle.json} +234 -253
  121. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +997 -0
  123. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +764 -0
  125. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  126. package/artifacts/contracts/{components/IPoolComponent.sol/IPoolComponent.json → pool/BasicPool.sol/BasicPool.json} +398 -262
  127. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  128. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +644 -0
  129. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  130. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1261 -0
  131. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  132. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +800 -0
  133. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  134. package/artifacts/contracts/{instance/service → pool}/IBundleService.sol/IBundleService.json +223 -73
  135. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  136. package/artifacts/contracts/{components/IProductComponent.sol/IProductComponent.json → pool/IPoolComponent.sol/IPoolComponent.json} +321 -296
  137. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  138. package/artifacts/contracts/{instance/service → pool}/IPoolService.sol/IPoolService.json +511 -358
  139. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  140. package/artifacts/contracts/pool/Pool.sol/Pool.json +1006 -0
  141. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  142. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +456 -0
  143. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  144. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1574 -0
  145. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  146. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +808 -0
  147. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  148. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +879 -0
  149. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  150. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +740 -0
  151. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  152. package/artifacts/contracts/{components/Product.sol/Product.json → product/BasicProduct.sol/BasicProduct.json} +415 -473
  153. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  154. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +644 -0
  155. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  156. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1496 -0
  157. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  158. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +848 -0
  159. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  160. package/artifacts/contracts/{instance/service → product}/IApplicationService.sol/IApplicationService.json +155 -135
  161. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  162. package/artifacts/contracts/{instance/service → product}/IClaimService.sol/IClaimService.json +338 -17
  163. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  164. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +981 -0
  165. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  166. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +623 -0
  167. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  168. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +997 -0
  169. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  170. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → product/IRiskService.sol/IRiskService.json} +100 -62
  171. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  172. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1333 -0
  173. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  174. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +293 -0
  175. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  176. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +808 -0
  177. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  178. package/artifacts/contracts/product/PricingService.sol/PricingService.json +951 -0
  179. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  180. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +784 -0
  181. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  182. package/artifacts/contracts/product/Product.sol/Product.json +1098 -0
  183. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  184. package/artifacts/contracts/product/RiskService.sol/RiskService.json +688 -0
  185. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  186. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +736 -0
  187. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  188. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  189. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  190. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +483 -29
  191. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  192. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +291 -106
  193. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  194. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  195. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  196. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  197. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  198. package/artifacts/contracts/registry/Registry.sol/Registry.json +982 -137
  199. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  200. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2018 -0
  201. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  202. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +878 -0
  203. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  204. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +362 -243
  205. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  206. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +164 -86
  207. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  208. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +1954 -0
  209. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  210. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  211. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1337 -0
  213. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +272 -0
  215. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  216. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +317 -141
  217. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  218. package/artifacts/contracts/shared/Component.sol/Component.json +686 -0
  219. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  220. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1556 -0
  221. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  222. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +816 -0
  223. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  224. package/artifacts/contracts/{instance/base/ComponentService.sol/ComponentService.json → shared/ComponentVerifyingService.sol/ComponentVerifyingService.json} +60 -206
  225. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +597 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  233. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  234. package/artifacts/contracts/{components → shared}/IComponent.sol/IComponent.json +117 -142
  235. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  236. package/artifacts/contracts/{components/Distribution.sol/Distribution.json → shared/IComponentService.sol/IComponentService.json} +608 -788
  237. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  238. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +688 -0
  239. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  240. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +95 -14
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +23 -1
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +154 -0
  249. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IService.sol/IService.json +74 -2
  252. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  254. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +776 -0
  256. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  257. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +538 -0
  258. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  259. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  260. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  261. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  262. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  263. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +28 -57
  264. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  265. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  266. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  267. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -90
  268. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  269. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  270. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  271. package/artifacts/contracts/shared/Service.sol/Service.json +67 -102
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +617 -8
  274. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  276. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  277. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  278. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  279. package/artifacts/contracts/{components/Pool.sol/Pool.json → staking/IStaking.sol/IStaking.json} +673 -589
  280. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  281. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1167 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +1888 -0
  284. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +469 -0
  286. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  287. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +205 -0
  288. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +792 -0
  290. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  291. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +560 -0
  292. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  293. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1380 -0
  294. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +736 -0
  296. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  297. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2297 -0
  298. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +617 -0
  300. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  302. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  304. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  306. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  308. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  310. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  312. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  313. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  314. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  315. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  316. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +228 -0
  318. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  319. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  320. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  321. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +241 -0
  322. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  323. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  324. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  325. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  326. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  327. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  328. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +204 -0
  330. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  331. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +433 -0
  332. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  333. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  334. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  335. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  336. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  338. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +105 -0
  340. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  341. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  342. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  343. package/artifacts/contracts/{types → type}/Timestamp.sol/TimestampLib.json +39 -7
  344. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  345. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  346. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  347. package/artifacts/contracts/type/Version.sol/VersionLib.json +158 -0
  348. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  349. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +167 -0
  350. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  351. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +1 -1
  352. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  353. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +618 -0
  354. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  356. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  357. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +1 -1
  358. package/contracts/accounting/AccountingService.sol +262 -0
  359. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  360. package/contracts/accounting/IAccountingService.sol +45 -0
  361. package/contracts/authorization/AccessAdmin.sol +704 -0
  362. package/contracts/authorization/AccessAdminLib.sol +183 -0
  363. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  364. package/contracts/authorization/Authorization.sol +365 -0
  365. package/contracts/authorization/IAccess.sol +49 -0
  366. package/contracts/authorization/IAccessAdmin.sol +170 -0
  367. package/contracts/authorization/IAuthorization.sol +80 -0
  368. package/contracts/authorization/IServiceAuthorization.sol +40 -0
  369. package/contracts/authorization/ServiceAuthorization.sol +106 -0
  370. package/contracts/distribution/BasicDistribution.sol +141 -0
  371. package/contracts/distribution/BasicDistributionAuthorization.sol +60 -0
  372. package/contracts/distribution/Distribution.sol +244 -0
  373. package/contracts/distribution/DistributionService.sol +385 -0
  374. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  375. package/contracts/distribution/IDistributionComponent.sol +43 -0
  376. package/contracts/distribution/IDistributionService.sol +103 -0
  377. package/contracts/examples/fire/DamageLevel.sol +59 -0
  378. package/contracts/examples/fire/FirePool.sol +86 -0
  379. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  380. package/contracts/examples/fire/FireProduct.sol +433 -0
  381. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  382. package/contracts/examples/fire/FireUSD.sol +26 -0
  383. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  384. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  385. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  386. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  387. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  388. package/contracts/examples/unpermissioned/SimpleProduct.sol +373 -0
  389. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  390. package/contracts/instance/BundleSet.sol +130 -0
  391. package/contracts/instance/IInstance.sol +78 -77
  392. package/contracts/instance/IInstanceService.sol +51 -30
  393. package/contracts/instance/Instance.sol +202 -224
  394. package/contracts/instance/InstanceAdmin.sol +450 -0
  395. package/contracts/instance/InstanceAuthorizationV3.sol +235 -0
  396. package/contracts/instance/InstanceReader.sol +366 -82
  397. package/contracts/instance/InstanceService.sol +317 -339
  398. package/contracts/instance/InstanceServiceManager.sol +14 -29
  399. package/contracts/instance/InstanceStore.sol +298 -0
  400. package/contracts/instance/RiskSet.sol +118 -0
  401. package/contracts/instance/base/BalanceStore.sol +123 -0
  402. package/contracts/instance/base/Cloneable.sol +28 -0
  403. package/contracts/instance/base/ObjectCounter.sol +20 -0
  404. package/contracts/instance/base/ObjectLifecycle.sol +113 -0
  405. package/contracts/instance/base/ObjectSet.sol +77 -0
  406. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  407. package/contracts/instance/module/IBundle.sol +6 -9
  408. package/contracts/instance/module/IComponents.sol +28 -19
  409. package/contracts/instance/module/IDistribution.sol +10 -8
  410. package/contracts/instance/module/IPolicy.sol +41 -33
  411. package/contracts/instance/module/IRisk.sol +4 -1
  412. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  413. package/contracts/oracle/BasicOracle.sol +45 -0
  414. package/contracts/oracle/BasicOracleAuthorization.sol +37 -0
  415. package/contracts/oracle/IOracle.sol +36 -0
  416. package/contracts/oracle/IOracleComponent.sol +33 -0
  417. package/contracts/oracle/IOracleService.sol +66 -0
  418. package/contracts/oracle/Oracle.sol +154 -0
  419. package/contracts/oracle/OracleService.sol +310 -0
  420. package/contracts/oracle/OracleServiceManager.sol +39 -0
  421. package/contracts/pool/BasicPool.sol +173 -0
  422. package/contracts/pool/BasicPoolAuthorization.sol +76 -0
  423. package/contracts/pool/BundleService.sol +395 -0
  424. package/contracts/pool/BundleServiceManager.sol +39 -0
  425. package/contracts/{instance/service → pool}/IBundleService.sol +43 -46
  426. package/contracts/pool/IPoolComponent.sol +62 -0
  427. package/contracts/pool/IPoolService.sol +165 -0
  428. package/contracts/pool/Pool.sol +343 -0
  429. package/contracts/pool/PoolLib.sol +216 -0
  430. package/contracts/pool/PoolService.sol +755 -0
  431. package/contracts/pool/PoolServiceManager.sol +39 -0
  432. package/contracts/product/ApplicationService.sol +274 -0
  433. package/contracts/{instance/service → product}/ApplicationServiceManager.sol +12 -9
  434. package/contracts/product/BasicProduct.sol +49 -0
  435. package/contracts/product/BasicProductAuthorization.sol +56 -0
  436. package/contracts/product/ClaimService.sol +632 -0
  437. package/contracts/{instance/service → product}/ClaimServiceManager.sol +12 -9
  438. package/contracts/{instance/service → product}/IApplicationService.sol +19 -29
  439. package/contracts/{instance/service → product}/IClaimService.sol +64 -19
  440. package/contracts/product/IPolicyService.sol +95 -0
  441. package/contracts/product/IPricingService.sol +40 -0
  442. package/contracts/product/IProductComponent.sol +62 -0
  443. package/contracts/product/IRiskService.sol +33 -0
  444. package/contracts/product/PolicyService.sol +664 -0
  445. package/contracts/product/PolicyServiceLib.sol +65 -0
  446. package/contracts/product/PolicyServiceManager.sol +39 -0
  447. package/contracts/product/PricingService.sol +309 -0
  448. package/contracts/product/PricingServiceManager.sol +39 -0
  449. package/contracts/product/Product.sol +467 -0
  450. package/contracts/product/RiskService.sol +154 -0
  451. package/contracts/product/RiskServiceManager.sol +39 -0
  452. package/contracts/registry/ChainNft.sol +79 -40
  453. package/contracts/registry/IRegistry.sol +95 -30
  454. package/contracts/registry/IRegistryService.sol +34 -38
  455. package/contracts/registry/IRelease.sol +26 -0
  456. package/contracts/registry/ITransferInterceptor.sol +1 -2
  457. package/contracts/registry/Registry.sol +460 -197
  458. package/contracts/registry/RegistryAdmin.sol +258 -0
  459. package/contracts/registry/RegistryAuthorization.sol +267 -0
  460. package/contracts/registry/RegistryService.sol +89 -130
  461. package/contracts/registry/RegistryServiceManager.sol +23 -32
  462. package/contracts/registry/ReleaseAdmin.sol +253 -0
  463. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  464. package/contracts/registry/ReleaseRegistry.sol +517 -0
  465. package/contracts/registry/ServiceAuthorizationV3.sol +331 -0
  466. package/contracts/registry/TokenRegistry.sol +261 -64
  467. package/contracts/shared/Component.sol +210 -0
  468. package/contracts/shared/ComponentService.sol +708 -0
  469. package/contracts/shared/ComponentServiceManager.sol +38 -0
  470. package/contracts/shared/ComponentVerifyingService.sol +128 -0
  471. package/contracts/shared/ContractLib.sol +281 -0
  472. package/contracts/shared/IComponent.sol +58 -0
  473. package/contracts/shared/IComponentService.sol +112 -0
  474. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  475. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  476. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  477. package/contracts/shared/INftOwnable.sol +4 -2
  478. package/contracts/shared/IPolicyHolder.sol +16 -21
  479. package/contracts/shared/IRegisterable.sol +23 -1
  480. package/contracts/shared/IService.sol +12 -7
  481. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  482. package/contracts/shared/InstanceLinkedComponent.sol +195 -0
  483. package/contracts/shared/KeyValueStore.sol +131 -0
  484. package/contracts/shared/Lifecycle.sol +88 -0
  485. package/contracts/shared/NftIdSet.sol +65 -0
  486. package/contracts/shared/NftOwnable.sol +34 -25
  487. package/contracts/shared/PolicyHolder.sol +20 -52
  488. package/contracts/shared/Registerable.sol +55 -24
  489. package/contracts/shared/RegistryLinked.sol +9 -14
  490. package/contracts/shared/Service.sol +33 -40
  491. package/contracts/shared/TokenHandler.sol +320 -13
  492. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  493. package/contracts/staking/IStaking.sol +175 -0
  494. package/contracts/staking/IStakingService.sol +172 -0
  495. package/contracts/staking/Staking.sol +546 -0
  496. package/contracts/staking/StakingLib.sol +281 -0
  497. package/contracts/staking/StakingLifecycle.sol +23 -0
  498. package/contracts/staking/StakingManager.sol +52 -0
  499. package/contracts/staking/StakingReader.sol +180 -0
  500. package/contracts/staking/StakingService.sol +464 -0
  501. package/contracts/staking/StakingServiceManager.sol +45 -0
  502. package/contracts/staking/StakingStore.sol +606 -0
  503. package/contracts/staking/TargetManagerLib.sol +211 -0
  504. package/contracts/{types → type}/AddressSet.sol +1 -1
  505. package/contracts/{types → type}/Amount.sol +44 -3
  506. package/contracts/{types → type}/Blocknumber.sol +26 -3
  507. package/contracts/{types → type}/ClaimId.sol +6 -1
  508. package/contracts/{types → type}/Fee.sol +17 -16
  509. package/contracts/{types → type}/Key32.sol +2 -2
  510. package/contracts/type/Key32Set.sol +62 -0
  511. package/contracts/{types → type}/NftId.sol +21 -16
  512. package/contracts/{types → type}/NftIdSet.sol +2 -2
  513. package/contracts/type/ObjectType.sol +294 -0
  514. package/contracts/{types → type}/PayoutId.sol +10 -10
  515. package/contracts/{types → type}/Referral.sol +2 -1
  516. package/contracts/type/RequestId.sol +75 -0
  517. package/contracts/type/RiskId.sol +75 -0
  518. package/contracts/type/RoleId.sol +182 -0
  519. package/contracts/type/Seconds.sol +101 -0
  520. package/contracts/type/Selector.sol +107 -0
  521. package/contracts/{types → type}/StateId.sol +41 -2
  522. package/contracts/type/String.sol +53 -0
  523. package/contracts/{types → type}/Timestamp.sol +16 -7
  524. package/contracts/{types → type}/UFixed.sol +40 -121
  525. package/contracts/{types → type}/Version.sol +58 -7
  526. package/contracts/{shared → upgradeability}/IVersionable.sol +1 -1
  527. package/contracts/{shared → upgradeability}/ProxyManager.sol +93 -30
  528. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  529. package/contracts/{shared → upgradeability}/Versionable.sol +3 -3
  530. package/package.json +12 -8
  531. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  532. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  533. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +0 -4
  534. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  535. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  536. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  537. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  538. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  539. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  540. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  541. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  542. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  543. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +0 -4
  544. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  545. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1330
  546. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  547. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +0 -256
  548. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  550. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  552. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -532
  553. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  554. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -194
  555. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  556. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  557. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  558. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  559. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  560. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +0 -4
  561. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +0 -1124
  562. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +0 -4
  563. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +0 -688
  564. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +0 -4
  565. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +0 -1283
  566. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +0 -4
  567. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +0 -696
  568. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +0 -4
  569. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +0 -1384
  570. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +0 -4
  571. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +0 -752
  572. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +0 -4
  573. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +0 -1847
  574. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +0 -4
  575. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +0 -816
  576. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +0 -4
  577. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +0 -4
  578. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +0 -4
  579. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  580. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +0 -4
  581. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  582. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  583. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +0 -4
  584. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +0 -1281
  585. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +0 -4
  586. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +0 -740
  587. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +0 -4
  588. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +0 -1622
  589. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +0 -4
  590. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +0 -708
  591. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +0 -4
  592. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +0 -864
  593. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  594. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +0 -640
  595. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  596. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  597. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  598. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -559
  599. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  600. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  601. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  602. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  603. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  604. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  605. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  606. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  607. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  608. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  609. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  610. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  611. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  612. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -370
  613. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  614. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  615. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  616. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -588
  617. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  618. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  619. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  620. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  621. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  622. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -104
  623. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  624. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  625. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  626. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  627. package/artifacts/contracts/types/Amount.sol/AmountLib.dbg.json +0 -4
  628. package/artifacts/contracts/types/Amount.sol/AmountLib.json +0 -281
  629. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  630. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  631. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  632. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  633. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +0 -4
  634. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +0 -179
  635. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  636. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  637. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  638. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -312
  639. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  640. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  641. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  642. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -166
  643. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  644. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -33
  645. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  646. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  647. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  648. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  649. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +0 -4
  650. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +0 -209
  651. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  652. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -142
  653. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  654. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  655. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  656. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  657. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +0 -4
  658. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +0 -124
  659. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  660. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +0 -92
  661. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  662. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  663. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  664. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  665. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  666. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  667. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  668. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  669. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -49
  670. package/contracts/components/Component.sol +0 -272
  671. package/contracts/components/Distribution.sol +0 -285
  672. package/contracts/components/IComponent.sol +0 -90
  673. package/contracts/components/IDistributionComponent.sol +0 -71
  674. package/contracts/components/IPoolComponent.sol +0 -114
  675. package/contracts/components/IProductComponent.sol +0 -41
  676. package/contracts/components/Pool.sol +0 -302
  677. package/contracts/components/Product.sol +0 -372
  678. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -13
  679. package/contracts/instance/BundleManager.sol +0 -126
  680. package/contracts/instance/Cloneable.sol +0 -51
  681. package/contracts/instance/InstanceAccessManager.sol +0 -527
  682. package/contracts/instance/ObjectManager.sol +0 -82
  683. package/contracts/instance/base/ComponentService.sol +0 -130
  684. package/contracts/instance/base/KeyValueStore.sol +0 -149
  685. package/contracts/instance/base/Lifecycle.sol +0 -120
  686. package/contracts/instance/module/IAccess.sol +0 -54
  687. package/contracts/instance/module/ISetup.sol +0 -33
  688. package/contracts/instance/module/ITreasury.sol +0 -23
  689. package/contracts/instance/service/ApplicationService.sol +0 -356
  690. package/contracts/instance/service/BundleService.sol +0 -385
  691. package/contracts/instance/service/BundleServiceManager.sol +0 -51
  692. package/contracts/instance/service/ClaimService.sol +0 -443
  693. package/contracts/instance/service/DistributionService.sol +0 -432
  694. package/contracts/instance/service/DistributionServiceManager.sol +0 -51
  695. package/contracts/instance/service/IDistributionService.sol +0 -101
  696. package/contracts/instance/service/IPolicyService.sol +0 -80
  697. package/contracts/instance/service/IPoolService.sol +0 -114
  698. package/contracts/instance/service/IProductService.sol +0 -40
  699. package/contracts/instance/service/PolicyService.sol +0 -372
  700. package/contracts/instance/service/PolicyServiceManager.sol +0 -54
  701. package/contracts/instance/service/PoolService.sol +0 -403
  702. package/contracts/instance/service/PoolServiceManager.sol +0 -51
  703. package/contracts/instance/service/ProductService.sol +0 -210
  704. package/contracts/instance/service/ProductServiceManager.sol +0 -54
  705. package/contracts/registry/RegistryAccessManager.sol +0 -216
  706. package/contracts/registry/ReleaseManager.sol +0 -324
  707. package/contracts/shared/ContractDeployerLib.sol +0 -72
  708. package/contracts/test/TestFee.sol +0 -25
  709. package/contracts/test/TestRegisterable.sol +0 -18
  710. package/contracts/test/TestRoleId.sol +0 -14
  711. package/contracts/test/TestService.sol +0 -25
  712. package/contracts/test/TestToken.sol +0 -26
  713. package/contracts/test/TestVersion.sol +0 -44
  714. package/contracts/test/TestVersionable.sol +0 -17
  715. package/contracts/types/ChainId.sol +0 -38
  716. package/contracts/types/NumberId.sol +0 -52
  717. package/contracts/types/ObjectType.sol +0 -157
  718. package/contracts/types/RiskId.sol +0 -43
  719. package/contracts/types/RoleId.sol +0 -97
  720. package/contracts/types/Seconds.sol +0 -54
  721. /package/contracts/{types → type}/DistributorType.sol +0 -0
@@ -0,0 +1,1574 @@
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": "authority",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorAuthorityInvalid",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "nftId",
60
+ "type": "uint96"
61
+ }
62
+ ],
63
+ "name": "ErrorNftOwnableAlreadyLinked",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "contractAddress",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorNftOwnableContractNotRegistered",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [],
79
+ "name": "ErrorNftOwnableInitialOwnerZero",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [
84
+ {
85
+ "internalType": "NftId",
86
+ "name": "nftId",
87
+ "type": "uint96"
88
+ },
89
+ {
90
+ "internalType": "ObjectType",
91
+ "name": "expectedObjectType",
92
+ "type": "uint8"
93
+ }
94
+ ],
95
+ "name": "ErrorNftOwnableInvalidType",
96
+ "type": "error"
97
+ },
98
+ {
99
+ "inputs": [
100
+ {
101
+ "internalType": "address",
102
+ "name": "account",
103
+ "type": "address"
104
+ }
105
+ ],
106
+ "name": "ErrorNftOwnableNotOwner",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "registryAddress",
114
+ "type": "address"
115
+ }
116
+ ],
117
+ "name": "ErrorNotRegistry",
118
+ "type": "error"
119
+ },
120
+ {
121
+ "inputs": [
122
+ {
123
+ "internalType": "NftId",
124
+ "name": "poolNftId",
125
+ "type": "uint96"
126
+ }
127
+ ],
128
+ "name": "ErrorPoolServiceBundleOwnerRoleAlreadySet",
129
+ "type": "error"
130
+ },
131
+ {
132
+ "inputs": [
133
+ {
134
+ "internalType": "NftId",
135
+ "name": "bundleNftId",
136
+ "type": "uint96"
137
+ },
138
+ {
139
+ "internalType": "NftId",
140
+ "name": "poolNftId",
141
+ "type": "uint96"
142
+ }
143
+ ],
144
+ "name": "ErrorPoolServiceBundlePoolMismatch",
145
+ "type": "error"
146
+ },
147
+ {
148
+ "inputs": [
149
+ {
150
+ "internalType": "Amount",
151
+ "name": "amount",
152
+ "type": "uint96"
153
+ },
154
+ {
155
+ "internalType": "Amount",
156
+ "name": "limit",
157
+ "type": "uint96"
158
+ }
159
+ ],
160
+ "name": "ErrorPoolServiceFeesWithdrawAmountExceedsLimit",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "Amount",
167
+ "name": "expectedAmount",
168
+ "type": "uint96"
169
+ },
170
+ {
171
+ "internalType": "Amount",
172
+ "name": "actualAmount",
173
+ "type": "uint96"
174
+ }
175
+ ],
176
+ "name": "ErrorPoolServiceInvalidTransferAmount",
177
+ "type": "error"
178
+ },
179
+ {
180
+ "inputs": [
181
+ {
182
+ "internalType": "NftId",
183
+ "name": "poolNftId",
184
+ "type": "uint96"
185
+ },
186
+ {
187
+ "internalType": "Amount",
188
+ "name": "maxBalanceAmount",
189
+ "type": "uint96"
190
+ },
191
+ {
192
+ "internalType": "Amount",
193
+ "name": "currentBalanceAmount",
194
+ "type": "uint96"
195
+ },
196
+ {
197
+ "internalType": "Amount",
198
+ "name": "transferAmount",
199
+ "type": "uint96"
200
+ }
201
+ ],
202
+ "name": "ErrorPoolServiceMaxBalanceAmountExceeded",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [
207
+ {
208
+ "internalType": "NftId",
209
+ "name": "policyNftId",
210
+ "type": "uint96"
211
+ },
212
+ {
213
+ "internalType": "NftId",
214
+ "name": "productNftId",
215
+ "type": "uint96"
216
+ },
217
+ {
218
+ "internalType": "NftId",
219
+ "name": "expectedProductNftId",
220
+ "type": "uint96"
221
+ }
222
+ ],
223
+ "name": "ErrorPoolServicePolicyPoolMismatch",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [
228
+ {
229
+ "internalType": "NftId",
230
+ "name": "poolNftId",
231
+ "type": "uint96"
232
+ }
233
+ ],
234
+ "name": "ErrorPoolServicePoolNotExternallyManaged",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [],
239
+ "name": "ErrorRegisterableNotActive",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [],
244
+ "name": "InvalidInitialization",
245
+ "type": "error"
246
+ },
247
+ {
248
+ "inputs": [],
249
+ "name": "NotInitializing",
250
+ "type": "error"
251
+ },
252
+ {
253
+ "inputs": [],
254
+ "name": "ReentrancyGuardReentrantCall",
255
+ "type": "error"
256
+ },
257
+ {
258
+ "anonymous": false,
259
+ "inputs": [
260
+ {
261
+ "indexed": false,
262
+ "internalType": "address",
263
+ "name": "authority",
264
+ "type": "address"
265
+ }
266
+ ],
267
+ "name": "AuthorityUpdated",
268
+ "type": "event"
269
+ },
270
+ {
271
+ "anonymous": false,
272
+ "inputs": [
273
+ {
274
+ "indexed": false,
275
+ "internalType": "uint64",
276
+ "name": "version",
277
+ "type": "uint64"
278
+ }
279
+ ],
280
+ "name": "Initialized",
281
+ "type": "event"
282
+ },
283
+ {
284
+ "anonymous": false,
285
+ "inputs": [
286
+ {
287
+ "indexed": false,
288
+ "internalType": "NftId",
289
+ "name": "instanceNftId",
290
+ "type": "uint96"
291
+ },
292
+ {
293
+ "indexed": false,
294
+ "internalType": "NftId",
295
+ "name": "poolNftId",
296
+ "type": "uint96"
297
+ },
298
+ {
299
+ "indexed": false,
300
+ "internalType": "NftId",
301
+ "name": "bundleNftId",
302
+ "type": "uint96"
303
+ }
304
+ ],
305
+ "name": "LogPoolServiceBundleClosed",
306
+ "type": "event"
307
+ },
308
+ {
309
+ "anonymous": false,
310
+ "inputs": [
311
+ {
312
+ "indexed": false,
313
+ "internalType": "NftId",
314
+ "name": "instanceNftId",
315
+ "type": "uint96"
316
+ },
317
+ {
318
+ "indexed": false,
319
+ "internalType": "NftId",
320
+ "name": "poolNftId",
321
+ "type": "uint96"
322
+ },
323
+ {
324
+ "indexed": false,
325
+ "internalType": "NftId",
326
+ "name": "bundleNftId",
327
+ "type": "uint96"
328
+ }
329
+ ],
330
+ "name": "LogPoolServiceBundleCreated",
331
+ "type": "event"
332
+ },
333
+ {
334
+ "anonymous": false,
335
+ "inputs": [
336
+ {
337
+ "indexed": false,
338
+ "internalType": "NftId",
339
+ "name": "instanceNftId",
340
+ "type": "uint96"
341
+ },
342
+ {
343
+ "indexed": false,
344
+ "internalType": "NftId",
345
+ "name": "poolNftId",
346
+ "type": "uint96"
347
+ },
348
+ {
349
+ "indexed": false,
350
+ "internalType": "NftId",
351
+ "name": "bundleNftId",
352
+ "type": "uint96"
353
+ },
354
+ {
355
+ "indexed": false,
356
+ "internalType": "Amount",
357
+ "name": "amount",
358
+ "type": "uint96"
359
+ },
360
+ {
361
+ "indexed": false,
362
+ "internalType": "Amount",
363
+ "name": "netAmount",
364
+ "type": "uint96"
365
+ }
366
+ ],
367
+ "name": "LogPoolServiceBundleStaked",
368
+ "type": "event"
369
+ },
370
+ {
371
+ "anonymous": false,
372
+ "inputs": [
373
+ {
374
+ "indexed": false,
375
+ "internalType": "NftId",
376
+ "name": "instanceNftId",
377
+ "type": "uint96"
378
+ },
379
+ {
380
+ "indexed": false,
381
+ "internalType": "NftId",
382
+ "name": "poolNftId",
383
+ "type": "uint96"
384
+ },
385
+ {
386
+ "indexed": false,
387
+ "internalType": "NftId",
388
+ "name": "bundleNftId",
389
+ "type": "uint96"
390
+ },
391
+ {
392
+ "indexed": false,
393
+ "internalType": "Amount",
394
+ "name": "amount",
395
+ "type": "uint96"
396
+ },
397
+ {
398
+ "indexed": false,
399
+ "internalType": "Amount",
400
+ "name": "netAmount",
401
+ "type": "uint96"
402
+ }
403
+ ],
404
+ "name": "LogPoolServiceBundleUnstaked",
405
+ "type": "event"
406
+ },
407
+ {
408
+ "anonymous": false,
409
+ "inputs": [
410
+ {
411
+ "indexed": false,
412
+ "internalType": "NftId",
413
+ "name": "bundleNftId",
414
+ "type": "uint96"
415
+ },
416
+ {
417
+ "indexed": false,
418
+ "internalType": "address",
419
+ "name": "recipient",
420
+ "type": "address"
421
+ },
422
+ {
423
+ "indexed": false,
424
+ "internalType": "address",
425
+ "name": "tokenAddress",
426
+ "type": "address"
427
+ },
428
+ {
429
+ "indexed": false,
430
+ "internalType": "Amount",
431
+ "name": "amount",
432
+ "type": "uint96"
433
+ }
434
+ ],
435
+ "name": "LogPoolServiceFeesWithdrawn",
436
+ "type": "event"
437
+ },
438
+ {
439
+ "anonymous": false,
440
+ "inputs": [
441
+ {
442
+ "indexed": false,
443
+ "internalType": "NftId",
444
+ "name": "poolNftId",
445
+ "type": "uint96"
446
+ },
447
+ {
448
+ "indexed": false,
449
+ "internalType": "Amount",
450
+ "name": "previousMaxCapitalAmount",
451
+ "type": "uint96"
452
+ },
453
+ {
454
+ "indexed": false,
455
+ "internalType": "Amount",
456
+ "name": "currentMaxCapitalAmount",
457
+ "type": "uint96"
458
+ }
459
+ ],
460
+ "name": "LogPoolServiceMaxBalanceAmountUpdated",
461
+ "type": "event"
462
+ },
463
+ {
464
+ "anonymous": false,
465
+ "inputs": [
466
+ {
467
+ "indexed": false,
468
+ "internalType": "NftId",
469
+ "name": "policyNftId",
470
+ "type": "uint96"
471
+ },
472
+ {
473
+ "indexed": false,
474
+ "internalType": "ClaimId",
475
+ "name": "claimId",
476
+ "type": "uint16"
477
+ },
478
+ {
479
+ "indexed": false,
480
+ "internalType": "Amount",
481
+ "name": "availableAmount",
482
+ "type": "uint96"
483
+ }
484
+ ],
485
+ "name": "LogPoolServiceProcessFundedClaim",
486
+ "type": "event"
487
+ },
488
+ {
489
+ "anonymous": false,
490
+ "inputs": [
491
+ {
492
+ "indexed": false,
493
+ "internalType": "NftId",
494
+ "name": "poolNftId",
495
+ "type": "uint96"
496
+ },
497
+ {
498
+ "indexed": false,
499
+ "internalType": "address",
500
+ "name": "poolOwner",
501
+ "type": "address"
502
+ },
503
+ {
504
+ "indexed": false,
505
+ "internalType": "Amount",
506
+ "name": "amount",
507
+ "type": "uint96"
508
+ }
509
+ ],
510
+ "name": "LogPoolServiceWalletDefunded",
511
+ "type": "event"
512
+ },
513
+ {
514
+ "anonymous": false,
515
+ "inputs": [
516
+ {
517
+ "indexed": false,
518
+ "internalType": "NftId",
519
+ "name": "poolNftId",
520
+ "type": "uint96"
521
+ },
522
+ {
523
+ "indexed": false,
524
+ "internalType": "address",
525
+ "name": "poolOwner",
526
+ "type": "address"
527
+ },
528
+ {
529
+ "indexed": false,
530
+ "internalType": "Amount",
531
+ "name": "amount",
532
+ "type": "uint96"
533
+ }
534
+ ],
535
+ "name": "LogPoolServiceWalletFunded",
536
+ "type": "event"
537
+ },
538
+ {
539
+ "inputs": [],
540
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
541
+ "outputs": [
542
+ {
543
+ "internalType": "bytes32",
544
+ "name": "",
545
+ "type": "bytes32"
546
+ }
547
+ ],
548
+ "stateMutability": "view",
549
+ "type": "function"
550
+ },
551
+ {
552
+ "inputs": [],
553
+ "name": "REGISTERABLE_LOCATION_V1",
554
+ "outputs": [
555
+ {
556
+ "internalType": "bytes32",
557
+ "name": "",
558
+ "type": "bytes32"
559
+ }
560
+ ],
561
+ "stateMutability": "view",
562
+ "type": "function"
563
+ },
564
+ {
565
+ "inputs": [],
566
+ "name": "authority",
567
+ "outputs": [
568
+ {
569
+ "internalType": "address",
570
+ "name": "",
571
+ "type": "address"
572
+ }
573
+ ],
574
+ "stateMutability": "view",
575
+ "type": "function"
576
+ },
577
+ {
578
+ "inputs": [
579
+ {
580
+ "internalType": "NftId",
581
+ "name": "bundleNftId",
582
+ "type": "uint96"
583
+ }
584
+ ],
585
+ "name": "closeBundle",
586
+ "outputs": [],
587
+ "stateMutability": "nonpayable",
588
+ "type": "function"
589
+ },
590
+ {
591
+ "inputs": [
592
+ {
593
+ "internalType": "Amount",
594
+ "name": "amount",
595
+ "type": "uint96"
596
+ }
597
+ ],
598
+ "name": "defundPoolWallet",
599
+ "outputs": [],
600
+ "stateMutability": "nonpayable",
601
+ "type": "function"
602
+ },
603
+ {
604
+ "inputs": [
605
+ {
606
+ "internalType": "Amount",
607
+ "name": "amount",
608
+ "type": "uint96"
609
+ }
610
+ ],
611
+ "name": "fundPoolWallet",
612
+ "outputs": [],
613
+ "stateMutability": "nonpayable",
614
+ "type": "function"
615
+ },
616
+ {
617
+ "inputs": [],
618
+ "name": "getDomain",
619
+ "outputs": [
620
+ {
621
+ "internalType": "ObjectType",
622
+ "name": "serviceDomain",
623
+ "type": "uint8"
624
+ }
625
+ ],
626
+ "stateMutability": "pure",
627
+ "type": "function"
628
+ },
629
+ {
630
+ "inputs": [],
631
+ "name": "getInitialInfo",
632
+ "outputs": [
633
+ {
634
+ "components": [
635
+ {
636
+ "internalType": "NftId",
637
+ "name": "nftId",
638
+ "type": "uint96"
639
+ },
640
+ {
641
+ "internalType": "NftId",
642
+ "name": "parentNftId",
643
+ "type": "uint96"
644
+ },
645
+ {
646
+ "internalType": "ObjectType",
647
+ "name": "objectType",
648
+ "type": "uint8"
649
+ },
650
+ {
651
+ "internalType": "bool",
652
+ "name": "isInterceptor",
653
+ "type": "bool"
654
+ },
655
+ {
656
+ "internalType": "address",
657
+ "name": "objectAddress",
658
+ "type": "address"
659
+ },
660
+ {
661
+ "internalType": "address",
662
+ "name": "initialOwner",
663
+ "type": "address"
664
+ },
665
+ {
666
+ "internalType": "bytes",
667
+ "name": "data",
668
+ "type": "bytes"
669
+ }
670
+ ],
671
+ "internalType": "struct IRegistry.ObjectInfo",
672
+ "name": "info",
673
+ "type": "tuple"
674
+ }
675
+ ],
676
+ "stateMutability": "view",
677
+ "type": "function"
678
+ },
679
+ {
680
+ "inputs": [],
681
+ "name": "getNftId",
682
+ "outputs": [
683
+ {
684
+ "internalType": "NftId",
685
+ "name": "",
686
+ "type": "uint96"
687
+ }
688
+ ],
689
+ "stateMutability": "view",
690
+ "type": "function"
691
+ },
692
+ {
693
+ "inputs": [],
694
+ "name": "getOwner",
695
+ "outputs": [
696
+ {
697
+ "internalType": "address",
698
+ "name": "",
699
+ "type": "address"
700
+ }
701
+ ],
702
+ "stateMutability": "view",
703
+ "type": "function"
704
+ },
705
+ {
706
+ "inputs": [],
707
+ "name": "getRegistry",
708
+ "outputs": [
709
+ {
710
+ "internalType": "contract IRegistry",
711
+ "name": "",
712
+ "type": "address"
713
+ }
714
+ ],
715
+ "stateMutability": "view",
716
+ "type": "function"
717
+ },
718
+ {
719
+ "inputs": [],
720
+ "name": "getRelease",
721
+ "outputs": [
722
+ {
723
+ "internalType": "VersionPart",
724
+ "name": "release",
725
+ "type": "uint8"
726
+ }
727
+ ],
728
+ "stateMutability": "view",
729
+ "type": "function"
730
+ },
731
+ {
732
+ "inputs": [],
733
+ "name": "getRoleId",
734
+ "outputs": [
735
+ {
736
+ "internalType": "RoleId",
737
+ "name": "serviceRoleId",
738
+ "type": "uint64"
739
+ }
740
+ ],
741
+ "stateMutability": "view",
742
+ "type": "function"
743
+ },
744
+ {
745
+ "inputs": [],
746
+ "name": "getVersion",
747
+ "outputs": [
748
+ {
749
+ "internalType": "Version",
750
+ "name": "",
751
+ "type": "uint24"
752
+ }
753
+ ],
754
+ "stateMutability": "pure",
755
+ "type": "function"
756
+ },
757
+ {
758
+ "inputs": [
759
+ {
760
+ "internalType": "address",
761
+ "name": "activatedBy",
762
+ "type": "address"
763
+ },
764
+ {
765
+ "internalType": "bytes",
766
+ "name": "data",
767
+ "type": "bytes"
768
+ }
769
+ ],
770
+ "name": "initializeVersionable",
771
+ "outputs": [],
772
+ "stateMutability": "nonpayable",
773
+ "type": "function"
774
+ },
775
+ {
776
+ "inputs": [],
777
+ "name": "isActive",
778
+ "outputs": [
779
+ {
780
+ "internalType": "bool",
781
+ "name": "active",
782
+ "type": "bool"
783
+ }
784
+ ],
785
+ "stateMutability": "view",
786
+ "type": "function"
787
+ },
788
+ {
789
+ "inputs": [],
790
+ "name": "isConsumingScheduledOp",
791
+ "outputs": [
792
+ {
793
+ "internalType": "bytes4",
794
+ "name": "",
795
+ "type": "bytes4"
796
+ }
797
+ ],
798
+ "stateMutability": "view",
799
+ "type": "function"
800
+ },
801
+ {
802
+ "inputs": [],
803
+ "name": "linkToRegisteredNftId",
804
+ "outputs": [
805
+ {
806
+ "internalType": "NftId",
807
+ "name": "nftId",
808
+ "type": "uint96"
809
+ }
810
+ ],
811
+ "stateMutability": "nonpayable",
812
+ "type": "function"
813
+ },
814
+ {
815
+ "inputs": [
816
+ {
817
+ "internalType": "contract IInstance",
818
+ "name": "instance",
819
+ "type": "address"
820
+ },
821
+ {
822
+ "internalType": "address",
823
+ "name": "token",
824
+ "type": "address"
825
+ },
826
+ {
827
+ "internalType": "NftId",
828
+ "name": "productNftId",
829
+ "type": "uint96"
830
+ },
831
+ {
832
+ "internalType": "NftId",
833
+ "name": "applicationNftId",
834
+ "type": "uint96"
835
+ },
836
+ {
837
+ "internalType": "NftId",
838
+ "name": "bundleNftId",
839
+ "type": "uint96"
840
+ },
841
+ {
842
+ "internalType": "Amount",
843
+ "name": "sumInsuredAmount",
844
+ "type": "uint96"
845
+ }
846
+ ],
847
+ "name": "lockCollateral",
848
+ "outputs": [
849
+ {
850
+ "internalType": "Amount",
851
+ "name": "totalCollateralAmount",
852
+ "type": "uint96"
853
+ },
854
+ {
855
+ "internalType": "Amount",
856
+ "name": "localCollateralAmount",
857
+ "type": "uint96"
858
+ }
859
+ ],
860
+ "stateMutability": "nonpayable",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [
865
+ {
866
+ "internalType": "NftId",
867
+ "name": "policyNftId",
868
+ "type": "uint96"
869
+ },
870
+ {
871
+ "internalType": "ClaimId",
872
+ "name": "claimId",
873
+ "type": "uint16"
874
+ },
875
+ {
876
+ "internalType": "Amount",
877
+ "name": "availableAmount",
878
+ "type": "uint96"
879
+ }
880
+ ],
881
+ "name": "processFundedClaim",
882
+ "outputs": [],
883
+ "stateMutability": "nonpayable",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [
888
+ {
889
+ "internalType": "contract InstanceReader",
890
+ "name": "instanceReader",
891
+ "type": "address"
892
+ },
893
+ {
894
+ "internalType": "contract InstanceStore",
895
+ "name": "instanceStore",
896
+ "type": "address"
897
+ },
898
+ {
899
+ "internalType": "NftId",
900
+ "name": "productNftId",
901
+ "type": "uint96"
902
+ },
903
+ {
904
+ "internalType": "NftId",
905
+ "name": "policyNftId",
906
+ "type": "uint96"
907
+ },
908
+ {
909
+ "internalType": "NftId",
910
+ "name": "bundleNftId",
911
+ "type": "uint96"
912
+ },
913
+ {
914
+ "internalType": "PayoutId",
915
+ "name": "payoutId",
916
+ "type": "uint40"
917
+ },
918
+ {
919
+ "internalType": "Amount",
920
+ "name": "payoutAmount",
921
+ "type": "uint96"
922
+ },
923
+ {
924
+ "internalType": "address",
925
+ "name": "payoutBeneficiary",
926
+ "type": "address"
927
+ }
928
+ ],
929
+ "name": "processPayout",
930
+ "outputs": [],
931
+ "stateMutability": "nonpayable",
932
+ "type": "function"
933
+ },
934
+ {
935
+ "inputs": [
936
+ {
937
+ "internalType": "NftId",
938
+ "name": "bundleNftId",
939
+ "type": "uint96"
940
+ },
941
+ {
942
+ "components": [
943
+ {
944
+ "internalType": "Amount",
945
+ "name": "productFeeAmount",
946
+ "type": "uint96"
947
+ },
948
+ {
949
+ "internalType": "Amount",
950
+ "name": "distributionFeeAndCommissionAmount",
951
+ "type": "uint96"
952
+ },
953
+ {
954
+ "internalType": "Amount",
955
+ "name": "poolPremiumAndFeeAmount",
956
+ "type": "uint96"
957
+ },
958
+ {
959
+ "internalType": "Amount",
960
+ "name": "netPremiumAmount",
961
+ "type": "uint96"
962
+ },
963
+ {
964
+ "internalType": "Amount",
965
+ "name": "fullPremiumAmount",
966
+ "type": "uint96"
967
+ },
968
+ {
969
+ "internalType": "Amount",
970
+ "name": "premiumAmount",
971
+ "type": "uint96"
972
+ },
973
+ {
974
+ "internalType": "Amount",
975
+ "name": "productFeeFixAmount",
976
+ "type": "uint96"
977
+ },
978
+ {
979
+ "internalType": "Amount",
980
+ "name": "poolFeeFixAmount",
981
+ "type": "uint96"
982
+ },
983
+ {
984
+ "internalType": "Amount",
985
+ "name": "bundleFeeFixAmount",
986
+ "type": "uint96"
987
+ },
988
+ {
989
+ "internalType": "Amount",
990
+ "name": "distributionFeeFixAmount",
991
+ "type": "uint96"
992
+ },
993
+ {
994
+ "internalType": "Amount",
995
+ "name": "productFeeVarAmount",
996
+ "type": "uint96"
997
+ },
998
+ {
999
+ "internalType": "Amount",
1000
+ "name": "poolFeeVarAmount",
1001
+ "type": "uint96"
1002
+ },
1003
+ {
1004
+ "internalType": "Amount",
1005
+ "name": "bundleFeeVarAmount",
1006
+ "type": "uint96"
1007
+ },
1008
+ {
1009
+ "internalType": "Amount",
1010
+ "name": "distributionFeeVarAmount",
1011
+ "type": "uint96"
1012
+ },
1013
+ {
1014
+ "internalType": "Amount",
1015
+ "name": "distributionOwnerFeeFixAmount",
1016
+ "type": "uint96"
1017
+ },
1018
+ {
1019
+ "internalType": "Amount",
1020
+ "name": "distributionOwnerFeeVarAmount",
1021
+ "type": "uint96"
1022
+ },
1023
+ {
1024
+ "internalType": "Amount",
1025
+ "name": "commissionAmount",
1026
+ "type": "uint96"
1027
+ },
1028
+ {
1029
+ "internalType": "Amount",
1030
+ "name": "discountAmount",
1031
+ "type": "uint96"
1032
+ }
1033
+ ],
1034
+ "internalType": "struct IPolicy.PremiumInfo",
1035
+ "name": "premium",
1036
+ "type": "tuple"
1037
+ }
1038
+ ],
1039
+ "name": "processSale",
1040
+ "outputs": [],
1041
+ "stateMutability": "nonpayable",
1042
+ "type": "function"
1043
+ },
1044
+ {
1045
+ "inputs": [
1046
+ {
1047
+ "internalType": "contract IInstance",
1048
+ "name": "instance",
1049
+ "type": "address"
1050
+ },
1051
+ {
1052
+ "internalType": "NftId",
1053
+ "name": "policyNftId",
1054
+ "type": "uint96"
1055
+ },
1056
+ {
1057
+ "components": [
1058
+ {
1059
+ "internalType": "NftId",
1060
+ "name": "productNftId",
1061
+ "type": "uint96"
1062
+ },
1063
+ {
1064
+ "internalType": "NftId",
1065
+ "name": "bundleNftId",
1066
+ "type": "uint96"
1067
+ },
1068
+ {
1069
+ "internalType": "ReferralId",
1070
+ "name": "referralId",
1071
+ "type": "bytes8"
1072
+ },
1073
+ {
1074
+ "internalType": "RiskId",
1075
+ "name": "riskId",
1076
+ "type": "bytes8"
1077
+ },
1078
+ {
1079
+ "internalType": "Amount",
1080
+ "name": "sumInsuredAmount",
1081
+ "type": "uint96"
1082
+ },
1083
+ {
1084
+ "internalType": "Amount",
1085
+ "name": "premiumAmount",
1086
+ "type": "uint96"
1087
+ },
1088
+ {
1089
+ "internalType": "Seconds",
1090
+ "name": "lifetime",
1091
+ "type": "uint40"
1092
+ },
1093
+ {
1094
+ "internalType": "bytes",
1095
+ "name": "applicationData",
1096
+ "type": "bytes"
1097
+ },
1098
+ {
1099
+ "internalType": "bytes",
1100
+ "name": "processData",
1101
+ "type": "bytes"
1102
+ },
1103
+ {
1104
+ "internalType": "uint16",
1105
+ "name": "claimsCount",
1106
+ "type": "uint16"
1107
+ },
1108
+ {
1109
+ "internalType": "uint16",
1110
+ "name": "openClaimsCount",
1111
+ "type": "uint16"
1112
+ },
1113
+ {
1114
+ "internalType": "Amount",
1115
+ "name": "claimAmount",
1116
+ "type": "uint96"
1117
+ },
1118
+ {
1119
+ "internalType": "Amount",
1120
+ "name": "payoutAmount",
1121
+ "type": "uint96"
1122
+ },
1123
+ {
1124
+ "internalType": "Timestamp",
1125
+ "name": "activatedAt",
1126
+ "type": "uint40"
1127
+ },
1128
+ {
1129
+ "internalType": "Timestamp",
1130
+ "name": "expiredAt",
1131
+ "type": "uint40"
1132
+ },
1133
+ {
1134
+ "internalType": "Timestamp",
1135
+ "name": "closedAt",
1136
+ "type": "uint40"
1137
+ }
1138
+ ],
1139
+ "internalType": "struct IPolicy.PolicyInfo",
1140
+ "name": "policyInfo",
1141
+ "type": "tuple"
1142
+ }
1143
+ ],
1144
+ "name": "releaseCollateral",
1145
+ "outputs": [],
1146
+ "stateMutability": "nonpayable",
1147
+ "type": "function"
1148
+ },
1149
+ {
1150
+ "inputs": [
1151
+ {
1152
+ "internalType": "address",
1153
+ "name": "newAuthority",
1154
+ "type": "address"
1155
+ }
1156
+ ],
1157
+ "name": "setAuthority",
1158
+ "outputs": [],
1159
+ "stateMutability": "nonpayable",
1160
+ "type": "function"
1161
+ },
1162
+ {
1163
+ "inputs": [
1164
+ {
1165
+ "internalType": "Amount",
1166
+ "name": "maxBalanceAmount",
1167
+ "type": "uint96"
1168
+ }
1169
+ ],
1170
+ "name": "setMaxBalanceAmount",
1171
+ "outputs": [],
1172
+ "stateMutability": "nonpayable",
1173
+ "type": "function"
1174
+ },
1175
+ {
1176
+ "inputs": [
1177
+ {
1178
+ "internalType": "NftId",
1179
+ "name": "bundleNftId",
1180
+ "type": "uint96"
1181
+ },
1182
+ {
1183
+ "internalType": "Amount",
1184
+ "name": "amount",
1185
+ "type": "uint96"
1186
+ }
1187
+ ],
1188
+ "name": "stake",
1189
+ "outputs": [
1190
+ {
1191
+ "internalType": "Amount",
1192
+ "name": "netAmount",
1193
+ "type": "uint96"
1194
+ }
1195
+ ],
1196
+ "stateMutability": "nonpayable",
1197
+ "type": "function"
1198
+ },
1199
+ {
1200
+ "inputs": [
1201
+ {
1202
+ "internalType": "bytes4",
1203
+ "name": "interfaceId",
1204
+ "type": "bytes4"
1205
+ }
1206
+ ],
1207
+ "name": "supportsInterface",
1208
+ "outputs": [
1209
+ {
1210
+ "internalType": "bool",
1211
+ "name": "",
1212
+ "type": "bool"
1213
+ }
1214
+ ],
1215
+ "stateMutability": "view",
1216
+ "type": "function"
1217
+ },
1218
+ {
1219
+ "inputs": [
1220
+ {
1221
+ "internalType": "NftId",
1222
+ "name": "bundleNftId",
1223
+ "type": "uint96"
1224
+ },
1225
+ {
1226
+ "internalType": "Amount",
1227
+ "name": "amount",
1228
+ "type": "uint96"
1229
+ }
1230
+ ],
1231
+ "name": "unstake",
1232
+ "outputs": [
1233
+ {
1234
+ "internalType": "Amount",
1235
+ "name": "netAmount",
1236
+ "type": "uint96"
1237
+ }
1238
+ ],
1239
+ "stateMutability": "nonpayable",
1240
+ "type": "function"
1241
+ },
1242
+ {
1243
+ "inputs": [
1244
+ {
1245
+ "internalType": "bytes",
1246
+ "name": "data",
1247
+ "type": "bytes"
1248
+ }
1249
+ ],
1250
+ "name": "upgradeVersionable",
1251
+ "outputs": [],
1252
+ "stateMutability": "nonpayable",
1253
+ "type": "function"
1254
+ },
1255
+ {
1256
+ "inputs": [
1257
+ {
1258
+ "internalType": "NftId",
1259
+ "name": "bundleNftId",
1260
+ "type": "uint96"
1261
+ },
1262
+ {
1263
+ "internalType": "Amount",
1264
+ "name": "amount",
1265
+ "type": "uint96"
1266
+ }
1267
+ ],
1268
+ "name": "withdrawBundleFees",
1269
+ "outputs": [
1270
+ {
1271
+ "internalType": "Amount",
1272
+ "name": "withdrawnAmount",
1273
+ "type": "uint96"
1274
+ }
1275
+ ],
1276
+ "stateMutability": "nonpayable",
1277
+ "type": "function"
1278
+ }
1279
+ ],
1280
+ "bytecode": "0x6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b615f4a806100d65f395ff3fe608060405234801561000f575f80fd5b50600436106101d1575f3560e01c80636c1e9dff116100fe5780638fb360371161009e578063bf7e214f1161006e578063bf7e214f1461046a578063d0d63b0914610472578063e1f216fa14610485578063fb3bcd1f14610498575f80fd5b80638fb360371461041b578063ada9652e1461043c578063b68d180914610450578063bca99e3914610457575f80fd5b80637a9e5e4b116100d95780637a9e5e4b146103ba57806384d1f7cf146103cd578063893d20e8146104005780638e4a508e14610408575f80fd5b80636c1e9dff1461036d5780636c741e781461038057806376b707b7146103a0575f80fd5b806326889b091161017457806354e507791161014457806354e50779146103055780635ab1bd5314610318578063644c45e01461033d5780636a4bb7be1461035a575f80fd5b806326889b09146102b9578063329c71c0146102cc578063329d6e74146102df57806349bb9e4b146102f2575f80fd5b8063125510a3116101af578063125510a314610247578063138461e01461025c5780631eff4b221461027c57806322f3e2d4146102b1575f80fd5b806301ffc9a7146101d55780630d8e6e2c146102165780630fec111c14610232575b5f80fd5b6102016101e3366004614acc565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e6104ab565b60405162ffffff909116815260200161020d565b61023a610532565b60405161020d9190614b21565b61025a610255366004614c0a565b6106ec565b005b610264610b77565b6040516001600160601b03909116815260200161020d565b6102a37f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b610201610b81565b6102646102c7366004614cae565b610bf8565b61025a6102da366004614ce5565b610f89565b61025a6102ed366004614e6f565b61116f565b61025a610300366004614ea0565b6112b9565b610264610313366004614cae565b6113b5565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b5f80516020615eb5833981519152546001600160601b0316610264565b61025a610368366004614f26565b611b11565b61026461037b366004614cae565b611dd0565b6103886121b4565b6040516001600160401b03909116815260200161020d565b6103a8612240565b60405160ff909116815260200161020d565b61025a6103c83660046150df565b6122a8565b6103e06103db3660046150fa565b61232e565b604080516001600160601b0393841681529290911660208301520161020d565b6103256126af565b61025a610416366004614ce5565b6127e0565b6104236129ba565b6040516001600160e01b0319909116815260200161020d565b6102a35f80516020615eb583398151915281565b600f6103a8565b61025a610465366004614ce5565b6129ef565b610325612bfd565b61025a610480366004614ce5565b612c18565b61025a610493366004615178565b6130e1565b61025a6104a63660046151c0565b613468565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610509573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d919061534a565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106029190615377565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161064a6126af565b6001600160a01b0316815260200182600101805461066790615392565b80601f016020809104026020016040519081016040528092919081815260200182805461069390615392565b80156106de5780601f106106b5576101008083540402835291602001916106de565b820191905f5260205f20905b8154815290600101906020018083116106c157829003601f168201915b505050505081525091505090565b6106f8335b5f36613713565b610703856015613809565b5f6107166001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03871660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa158015610763573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190615377565b905060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a289838673__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081a9190615377565b6040518563ffffffff1660e01b815260040161083994939291906153ca565b5f604051808303815f87803b158015610850575f80fd5b505af1158015610862573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b031663899cc04c89878673__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156108d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f79190615377565b6040518563ffffffff1660e01b815260040161091694939291906153ca565b5f604051808303815f87803b15801561092d575f80fd5b505af115801561093f573d5f803e3d5ffd5b505060035460405163ad328d9f60e01b81526001600160a01b03909116925063ad328d9f9150610979908b908a908a9089906004016153ca565b5f604051808303815f87803b158015610990575f80fd5b505af11580156109a2573d5f803e3d5ffd5b505060405163a310e2a360e01b81526001600160601b03841660048201525f92506001600160a01b038c16915063a310e2a390602401602060405180830381865afa1580156109f3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1791906153fc565b905060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b8b6001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9c9190615377565b836001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ad8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afc91906153fc565b876040518463ffffffff1660e01b8152600401610b1b93929190615417565b6020604051808303815f875af1158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5b9190615377565b50610b6b8a828a8a8989896138c0565b50505050505050505050565b5f61052d30613b35565b5f610b8a612bfd565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf29190615452565b15905090565b5f805f805f73__$19db5f0436f9beab06d91aaebdafaf50ff$__631b04bdc8610c296001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526001600160601b038a16604482015260640161016060405180830381865af4158015610c81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ca591906154f2565b50600354604051631696791160e11b81526001600160a01b0380861660048301526001600160601b03808f1660248401528d16604483015295995093975091955093505f921690632d2cf222906064016020604051808303815f875af1158015610d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d359190615377565b905080955060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a285848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610da7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dcb9190615377565b6040518563ffffffff1660e01b8152600401610dea94939291906153ca565b5f604051808303815f87803b158015610e01575f80fd5b505af1158015610e13573d5f803e3d5ffd5b5050604080516001600160601b03878116825286811660208301528c81168284015285811660608301528a16608082015290517f1486849121d5ae771349472444bdddfe08862a6644665b5fd7ed4cf14a51db7893509081900360a0019150a16040516357f80bbf60e01b81526001600160601b03831660048201526001600160a01b038616906357f80bbf9060240160e060405180830381865afa158015610ebe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ee29190615560565b60600151610f7e575f610efd6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6e91906153fc565b9050610f7c8684838a613d2e565b505b505050505092915050565b5f80610f93613e0a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff891906153fc565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa158015611046573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106a9190615560565b6060015161109b5760405163664958ad60e01b81526001600160601b03841660048201526024015b60405180910390fd5b5f6110ae6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111f91906153fc565b90507ff93784364e35bd9d02fb31e12793254279ee0381ed65b4fa39ee297b22fdd79a84828760405161115493929190615417565b60405180910390a161116882858388613d2e565b5050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6111916104ab565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156111cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111f39190615599565b5f80516020615ef58339815191528054600160401b900460ff1680611225575080546001600160401b03808416911610155b156112435760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561126d83613eab565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020615ef58339815191528054600160401b810460ff1615906001600160401b03165f811580156112ea5750825b90505f826001600160401b031660011480156113055750303b155b905081158015611313575080155b156113315760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135b57845460ff60401b1916600160401b1785555b6113658787613eb3565b83156113ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f6113bf336106f1565b6113ca836016613809565b5f806113d4613e0a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611415573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143991906153fc565b9050849350836001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156114ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cf9190615377565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015611518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153c9190615452565b156115b757604051630232ca4960e01b81526001600160601b03871660048201526001600160a01b03821690630232ca4990602401602060405180830381865afa15801561158c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b09190615377565b93506116d3565b604051630232ca4960e01b81526001600160601b03871660048201526116319085906001600160a01b03841690630232ca4990602401602060405180830381865afa158015611608573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061162c9190615377565b6140cb565b156116d357604051630232ca4960e01b81526001600160601b038716600482015284906001600160a01b03831690630232ca4990602401602060405180830381865afa158015611683573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a79190615377565b604051637a2a246360e01b81526001600160601b03928316600482015291166024820152604401611092565b5f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611710573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173491906153fc565b905060025f9054906101000a90046001600160a01b03166001600160a01b031663899cc04c828973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156117a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c69190615377565b896040518563ffffffff1660e01b81526004016117e694939291906153ca565b5f604051808303815f87803b1580156117fd575f80fd5b505af115801561180f573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a282868873__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611880573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a49190615377565b6040518563ffffffff1660e01b81526004016118c394939291906153ca565b5f604051808303815f87803b1580156118da575f80fd5b505af11580156118ec573d5f803e3d5ffd5b50505050505f6119046001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03891660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611951573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061197591906153fc565b60405163a310e2a360e01b81526001600160601b03861660048201529091505f906001600160a01b0384169063a310e2a390602401602060405180830381865afa1580156119c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e991906153fc565b90505f816001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a4c91906153fc565b604080516001600160601b038c811682526001600160a01b0387811660208401528416828401528a16606082015290519192507f5570b1fde7a6e4fe77febc49a50067a02fef8b1b067f94740877b4f7d2239d8f919081900360800190a16040516333f6af9b60e11b81526001600160a01b038316906367ed5f3690611ad89086908b906004016155b4565b5f604051808303815f87803b158015611aef575f80fd5b505af1158015611b01573d5f803e3d5ffd5b5050505050505050505092915050565b611b1a336106f1565b611b25826015613809565b5f611b398260800151836101600151614157565b905060035f9054906101000a90046001600160a01b03166001600160a01b031663ad328d9f856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bbe91906153fc565b858560200151856040518563ffffffff1660e01b8152600401611be494939291906153ca565b5f604051808303815f87803b158015611bfb575f80fd5b505af1158015611c0d573d5f803e3d5ffd5b505050505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7291906153fc565b905060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cd3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf79190615377565b855160405163037efc5960e61b81526001600160601b0390911660048201526001600160a01b0385169063dfbf164090602401602060405180830381865afa158015611d45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6991906153fc565b856040518463ffffffff1660e01b8152600401611d8893929190615417565b6020604051808303815f875af1158015611da4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dc89190615377565b505050505050565b5f805f805f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__631b04bdc8611e026001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526001600160601b038b16604482015260640161016060405180830381865af4158015611e5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e7e91906154f2565b6040516308a390bb60e21b81526001600160601b0383166004820152949950929750909550935091505f906001600160a01b0387169063228e42ec90602401602060405180830381865afa158015611ed8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611efc9190615377565b9050611f12611f0b828a6141dc565b83516140cb565b15611f5657815160405163b806175d60e01b81526001600160601b038086166004830152918216602482015281831660448201529089166064820152608401611092565b505f73__$19db5f0436f9beab06d91aaebdafaf50ff$__63d775bd0a611f846001546001600160a01b031690565b88868c6040518563ffffffff1660e01b8152600401611fa694939291906155d6565b6040805180830381865af4158015611fc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fe4919061560a565b60025460405163d56cd3d560e01b81529199509192506001600160a01b039091169063d56cd3d59061202090889087908c9087906004016153ca565b5f604051808303815f87803b158015612037575f80fd5b505af1158015612049573d5f803e3d5ffd5b505060035460405163c548949d60e01b81526001600160a01b03909116925063c548949d915061208390899089908e908d906004016155d6565b5f604051808303815f87803b15801561209a575f80fd5b505af11580156120ac573d5f803e3d5ffd5b5050604080516001600160601b03888116825287811660208301528d8116828401528c811660608301528b16608082015290517fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b414593509081900360a0019150a18160600151610f7c575f6121286001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038c1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612175573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219991906153fc565b90506121a78785838c614226565b5050505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600f6121d9612240565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561221c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190615599565b5f612249612bfd565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612284573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190615650565b336122b1612bfd565b6001600160a01b0316816001600160a01b0316146122ec5760405162d1953b60e31b81526001600160a01b0382166004820152602401611092565b816001600160a01b03163b5f03612321576040516361798f2f60e11b81526001600160a01b0383166004820152602401611092565b61232a826142ce565b5050565b5f80612339336106f1565b61234486600c613809565b61234f856015613809565b61235a846016613809565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6381c0eb6c8b6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d691906153fc565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526001600160601b03808c16602483015288166044820152606401608060405180830381865af415801561242f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612453919061566b565b600354604051634adcf90960e01b81529398509196509294509192506001600160a01b0390911690634adcf90990612495908d908b908b9089906004016153ca565b5f604051808303815f87803b1580156124ac575f80fd5b505af11580156124be573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612521573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125459190615377565b8b876040518463ffffffff1660e01b815260040161256593929190615417565b6020604051808303815f875af1158015612581573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125a59190615377565b5080156126a2575f6125bf6001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa15801561260c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061263091906153fc565b604051634deed57960e01b81526001600160601b03808b166004830152808a166024830152871660448201529091506001600160a01b03821690634deed579906064015f604051808303815f87803b15801561268a575f80fd5b505af115801561269c573d5f803e3d5ffd5b50505050505b5050965096945050505050565b5f805f80516020615eb583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561271b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061273f9190615452565b156127ca576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127c491906153fc565b91505090565b54600160601b90046001600160a01b0316919050565b5f806127ea613e0a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561282b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284f91906153fc565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa15801561289d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128c19190615560565b606001516128ed5760405163664958ad60e01b81526001600160601b0384166004820152602401611092565b5f6129006001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561294d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061297191906153fc565b90507f67e4007a2396f32c2c58b0546d5dc80e8097a965b3de4127c33f3610864416bd8482876040516129a693929190615417565b60405180910390a161116882858388614226565b5f80516020615ed583398151915280545f9190600160a01b900460ff166129e1575f6127c4565b638fb3603760e01b91505090565b5f806129f9613e0a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a5e91906153fc565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240160e060405180830381865afa158015612aae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ad29190615560565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa158015612b28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b4c91906153fc565b6001600160a01b03166328802681868460ff6040518463ffffffff1660e01b8152600401612b7c939291906156c4565b5f604051808303815f87803b158015612b93575f80fd5b505af1158015612ba5573d5f803e3d5ffd5b5050604080516001600160601b03898116825285811660208301528a168183015290517f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9350908190036060019150a1505050505050565b5f80516020615ed5833981519152546001600160a01b031690565b612c23816016613809565b5f80612c2d613e0a565b600354604051632aa6b2cb60e21b81529294509092505f9182916001600160a01b03169063aa9acb2c90612c6790869089906004016155b4565b60408051808303815f875af1158015612c82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ca6919061560a565b9150915060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d2d91906153fc565b86612d3886866141dc565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612da39190615377565b6040518563ffffffff1660e01b8152600401612dc294939291906153ca565b5f604051808303815f87803b158015612dd9575f80fd5b505af1158015612deb573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e4c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e709190615377565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a1612ea582826141dc565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015612efc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f209190615452565b15611168575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f8691906153fc565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa158015612fd2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612ff99190810190615790565b905080602001516001600160a01b03166367ed5f366130206001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038a1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561306d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061309191906153fc565b61309b86866141dc565b6040518363ffffffff1660e01b81526004016130b89291906155b4565b5f604051808303815f87803b1580156130cf575f80fd5b505af1158015610b6b573d5f803e3d5ffd5b6130ec836015613809565b5f806130f6613e0a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613137573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061315b91906153fc565b90505f6131706001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03861660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa1580156131bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131e19190615377565b60405163bd7d9d8560e01b81526001600160601b03891660048201529091505f906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa158015613230573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613257919081019061586b565b9050613266815f01518361432e565b156132a2578051604051636083e75360e01b81526001600160601b03808b16600483015291821660248201529083166044820152606401611092565b604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f6a2b4f9e8a4bb9038617a047352d25c5ac3c64c4aaba95e576b978a91b6666fb9181900360600190a16040516302d764c760e21b81526001600160601b03831660048201526001600160a01b03841690630b5d931c906024015f60405180830381865afa158015613339573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133609190810190615a86565b511561345e575f6133796001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa1580156133c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133ea91906153fc565b6040516370f90b7d60e11b81526001600160601b03808c16600483015261ffff8b166024830152891660448201529091506001600160a01b0382169063e1f216fa906064015f604051808303815f87803b158015613446575f80fd5b505af1158015613458573d5f803e3d5ffd5b50505050505b5050505050505050565b613471336106f1565b61347c826016613809565b5f61348f6001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03851660048201529091505f906001600160a01b0383169063cefa7fd690602401602060405180830381865afa1580156134df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135039190615377565b60405163c52721a360e01b81526001600160a01b03841660048201526001600160601b0382166024820152600160448201529091505f9073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063c52721a3906064015f60405180830381865af4158015613573573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261359a9190810190615b68565b9150505f8190505f6135b58660e001518761016001516141dc565b90505f6135cc8761010001518861018001516141dc565b90505f876060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015613613573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061363791906153fc565b6002549091506001600160a01b031663d56cd3d5828961365786886141dc565b886040518563ffffffff1660e01b815260040161367794939291906153ca565b5f604051808303815f87803b15801561368e575f80fd5b505af11580156136a0573d5f803e3d5ffd5b50506002546040516317bb009960e21b81526001600160a01b039091169250635eec026491506136da9084908e90879089906004016153ca565b5f604051808303815f87803b1580156136f1575f80fd5b505af1158015613703573d5f803e3d5ffd5b5050505050505050505050505050565b5f80516020615ed58339815191525f8061374b61372e612bfd565b873061373d60045f8a8c615c4a565b61374691615c71565b614378565b9150915081611dc85763ffffffff8116156137e657825460ff60a01b1916600160a01b178355613779612bfd565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016137a893929190615ca7565b5f604051808303815f87803b1580156137bf575f80fd5b505af11580156137d1573d5f803e3d5ffd5b5050845460ff60a01b1916855550611dc89050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611092565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561386b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061388f9190615452565b61232a5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401611092565b5f805f73__$19db5f0436f9beab06d91aaebdafaf50ff$__63565fbada6138ef6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152818e1660248201526001600160601b03808d166044830152808c1660648301528916608482015290871660a482015260c401606060405180830381865af4158015613960573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139849190615ce6565b925092509250886001600160a01b03166367ed5f3682856040518363ffffffff1660e01b81526004016139b89291906155b4565b5f604051808303815f87803b1580156139cf575f80fd5b505af11580156139e1573d5f803e3d5ffd5b50506040516330b8415f60e01b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__92506330b8415f9150602401602060405180830381865af4158015613a3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a5f9190615452565b15613b2957604051634d21a63d60e01b81526001600160601b03891660048201526001600160a01b03808b16916367ed5f36918d1690634d21a63d90602401602060405180830381865afa158015613ab9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613add91906153fc565b846040518363ffffffff1660e01b8152600401613afb9291906155b4565b5f604051808303815f87803b158015613b12575f80fd5b505af1158015613b24573d5f803e3d5ffd5b505050505b610b6b87878386614480565b5f805f80516020615eb583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613ba1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613bc59190615452565b15613bf15780546040516301ab8b6760e21b81526001600160601b039091166004820152602401611092565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613c43573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c679190615452565b613c8f5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401611092565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613ce1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d059190615377565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa158015613d7a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613da19190810190615790565b60208101516040516333f6af9b60e11b81529192506001600160a01b0316906367ed5f3690613dd690869086906004016155b4565b5f604051808303815f87803b158015613ded575f80fd5b505af1158015613dff573d5f803e3d5ffd5b505050505050505050565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee8613e386001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015613e7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ea39190615d25565b915091509091565b6101d16144ff565b5f80516020615ef58339815191528054600160401b810460ff1615906001600160401b03165f81158015613ee45750825b90505f826001600160401b03166001148015613eff5750303b155b905081158015613f0d575080155b15613f2b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613f5557845460ff60401b1916600160401b1785555b5f8087806020019051810190613f6b9190615d52565b91509150613f7a82828b614537565b613f8460286145d9565b600280546001600160a01b0319166001600160a01b0392909216919091179055613fae60166145d9565b600380546001600160a01b0319166001600160a01b0392909216919091179055613fd8600b6145d9565b600480546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614033573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061405791906153fc565b600580546001600160a01b0319166001600160a01b039290921691909117905561408763146e076360e11b614670565b505083156113ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016113a3565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af415801561412c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141509190615452565b9392505050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044015b602060405180830381865af41580156141b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141509190615377565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb359060440161419d565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa158015614272573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526142999190810190615790565b6020810151604051630f3f86bd60e31b81529192506001600160a01b0316906379fc35e890613dd690869086906004016155b4565b5f80516020615ed583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401614111565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516143e69190615d6e565b5f60405180830381855afa9150503d805f811461441e576040519150601f19603f3d011682016040523d82523d5f602084013e614423565b606091505b50915091508115614475576040815110614455578080602001905181019061444b9190615d84565b9094509250614475565b602081511061447557808060200190518101906144729190615452565b93505b505094509492505050565b5f61449c6144966001546001600160a01b031690565b866146a3565b90506001600160a01b0381161561116857604051638bfaca2d60e01b81526001600160601b03808716600483015264ffffffffff86166024830152831660448201526001600160a01b038481166064830152821690638bfaca2d90608401613dd6565b5f80516020615ef583398151915254600160401b900460ff1661453557604051631afcd79f60e31b815260040160405180910390fd5b565b61453f6144ff565b6145476147a5565b6145c48383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015614588573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906145ac9190615377565b60085f8660405180602001604052805f8152506147b5565b6145d463daf9067160e01b614670565b505050565b5f6145ec6001546001600160a01b031690565b6001600160a01b031663d39e604383614603612240565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614646573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061466a91906153fc565b92915050565b6146786144ff565b6146a0816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b604051631c5da14d60e11b81526001600160601b03821660048201525f9081906001600160a01b038516906338bb429a90602401602060405180830381865afa1580156146f2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061471691906153fc565b604051635b5dd68960e11b81526001600160a01b038216600482015290925082915073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063b6bbad1290602401602060405180830381865af4158015614772573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906147969190615452565b61479e575f91505b5092915050565b6147ad6144ff565b6145356148f2565b6147bd6144ff565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015614813573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148379190615452565b61485f5760405163cf6935e560e01b81526001600160a01b0388166004820152602401611092565b61486887614920565b6148728683614931565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016148e18382615dfa565b5061345e634a531f3360e01b614670565b6148fa6144ff565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6149286144ff565b6146a0816149a7565b6149396144ff565b6149416149b8565b61494a82614a00565b6001600160a01b0381166149715760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615eb583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6149af6144ff565b6146a0816142ce565b6149c06144ff565b6145356301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b614a086144ff565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614a829190615452565b614aaa5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401611092565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215614adc575f80fd5b81356001600160e01b031981168114614150575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614b69608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614bad610100840182614af3565b949350505050565b6001600160a01b03811681146146a0575f80fd5b6001600160601b03811681146146a0575f80fd5b8035614be881614bc9565b919050565b64ffffffffff811681146146a0575f80fd5b8035614be881614bed565b5f805f805f805f80610100898b031215614c22575f80fd5b8835614c2d81614bb5565b97506020890135614c3d81614bb5565b96506040890135614c4d81614bc9565b95506060890135614c5d81614bc9565b94506080890135614c6d81614bc9565b935060a0890135614c7d81614bed565b925060c0890135614c8d81614bc9565b915060e0890135614c9d81614bb5565b809150509295985092959890939650565b5f8060408385031215614cbf575f80fd5b8235614cca81614bc9565b91506020830135614cda81614bc9565b809150509250929050565b5f60208284031215614cf5575f80fd5b813561415081614bc9565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b0381118282101715614d3757614d37614d00565b60405290565b60405161024081016001600160401b0381118282101715614d3757614d37614d00565b60405160e081016001600160401b0381118282101715614d3757614d37614d00565b604051606081016001600160401b0381118282101715614d3757614d37614d00565b60405161010081016001600160401b0381118282101715614d3757614d37614d00565b604051601f8201601f191681016001600160401b0381118282101715614def57614def614d00565b604052919050565b5f6001600160401b03821115614e0f57614e0f614d00565b50601f01601f191660200190565b5f82601f830112614e2c575f80fd5b8135614e3f614e3a82614df7565b614dc7565b818152846020838601011115614e53575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614e7f575f80fd5b81356001600160401b03811115614e94575f80fd5b614bad84828501614e1d565b5f8060408385031215614eb1575f80fd5b8235614ebc81614bb5565b915060208301356001600160401b03811115614ed6575f80fd5b614ee285828601614e1d565b9150509250929050565b6001600160c01b0319811681146146a0575f80fd5b8035614be881614eec565b61ffff811681146146a0575f80fd5b8035614be881614f0c565b5f805f60608486031215614f38575f80fd5b8335614f4381614bb5565b92506020840135614f5381614bc9565b915060408401356001600160401b03811115614f6d575f80fd5b84016102008187031215614f7f575f80fd5b614f87614d14565b614f9082614bdd565b8152614f9e60208301614bdd565b6020820152614faf60408301614f01565b6040820152614fc060608301614f01565b6060820152614fd160808301614bdd565b6080820152614fe260a08301614bdd565b60a0820152614ff360c08301614bff565b60c082015260e08201356001600160401b03811115615010575f80fd5b61501c88828501614e1d565b60e0830152506101008201356001600160401b0381111561503b575f80fd5b61504788828501614e1d565b6101008301525061505b6101208301614f1b565b61012082015261506e6101408301614f1b565b6101408201526150816101608301614bdd565b6101608201526150946101808301614bdd565b6101808201526150a76101a08301614bff565b6101a08201526150ba6101c08301614bff565b6101c08201526150cd6101e08301614bff565b6101e082015280925050509250925092565b5f602082840312156150ef575f80fd5b813561415081614bb5565b5f805f805f8060c0878903121561510f575f80fd5b863561511a81614bb5565b9550602087013561512a81614bb5565b9450604087013561513a81614bc9565b9350606087013561514a81614bc9565b9250608087013561515a81614bc9565b915060a087013561516a81614bc9565b809150509295509295509295565b5f805f6060848603121561518a575f80fd5b833561519581614bc9565b925060208401356151a581614f0c565b915060408401356151b581614bc9565b809150509250925092565b5f808284036102608112156151d3575f80fd5b83356151de81614bc9565b9250610240601f19820112156151f2575f80fd5b506151fb614d3d565b61520760208501614bdd565b815261521560408501614bdd565b602082015261522660608501614bdd565b604082015261523760808501614bdd565b606082015261524860a08501614bdd565b608082015261525960c08501614bdd565b60a082015261526a60e08501614bdd565b60c082015261527c6101008501614bdd565b60e082015261528e6101208501614bdd565b6101008201526152a16101408501614bdd565b6101208201526152b46101608501614bdd565b6101408201526152c76101808501614bdd565b6101608201526152da6101a08501614bdd565b6101808201526152ed6101c08501614bdd565b6101a08201526153006101e08501614bdd565b6101c08201526153136102008501614bdd565b6101e08201526153266102208501614bdd565b6102008201526153396102408501614bdd565b610220820152809150509250929050565b5f6020828403121561535a575f80fd5b815162ffffff81168114614150575f80fd5b8051614be881614bc9565b5f60208284031215615387575f80fd5b815161415081614bc9565b600181811c908216806153a657607f821691505b6020821081036153c457634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b5f6020828403121561540c575f80fd5b815161415081614bb5565b6001600160601b0393841681526001600160a01b03929092166020830152909116604082015260600190565b80518015158114614be8575f80fd5b5f60208284031215615462575f80fd5b61415082615443565b5f60e0828403121561547b575f80fd5b615483614d60565b9050815161549081614bc9565b815261549e60208301615443565b60208201526154af60408301615443565b60408201526154c060608301615443565b60608201526154d160808301615443565b608082015260a0828101519082015260c09182015191810191909152919050565b5f805f805f6101608688031215615507575f80fd5b855161551281614bb5565b602087015190955061552381614bb5565b604087015190945061553481614bc9565b606087015190935061554581614bc9565b9150615554876080880161546b565b90509295509295909350565b5f60e08284031215615570575f80fd5b614150838361546b565b8051614be881614bb5565b6001600160401b03811681146146a0575f80fd5b5f602082840312156155a9575f80fd5b815161415081615585565b6001600160a01b039290921682526001600160601b0316602082015260400190565b6001600160a01b0394851681529290931660208301526001600160601b039081166040830152909116606082015260800190565b5f806040838503121561561b575f80fd5b825161562681614bc9565b6020840151909250614cda81614bc9565b60ff811681146146a0575f80fd5b8051614be881615637565b5f60208284031215615660575f80fd5b815161415081615637565b5f805f806080858703121561567e575f80fd5b845161568981614bc9565b602086015190945061569a81614bc9565b60408601519093506156ab81614bc9565b91506156b960608601615443565b905092959194509250565b5f610120820190506001600160601b03851682526001600160601b0384511660208301526020840151151560408301526040840151151560608301526060840151151560808301526080840151151560a083015260a084015160c083015260c084015160e0830152614bad61010083018460ff169052565b5f615749614e3a84614df7565b905082815283838301111561575c575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112615781575f80fd5b6141508383516020850161573c565b5f602082840312156157a0575f80fd5b81516001600160401b038111156157b5575f80fd5b8201606081850312156157c6575f80fd5b6157ce614d82565b81516001600160401b038111156157e3575f80fd5b8201601f810186136157f3575f80fd5b6158028682516020840161573c565b825250602082015161581381614bb5565b602082015260408201516001600160401b03811115615830575f80fd5b61583c86828501615772565b604083015250949350505050565b8051614be881614eec565b8051614be881614bed565b8051614be881614f0c565b5f6020828403121561587b575f80fd5b81516001600160401b03811115615890575f80fd5b820161020081850312156158a2575f80fd5b6158aa614d14565b6158b38261536c565b81526158c16020830161536c565b60208201526158d26040830161584a565b60408201526158e36060830161584a565b60608201526158f46080830161536c565b608082015261590560a0830161536c565b60a082015261591660c08301615855565b60c082015260e08201516001600160401b03811115615933575f80fd5b61593f86828501615772565b60e0830152506101008201516001600160401b0381111561595e575f80fd5b61596a86828501615772565b6101008301525061597e6101208301615860565b6101208201526159916101408301615860565b6101408201526159a4610160830161536c565b6101608201526159b7610180830161536c565b6101808201526159ca6101a08301615855565b6101a08201526159dd6101c08301615855565b6101c08201526159f06101e08301615855565b6101e0820152949350505050565b5f82601f830112615a0d575f80fd5b81516001600160401b03811115615a2657615a26614d00565b8060051b615a3660208201614dc7565b91825260208185018101929081019086841115615a51575f80fd5b6020860192505b83831015615a7c578251615a6b81614bc9565b825260209283019290910190615a58565b9695505050505050565b5f60208284031215615a96575f80fd5b81516001600160401b03811115615aab575f80fd5b82016101008185031215615abd575f80fd5b615ac5614da4565b615ace82615443565b8152615adc60208301615443565b6020820152615aed60408301615443565b6040820152615afe60608301615645565b6060820152615b0f60808301615645565b6080820152615b2060a0830161536c565b60a0820152615b3160c0830161536c565b60c082015260e08201516001600160401b03811115615b4e575f80fd5b615b5a868285016159fe565b60e083015250949350505050565b5f8060408385031215615b79575f80fd5b82516001600160401b03811115615b8e575f80fd5b830160e08186031215615b9f575f80fd5b615ba7614d60565b615bb08261536c565b8152615bbe6020830161536c565b6020820152615bcf60408301615645565b6040820152615be060608301615443565b6060820152615bf16080830161557a565b6080820152615c0260a0830161557a565b60a082015260c08201516001600160401b03811115615c1f575f80fd5b615c2b87828501615772565b60c0830152509250615c4190506020840161557a565b90509250929050565b5f8085851115615c58575f80fd5b83861115615c64575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561479e576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f60608486031215615cf8575f80fd5b8351615d0381614bc9565b6020850151909350615d1481614bc9565b60408501519092506151b581614bb5565b5f8060408385031215615d36575f80fd5b8251615d4181614bc9565b6020840151909250614cda81614bb5565b5f8060408385031215615d63575f80fd5b8251615d4181614bb5565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615d95575f80fd5b615d9e83615443565b9150602083015163ffffffff81168114614cda575f80fd5b601f8211156145d457805f5260205f20601f840160051c81016020851015615ddb5750805b601f840160051c820191505b81811015611168575f8155600101615de7565b81516001600160401b03811115615e1357615e13614d00565b615e2781615e218454615392565b84615db6565b6020601f821160018114615e59575f8315615e425750848201515b5f19600385901b1c1916600184901b178455611168565b5f84815260208120601f198516915b82811015615e885787850151825560209485019460019092019101615e68565b5084821015615ea557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203bfe9287e56eb7c6aefccb742e1f17d3f83404980dc0d37be129e03159f70a2f64736f6c634300081a0033",
1281
+ "deployedBytecode": "0x608060405234801561000f575f80fd5b50600436106101d1575f3560e01c80636c1e9dff116100fe5780638fb360371161009e578063bf7e214f1161006e578063bf7e214f1461046a578063d0d63b0914610472578063e1f216fa14610485578063fb3bcd1f14610498575f80fd5b80638fb360371461041b578063ada9652e1461043c578063b68d180914610450578063bca99e3914610457575f80fd5b80637a9e5e4b116100d95780637a9e5e4b146103ba57806384d1f7cf146103cd578063893d20e8146104005780638e4a508e14610408575f80fd5b80636c1e9dff1461036d5780636c741e781461038057806376b707b7146103a0575f80fd5b806326889b091161017457806354e507791161014457806354e50779146103055780635ab1bd5314610318578063644c45e01461033d5780636a4bb7be1461035a575f80fd5b806326889b09146102b9578063329c71c0146102cc578063329d6e74146102df57806349bb9e4b146102f2575f80fd5b8063125510a3116101af578063125510a314610247578063138461e01461025c5780631eff4b221461027c57806322f3e2d4146102b1575f80fd5b806301ffc9a7146101d55780630d8e6e2c146102165780630fec111c14610232575b5f80fd5b6102016101e3366004614acc565b6001600160e01b0319165f9081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b61021e6104ab565b60405162ffffff909116815260200161020d565b61023a610532565b60405161020d9190614b21565b61025a610255366004614c0a565b6106ec565b005b610264610b77565b6040516001600160601b03909116815260200161020d565b6102a37f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30081565b60405190815260200161020d565b610201610b81565b6102646102c7366004614cae565b610bf8565b61025a6102da366004614ce5565b610f89565b61025a6102ed366004614e6f565b61116f565b61025a610300366004614ea0565b6112b9565b610264610313366004614cae565b6113b5565b6001546001600160a01b03165b6040516001600160a01b03909116815260200161020d565b5f80516020615eb5833981519152546001600160601b0316610264565b61025a610368366004614f26565b611b11565b61026461037b366004614cae565b611dd0565b6103886121b4565b6040516001600160401b03909116815260200161020d565b6103a8612240565b60405160ff909116815260200161020d565b61025a6103c83660046150df565b6122a8565b6103e06103db3660046150fa565b61232e565b604080516001600160601b0393841681529290911660208301520161020d565b6103256126af565b61025a610416366004614ce5565b6127e0565b6104236129ba565b6040516001600160e01b0319909116815260200161020d565b6102a35f80516020615eb583398151915281565b600f6103a8565b61025a610465366004614ce5565b6129ef565b610325612bfd565b61025a610480366004614ce5565b612c18565b61025a610493366004615178565b6130e1565b61025a6104a63660046151c0565b613468565b604051632efe011360e01b8152600360048201525f60248201819052604482018190529073__$8eede297b65ed5a56eb3f84d8232ae93f5$__90632efe011390606401602060405180830381865af4158015610509573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d919061534a565b905090565b6040805160e0810182525f8082526020820181905291810182905260608082018390526080820183905260a0820183905260c0820152907f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30090506040518060e0016040528073__$94a2c899be079b00d952d0d84fffaa5c34$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156105de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106029190615377565b6001600160601b0390811682528354908116602083015260ff600160601b820481166040840152600160681b909104161515606082015230608082015260a00161064a6126af565b6001600160a01b0316815260200182600101805461066790615392565b80601f016020809104026020016040519081016040528092919081815260200182805461069390615392565b80156106de5780601f106106b5576101008083540402835291602001916106de565b820191905f5260205f20905b8154815290600101906020018083116106c157829003601f168201915b505050505081525091505090565b6106f8335b5f36613713565b610703856015613809565b5f6107166001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03871660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa158015610763573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107879190615377565b905060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a289838673__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156107f6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061081a9190615377565b6040518563ffffffff1660e01b815260040161083994939291906153ca565b5f604051808303815f87803b158015610850575f80fd5b505af1158015610862573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b031663899cc04c89878673__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156108d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108f79190615377565b6040518563ffffffff1660e01b815260040161091694939291906153ca565b5f604051808303815f87803b15801561092d575f80fd5b505af115801561093f573d5f803e3d5ffd5b505060035460405163ad328d9f60e01b81526001600160a01b03909116925063ad328d9f9150610979908b908a908a9089906004016153ca565b5f604051808303815f87803b158015610990575f80fd5b505af11580156109a2573d5f803e3d5ffd5b505060405163a310e2a360e01b81526001600160601b03841660048201525f92506001600160a01b038c16915063a310e2a390602401602060405180830381865afa1580156109f3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a1791906153fc565b905060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b8b6001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a78573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a9c9190615377565b836001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015610ad8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610afc91906153fc565b876040518463ffffffff1660e01b8152600401610b1b93929190615417565b6020604051808303815f875af1158015610b37573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b5b9190615377565b50610b6b8a828a8a8989896138c0565b50505050505050505050565b5f61052d30613b35565b5f610b8a612bfd565b60405163a166aa8960e01b81523060048201526001600160a01b03919091169063a166aa8990602401602060405180830381865afa158015610bce573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf29190615452565b15905090565b5f805f805f73__$19db5f0436f9beab06d91aaebdafaf50ff$__631b04bdc8610c296001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526001600160601b038a16604482015260640161016060405180830381865af4158015610c81573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ca591906154f2565b50600354604051631696791160e11b81526001600160a01b0380861660048301526001600160601b03808f1660248401528d16604483015295995093975091955093505f921690632d2cf222906064016020604051808303815f875af1158015610d11573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610d359190615377565b905080955060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a285848473__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015610da7573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610dcb9190615377565b6040518563ffffffff1660e01b8152600401610dea94939291906153ca565b5f604051808303815f87803b158015610e01575f80fd5b505af1158015610e13573d5f803e3d5ffd5b5050604080516001600160601b03878116825286811660208301528c81168284015285811660608301528a16608082015290517f1486849121d5ae771349472444bdddfe08862a6644665b5fd7ed4cf14a51db7893509081900360a0019150a16040516357f80bbf60e01b81526001600160601b03831660048201526001600160a01b038616906357f80bbf9060240160e060405180830381865afa158015610ebe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ee29190615560565b60600151610f7e575f610efd6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038b1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015610f4a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f6e91906153fc565b9050610f7c8684838a613d2e565b505b505050505092915050565b5f80610f93613e0a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015610fd4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ff891906153fc565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa158015611046573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061106a9190615560565b6060015161109b5760405163664958ad60e01b81526001600160601b03841660048201526024015b60405180910390fd5b5f6110ae6001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156110fb573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061111f91906153fc565b90507ff93784364e35bd9d02fb31e12793254279ee0381ed65b4fa39ee297b22fdd79a84828760405161115493929190615417565b60405180910390a161116882858388613d2e565b5050505050565b73__$8eede297b65ed5a56eb3f84d8232ae93f5$__63a123b37c6111916104ab565b6040516001600160e01b031960e084901b16815262ffffff9091166004820152602401602060405180830381865af41580156111cf573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111f39190615599565b5f80516020615ef58339815191528054600160401b900460ff1680611225575080546001600160401b03808416911610155b156112435760405163f92ee8a960e01b815260040160405180910390fd5b805468ffffffffffffffffff19166001600160401b03831617600160401b17815561126d83613eab565b805460ff60401b191681556040516001600160401b03831681527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050565b5f80516020615ef58339815191528054600160401b810460ff1615906001600160401b03165f811580156112ea5750825b90505f826001600160401b031660011480156113055750303b155b905081158015611313575080155b156113315760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561135b57845460ff60401b1916600160401b1785555b6113658787613eb3565b83156113ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020015b60405180910390a15b50505050505050565b5f6113bf336106f1565b6113ca836016613809565b5f806113d4613e0a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611415573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061143991906153fc565b9050849350836001600160601b031673__$3bac17678db7ae928afa209f2f44deec9c$__63262b32d2909173__$3bac17678db7ae928afa209f2f44deec9c$__636ac5db196040518163ffffffff1660e01b8152600401602060405180830381865af41580156114ab573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114cf9190615377565b6040516001600160e01b031960e085901b1681526001600160601b03928316600482015291166024820152604401602060405180830381865af4158015611518573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061153c9190615452565b156115b757604051630232ca4960e01b81526001600160601b03871660048201526001600160a01b03821690630232ca4990602401602060405180830381865afa15801561158c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906115b09190615377565b93506116d3565b604051630232ca4960e01b81526001600160601b03871660048201526116319085906001600160a01b03841690630232ca4990602401602060405180830381865afa158015611608573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061162c9190615377565b6140cb565b156116d357604051630232ca4960e01b81526001600160601b038716600482015284906001600160a01b03831690630232ca4990602401602060405180830381865afa158015611683573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116a79190615377565b604051637a2a246360e01b81526001600160601b03928316600482015291166024820152604401611092565b5f826001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611710573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061173491906153fc565b905060025f9054906101000a90046001600160a01b03166001600160a01b031663899cc04c828973__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af41580156117a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c69190615377565b896040518563ffffffff1660e01b81526004016117e694939291906153ca565b5f604051808303815f87803b1580156117fd575f80fd5b505af115801561180f573d5f803e3d5ffd5b5050505060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a282868873__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015611880573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118a49190615377565b6040518563ffffffff1660e01b81526004016118c394939291906153ca565b5f604051808303815f87803b1580156118da575f80fd5b505af11580156118ec573d5f803e3d5ffd5b50505050505f6119046001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03891660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015611951573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061197591906153fc565b60405163a310e2a360e01b81526001600160601b03861660048201529091505f906001600160a01b0384169063a310e2a390602401602060405180830381865afa1580156119c5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119e991906153fc565b90505f816001600160a01b03166382bfefc86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611a28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611a4c91906153fc565b604080516001600160601b038c811682526001600160a01b0387811660208401528416828401528a16606082015290519192507f5570b1fde7a6e4fe77febc49a50067a02fef8b1b067f94740877b4f7d2239d8f919081900360800190a16040516333f6af9b60e11b81526001600160a01b038316906367ed5f3690611ad89086908b906004016155b4565b5f604051808303815f87803b158015611aef575f80fd5b505af1158015611b01573d5f803e3d5ffd5b5050505050505050505092915050565b611b1a336106f1565b611b25826015613809565b5f611b398260800151836101600151614157565b905060035f9054906101000a90046001600160a01b03166001600160a01b031663ad328d9f856001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b9a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bbe91906153fc565b858560200151856040518563ffffffff1660e01b8152600401611be494939291906153ca565b5f604051808303815f87803b158015611bfb575f80fd5b505af1158015611c0d573d5f803e3d5ffd5b505050505f846001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015611c4e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c7291906153fc565b905060055f9054906101000a90046001600160a01b03166001600160a01b031663d44f8a4b826001600160a01b0316637e7986696040518163ffffffff1660e01b8152600401602060405180830381865afa158015611cd3573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cf79190615377565b855160405163037efc5960e61b81526001600160601b0390911660048201526001600160a01b0385169063dfbf164090602401602060405180830381865afa158015611d45573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d6991906153fc565b856040518463ffffffff1660e01b8152600401611d8893929190615417565b6020604051808303815f875af1158015611da4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611dc89190615377565b505050505050565b5f805f805f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__631b04bdc8611e026001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526001600160601b038b16604482015260640161016060405180830381865af4158015611e5a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e7e91906154f2565b6040516308a390bb60e21b81526001600160601b0383166004820152949950929750909550935091505f906001600160a01b0387169063228e42ec90602401602060405180830381865afa158015611ed8573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611efc9190615377565b9050611f12611f0b828a6141dc565b83516140cb565b15611f5657815160405163b806175d60e01b81526001600160601b038086166004830152918216602482015281831660448201529089166064820152608401611092565b505f73__$19db5f0436f9beab06d91aaebdafaf50ff$__63d775bd0a611f846001546001600160a01b031690565b88868c6040518563ffffffff1660e01b8152600401611fa694939291906155d6565b6040805180830381865af4158015611fc0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611fe4919061560a565b60025460405163d56cd3d560e01b81529199509192506001600160a01b039091169063d56cd3d59061202090889087908c9087906004016153ca565b5f604051808303815f87803b158015612037575f80fd5b505af1158015612049573d5f803e3d5ffd5b505060035460405163c548949d60e01b81526001600160a01b03909116925063c548949d915061208390899089908e908d906004016155d6565b5f604051808303815f87803b15801561209a575f80fd5b505af11580156120ac573d5f803e3d5ffd5b5050604080516001600160601b03888116825287811660208301528d8116828401528c811660608301528b16608082015290517fa397b0d38fe748a8c29cce53eab5736ef0c29c156e7a9586ae8b88a8557b414593509081900360a0019150a18160600151610f7c575f6121286001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038c1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa158015612175573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061219991906153fc565b90506121a78785838c614226565b5050505050505092915050565b5f73__$1d92393fa9ccd763988368ce8a1cb90d26$__63dda777d3600f6121d9612240565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865af415801561221c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190615599565b5f612249612bfd565b6001600160a01b03166376b707b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015612284573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061052d9190615650565b336122b1612bfd565b6001600160a01b0316816001600160a01b0316146122ec5760405162d1953b60e31b81526001600160a01b0382166004820152602401611092565b816001600160a01b03163b5f03612321576040516361798f2f60e11b81526001600160a01b0383166004820152602401611092565b61232a826142ce565b5050565b5f80612339336106f1565b61234486600c613809565b61234f856015613809565b61235a846016613809565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6381c0eb6c8b6001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123b2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906123d691906153fc565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526001600160601b03808c16602483015288166044820152606401608060405180830381865af415801561242f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612453919061566b565b600354604051634adcf90960e01b81529398509196509294509192506001600160a01b0390911690634adcf90990612495908d908b908b9089906004016153ca565b5f604051808303815f87803b1580156124ac575f80fd5b505af11580156124be573d5f803e3d5ffd5b5050505060055f9054906101000a90046001600160a01b03166001600160a01b031663ea48ce9b8b6001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612521573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125459190615377565b8b876040518463ffffffff1660e01b815260040161256593929190615417565b6020604051808303815f875af1158015612581573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125a59190615377565b5080156126a2575f6125bf6001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa15801561260c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061263091906153fc565b604051634deed57960e01b81526001600160601b03808b166004830152808a166024830152871660448201529091506001600160a01b03821690634deed579906064015f604051808303815f87803b15801561268a575f80fd5b505af115801561269c573d5f803e3d5ffd5b50505050505b5050965096945050505050565b5f805f80516020615eb583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af415801561271b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061273f9190615452565b156127ca576001546001600160a01b03168154604051631c5da14d60e11b81526001600160601b0390911660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa1580156127a0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127c491906153fc565b91505090565b54600160601b90046001600160a01b0316919050565b5f806127ea613e0a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa15801561282b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061284f91906153fc565b6040516357f80bbf60e01b81526001600160601b03851660048201529091506001600160a01b038216906357f80bbf9060240160e060405180830381865afa15801561289d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906128c19190615560565b606001516128ed5760405163664958ad60e01b81526001600160601b0384166004820152602401611092565b5f6129006001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b03861660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561294d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061297191906153fc565b90507f67e4007a2396f32c2c58b0546d5dc80e8097a965b3de4127c33f3610864416bd8482876040516129a693929190615417565b60405180910390a161116882858388614226565b5f80516020615ed583398151915280545f9190600160a01b900460ff166129e1575f6127c4565b638fb3603760e01b91505090565b5f806129f9613e0a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a3a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a5e91906153fc565b6040516357f80bbf60e01b81526001600160601b03851660048201529091505f906001600160a01b038316906357f80bbf9060240160e060405180830381865afa158015612aae573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ad29190615560565b80516001600160601b038716825260408051631a99b41b60e31b8152905192935090916001600160a01b0386169163d4cda0d89160048083019260209291908290030181865afa158015612b28573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b4c91906153fc565b6001600160a01b03166328802681868460ff6040518463ffffffff1660e01b8152600401612b7c939291906156c4565b5f604051808303815f87803b158015612b93575f80fd5b505af1158015612ba5573d5f803e3d5ffd5b5050604080516001600160601b03898116825285811660208301528a168183015290517f59c52d680289bf3ed1eaf8c98c2385d021cbc74043dd1ed596d6383f63235ffc9350908190036060019150a1505050505050565b5f80516020615ed5833981519152546001600160a01b031690565b612c23816016613809565b5f80612c2d613e0a565b600354604051632aa6b2cb60e21b81529294509092505f9182916001600160a01b03169063aa9acb2c90612c6790869089906004016155b4565b60408051808303815f875af1158015612c82573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ca6919061560a565b9150915060025f9054906101000a90046001600160a01b03166001600160a01b03166389fad8a2846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015612d09573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612d2d91906153fc565b86612d3886866141dc565b73__$3bac17678db7ae928afa209f2f44deec9c$__63bc1b392d6040518163ffffffff1660e01b8152600401602060405180830381865af4158015612d7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612da39190615377565b6040518563ffffffff1660e01b8152600401612dc294939291906153ca565b5f604051808303815f87803b158015612dd9575f80fd5b505af1158015612deb573d5f803e3d5ffd5b505050507f64c75a4392ba38fee1b5a44b61e3dd0cae424d2d43eb2b0c99772efe31e1c042836001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015612e4c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e709190615377565b604080516001600160601b03928316815282881660208201529188169082015260600160405180910390a1612ea582826141dc565b6040516330b8415f60e01b81526001600160601b03909116600482015273__$3bac17678db7ae928afa209f2f44deec9c$__906330b8415f90602401602060405180830381865af4158015612efc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f209190615452565b15611168575f836001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f62573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f8691906153fc565b60405163f0ea17c360e01b81526001600160601b03871660048201526001600160a01b03919091169063f0ea17c3906024015f60405180830381865afa158015612fd2573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052612ff99190810190615790565b905080602001516001600160a01b03166367ed5f366130206001546001600160a01b031690565b604051631c5da14d60e11b81526001600160601b038a1660048201526001600160a01b0391909116906338bb429a90602401602060405180830381865afa15801561306d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061309191906153fc565b61309b86866141dc565b6040518363ffffffff1660e01b81526004016130b89291906155b4565b5f604051808303815f87803b1580156130cf575f80fd5b505af1158015610b6b573d5f803e3d5ffd5b6130ec836015613809565b5f806130f6613e0a565b915091505f816001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa158015613137573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061315b91906153fc565b90505f6131706001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03861660048201526001600160a01b03919091169063cefa7fd690602401602060405180830381865afa1580156131bd573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131e19190615377565b60405163bd7d9d8560e01b81526001600160601b03891660048201529091505f906001600160a01b0384169063bd7d9d85906024015f60405180830381865afa158015613230573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613257919081019061586b565b9050613266815f01518361432e565b156132a2578051604051636083e75360e01b81526001600160601b03808b16600483015291821660248201529083166044820152606401611092565b604080516001600160601b038a8116825261ffff8a16602083015288168183015290517f6a2b4f9e8a4bb9038617a047352d25c5ac3c64c4aaba95e576b978a91b6666fb9181900360600190a16040516302d764c760e21b81526001600160601b03831660048201526001600160a01b03841690630b5d931c906024015f60405180830381865afa158015613339573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526133609190810190615a86565b511561345e575f6133796001546001600160a01b031690565b60405163bf8e179760e01b81526001600160601b03851660048201526001600160a01b03919091169063bf8e179790602401602060405180830381865afa1580156133c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906133ea91906153fc565b6040516370f90b7d60e11b81526001600160601b03808c16600483015261ffff8b166024830152891660448201529091506001600160a01b0382169063e1f216fa906064015f604051808303815f87803b158015613446575f80fd5b505af1158015613458573d5f803e3d5ffd5b50505050505b5050505050505050565b613471336106f1565b61347c826016613809565b5f61348f6001546001600160a01b031690565b60405163677d3feb60e11b81526001600160601b03851660048201529091505f906001600160a01b0383169063cefa7fd690602401602060405180830381865afa1580156134df573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906135039190615377565b60405163c52721a360e01b81526001600160a01b03841660048201526001600160601b0382166024820152600160448201529091505f9073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063c52721a3906064015f60405180830381865af4158015613573573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f1916820160405261359a9190810190615b68565b9150505f8190505f6135b58660e001518761016001516141dc565b90505f6135cc8761010001518861018001516141dc565b90505f876060015190505f846001600160a01b031663d4cda0d86040518163ffffffff1660e01b8152600401602060405180830381865afa158015613613573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061363791906153fc565b6002549091506001600160a01b031663d56cd3d5828961365786886141dc565b886040518563ffffffff1660e01b815260040161367794939291906153ca565b5f604051808303815f87803b15801561368e575f80fd5b505af11580156136a0573d5f803e3d5ffd5b50506002546040516317bb009960e21b81526001600160a01b039091169250635eec026491506136da9084908e90879089906004016153ca565b5f604051808303815f87803b1580156136f1575f80fd5b505af1158015613703573d5f803e3d5ffd5b5050505050505050505050505050565b5f80516020615ed58339815191525f8061374b61372e612bfd565b873061373d60045f8a8c615c4a565b61374691615c71565b614378565b9150915081611dc85763ffffffff8116156137e657825460ff60a01b1916600160a01b178355613779612bfd565b6001600160a01b03166394c7d7ee8787876040518463ffffffff1660e01b81526004016137a893929190615ca7565b5f604051808303815f87803b1580156137bf575f80fd5b505af11580156137d1573d5f803e3d5ffd5b5050845460ff60a01b1916855550611dc89050565b60405162d1953b60e31b81526001600160a01b0387166004820152602401611092565b6001546001600160a01b0316604051635b12715d60e11b81526001600160601b038416600482015260ff831660248201526001600160a01b03919091169063b624e2ba90604401602060405180830381865afa15801561386b573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061388f9190615452565b61232a5760405163d711af7560e01b81526001600160601b038316600482015260ff82166024820152604401611092565b5f805f73__$19db5f0436f9beab06d91aaebdafaf50ff$__63565fbada6138ef6001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039182166004820152818e1660248201526001600160601b03808d166044830152808c1660648301528916608482015290871660a482015260c401606060405180830381865af4158015613960573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906139849190615ce6565b925092509250886001600160a01b03166367ed5f3682856040518363ffffffff1660e01b81526004016139b89291906155b4565b5f604051808303815f87803b1580156139cf575f80fd5b505af11580156139e1573d5f803e3d5ffd5b50506040516330b8415f60e01b81526001600160601b038516600482015273__$3bac17678db7ae928afa209f2f44deec9c$__92506330b8415f9150602401602060405180830381865af4158015613a3b573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613a5f9190615452565b15613b2957604051634d21a63d60e01b81526001600160601b03891660048201526001600160a01b03808b16916367ed5f36918d1690634d21a63d90602401602060405180830381865afa158015613ab9573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613add91906153fc565b846040518363ffffffff1660e01b8152600401613afb9291906155b4565b5f604051808303815f87803b158015613b12575f80fd5b505af1158015613b24573d5f803e3d5ffd5b505050505b610b6b87878386614480565b5f805f80516020615eb583398151915280546040516330b8415f60e01b81526001600160601b03909116600482015290915073__$94a2c899be079b00d952d0d84fffaa5c34$__906330b8415f90602401602060405180830381865af4158015613ba1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613bc59190615452565b15613bf15780546040516301ab8b6760e21b81526001600160601b039091166004820152602401611092565b6001546001600160a01b031660405163c3c5a54760e01b81526001600160a01b038581166004830152919091169063c3c5a54790602401602060405180830381865afa158015613c43573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613c679190615452565b613c8f5760405163b9304b0d60e01b81526001600160a01b0384166004820152602401611092565b6001546001600160a01b0316604051632f2a35f760e11b81526001600160a01b0385811660048301529190911690635e546bee90602401602060405180830381865afa158015613ce1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613d059190615377565b81546bffffffffffffffffffffffff19166001600160601b039190911690811790915592915050565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa158015613d7a573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f19168201604052613da19190810190615790565b60208101516040516333f6af9b60e11b81529192506001600160a01b0316906367ed5f3690613dd690869086906004016155b4565b5f604051808303815f87803b158015613ded575f80fd5b505af1158015613dff573d5f803e3d5ffd5b505050505050505050565b5f8073__$19db5f0436f9beab06d91aaebdafaf50ff$__6339b8cee8613e386001546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523360248201526044016040805180830381865af4158015613e7f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190613ea39190615d25565b915091509091565b6101d16144ff565b5f80516020615ef58339815191528054600160401b810460ff1615906001600160401b03165f81158015613ee45750825b90505f826001600160401b03166001148015613eff5750303b155b905081158015613f0d575080155b15613f2b5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff191660011785558315613f5557845460ff60401b1916600160401b1785555b5f8087806020019051810190613f6b9190615d52565b91509150613f7a82828b614537565b613f8460286145d9565b600280546001600160a01b0319166001600160a01b0392909216919091179055613fae60166145d9565b600380546001600160a01b0319166001600160a01b0392909216919091179055613fd8600b6145d9565b600480546001600160a01b0319166001600160a01b03928316179055600154166001600160a01b0316630e9ed68b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015614033573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061405791906153fc565b600580546001600160a01b0319166001600160a01b039290921691909117905561408763146e076360e11b614670565b505083156113ac57845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2906020016113a3565b604051632601631360e21b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__906398058c4c906044015b602060405180830381865af415801561412c573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141509190615452565b9392505050565b6040516363cf551160e11b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063c79eaa22906044015b602060405180830381865af41580156141b8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906141509190615377565b60405163274acb3560e01b81526001600160601b038084166004830152821660248201525f9073__$3bac17678db7ae928afa209f2f44deec9c$__9063274acb359060440161419d565b60405163f0ea17c360e01b81526001600160601b03841660048201525f906001600160a01b0386169063f0ea17c3906024015f60405180830381865afa158015614272573d5f803e3d5ffd5b505050506040513d5f823e601f3d908101601f191682016040526142999190810190615790565b6020810151604051630f3f86bd60e31b81529192506001600160a01b0316906379fc35e890613dd690869086906004016155b4565b5f80516020615ed583398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b6040516399009c5160e01b81526001600160601b038084166004830152821660248201525f9073__$94a2c899be079b00d952d0d84fffaa5c34$__906399009c5190604401614111565b6040516001600160a01b03848116602483015283811660448301526001600160e01b0319831660648301525f9182918291829189169060840160408051601f198184030181529181526020820180516001600160e01b031663b700961360e01b179052516143e69190615d6e565b5f60405180830381855afa9150503d805f811461441e576040519150601f19603f3d011682016040523d82523d5f602084013e614423565b606091505b50915091508115614475576040815110614455578080602001905181019061444b9190615d84565b9094509250614475565b602081511061447557808060200190518101906144729190615452565b93505b505094509492505050565b5f61449c6144966001546001600160a01b031690565b866146a3565b90506001600160a01b0381161561116857604051638bfaca2d60e01b81526001600160601b03808716600483015264ffffffffff86166024830152831660448201526001600160a01b038481166064830152821690638bfaca2d90608401613dd6565b5f80516020615ef583398151915254600160401b900460ff1661453557604051631afcd79f60e31b815260040160405180910390fd5b565b61453f6144ff565b6145476147a5565b6145c48383846001600160a01b031663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015614588573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906145ac9190615377565b60085f8660405180602001604052805f8152506147b5565b6145d463daf9067160e01b614670565b505050565b5f6145ec6001546001600160a01b031690565b6001600160a01b031663d39e604383614603612240565b6040516001600160e01b031960e085901b16815260ff928316600482015291166024820152604401602060405180830381865afa158015614646573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061466a91906153fc565b92915050565b6146786144ff565b6146a0816001600160e01b0319165f908152602081905260409020805460ff19166001179055565b50565b604051631c5da14d60e11b81526001600160601b03821660048201525f9081906001600160a01b038516906338bb429a90602401602060405180830381865afa1580156146f2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061471691906153fc565b604051635b5dd68960e11b81526001600160a01b038216600482015290925082915073__$fb599632d08395912d9d70eb2f0f93b5e2$__9063b6bbad1290602401602060405180830381865af4158015614772573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906147969190615452565b61479e575f91505b5092915050565b6147ad6144ff565b6145356148f2565b6147bd6144ff565b604051632330f24760e01b81526001600160a01b038816600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90632330f24790602401602060405180830381865af4158015614813573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906148379190615452565b61485f5760405163cf6935e560e01b81526001600160a01b0388166004820152602401611092565b61486887614920565b6148728683614931565b5f7f6548007c3f4340f82f348c576c0ff69f4f529cadd5ad41f96aae61abceeaa30080546001600160601b0388166cffffffffffffffffffffffffff1990911617600160601b60ff8816021760ff60681b1916600160681b861515021781559050600181016148e18382615dfa565b5061345e634a531f3360e01b614670565b6148fa6144ff565b60017f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f0055565b6149286144ff565b6146a0816149a7565b6149396144ff565b6149416149b8565b61494a82614a00565b6001600160a01b0381166149715760405163f17ef42d60e01b815260040160405180910390fd5b5f80516020615eb583398151915280546001600160601b0316600160601b6001600160a01b039093169290920291909117905550565b6149af6144ff565b6146a0816142ce565b6149c06144ff565b6145356301ffc9a760e01b5f9081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff19166001179055565b614a086144ff565b604051633334d16b60e01b81526001600160a01b038216600482015273__$fb599632d08395912d9d70eb2f0f93b5e2$__90633334d16b90602401602060405180830381865af4158015614a5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190614a829190615452565b614aaa5760405163fdeac91f60e01b81526001600160a01b0382166004820152602401611092565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b5f60208284031215614adc575f80fd5b81356001600160e01b031981168114614150575f80fd5b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b602081526001600160601b0382511660208201526001600160601b03602083015116604082015260ff60408301511660608201525f6060830151614b69608084018215159052565b5060808301516001600160a01b03811660a08401525060a08301516001600160a01b03811660c08401525060c083015160e080840152614bad610100840182614af3565b949350505050565b6001600160a01b03811681146146a0575f80fd5b6001600160601b03811681146146a0575f80fd5b8035614be881614bc9565b919050565b64ffffffffff811681146146a0575f80fd5b8035614be881614bed565b5f805f805f805f80610100898b031215614c22575f80fd5b8835614c2d81614bb5565b97506020890135614c3d81614bb5565b96506040890135614c4d81614bc9565b95506060890135614c5d81614bc9565b94506080890135614c6d81614bc9565b935060a0890135614c7d81614bed565b925060c0890135614c8d81614bc9565b915060e0890135614c9d81614bb5565b809150509295985092959890939650565b5f8060408385031215614cbf575f80fd5b8235614cca81614bc9565b91506020830135614cda81614bc9565b809150509250929050565b5f60208284031215614cf5575f80fd5b813561415081614bc9565b634e487b7160e01b5f52604160045260245ffd5b60405161020081016001600160401b0381118282101715614d3757614d37614d00565b60405290565b60405161024081016001600160401b0381118282101715614d3757614d37614d00565b60405160e081016001600160401b0381118282101715614d3757614d37614d00565b604051606081016001600160401b0381118282101715614d3757614d37614d00565b60405161010081016001600160401b0381118282101715614d3757614d37614d00565b604051601f8201601f191681016001600160401b0381118282101715614def57614def614d00565b604052919050565b5f6001600160401b03821115614e0f57614e0f614d00565b50601f01601f191660200190565b5f82601f830112614e2c575f80fd5b8135614e3f614e3a82614df7565b614dc7565b818152846020838601011115614e53575f80fd5b816020850160208301375f918101602001919091529392505050565b5f60208284031215614e7f575f80fd5b81356001600160401b03811115614e94575f80fd5b614bad84828501614e1d565b5f8060408385031215614eb1575f80fd5b8235614ebc81614bb5565b915060208301356001600160401b03811115614ed6575f80fd5b614ee285828601614e1d565b9150509250929050565b6001600160c01b0319811681146146a0575f80fd5b8035614be881614eec565b61ffff811681146146a0575f80fd5b8035614be881614f0c565b5f805f60608486031215614f38575f80fd5b8335614f4381614bb5565b92506020840135614f5381614bc9565b915060408401356001600160401b03811115614f6d575f80fd5b84016102008187031215614f7f575f80fd5b614f87614d14565b614f9082614bdd565b8152614f9e60208301614bdd565b6020820152614faf60408301614f01565b6040820152614fc060608301614f01565b6060820152614fd160808301614bdd565b6080820152614fe260a08301614bdd565b60a0820152614ff360c08301614bff565b60c082015260e08201356001600160401b03811115615010575f80fd5b61501c88828501614e1d565b60e0830152506101008201356001600160401b0381111561503b575f80fd5b61504788828501614e1d565b6101008301525061505b6101208301614f1b565b61012082015261506e6101408301614f1b565b6101408201526150816101608301614bdd565b6101608201526150946101808301614bdd565b6101808201526150a76101a08301614bff565b6101a08201526150ba6101c08301614bff565b6101c08201526150cd6101e08301614bff565b6101e082015280925050509250925092565b5f602082840312156150ef575f80fd5b813561415081614bb5565b5f805f805f8060c0878903121561510f575f80fd5b863561511a81614bb5565b9550602087013561512a81614bb5565b9450604087013561513a81614bc9565b9350606087013561514a81614bc9565b9250608087013561515a81614bc9565b915060a087013561516a81614bc9565b809150509295509295509295565b5f805f6060848603121561518a575f80fd5b833561519581614bc9565b925060208401356151a581614f0c565b915060408401356151b581614bc9565b809150509250925092565b5f808284036102608112156151d3575f80fd5b83356151de81614bc9565b9250610240601f19820112156151f2575f80fd5b506151fb614d3d565b61520760208501614bdd565b815261521560408501614bdd565b602082015261522660608501614bdd565b604082015261523760808501614bdd565b606082015261524860a08501614bdd565b608082015261525960c08501614bdd565b60a082015261526a60e08501614bdd565b60c082015261527c6101008501614bdd565b60e082015261528e6101208501614bdd565b6101008201526152a16101408501614bdd565b6101208201526152b46101608501614bdd565b6101408201526152c76101808501614bdd565b6101608201526152da6101a08501614bdd565b6101808201526152ed6101c08501614bdd565b6101a08201526153006101e08501614bdd565b6101c08201526153136102008501614bdd565b6101e08201526153266102208501614bdd565b6102008201526153396102408501614bdd565b610220820152809150509250929050565b5f6020828403121561535a575f80fd5b815162ffffff81168114614150575f80fd5b8051614be881614bc9565b5f60208284031215615387575f80fd5b815161415081614bc9565b600181811c908216806153a657607f821691505b6020821081036153c457634e487b7160e01b5f52602260045260245ffd5b50919050565b6001600160a01b039490941684526001600160601b039283166020850152908216604084015216606082015260800190565b5f6020828403121561540c575f80fd5b815161415081614bb5565b6001600160601b0393841681526001600160a01b03929092166020830152909116604082015260600190565b80518015158114614be8575f80fd5b5f60208284031215615462575f80fd5b61415082615443565b5f60e0828403121561547b575f80fd5b615483614d60565b9050815161549081614bc9565b815261549e60208301615443565b60208201526154af60408301615443565b60408201526154c060608301615443565b60608201526154d160808301615443565b608082015260a0828101519082015260c09182015191810191909152919050565b5f805f805f6101608688031215615507575f80fd5b855161551281614bb5565b602087015190955061552381614bb5565b604087015190945061553481614bc9565b606087015190935061554581614bc9565b9150615554876080880161546b565b90509295509295909350565b5f60e08284031215615570575f80fd5b614150838361546b565b8051614be881614bb5565b6001600160401b03811681146146a0575f80fd5b5f602082840312156155a9575f80fd5b815161415081615585565b6001600160a01b039290921682526001600160601b0316602082015260400190565b6001600160a01b0394851681529290931660208301526001600160601b039081166040830152909116606082015260800190565b5f806040838503121561561b575f80fd5b825161562681614bc9565b6020840151909250614cda81614bc9565b60ff811681146146a0575f80fd5b8051614be881615637565b5f60208284031215615660575f80fd5b815161415081615637565b5f805f806080858703121561567e575f80fd5b845161568981614bc9565b602086015190945061569a81614bc9565b60408601519093506156ab81614bc9565b91506156b960608601615443565b905092959194509250565b5f610120820190506001600160601b03851682526001600160601b0384511660208301526020840151151560408301526040840151151560608301526060840151151560808301526080840151151560a083015260a084015160c083015260c084015160e0830152614bad61010083018460ff169052565b5f615749614e3a84614df7565b905082815283838301111561575c575f80fd5b8282602083015e5f602084830101529392505050565b5f82601f830112615781575f80fd5b6141508383516020850161573c565b5f602082840312156157a0575f80fd5b81516001600160401b038111156157b5575f80fd5b8201606081850312156157c6575f80fd5b6157ce614d82565b81516001600160401b038111156157e3575f80fd5b8201601f810186136157f3575f80fd5b6158028682516020840161573c565b825250602082015161581381614bb5565b602082015260408201516001600160401b03811115615830575f80fd5b61583c86828501615772565b604083015250949350505050565b8051614be881614eec565b8051614be881614bed565b8051614be881614f0c565b5f6020828403121561587b575f80fd5b81516001600160401b03811115615890575f80fd5b820161020081850312156158a2575f80fd5b6158aa614d14565b6158b38261536c565b81526158c16020830161536c565b60208201526158d26040830161584a565b60408201526158e36060830161584a565b60608201526158f46080830161536c565b608082015261590560a0830161536c565b60a082015261591660c08301615855565b60c082015260e08201516001600160401b03811115615933575f80fd5b61593f86828501615772565b60e0830152506101008201516001600160401b0381111561595e575f80fd5b61596a86828501615772565b6101008301525061597e6101208301615860565b6101208201526159916101408301615860565b6101408201526159a4610160830161536c565b6101608201526159b7610180830161536c565b6101808201526159ca6101a08301615855565b6101a08201526159dd6101c08301615855565b6101c08201526159f06101e08301615855565b6101e0820152949350505050565b5f82601f830112615a0d575f80fd5b81516001600160401b03811115615a2657615a26614d00565b8060051b615a3660208201614dc7565b91825260208185018101929081019086841115615a51575f80fd5b6020860192505b83831015615a7c578251615a6b81614bc9565b825260209283019290910190615a58565b9695505050505050565b5f60208284031215615a96575f80fd5b81516001600160401b03811115615aab575f80fd5b82016101008185031215615abd575f80fd5b615ac5614da4565b615ace82615443565b8152615adc60208301615443565b6020820152615aed60408301615443565b6040820152615afe60608301615645565b6060820152615b0f60808301615645565b6080820152615b2060a0830161536c565b60a0820152615b3160c0830161536c565b60c082015260e08201516001600160401b03811115615b4e575f80fd5b615b5a868285016159fe565b60e083015250949350505050565b5f8060408385031215615b79575f80fd5b82516001600160401b03811115615b8e575f80fd5b830160e08186031215615b9f575f80fd5b615ba7614d60565b615bb08261536c565b8152615bbe6020830161536c565b6020820152615bcf60408301615645565b6040820152615be060608301615443565b6060820152615bf16080830161557a565b6080820152615c0260a0830161557a565b60a082015260c08201516001600160401b03811115615c1f575f80fd5b615c2b87828501615772565b60c0830152509250615c4190506020840161557a565b90509250929050565b5f8085851115615c58575f80fd5b83861115615c64575f80fd5b5050820193919092039150565b80356001600160e01b0319811690600484101561479e576001600160e01b031960049490940360031b84901b1690921692915050565b6001600160a01b03841681526040602082018190528101829052818360608301375f818301606090810191909152601f909201601f1916010192915050565b5f805f60608486031215615cf8575f80fd5b8351615d0381614bc9565b6020850151909350615d1481614bc9565b60408501519092506151b581614bb5565b5f8060408385031215615d36575f80fd5b8251615d4181614bc9565b6020840151909250614cda81614bb5565b5f8060408385031215615d63575f80fd5b8251615d4181614bb5565b5f82518060208501845e5f920191825250919050565b5f8060408385031215615d95575f80fd5b615d9e83615443565b9150602083015163ffffffff81168114614cda575f80fd5b601f8211156145d457805f5260205f20601f840160051c81016020851015615ddb5750805b601f840160051c820191505b81811015611168575f8155600101615de7565b81516001600160401b03811115615e1357615e13614d00565b615e2781615e218454615392565b84615db6565b6020601f821160018114615e59575f8315615e425750848201515b5f19600385901b1c1916600184901b178455611168565b5f84815260208120601f198516915b82811015615e885787850151825560209485019460019092019101615e68565b5084821015615ea557868401515f19600387901b60f8161c191681555b50505050600190811b0190555056fe07ebcf49758b6ed3af50fa146bec0abe157c0218fe65dc0874c286e9d5da4f00f3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a26469706673582212203bfe9287e56eb7c6aefccb742e1f17d3f83404980dc0d37be129e03159f70a2f64736f6c634300081a0033",
1282
+ "linkReferences": {
1283
+ "contracts/pool/PoolLib.sol": {
1284
+ "PoolLib": [
1285
+ {
1286
+ "length": 20,
1287
+ "start": 3285
1288
+ },
1289
+ {
1290
+ "length": 20,
1291
+ "start": 7854
1292
+ },
1293
+ {
1294
+ "length": 20,
1295
+ "start": 8240
1296
+ },
1297
+ {
1298
+ "length": 20,
1299
+ "start": 9268
1300
+ },
1301
+ {
1302
+ "length": 20,
1303
+ "start": 14747
1304
+ },
1305
+ {
1306
+ "length": 20,
1307
+ "start": 16100
1308
+ }
1309
+ ]
1310
+ },
1311
+ "contracts/shared/ContractLib.sol": {
1312
+ "ContractLib": [
1313
+ {
1314
+ "length": 20,
1315
+ "start": 13842
1316
+ },
1317
+ {
1318
+ "length": 20,
1319
+ "start": 18448
1320
+ },
1321
+ {
1322
+ "length": 20,
1323
+ "start": 18609
1324
+ },
1325
+ {
1326
+ "length": 20,
1327
+ "start": 19196
1328
+ }
1329
+ ]
1330
+ },
1331
+ "contracts/type/Amount.sol": {
1332
+ "AmountLib": [
1333
+ {
1334
+ "length": 20,
1335
+ "start": 2183
1336
+ },
1337
+ {
1338
+ "length": 20,
1339
+ "start": 2404
1340
+ },
1341
+ {
1342
+ "length": 20,
1343
+ "start": 3640
1344
+ },
1345
+ {
1346
+ "length": 20,
1347
+ "start": 5408
1348
+ },
1349
+ {
1350
+ "length": 20,
1351
+ "start": 5436
1352
+ },
1353
+ {
1354
+ "length": 20,
1355
+ "start": 6195
1356
+ },
1357
+ {
1358
+ "length": 20,
1359
+ "start": 6417
1360
+ },
1361
+ {
1362
+ "length": 20,
1363
+ "start": 11792
1364
+ },
1365
+ {
1366
+ "length": 20,
1367
+ "start": 12186
1368
+ },
1369
+ {
1370
+ "length": 20,
1371
+ "start": 15063
1372
+ },
1373
+ {
1374
+ "length": 20,
1375
+ "start": 16841
1376
+ },
1377
+ {
1378
+ "length": 20,
1379
+ "start": 16981
1380
+ },
1381
+ {
1382
+ "length": 20,
1383
+ "start": 17114
1384
+ }
1385
+ ]
1386
+ },
1387
+ "contracts/type/NftId.sol": {
1388
+ "NftIdLib": [
1389
+ {
1390
+ "length": 20,
1391
+ "start": 1647
1392
+ },
1393
+ {
1394
+ "length": 20,
1395
+ "start": 10169
1396
+ },
1397
+ {
1398
+ "length": 20,
1399
+ "start": 15423
1400
+ },
1401
+ {
1402
+ "length": 20,
1403
+ "start": 17452
1404
+ }
1405
+ ]
1406
+ },
1407
+ "contracts/type/RoleId.sol": {
1408
+ "RoleIdLib": [
1409
+ {
1410
+ "length": 20,
1411
+ "start": 8845
1412
+ }
1413
+ ]
1414
+ },
1415
+ "contracts/type/Version.sol": {
1416
+ "VersionLib": [
1417
+ {
1418
+ "length": 20,
1419
+ "start": 1447
1420
+ },
1421
+ {
1422
+ "length": 20,
1423
+ "start": 4679
1424
+ }
1425
+ ]
1426
+ }
1427
+ },
1428
+ "deployedLinkReferences": {
1429
+ "contracts/pool/PoolLib.sol": {
1430
+ "PoolLib": [
1431
+ {
1432
+ "length": 20,
1433
+ "start": 3071
1434
+ },
1435
+ {
1436
+ "length": 20,
1437
+ "start": 7640
1438
+ },
1439
+ {
1440
+ "length": 20,
1441
+ "start": 8026
1442
+ },
1443
+ {
1444
+ "length": 20,
1445
+ "start": 9054
1446
+ },
1447
+ {
1448
+ "length": 20,
1449
+ "start": 14533
1450
+ },
1451
+ {
1452
+ "length": 20,
1453
+ "start": 15886
1454
+ }
1455
+ ]
1456
+ },
1457
+ "contracts/shared/ContractLib.sol": {
1458
+ "ContractLib": [
1459
+ {
1460
+ "length": 20,
1461
+ "start": 13628
1462
+ },
1463
+ {
1464
+ "length": 20,
1465
+ "start": 18234
1466
+ },
1467
+ {
1468
+ "length": 20,
1469
+ "start": 18395
1470
+ },
1471
+ {
1472
+ "length": 20,
1473
+ "start": 18982
1474
+ }
1475
+ ]
1476
+ },
1477
+ "contracts/type/Amount.sol": {
1478
+ "AmountLib": [
1479
+ {
1480
+ "length": 20,
1481
+ "start": 1969
1482
+ },
1483
+ {
1484
+ "length": 20,
1485
+ "start": 2190
1486
+ },
1487
+ {
1488
+ "length": 20,
1489
+ "start": 3426
1490
+ },
1491
+ {
1492
+ "length": 20,
1493
+ "start": 5194
1494
+ },
1495
+ {
1496
+ "length": 20,
1497
+ "start": 5222
1498
+ },
1499
+ {
1500
+ "length": 20,
1501
+ "start": 5981
1502
+ },
1503
+ {
1504
+ "length": 20,
1505
+ "start": 6203
1506
+ },
1507
+ {
1508
+ "length": 20,
1509
+ "start": 11578
1510
+ },
1511
+ {
1512
+ "length": 20,
1513
+ "start": 11972
1514
+ },
1515
+ {
1516
+ "length": 20,
1517
+ "start": 14849
1518
+ },
1519
+ {
1520
+ "length": 20,
1521
+ "start": 16627
1522
+ },
1523
+ {
1524
+ "length": 20,
1525
+ "start": 16767
1526
+ },
1527
+ {
1528
+ "length": 20,
1529
+ "start": 16900
1530
+ }
1531
+ ]
1532
+ },
1533
+ "contracts/type/NftId.sol": {
1534
+ "NftIdLib": [
1535
+ {
1536
+ "length": 20,
1537
+ "start": 1433
1538
+ },
1539
+ {
1540
+ "length": 20,
1541
+ "start": 9955
1542
+ },
1543
+ {
1544
+ "length": 20,
1545
+ "start": 15209
1546
+ },
1547
+ {
1548
+ "length": 20,
1549
+ "start": 17238
1550
+ }
1551
+ ]
1552
+ },
1553
+ "contracts/type/RoleId.sol": {
1554
+ "RoleIdLib": [
1555
+ {
1556
+ "length": 20,
1557
+ "start": 8631
1558
+ }
1559
+ ]
1560
+ },
1561
+ "contracts/type/Version.sol": {
1562
+ "VersionLib": [
1563
+ {
1564
+ "length": 20,
1565
+ "start": 1233
1566
+ },
1567
+ {
1568
+ "length": 20,
1569
+ "start": 4465
1570
+ }
1571
+ ]
1572
+ }
1573
+ }
1574
+ }