@etherisc/gif-next 0.0.2-d288ca9-933 → 0.0.2-d2ffc4d-802

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