@etherisc/gif-next 0.0.2-d086e6d-456 → 0.0.2-d0faf15-906

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