@etherisc/gif-next 0.0.2-e0ff180-766 → 0.0.2-e1d3823-191

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