@etherisc/gif-next 0.0.2-ff282a4-523 → 0.0.2-ff3a8a0-504

Sign up to get free protection for your applications and to get access to all the features.
Files changed (592) hide show
  1. package/README.md +139 -10
  2. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.dbg.json +4 -0
  3. package/artifacts/contracts/accounting/AccountingService.sol/AccountingService.json +1075 -0
  4. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.dbg.json +4 -0
  5. package/artifacts/contracts/accounting/AccountingServiceManager.sol/AccountingServiceManager.json +790 -0
  6. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.dbg.json +4 -0
  7. package/artifacts/contracts/accounting/IAccountingService.sol/IAccountingService.json +843 -0
  8. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  9. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1664 -0
  10. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.dbg.json +4 -0
  11. package/artifacts/contracts/authorization/AccessAdminLib.sol/AccessAdminLib.json +1289 -0
  12. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1403 -0
  14. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +790 -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 +1372 -0
  20. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +455 -0
  22. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  23. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +397 -0
  24. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +646 -0
  26. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1244 -0
  28. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +805 -0
  30. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  31. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +174 -601
  32. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  33. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +788 -535
  34. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  35. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +278 -128
  36. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  37. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +178 -330
  38. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  39. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +622 -178
  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 +1484 -0
  44. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +805 -0
  46. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +2053 -0
  48. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  49. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +805 -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 +1439 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol/SimpleDistributionAuthorization.json +805 -0
  56. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  57. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1171 -0
  58. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  59. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1647 -0
  60. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.dbg.json +4 -0
  61. package/artifacts/contracts/examples/unpermissioned/SimplePoolAuthorization.sol/SimplePoolAuthorization.json +805 -0
  62. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  63. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2585 -0
  64. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.dbg.json +4 -0
  65. package/artifacts/contracts/examples/unpermissioned/SimpleProductAuthorization.sol/SimpleProductAuthorization.json +805 -0
  66. package/artifacts/contracts/instance/BaseStore.sol/BaseStore.dbg.json +4 -0
  67. package/artifacts/contracts/instance/{base/IKeyValueStore.sol/IKeyValueStore.json → BaseStore.sol/BaseStore.json} +59 -205
  68. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  69. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +851 -0
  70. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.dbg.json +4 -0
  71. package/artifacts/contracts/instance/IBaseStore.sol/IBaseStore.json +304 -0
  72. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  73. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +604 -92
  74. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +532 -56
  76. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  77. package/artifacts/contracts/instance/Instance.sol/Instance.json +657 -257
  78. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  79. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +2284 -0
  80. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  81. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +837 -0
  82. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  83. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1772 -822
  84. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +552 -193
  86. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  87. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +210 -94
  88. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  89. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +1705 -1498
  90. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.dbg.json +4 -0
  91. package/artifacts/contracts/instance/ProductStore.sol/ProductStore.json +3427 -0
  92. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.dbg.json +4 -0
  93. package/artifacts/contracts/instance/RiskSet.sol/RiskSet.json +866 -0
  94. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  95. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  96. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  97. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.json +0 -53
  98. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  99. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  100. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  101. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +223 -0
  102. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  103. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +192 -0
  104. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.dbg.json +4 -0
  105. package/artifacts/contracts/instance/base/ObjectSetHelperLib.sol/ObjectSetHelperLib.json +168 -0
  106. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  107. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  108. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  109. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  110. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  111. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  112. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  113. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  114. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +957 -0
  115. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  116. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +810 -0
  117. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  118. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  119. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  120. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.json +772 -0
  121. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  122. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +762 -0
  123. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  124. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +873 -0
  125. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  126. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +1042 -0
  127. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  128. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +810 -0
  129. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  130. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1242 -0
  131. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  132. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +805 -0
  133. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  134. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +550 -400
  135. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  136. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +272 -102
  137. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  138. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +384 -86
  139. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  140. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +233 -423
  141. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  142. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +749 -377
  143. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  144. package/artifacts/contracts/pool/Pool.sol/Pool.json +247 -629
  145. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.dbg.json +4 -0
  146. package/artifacts/contracts/pool/PoolLib.sol/PoolLib.json +522 -0
  147. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  148. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +954 -743
  149. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  150. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +271 -113
  151. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  152. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +370 -252
  153. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  154. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +231 -89
  155. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  156. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1159 -0
  157. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  158. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +805 -0
  159. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  160. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +491 -341
  161. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  162. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +253 -115
  163. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  164. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.json +320 -9
  165. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  166. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +369 -18
  167. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  168. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +454 -69
  169. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  170. package/artifacts/contracts/product/IPricingService.sol/IPricingService.json +217 -75
  171. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  172. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +380 -225
  173. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  174. package/artifacts/contracts/product/{IProductService.sol/IProductService.json → IRiskService.sol/IRiskService.json} +289 -66
  175. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  176. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +507 -384
  177. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.dbg.json +4 -0
  178. package/artifacts/contracts/product/PolicyServiceLib.sol/PolicyServiceLib.json +783 -0
  179. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  180. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +237 -123
  181. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  182. package/artifacts/contracts/product/PricingService.sol/PricingService.json +261 -333
  183. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  184. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +235 -109
  185. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  186. package/artifacts/contracts/product/Product.sol/Product.json +428 -509
  187. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  188. package/artifacts/contracts/product/RiskService.sol/RiskService.json +873 -0
  189. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  190. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +774 -0
  191. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  192. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +59 -16
  193. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  194. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +478 -61
  195. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  196. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +280 -127
  197. package/artifacts/contracts/registry/IRelease.sol/IRelease.dbg.json +4 -0
  198. package/artifacts/contracts/registry/IRelease.sol/IRelease.json +24 -0
  199. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  200. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +5 -18
  201. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  202. package/artifacts/contracts/registry/Registry.sol/Registry.json +920 -125
  203. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  204. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +2160 -0
  205. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.dbg.json +4 -0
  206. package/artifacts/contracts/registry/RegistryAuthorization.sol/RegistryAuthorization.json +1074 -0
  207. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  208. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +332 -245
  209. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  210. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +208 -92
  211. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.dbg.json +4 -0
  212. package/artifacts/contracts/registry/ReleaseAdmin.sol/ReleaseAdmin.json +2152 -0
  213. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  214. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +205 -0
  215. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  216. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1389 -0
  217. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  218. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +683 -0
  219. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  220. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +361 -125
  221. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  222. package/artifacts/contracts/shared/Component.sol/Component.json +128 -296
  223. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  224. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1076 -156
  225. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  226. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +862 -0
  227. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  228. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +632 -0
  229. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.dbg.json +4 -0
  230. package/artifacts/contracts/shared/ContractLib.sol/IInstanceAdminHelper.json +24 -0
  231. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.dbg.json +4 -0
  232. package/artifacts/contracts/shared/ContractLib.sol/ITargetHelper.json +30 -0
  233. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.dbg.json +4 -0
  234. package/artifacts/contracts/shared/ContractLib.sol/ITokenRegistryHelper.json +40 -0
  235. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  236. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +129 -135
  237. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  238. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1175 -0
  239. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  240. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +707 -0
  241. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  242. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +35 -4
  243. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  244. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +42 -1
  245. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  246. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +16 -30
  247. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  248. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +173 -0
  249. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  250. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  251. package/artifacts/contracts/shared/IService.sol/IService.json +103 -2
  252. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  253. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  254. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  255. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +795 -0
  256. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.json +174 -0
  258. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  259. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  260. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  261. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +45 -55
  262. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  263. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +20 -124
  264. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  265. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +148 -90
  266. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  267. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -15
  268. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  269. package/artifacts/contracts/shared/Service.sol/Service.json +96 -102
  270. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  271. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +615 -6
  272. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.dbg.json +4 -0
  273. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandlerBase.json +484 -0
  274. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  275. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +172 -0
  276. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +1 -1
  277. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +2576 -128
  278. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  279. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +705 -103
  280. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.dbg.json +4 -0
  281. package/artifacts/contracts/staking/ITargetLimitHandler.sol/ITargetLimitHandler.json +50 -0
  282. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +1 -1
  283. package/artifacts/contracts/staking/Staking.sol/Staking.json +2914 -226
  284. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.dbg.json +4 -0
  285. package/artifacts/contracts/staking/StakingLib.sol/StakingLib.json +470 -0
  286. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +1 -1
  287. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +298 -74
  288. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  289. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +704 -0
  290. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  291. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +754 -207
  292. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +1 -1
  293. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +218 -84
  294. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  295. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +3097 -0
  296. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.dbg.json +4 -0
  297. package/artifacts/contracts/staking/TargetHandler.sol/TargetHandler.json +309 -0
  298. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  299. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +679 -0
  300. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  301. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +2 -2
  302. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  303. package/artifacts/contracts/type/Amount.sol/AmountLib.json +122 -5
  304. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  305. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +92 -15
  306. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.dbg.json +4 -0
  307. package/artifacts/contracts/type/ChainId.sol/ChainIdLib.json +193 -0
  308. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  309. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +28 -4
  310. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  311. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +4 -4
  312. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  313. package/artifacts/contracts/type/Fee.sol/FeeLib.json +119 -58
  314. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  315. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +2 -2
  316. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.dbg.json +4 -0
  317. package/artifacts/contracts/type/Key32Set.sol/LibKey32Set.json +33 -0
  318. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  319. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +66 -4
  320. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  321. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +2 -2
  322. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  323. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +153 -4
  324. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  325. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +19 -19
  326. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  327. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +4 -4
  328. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  329. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  330. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  331. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +125 -7
  332. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  333. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +121 -23
  334. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  335. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +167 -2
  336. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  337. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +148 -0
  338. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  339. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  340. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  341. package/artifacts/contracts/type/StateId.sol/StateIdLib.json +15 -2
  342. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  343. package/artifacts/contracts/type/String.sol/StrLib.json +180 -0
  344. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  345. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +37 -5
  346. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  347. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +126 -33
  348. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  349. package/artifacts/contracts/type/Version.sol/VersionLib.json +2 -21
  350. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  351. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +120 -2
  352. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  353. package/artifacts/contracts/{shared → upgradeability}/IVersionable.sol/IVersionable.json +11 -1
  354. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  355. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +656 -0
  356. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  357. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +142 -0
  358. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  359. package/artifacts/contracts/{shared → upgradeability}/Versionable.sol/Versionable.json +11 -1
  360. package/contracts/accounting/AccountingService.sol +274 -0
  361. package/contracts/accounting/AccountingServiceManager.sol +38 -0
  362. package/contracts/accounting/IAccountingService.sol +47 -0
  363. package/contracts/authorization/AccessAdmin.sol +780 -0
  364. package/contracts/authorization/AccessAdminLib.sol +396 -0
  365. package/contracts/authorization/AccessManagerCloneable.sol +158 -0
  366. package/contracts/authorization/Authorization.sol +169 -0
  367. package/contracts/authorization/IAccess.sol +67 -0
  368. package/contracts/authorization/IAccessAdmin.sol +144 -0
  369. package/contracts/authorization/IAuthorization.sol +26 -0
  370. package/contracts/authorization/IServiceAuthorization.sol +78 -0
  371. package/contracts/authorization/ServiceAuthorization.sol +320 -0
  372. package/contracts/distribution/BasicDistribution.sol +141 -0
  373. package/contracts/distribution/BasicDistributionAuthorization.sol +67 -0
  374. package/contracts/distribution/Distribution.sol +137 -175
  375. package/contracts/distribution/DistributionService.sol +314 -215
  376. package/contracts/distribution/DistributionServiceManager.sol +13 -25
  377. package/contracts/distribution/IDistributionComponent.sol +23 -49
  378. package/contracts/distribution/IDistributionService.sol +61 -33
  379. package/contracts/examples/fire/DamageLevel.sol +59 -0
  380. package/contracts/examples/fire/FirePool.sol +86 -0
  381. package/contracts/examples/fire/FirePoolAuthorization.sol +35 -0
  382. package/contracts/examples/fire/FireProduct.sol +433 -0
  383. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  384. package/contracts/examples/fire/FireUSD.sol +26 -0
  385. package/contracts/examples/unpermissioned/SimpleDistribution.sol +81 -0
  386. package/contracts/examples/unpermissioned/SimpleDistributionAuthorization.sol +28 -0
  387. package/contracts/examples/unpermissioned/SimpleOracle.sol +133 -0
  388. package/contracts/examples/unpermissioned/SimplePool.sol +102 -0
  389. package/contracts/examples/unpermissioned/SimplePoolAuthorization.sol +28 -0
  390. package/contracts/examples/unpermissioned/SimpleProduct.sol +437 -0
  391. package/contracts/examples/unpermissioned/SimpleProductAuthorization.sol +28 -0
  392. package/contracts/instance/BaseStore.sol +93 -0
  393. package/contracts/instance/BundleSet.sol +130 -0
  394. package/contracts/instance/IBaseStore.sol +37 -0
  395. package/contracts/instance/IInstance.sol +128 -49
  396. package/contracts/instance/IInstanceService.sol +83 -37
  397. package/contracts/instance/Instance.sol +254 -132
  398. package/contracts/instance/InstanceAdmin.sol +379 -0
  399. package/contracts/instance/InstanceAuthorizationV3.sol +275 -0
  400. package/contracts/instance/InstanceReader.sol +489 -243
  401. package/contracts/instance/InstanceService.sol +418 -212
  402. package/contracts/instance/InstanceServiceManager.sol +14 -29
  403. package/contracts/instance/InstanceStore.sol +228 -104
  404. package/contracts/instance/ProductStore.sol +303 -0
  405. package/contracts/instance/RiskSet.sol +126 -0
  406. package/contracts/instance/TargetNames.sol +10 -0
  407. package/contracts/instance/base/BalanceStore.sol +121 -0
  408. package/contracts/instance/base/Cloneable.sol +2 -25
  409. package/contracts/instance/base/ObjectCounter.sol +20 -0
  410. package/contracts/instance/base/ObjectLifecycle.sol +109 -0
  411. package/contracts/instance/base/ObjectSet.sol +77 -0
  412. package/contracts/instance/base/ObjectSetHelperLib.sol +30 -0
  413. package/contracts/instance/module/IBundle.sol +6 -8
  414. package/contracts/instance/module/IComponents.sol +40 -19
  415. package/contracts/instance/module/IDistribution.sol +21 -9
  416. package/contracts/instance/module/IPolicy.sol +57 -30
  417. package/contracts/instance/module/IRisk.sol +5 -0
  418. package/contracts/mock/Dip.sol +26 -0
  419. package/contracts/oracle/BasicOracle.sol +45 -0
  420. package/contracts/oracle/BasicOracleAuthorization.sol +53 -0
  421. package/contracts/oracle/IOracle.sol +41 -0
  422. package/contracts/oracle/IOracleComponent.sol +33 -0
  423. package/contracts/oracle/IOracleService.sol +66 -0
  424. package/contracts/oracle/Oracle.sol +154 -0
  425. package/contracts/oracle/OracleService.sol +310 -0
  426. package/contracts/oracle/OracleServiceManager.sol +39 -0
  427. package/contracts/pool/BasicPool.sol +162 -0
  428. package/contracts/pool/BasicPoolAuthorization.sol +81 -0
  429. package/contracts/pool/BundleService.sol +250 -246
  430. package/contracts/pool/BundleServiceManager.sol +13 -25
  431. package/contracts/pool/IBundleService.sol +47 -49
  432. package/contracts/pool/IPoolComponent.sol +23 -75
  433. package/contracts/pool/IPoolService.sol +112 -56
  434. package/contracts/pool/Pool.sol +200 -169
  435. package/contracts/pool/PoolLib.sol +341 -0
  436. package/contracts/pool/PoolService.sol +475 -264
  437. package/contracts/pool/PoolServiceManager.sol +12 -24
  438. package/contracts/product/ApplicationService.sol +223 -82
  439. package/contracts/product/ApplicationServiceManager.sol +12 -9
  440. package/contracts/product/BasicProduct.sol +49 -0
  441. package/contracts/product/BasicProductAuthorization.sol +63 -0
  442. package/contracts/product/ClaimService.sol +398 -214
  443. package/contracts/product/ClaimServiceManager.sol +12 -9
  444. package/contracts/product/IApplicationService.sol +30 -4
  445. package/contracts/product/IClaimService.sol +52 -9
  446. package/contracts/product/IPolicyService.sol +62 -40
  447. package/contracts/product/IPricingService.sol +14 -11
  448. package/contracts/product/IProductComponent.sol +31 -10
  449. package/contracts/product/IRiskService.sol +48 -0
  450. package/contracts/product/PolicyService.sol +505 -236
  451. package/contracts/product/PolicyServiceLib.sol +139 -0
  452. package/contracts/product/PolicyServiceManager.sol +12 -27
  453. package/contracts/product/PricingService.sol +133 -102
  454. package/contracts/product/PricingServiceManager.sol +12 -24
  455. package/contracts/product/Product.sol +267 -153
  456. package/contracts/product/RiskService.sol +189 -0
  457. package/contracts/product/RiskServiceManager.sol +39 -0
  458. package/contracts/registry/ChainNft.sol +72 -39
  459. package/contracts/registry/IRegistry.sol +100 -38
  460. package/contracts/registry/IRegistryService.sol +28 -35
  461. package/contracts/registry/IRelease.sol +29 -0
  462. package/contracts/registry/ITransferInterceptor.sol +1 -2
  463. package/contracts/registry/Registry.sol +453 -222
  464. package/contracts/registry/RegistryAdmin.sol +191 -0
  465. package/contracts/registry/RegistryAuthorization.sol +336 -0
  466. package/contracts/registry/RegistryService.sol +75 -138
  467. package/contracts/registry/RegistryServiceManager.sol +23 -30
  468. package/contracts/registry/ReleaseAdmin.sol +195 -0
  469. package/contracts/registry/ReleaseLifecycle.sol +32 -0
  470. package/contracts/registry/ReleaseRegistry.sol +525 -0
  471. package/contracts/registry/ServiceAuthorizationV3.sol +342 -0
  472. package/contracts/registry/TokenRegistry.sol +264 -63
  473. package/contracts/shared/Component.sol +126 -183
  474. package/contracts/shared/ComponentService.sol +640 -99
  475. package/contracts/shared/ComponentServiceManager.sol +38 -0
  476. package/contracts/shared/ContractLib.sol +312 -0
  477. package/contracts/shared/IComponent.sol +18 -50
  478. package/contracts/shared/IComponentService.sol +111 -0
  479. package/contracts/shared/IInstanceLinkedComponent.sol +30 -0
  480. package/contracts/{instance/base → shared}/ILifecycle.sol +5 -4
  481. package/contracts/shared/INftOwnable.sol +5 -1
  482. package/contracts/shared/IPolicyHolder.sol +12 -17
  483. package/contracts/shared/IRegisterable.sol +22 -1
  484. package/contracts/shared/IService.sol +11 -6
  485. package/contracts/shared/{ERC165.sol → InitializableERC165.sol} +12 -4
  486. package/contracts/shared/InstanceLinkedComponent.sol +194 -0
  487. package/contracts/shared/Lifecycle.sol +88 -0
  488. package/contracts/shared/NftIdSet.sol +65 -0
  489. package/contracts/shared/NftOwnable.sol +35 -24
  490. package/contracts/shared/PolicyHolder.sol +19 -50
  491. package/contracts/shared/Registerable.sol +54 -23
  492. package/contracts/shared/RegistryLinked.sol +9 -14
  493. package/contracts/shared/Service.sol +36 -41
  494. package/contracts/shared/TokenHandler.sol +320 -13
  495. package/contracts/shared/TokenHandlerDeployerLib.sol +20 -0
  496. package/contracts/staking/IStaking.sol +358 -6
  497. package/contracts/staking/IStakingService.sol +98 -76
  498. package/contracts/staking/ITargetLimitHandler.sol +17 -0
  499. package/contracts/staking/Staking.sol +761 -27
  500. package/contracts/staking/StakingLib.sol +195 -0
  501. package/contracts/staking/StakingManager.sol +27 -18
  502. package/contracts/staking/StakingReader.sol +171 -0
  503. package/contracts/staking/StakingService.sol +175 -58
  504. package/contracts/staking/StakingServiceManager.sol +13 -8
  505. package/contracts/staking/StakingStore.sol +1368 -0
  506. package/contracts/staking/TargetHandler.sol +132 -0
  507. package/contracts/staking/TargetManagerLib.sol +234 -0
  508. package/contracts/type/AddressSet.sol +1 -1
  509. package/contracts/type/Amount.sol +48 -3
  510. package/contracts/type/Blocknumber.sol +36 -13
  511. package/contracts/type/ChainId.sol +101 -0
  512. package/contracts/type/ClaimId.sol +6 -1
  513. package/contracts/type/Fee.sol +22 -21
  514. package/contracts/type/Key32.sol +2 -2
  515. package/contracts/type/Key32Set.sol +62 -0
  516. package/contracts/type/NftId.sol +21 -16
  517. package/contracts/type/NftIdSet.sol +1 -1
  518. package/contracts/type/ObjectType.sol +204 -63
  519. package/contracts/type/PayoutId.sol +10 -10
  520. package/contracts/type/Referral.sol +2 -1
  521. package/contracts/type/RequestId.sol +75 -0
  522. package/contracts/type/RiskId.sol +39 -7
  523. package/contracts/type/RoleId.sol +122 -74
  524. package/contracts/type/Seconds.sol +67 -1
  525. package/contracts/type/Selector.sol +107 -0
  526. package/contracts/type/StateId.sol +41 -2
  527. package/contracts/type/String.sol +65 -0
  528. package/contracts/type/Timestamp.sol +20 -9
  529. package/contracts/type/UFixed.sol +62 -125
  530. package/contracts/type/Version.sol +58 -7
  531. package/contracts/{shared → upgradeability}/IVersionable.sol +3 -0
  532. package/contracts/{shared → upgradeability}/ProxyManager.sol +115 -38
  533. package/contracts/upgradeability/UpgradableProxyWithAdmin.sol +24 -0
  534. package/contracts/{shared → upgradeability}/Versionable.sol +8 -5
  535. package/package.json +12 -8
  536. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +0 -4
  537. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +0 -778
  538. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  539. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -1348
  540. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +0 -4
  541. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +0 -124
  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 -581
  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/base/ObjectManager.sol/ObjectManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +0 -256
  550. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +0 -4
  551. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +0 -237
  552. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  553. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  554. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +0 -10
  555. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +0 -4
  556. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +0 -4
  557. package/artifacts/contracts/product/ProductService.sol/ProductService.json +0 -864
  558. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +0 -4
  559. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +0 -640
  560. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +0 -4
  561. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +0 -285
  562. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +0 -4
  563. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +0 -620
  564. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  565. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  566. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  567. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -73
  568. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  569. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  570. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -569
  571. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  572. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  573. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  574. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +0 -4
  575. package/artifacts/contracts/type/UFixed.sol/MathLib.json +0 -10
  576. package/contracts/instance/BundleManager.sol +0 -126
  577. package/contracts/instance/InstanceAccessManager.sol +0 -543
  578. package/contracts/instance/InstanceAuthorizationsLib.sol +0 -308
  579. package/contracts/instance/base/IKeyValueStore.sol +0 -53
  580. package/contracts/instance/base/KeyValueStore.sol +0 -169
  581. package/contracts/instance/base/Lifecycle.sol +0 -121
  582. package/contracts/instance/base/ObjectManager.sol +0 -82
  583. package/contracts/instance/module/IAccess.sol +0 -54
  584. package/contracts/instance/module/ISetup.sol +0 -33
  585. package/contracts/instance/module/ITreasury.sol +0 -23
  586. package/contracts/product/IProductService.sol +0 -40
  587. package/contracts/product/ProductService.sol +0 -210
  588. package/contracts/product/ProductServiceManager.sol +0 -54
  589. package/contracts/registry/RegistryAccessManager.sol +0 -207
  590. package/contracts/registry/ReleaseManager.sol +0 -360
  591. package/contracts/shared/AccessManagerUpgradeableInitializeable.sol +0 -13
  592. package/contracts/shared/UpgradableProxyWithAdmin.sol +0 -16
@@ -41,6 +41,58 @@
41
41
  "name": "AccessManagedUnauthorized",
42
42
  "type": "error"
43
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
+ "name": "ErrorComponentNameLengthZero",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "caller",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorComponentNotChainNft",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorComponentProductNftIdNonzero",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "ErrorComponentProductNftIdZero",
79
+ "type": "error"
80
+ },
81
+ {
82
+ "inputs": [],
83
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
84
+ "type": "error"
85
+ },
86
+ {
87
+ "inputs": [],
88
+ "name": "ErrorComponentWalletAddressZero",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [],
93
+ "name": "ErrorComponentWalletNotComponent",
94
+ "type": "error"
95
+ },
44
96
  {
45
97
  "inputs": [
46
98
  {
@@ -56,202 +108,2577 @@
56
108
  "inputs": [
57
109
  {
58
110
  "internalType": "address",
59
- "name": "contractAddress",
111
+ "name": "contractAddress",
112
+ "type": "address"
113
+ }
114
+ ],
115
+ "name": "ErrorNftOwnableContractNotRegistered",
116
+ "type": "error"
117
+ },
118
+ {
119
+ "inputs": [],
120
+ "name": "ErrorNftOwnableInitialOwnerZero",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [
125
+ {
126
+ "internalType": "NftId",
127
+ "name": "nftId",
128
+ "type": "uint96"
129
+ },
130
+ {
131
+ "internalType": "ObjectType",
132
+ "name": "expectedObjectType",
133
+ "type": "uint8"
134
+ }
135
+ ],
136
+ "name": "ErrorNftOwnableInvalidType",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "address",
143
+ "name": "account",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "ErrorNftOwnableNotOwner",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "registryAddress",
155
+ "type": "address"
156
+ }
157
+ ],
158
+ "name": "ErrorNotRegistry",
159
+ "type": "error"
160
+ },
161
+ {
162
+ "inputs": [],
163
+ "name": "ErrorRegisterableNotActive",
164
+ "type": "error"
165
+ },
166
+ {
167
+ "inputs": [
168
+ {
169
+ "internalType": "NftId",
170
+ "name": "targetNftId",
171
+ "type": "uint96"
172
+ },
173
+ {
174
+ "internalType": "ObjectType",
175
+ "name": "objectType",
176
+ "type": "uint8"
177
+ }
178
+ ],
179
+ "name": "ErrorStakingCrossChainTargetsNotSupported",
180
+ "type": "error"
181
+ },
182
+ {
183
+ "inputs": [
184
+ {
185
+ "internalType": "address",
186
+ "name": "owner",
187
+ "type": "address"
188
+ },
189
+ {
190
+ "internalType": "address",
191
+ "name": "tokenHandler",
192
+ "type": "address"
193
+ },
194
+ {
195
+ "internalType": "uint256",
196
+ "name": "amount",
197
+ "type": "uint256"
198
+ },
199
+ {
200
+ "internalType": "uint256",
201
+ "name": "dipAllowance",
202
+ "type": "uint256"
203
+ }
204
+ ],
205
+ "name": "ErrorStakingDipAllowanceInsufficient",
206
+ "type": "error"
207
+ },
208
+ {
209
+ "inputs": [
210
+ {
211
+ "internalType": "address",
212
+ "name": "owner",
213
+ "type": "address"
214
+ },
215
+ {
216
+ "internalType": "uint256",
217
+ "name": "amount",
218
+ "type": "uint256"
219
+ },
220
+ {
221
+ "internalType": "uint256",
222
+ "name": "dipBalance",
223
+ "type": "uint256"
224
+ }
225
+ ],
226
+ "name": "ErrorStakingDipBalanceInsufficient",
227
+ "type": "error"
228
+ },
229
+ {
230
+ "inputs": [
231
+ {
232
+ "internalType": "NftId",
233
+ "name": "targetNftId",
234
+ "type": "uint96"
235
+ },
236
+ {
237
+ "internalType": "Seconds",
238
+ "name": "lockingPeriod",
239
+ "type": "uint40"
240
+ },
241
+ {
242
+ "internalType": "Seconds",
243
+ "name": "minLockingPeriod",
244
+ "type": "uint40"
245
+ },
246
+ {
247
+ "internalType": "Seconds",
248
+ "name": "maxLockingPeriod",
249
+ "type": "uint40"
250
+ }
251
+ ],
252
+ "name": "ErrorStakingLockingPeriodInvalid",
253
+ "type": "error"
254
+ },
255
+ {
256
+ "inputs": [
257
+ {
258
+ "internalType": "Seconds",
259
+ "name": "minLockingPeriod",
260
+ "type": "uint40"
261
+ },
262
+ {
263
+ "internalType": "Seconds",
264
+ "name": "maxLockingPeriod",
265
+ "type": "uint40"
266
+ }
267
+ ],
268
+ "name": "ErrorStakingLockingPeriodsInvalid",
269
+ "type": "error"
270
+ },
271
+ {
272
+ "inputs": [
273
+ {
274
+ "internalType": "NftId",
275
+ "name": "nftId",
276
+ "type": "uint96"
277
+ }
278
+ ],
279
+ "name": "ErrorStakingNotNftOwner",
280
+ "type": "error"
281
+ },
282
+ {
283
+ "inputs": [
284
+ {
285
+ "internalType": "NftId",
286
+ "name": "stakeNftId",
287
+ "type": "uint96"
288
+ },
289
+ {
290
+ "internalType": "address",
291
+ "name": "expectedOwner",
292
+ "type": "address"
293
+ },
294
+ {
295
+ "internalType": "address",
296
+ "name": "actualOwner",
297
+ "type": "address"
298
+ }
299
+ ],
300
+ "name": "ErrorStakingNotOwner",
301
+ "type": "error"
302
+ },
303
+ {
304
+ "inputs": [
305
+ {
306
+ "internalType": "address",
307
+ "name": "registry",
308
+ "type": "address"
309
+ }
310
+ ],
311
+ "name": "ErrorStakingNotRegistry",
312
+ "type": "error"
313
+ },
314
+ {
315
+ "inputs": [
316
+ {
317
+ "internalType": "NftId",
318
+ "name": "stakeNftId",
319
+ "type": "uint96"
320
+ }
321
+ ],
322
+ "name": "ErrorStakingNotStake",
323
+ "type": "error"
324
+ },
325
+ {
326
+ "inputs": [],
327
+ "name": "ErrorStakingNotStakingOwner",
328
+ "type": "error"
329
+ },
330
+ {
331
+ "inputs": [
332
+ {
333
+ "internalType": "NftId",
334
+ "name": "targetNftId",
335
+ "type": "uint96"
336
+ }
337
+ ],
338
+ "name": "ErrorStakingNotTarget",
339
+ "type": "error"
340
+ },
341
+ {
342
+ "inputs": [
343
+ {
344
+ "internalType": "VersionPart",
345
+ "name": "release",
346
+ "type": "uint8"
347
+ }
348
+ ],
349
+ "name": "ErrorStakingReleaseNotActive",
350
+ "type": "error"
351
+ },
352
+ {
353
+ "inputs": [
354
+ {
355
+ "internalType": "NftId",
356
+ "name": "targetNftId",
357
+ "type": "uint96"
358
+ },
359
+ {
360
+ "internalType": "UFixed",
361
+ "name": "rewardRate",
362
+ "type": "uint160"
363
+ },
364
+ {
365
+ "internalType": "UFixed",
366
+ "name": "minRewardRate",
367
+ "type": "uint160"
368
+ },
369
+ {
370
+ "internalType": "UFixed",
371
+ "name": "maxRewardRate",
372
+ "type": "uint160"
373
+ }
374
+ ],
375
+ "name": "ErrorStakingRewardRateInvalid",
376
+ "type": "error"
377
+ },
378
+ {
379
+ "inputs": [
380
+ {
381
+ "internalType": "UFixed",
382
+ "name": "minRewardRate",
383
+ "type": "uint160"
384
+ },
385
+ {
386
+ "internalType": "UFixed",
387
+ "name": "maxRewardRate",
388
+ "type": "uint160"
389
+ }
390
+ ],
391
+ "name": "ErrorStakingRewardRatesInvalid",
392
+ "type": "error"
393
+ },
394
+ {
395
+ "inputs": [
396
+ {
397
+ "internalType": "VersionPart",
398
+ "name": "release",
399
+ "type": "uint8"
400
+ }
401
+ ],
402
+ "name": "ErrorStakingServiceNotFound",
403
+ "type": "error"
404
+ },
405
+ {
406
+ "inputs": [
407
+ {
408
+ "internalType": "NftId",
409
+ "name": "targetNftId",
410
+ "type": "uint96"
411
+ }
412
+ ],
413
+ "name": "ErrorStakingStakeAmountZero",
414
+ "type": "error"
415
+ },
416
+ {
417
+ "inputs": [
418
+ {
419
+ "internalType": "NftId",
420
+ "name": "stakeNftId",
421
+ "type": "uint96"
422
+ },
423
+ {
424
+ "internalType": "Timestamp",
425
+ "name": "lockedUntil",
426
+ "type": "uint40"
427
+ }
428
+ ],
429
+ "name": "ErrorStakingStakeLocked",
430
+ "type": "error"
431
+ },
432
+ {
433
+ "inputs": [
434
+ {
435
+ "internalType": "Amount",
436
+ "name": "minStakingAmount",
437
+ "type": "uint96"
438
+ },
439
+ {
440
+ "internalType": "Amount",
441
+ "name": "maxStakingAmount",
442
+ "type": "uint96"
443
+ }
444
+ ],
445
+ "name": "ErrorStakingStakingAmountsInvalid",
446
+ "type": "error"
447
+ },
448
+ {
449
+ "inputs": [
450
+ {
451
+ "internalType": "address",
452
+ "name": "stakingByStakingReader",
453
+ "type": "address"
454
+ }
455
+ ],
456
+ "name": "ErrorStakingStakingReaderStakingMismatch",
457
+ "type": "error"
458
+ },
459
+ {
460
+ "inputs": [
461
+ {
462
+ "internalType": "ObjectType",
463
+ "name": "targetType",
464
+ "type": "uint8"
465
+ }
466
+ ],
467
+ "name": "ErrorStakingSupportTypeInvalid",
468
+ "type": "error"
469
+ },
470
+ {
471
+ "inputs": [
472
+ {
473
+ "internalType": "NftId",
474
+ "name": "targetNftId",
475
+ "type": "uint96"
476
+ }
477
+ ],
478
+ "name": "ErrorStakingTargetAlreadyRegistered",
479
+ "type": "error"
480
+ },
481
+ {
482
+ "inputs": [
483
+ {
484
+ "internalType": "NftId",
485
+ "name": "targetNftId",
486
+ "type": "uint96"
487
+ },
488
+ {
489
+ "internalType": "Amount",
490
+ "name": "stakeLimitAmount",
491
+ "type": "uint96"
492
+ },
493
+ {
494
+ "internalType": "Amount",
495
+ "name": "stakedAmount",
496
+ "type": "uint96"
497
+ }
498
+ ],
499
+ "name": "ErrorStakingTargetMaxStakedAmountExceeded",
500
+ "type": "error"
501
+ },
502
+ {
503
+ "inputs": [],
504
+ "name": "ErrorStakingTargetNftIdZero",
505
+ "type": "error"
506
+ },
507
+ {
508
+ "inputs": [
509
+ {
510
+ "internalType": "NftId",
511
+ "name": "targetNftId",
512
+ "type": "uint96"
513
+ }
514
+ ],
515
+ "name": "ErrorStakingTargetNotFound",
516
+ "type": "error"
517
+ },
518
+ {
519
+ "inputs": [
520
+ {
521
+ "internalType": "NftId",
522
+ "name": "targetNftId",
523
+ "type": "uint96"
524
+ },
525
+ {
526
+ "internalType": "ChainId",
527
+ "name": "chainId",
528
+ "type": "uint96"
529
+ },
530
+ {
531
+ "internalType": "address",
532
+ "name": "token",
533
+ "type": "address"
534
+ }
535
+ ],
536
+ "name": "ErrorStakingTargetTokenNotFound",
537
+ "type": "error"
538
+ },
539
+ {
540
+ "inputs": [
541
+ {
542
+ "internalType": "NftId",
543
+ "name": "targetNftId",
544
+ "type": "uint96"
545
+ },
546
+ {
547
+ "internalType": "ObjectType",
548
+ "name": "objectType",
549
+ "type": "uint8"
550
+ }
551
+ ],
552
+ "name": "ErrorStakingTargetTypeNotSupported",
553
+ "type": "error"
554
+ },
555
+ {
556
+ "inputs": [
557
+ {
558
+ "internalType": "NftId",
559
+ "name": "targetNftId",
560
+ "type": "uint96"
561
+ },
562
+ {
563
+ "internalType": "ObjectType",
564
+ "name": "expectedObjectType",
565
+ "type": "uint8"
566
+ },
567
+ {
568
+ "internalType": "ObjectType",
569
+ "name": "actualObjectType",
570
+ "type": "uint8"
571
+ }
572
+ ],
573
+ "name": "ErrorStakingTargetUnexpectedObjectType",
574
+ "type": "error"
575
+ },
576
+ {
577
+ "inputs": [
578
+ {
579
+ "internalType": "ChainId",
580
+ "name": "chainId",
581
+ "type": "uint96"
582
+ },
583
+ {
584
+ "internalType": "address",
585
+ "name": "token",
586
+ "type": "address"
587
+ }
588
+ ],
589
+ "name": "ErrorStakingTokenNotRegistered",
590
+ "type": "error"
591
+ },
592
+ {
593
+ "inputs": [],
594
+ "name": "ErrorVersionableInitializeNotImplemented",
595
+ "type": "error"
596
+ },
597
+ {
598
+ "inputs": [],
599
+ "name": "ErrorVersionableUpgradeNotImplemented",
600
+ "type": "error"
601
+ },
602
+ {
603
+ "anonymous": false,
604
+ "inputs": [
605
+ {
606
+ "indexed": false,
607
+ "internalType": "address",
608
+ "name": "authority",
609
+ "type": "address"
610
+ }
611
+ ],
612
+ "name": "AuthorityUpdated",
613
+ "type": "event"
614
+ },
615
+ {
616
+ "anonymous": false,
617
+ "inputs": [
618
+ {
619
+ "indexed": false,
620
+ "internalType": "address",
621
+ "name": "tokenHandler",
622
+ "type": "address"
623
+ },
624
+ {
625
+ "indexed": false,
626
+ "internalType": "address",
627
+ "name": "token",
628
+ "type": "address"
629
+ },
630
+ {
631
+ "indexed": false,
632
+ "internalType": "Amount",
633
+ "name": "limit",
634
+ "type": "uint96"
635
+ },
636
+ {
637
+ "indexed": false,
638
+ "internalType": "bool",
639
+ "name": "isMaxAmount",
640
+ "type": "bool"
641
+ }
642
+ ],
643
+ "name": "LogComponentTokenHandlerApproved",
644
+ "type": "event"
645
+ },
646
+ {
647
+ "anonymous": false,
648
+ "inputs": [
649
+ {
650
+ "indexed": false,
651
+ "internalType": "address",
652
+ "name": "oldWallet",
653
+ "type": "address"
654
+ },
655
+ {
656
+ "indexed": false,
657
+ "internalType": "address",
658
+ "name": "newWallet",
659
+ "type": "address"
660
+ }
661
+ ],
662
+ "name": "LogComponentWalletAddressChanged",
663
+ "type": "event"
664
+ },
665
+ {
666
+ "anonymous": false,
667
+ "inputs": [
668
+ {
669
+ "indexed": false,
670
+ "internalType": "address",
671
+ "name": "from",
672
+ "type": "address"
673
+ },
674
+ {
675
+ "indexed": false,
676
+ "internalType": "address",
677
+ "name": "to",
678
+ "type": "address"
679
+ },
680
+ {
681
+ "indexed": false,
682
+ "internalType": "uint256",
683
+ "name": "amount",
684
+ "type": "uint256"
685
+ }
686
+ ],
687
+ "name": "LogComponentWalletTokensTransferred",
688
+ "type": "event"
689
+ },
690
+ {
691
+ "anonymous": false,
692
+ "inputs": [
693
+ {
694
+ "indexed": false,
695
+ "internalType": "NftId",
696
+ "name": "nftId",
697
+ "type": "uint96"
698
+ },
699
+ {
700
+ "indexed": false,
701
+ "internalType": "address",
702
+ "name": "owner",
703
+ "type": "address"
704
+ }
705
+ ],
706
+ "name": "LogNftOwnableNftLinkedToAddress",
707
+ "type": "event"
708
+ },
709
+ {
710
+ "anonymous": false,
711
+ "inputs": [
712
+ {
713
+ "indexed": false,
714
+ "internalType": "NftId",
715
+ "name": "targetNftId",
716
+ "type": "uint96"
717
+ },
718
+ {
719
+ "indexed": false,
720
+ "internalType": "Amount",
721
+ "name": "marginAmount",
722
+ "type": "uint96"
723
+ },
724
+ {
725
+ "indexed": false,
726
+ "internalType": "Amount",
727
+ "name": "hardLimitAmount",
728
+ "type": "uint96"
729
+ },
730
+ {
731
+ "indexed": false,
732
+ "internalType": "Blocknumber",
733
+ "name": "lastUpdateIn",
734
+ "type": "uint40"
735
+ }
736
+ ],
737
+ "name": "LogStakingLimitsSet",
738
+ "type": "event"
739
+ },
740
+ {
741
+ "anonymous": false,
742
+ "inputs": [
743
+ {
744
+ "indexed": false,
745
+ "internalType": "NftId",
746
+ "name": "targetNftId",
747
+ "type": "uint96"
748
+ },
749
+ {
750
+ "indexed": false,
751
+ "internalType": "Amount",
752
+ "name": "dipAmount",
753
+ "type": "uint96"
754
+ },
755
+ {
756
+ "indexed": false,
757
+ "internalType": "address",
758
+ "name": "targetOwner",
759
+ "type": "address"
760
+ },
761
+ {
762
+ "indexed": false,
763
+ "internalType": "Amount",
764
+ "name": "reserveBalance",
765
+ "type": "uint96"
766
+ },
767
+ {
768
+ "indexed": false,
769
+ "internalType": "Blocknumber",
770
+ "name": "lastUpdateIn",
771
+ "type": "uint40"
772
+ }
773
+ ],
774
+ "name": "LogStakingRewardReservesRefilled",
775
+ "type": "event"
776
+ },
777
+ {
778
+ "anonymous": false,
779
+ "inputs": [
780
+ {
781
+ "indexed": false,
782
+ "internalType": "NftId",
783
+ "name": "targetNftId",
784
+ "type": "uint96"
785
+ },
786
+ {
787
+ "indexed": false,
788
+ "internalType": "Amount",
789
+ "name": "dipAmount",
790
+ "type": "uint96"
791
+ },
792
+ {
793
+ "indexed": false,
794
+ "internalType": "Amount",
795
+ "name": "reserveBalance",
796
+ "type": "uint96"
797
+ },
798
+ {
799
+ "indexed": false,
800
+ "internalType": "Blocknumber",
801
+ "name": "lastUpdateIn",
802
+ "type": "uint40"
803
+ }
804
+ ],
805
+ "name": "LogStakingRewardReservesSpent",
806
+ "type": "event"
807
+ },
808
+ {
809
+ "anonymous": false,
810
+ "inputs": [
811
+ {
812
+ "indexed": false,
813
+ "internalType": "NftId",
814
+ "name": "targetNftId",
815
+ "type": "uint96"
816
+ },
817
+ {
818
+ "indexed": false,
819
+ "internalType": "Amount",
820
+ "name": "dipAmount",
821
+ "type": "uint96"
822
+ },
823
+ {
824
+ "indexed": false,
825
+ "internalType": "address",
826
+ "name": "targetOwner",
827
+ "type": "address"
828
+ },
829
+ {
830
+ "indexed": false,
831
+ "internalType": "Amount",
832
+ "name": "reserveBalance",
833
+ "type": "uint96"
834
+ },
835
+ {
836
+ "indexed": false,
837
+ "internalType": "Blocknumber",
838
+ "name": "lastUpdateIn",
839
+ "type": "uint40"
840
+ }
841
+ ],
842
+ "name": "LogStakingRewardReservesWithdrawn",
843
+ "type": "event"
844
+ },
845
+ {
846
+ "anonymous": false,
847
+ "inputs": [
848
+ {
849
+ "indexed": false,
850
+ "internalType": "NftId",
851
+ "name": "stakeNftId",
852
+ "type": "uint96"
853
+ },
854
+ {
855
+ "indexed": false,
856
+ "internalType": "Amount",
857
+ "name": "claimedAmount",
858
+ "type": "uint96"
859
+ },
860
+ {
861
+ "indexed": false,
862
+ "internalType": "Amount",
863
+ "name": "stakeBalance",
864
+ "type": "uint96"
865
+ },
866
+ {
867
+ "indexed": false,
868
+ "internalType": "Amount",
869
+ "name": "rewardBalance",
870
+ "type": "uint96"
871
+ },
872
+ {
873
+ "indexed": false,
874
+ "internalType": "Timestamp",
875
+ "name": "lockedUntil",
876
+ "type": "uint40"
877
+ },
878
+ {
879
+ "indexed": false,
880
+ "internalType": "Blocknumber",
881
+ "name": "lastUpdateIn",
882
+ "type": "uint40"
883
+ }
884
+ ],
885
+ "name": "LogStakingRewardsClaimed",
886
+ "type": "event"
887
+ },
888
+ {
889
+ "anonymous": false,
890
+ "inputs": [
891
+ {
892
+ "indexed": false,
893
+ "internalType": "NftId",
894
+ "name": "stakeNftId",
895
+ "type": "uint96"
896
+ },
897
+ {
898
+ "indexed": false,
899
+ "internalType": "Amount",
900
+ "name": "restakedAmount",
901
+ "type": "uint96"
902
+ },
903
+ {
904
+ "indexed": false,
905
+ "internalType": "Amount",
906
+ "name": "stakeBalance",
907
+ "type": "uint96"
908
+ },
909
+ {
910
+ "indexed": false,
911
+ "internalType": "Amount",
912
+ "name": "rewardBalance",
913
+ "type": "uint96"
914
+ },
915
+ {
916
+ "indexed": false,
917
+ "internalType": "Timestamp",
918
+ "name": "lockedUntil",
919
+ "type": "uint40"
920
+ },
921
+ {
922
+ "indexed": false,
923
+ "internalType": "Blocknumber",
924
+ "name": "lastUpdateIn",
925
+ "type": "uint40"
926
+ }
927
+ ],
928
+ "name": "LogStakingRewardsRestaked",
929
+ "type": "event"
930
+ },
931
+ {
932
+ "anonymous": false,
933
+ "inputs": [
934
+ {
935
+ "indexed": false,
936
+ "internalType": "NftId",
937
+ "name": "stakeNftId",
938
+ "type": "uint96"
939
+ },
940
+ {
941
+ "indexed": false,
942
+ "internalType": "NftId",
943
+ "name": "targetNftId",
944
+ "type": "uint96"
945
+ },
946
+ {
947
+ "indexed": false,
948
+ "internalType": "Amount",
949
+ "name": "stakeAmount",
950
+ "type": "uint96"
951
+ },
952
+ {
953
+ "indexed": false,
954
+ "internalType": "Timestamp",
955
+ "name": "lockedUntil",
956
+ "type": "uint40"
957
+ },
958
+ {
959
+ "indexed": false,
960
+ "internalType": "address",
961
+ "name": "stakeOwner",
962
+ "type": "address"
963
+ }
964
+ ],
965
+ "name": "LogStakingStakeCreated",
966
+ "type": "event"
967
+ },
968
+ {
969
+ "anonymous": false,
970
+ "inputs": [
971
+ {
972
+ "indexed": false,
973
+ "internalType": "NftId",
974
+ "name": "stakeNftId",
975
+ "type": "uint96"
976
+ },
977
+ {
978
+ "indexed": false,
979
+ "internalType": "NftId",
980
+ "name": "targetNftId",
981
+ "type": "uint96"
982
+ },
983
+ {
984
+ "indexed": false,
985
+ "internalType": "Amount",
986
+ "name": "stakeAmount",
987
+ "type": "uint96"
988
+ },
989
+ {
990
+ "indexed": false,
991
+ "internalType": "address",
992
+ "name": "owner",
993
+ "type": "address"
994
+ },
995
+ {
996
+ "indexed": false,
997
+ "internalType": "NftId",
998
+ "name": "oldStakeNftId",
999
+ "type": "uint96"
1000
+ }
1001
+ ],
1002
+ "name": "LogStakingStakeRestaked",
1003
+ "type": "event"
1004
+ },
1005
+ {
1006
+ "anonymous": false,
1007
+ "inputs": [
1008
+ {
1009
+ "indexed": false,
1010
+ "internalType": "NftId",
1011
+ "name": "stakeNftId",
1012
+ "type": "uint96"
1013
+ },
1014
+ {
1015
+ "indexed": false,
1016
+ "internalType": "Amount",
1017
+ "name": "rewardIncrementAmount",
1018
+ "type": "uint96"
1019
+ },
1020
+ {
1021
+ "indexed": false,
1022
+ "internalType": "Amount",
1023
+ "name": "stakeBalance",
1024
+ "type": "uint96"
1025
+ },
1026
+ {
1027
+ "indexed": false,
1028
+ "internalType": "Amount",
1029
+ "name": "rewardBalance",
1030
+ "type": "uint96"
1031
+ },
1032
+ {
1033
+ "indexed": false,
1034
+ "internalType": "Timestamp",
1035
+ "name": "lockedUntil",
1036
+ "type": "uint40"
1037
+ },
1038
+ {
1039
+ "indexed": false,
1040
+ "internalType": "Blocknumber",
1041
+ "name": "lastUpdateIn",
1042
+ "type": "uint40"
1043
+ }
1044
+ ],
1045
+ "name": "LogStakingStakeRewardsUpdated",
1046
+ "type": "event"
1047
+ },
1048
+ {
1049
+ "anonymous": false,
1050
+ "inputs": [
1051
+ {
1052
+ "indexed": false,
1053
+ "internalType": "NftId",
1054
+ "name": "stakeNftId",
1055
+ "type": "uint96"
1056
+ },
1057
+ {
1058
+ "indexed": false,
1059
+ "internalType": "Amount",
1060
+ "name": "stakedAmount",
1061
+ "type": "uint96"
1062
+ },
1063
+ {
1064
+ "indexed": false,
1065
+ "internalType": "Amount",
1066
+ "name": "stakeBalance",
1067
+ "type": "uint96"
1068
+ },
1069
+ {
1070
+ "indexed": false,
1071
+ "internalType": "Amount",
1072
+ "name": "rewardBalance",
1073
+ "type": "uint96"
1074
+ },
1075
+ {
1076
+ "indexed": false,
1077
+ "internalType": "Timestamp",
1078
+ "name": "lockedUntil",
1079
+ "type": "uint40"
1080
+ },
1081
+ {
1082
+ "indexed": false,
1083
+ "internalType": "Blocknumber",
1084
+ "name": "lastUpdateIn",
1085
+ "type": "uint40"
1086
+ }
1087
+ ],
1088
+ "name": "LogStakingStaked",
1089
+ "type": "event"
1090
+ },
1091
+ {
1092
+ "anonymous": false,
1093
+ "inputs": [
1094
+ {
1095
+ "indexed": false,
1096
+ "internalType": "ChainId",
1097
+ "name": "chainId",
1098
+ "type": "uint96"
1099
+ },
1100
+ {
1101
+ "indexed": false,
1102
+ "internalType": "address",
1103
+ "name": "token",
1104
+ "type": "address"
1105
+ },
1106
+ {
1107
+ "indexed": false,
1108
+ "internalType": "UFixed",
1109
+ "name": "newStakingRate",
1110
+ "type": "uint160"
1111
+ },
1112
+ {
1113
+ "indexed": false,
1114
+ "internalType": "UFixed",
1115
+ "name": "oldStakingRate",
1116
+ "type": "uint160"
1117
+ },
1118
+ {
1119
+ "indexed": false,
1120
+ "internalType": "Blocknumber",
1121
+ "name": "lastUpdateIn",
1122
+ "type": "uint40"
1123
+ }
1124
+ ],
1125
+ "name": "LogStakingStakingRateSet",
1126
+ "type": "event"
1127
+ },
1128
+ {
1129
+ "anonymous": false,
1130
+ "inputs": [
1131
+ {
1132
+ "indexed": false,
1133
+ "internalType": "address",
1134
+ "name": "stakingReader",
1135
+ "type": "address"
1136
+ },
1137
+ {
1138
+ "indexed": false,
1139
+ "internalType": "address",
1140
+ "name": "oldStakingReader",
1141
+ "type": "address"
1142
+ }
1143
+ ],
1144
+ "name": "LogStakingStakingReaderSet",
1145
+ "type": "event"
1146
+ },
1147
+ {
1148
+ "anonymous": false,
1149
+ "inputs": [
1150
+ {
1151
+ "indexed": false,
1152
+ "internalType": "address",
1153
+ "name": "stakingService",
1154
+ "type": "address"
1155
+ },
1156
+ {
1157
+ "indexed": false,
1158
+ "internalType": "VersionPart",
1159
+ "name": "release",
1160
+ "type": "uint8"
1161
+ },
1162
+ {
1163
+ "indexed": false,
1164
+ "internalType": "address",
1165
+ "name": "oldStakingService",
1166
+ "type": "address"
1167
+ }
1168
+ ],
1169
+ "name": "LogStakingStakingServiceSet",
1170
+ "type": "event"
1171
+ },
1172
+ {
1173
+ "anonymous": false,
1174
+ "inputs": [
1175
+ {
1176
+ "indexed": false,
1177
+ "internalType": "ObjectType",
1178
+ "name": "objectType",
1179
+ "type": "uint8"
1180
+ },
1181
+ {
1182
+ "indexed": false,
1183
+ "internalType": "bool",
1184
+ "name": "isSupported",
1185
+ "type": "bool"
1186
+ },
1187
+ {
1188
+ "indexed": false,
1189
+ "internalType": "bool",
1190
+ "name": "allowNewTargets",
1191
+ "type": "bool"
1192
+ },
1193
+ {
1194
+ "indexed": false,
1195
+ "internalType": "bool",
1196
+ "name": "allowCrossChain",
1197
+ "type": "bool"
1198
+ },
1199
+ {
1200
+ "indexed": false,
1201
+ "internalType": "Amount",
1202
+ "name": "minStakingAmount",
1203
+ "type": "uint96"
1204
+ },
1205
+ {
1206
+ "indexed": false,
1207
+ "internalType": "Amount",
1208
+ "name": "maxStakingAmount",
1209
+ "type": "uint96"
1210
+ },
1211
+ {
1212
+ "indexed": false,
1213
+ "internalType": "Seconds",
1214
+ "name": "minLockingPeriod",
1215
+ "type": "uint40"
1216
+ },
1217
+ {
1218
+ "indexed": false,
1219
+ "internalType": "Seconds",
1220
+ "name": "maxLockingPeriod",
1221
+ "type": "uint40"
1222
+ },
1223
+ {
1224
+ "indexed": false,
1225
+ "internalType": "UFixed",
1226
+ "name": "minRewardRate",
1227
+ "type": "uint160"
1228
+ },
1229
+ {
1230
+ "indexed": false,
1231
+ "internalType": "UFixed",
1232
+ "name": "maxRewardRate",
1233
+ "type": "uint160"
1234
+ },
1235
+ {
1236
+ "indexed": false,
1237
+ "internalType": "Blocknumber",
1238
+ "name": "lastUpdateIn",
1239
+ "type": "uint40"
1240
+ }
1241
+ ],
1242
+ "name": "LogStakingSupportInfoSet",
1243
+ "type": "event"
1244
+ },
1245
+ {
1246
+ "anonymous": false,
1247
+ "inputs": [
1248
+ {
1249
+ "indexed": false,
1250
+ "internalType": "NftId",
1251
+ "name": "targetNftId",
1252
+ "type": "uint96"
1253
+ },
1254
+ {
1255
+ "indexed": false,
1256
+ "internalType": "ObjectType",
1257
+ "name": "objectType",
1258
+ "type": "uint8"
1259
+ },
1260
+ {
1261
+ "indexed": false,
1262
+ "internalType": "Seconds",
1263
+ "name": "lockingPeriod",
1264
+ "type": "uint40"
1265
+ },
1266
+ {
1267
+ "indexed": false,
1268
+ "internalType": "UFixed",
1269
+ "name": "rewardRate",
1270
+ "type": "uint160"
1271
+ }
1272
+ ],
1273
+ "name": "LogStakingTargetCreated",
1274
+ "type": "event"
1275
+ },
1276
+ {
1277
+ "anonymous": false,
1278
+ "inputs": [
1279
+ {
1280
+ "indexed": false,
1281
+ "internalType": "address",
1282
+ "name": "targetManager",
1283
+ "type": "address"
1284
+ },
1285
+ {
1286
+ "indexed": false,
1287
+ "internalType": "address",
1288
+ "name": "oldTargetHandler",
1289
+ "type": "address"
1290
+ }
1291
+ ],
1292
+ "name": "LogStakingTargetHandlerSet",
1293
+ "type": "event"
1294
+ },
1295
+ {
1296
+ "anonymous": false,
1297
+ "inputs": [
1298
+ {
1299
+ "indexed": false,
1300
+ "internalType": "NftId",
1301
+ "name": "targetNftId",
1302
+ "type": "uint96"
1303
+ },
1304
+ {
1305
+ "indexed": false,
1306
+ "internalType": "Amount",
1307
+ "name": "limitAmount",
1308
+ "type": "uint96"
1309
+ },
1310
+ {
1311
+ "indexed": false,
1312
+ "internalType": "Amount",
1313
+ "name": "hardLimitAmount",
1314
+ "type": "uint96"
1315
+ },
1316
+ {
1317
+ "indexed": false,
1318
+ "internalType": "Amount",
1319
+ "name": "requiredStakeAmount",
1320
+ "type": "uint96"
1321
+ },
1322
+ {
1323
+ "indexed": false,
1324
+ "internalType": "Amount",
1325
+ "name": "actualStakeAmount",
1326
+ "type": "uint96"
1327
+ },
1328
+ {
1329
+ "indexed": false,
1330
+ "internalType": "Blocknumber",
1331
+ "name": "lastUpdateIn",
1332
+ "type": "uint40"
1333
+ }
1334
+ ],
1335
+ "name": "LogStakingTargetLimitUpdated",
1336
+ "type": "event"
1337
+ },
1338
+ {
1339
+ "anonymous": false,
1340
+ "inputs": [
1341
+ {
1342
+ "indexed": false,
1343
+ "internalType": "NftId",
1344
+ "name": "targetNftId",
1345
+ "type": "uint96"
1346
+ },
1347
+ {
1348
+ "indexed": false,
1349
+ "internalType": "Amount",
1350
+ "name": "stakeLimitAmount",
1351
+ "type": "uint96"
1352
+ },
1353
+ {
1354
+ "indexed": false,
1355
+ "internalType": "Amount",
1356
+ "name": "marginAmount",
1357
+ "type": "uint96"
1358
+ },
1359
+ {
1360
+ "indexed": false,
1361
+ "internalType": "Amount",
1362
+ "name": "limitAmount",
1363
+ "type": "uint96"
1364
+ }
1365
+ ],
1366
+ "name": "LogStakingTargetLimitsSet",
1367
+ "type": "event"
1368
+ },
1369
+ {
1370
+ "anonymous": false,
1371
+ "inputs": [
1372
+ {
1373
+ "indexed": false,
1374
+ "internalType": "NftId",
1375
+ "name": "targetNftId",
1376
+ "type": "uint96"
1377
+ },
1378
+ {
1379
+ "indexed": false,
1380
+ "internalType": "Amount",
1381
+ "name": "marginAmount",
1382
+ "type": "uint96"
1383
+ },
1384
+ {
1385
+ "indexed": false,
1386
+ "internalType": "Amount",
1387
+ "name": "hardLimitAmount",
1388
+ "type": "uint96"
1389
+ },
1390
+ {
1391
+ "indexed": false,
1392
+ "internalType": "Blocknumber",
1393
+ "name": "lastUpdateIn",
1394
+ "type": "uint40"
1395
+ }
1396
+ ],
1397
+ "name": "LogStakingTargetLimitsUpdated",
1398
+ "type": "event"
1399
+ },
1400
+ {
1401
+ "anonymous": false,
1402
+ "inputs": [
1403
+ {
1404
+ "indexed": false,
1405
+ "internalType": "NftId",
1406
+ "name": "targetNftId",
1407
+ "type": "uint96"
1408
+ },
1409
+ {
1410
+ "indexed": false,
1411
+ "internalType": "Seconds",
1412
+ "name": "oldLockingPeriod",
1413
+ "type": "uint40"
1414
+ },
1415
+ {
1416
+ "indexed": false,
1417
+ "internalType": "Seconds",
1418
+ "name": "lockingPeriod",
1419
+ "type": "uint40"
1420
+ },
1421
+ {
1422
+ "indexed": false,
1423
+ "internalType": "Blocknumber",
1424
+ "name": "lastUpdateIn",
1425
+ "type": "uint40"
1426
+ }
1427
+ ],
1428
+ "name": "LogStakingTargetLockingPeriodSet",
1429
+ "type": "event"
1430
+ },
1431
+ {
1432
+ "anonymous": false,
1433
+ "inputs": [
1434
+ {
1435
+ "indexed": false,
1436
+ "internalType": "NftId",
1437
+ "name": "targetNftId",
1438
+ "type": "uint96"
1439
+ },
1440
+ {
1441
+ "indexed": false,
1442
+ "internalType": "Amount",
1443
+ "name": "stakeLimitAmount",
1444
+ "type": "uint96"
1445
+ },
1446
+ {
1447
+ "indexed": false,
1448
+ "internalType": "Blocknumber",
1449
+ "name": "lastUpdateIn",
1450
+ "type": "uint40"
1451
+ }
1452
+ ],
1453
+ "name": "LogStakingTargetMaxStakedAmountSet",
1454
+ "type": "event"
1455
+ },
1456
+ {
1457
+ "anonymous": false,
1458
+ "inputs": [
1459
+ {
1460
+ "indexed": false,
1461
+ "internalType": "NftId",
1462
+ "name": "targetNftId",
1463
+ "type": "uint96"
1464
+ },
1465
+ {
1466
+ "indexed": false,
1467
+ "internalType": "UFixed",
1468
+ "name": "rewardRate",
1469
+ "type": "uint160"
1470
+ },
1471
+ {
1472
+ "indexed": false,
1473
+ "internalType": "UFixed",
1474
+ "name": "oldRewardRate",
1475
+ "type": "uint160"
1476
+ },
1477
+ {
1478
+ "indexed": false,
1479
+ "internalType": "Blocknumber",
1480
+ "name": "lastUpdateIn",
1481
+ "type": "uint40"
1482
+ }
1483
+ ],
1484
+ "name": "LogStakingTargetRewardRateSet",
1485
+ "type": "event"
1486
+ },
1487
+ {
1488
+ "anonymous": false,
1489
+ "inputs": [
1490
+ {
1491
+ "indexed": false,
1492
+ "internalType": "NftId",
1493
+ "name": "targetNftId",
1494
+ "type": "uint96"
1495
+ },
1496
+ {
1497
+ "indexed": false,
1498
+ "internalType": "ChainId",
1499
+ "name": "chainId",
1500
+ "type": "uint96"
1501
+ },
1502
+ {
1503
+ "indexed": false,
1504
+ "internalType": "address",
1505
+ "name": "token",
1506
+ "type": "address"
1507
+ }
1508
+ ],
1509
+ "name": "LogStakingTargetTokenAdded",
1510
+ "type": "event"
1511
+ },
1512
+ {
1513
+ "anonymous": false,
1514
+ "inputs": [
1515
+ {
1516
+ "indexed": false,
1517
+ "internalType": "ChainId",
1518
+ "name": "chainId",
1519
+ "type": "uint96"
1520
+ },
1521
+ {
1522
+ "indexed": false,
1523
+ "internalType": "address",
1524
+ "name": "token",
1525
+ "type": "address"
1526
+ }
1527
+ ],
1528
+ "name": "LogStakingTokenAdded",
1529
+ "type": "event"
1530
+ },
1531
+ {
1532
+ "anonymous": false,
1533
+ "inputs": [
1534
+ {
1535
+ "indexed": false,
1536
+ "internalType": "address",
1537
+ "name": "token",
1538
+ "type": "address"
1539
+ },
1540
+ {
1541
+ "indexed": false,
1542
+ "internalType": "Amount",
1543
+ "name": "approvalAmount",
1544
+ "type": "uint96"
1545
+ },
1546
+ {
1547
+ "indexed": false,
1548
+ "internalType": "Amount",
1549
+ "name": "oldApprovalAmount",
1550
+ "type": "uint96"
1551
+ }
1552
+ ],
1553
+ "name": "LogStakingTokenHandlerApproved",
1554
+ "type": "event"
1555
+ },
1556
+ {
1557
+ "anonymous": false,
1558
+ "inputs": [
1559
+ {
1560
+ "indexed": false,
1561
+ "internalType": "NftId",
1562
+ "name": "targetNftId",
1563
+ "type": "uint96"
1564
+ },
1565
+ {
1566
+ "indexed": false,
1567
+ "internalType": "address",
1568
+ "name": "token",
1569
+ "type": "address"
1570
+ },
1571
+ {
1572
+ "indexed": false,
1573
+ "internalType": "Amount",
1574
+ "name": "amount",
1575
+ "type": "uint96"
1576
+ },
1577
+ {
1578
+ "indexed": false,
1579
+ "internalType": "Amount",
1580
+ "name": "newBalance",
1581
+ "type": "uint96"
1582
+ },
1583
+ {
1584
+ "indexed": false,
1585
+ "internalType": "Blocknumber",
1586
+ "name": "lastUpdateIn",
1587
+ "type": "uint40"
1588
+ }
1589
+ ],
1590
+ "name": "LogStakingTvlDecreased",
1591
+ "type": "event"
1592
+ },
1593
+ {
1594
+ "anonymous": false,
1595
+ "inputs": [
1596
+ {
1597
+ "indexed": false,
1598
+ "internalType": "NftId",
1599
+ "name": "targetNftId",
1600
+ "type": "uint96"
1601
+ },
1602
+ {
1603
+ "indexed": false,
1604
+ "internalType": "address",
1605
+ "name": "token",
1606
+ "type": "address"
1607
+ },
1608
+ {
1609
+ "indexed": false,
1610
+ "internalType": "Amount",
1611
+ "name": "amount",
1612
+ "type": "uint96"
1613
+ },
1614
+ {
1615
+ "indexed": false,
1616
+ "internalType": "Amount",
1617
+ "name": "newBalance",
1618
+ "type": "uint96"
1619
+ },
1620
+ {
1621
+ "indexed": false,
1622
+ "internalType": "Blocknumber",
1623
+ "name": "lastUpdateIn",
1624
+ "type": "uint40"
1625
+ }
1626
+ ],
1627
+ "name": "LogStakingTvlIncreased",
1628
+ "type": "event"
1629
+ },
1630
+ {
1631
+ "anonymous": false,
1632
+ "inputs": [
1633
+ {
1634
+ "indexed": false,
1635
+ "internalType": "NftId",
1636
+ "name": "stakeNftId",
1637
+ "type": "uint96"
1638
+ },
1639
+ {
1640
+ "indexed": false,
1641
+ "internalType": "Amount",
1642
+ "name": "unstakedAmount",
1643
+ "type": "uint96"
1644
+ },
1645
+ {
1646
+ "indexed": false,
1647
+ "internalType": "Amount",
1648
+ "name": "stakeBalance",
1649
+ "type": "uint96"
1650
+ },
1651
+ {
1652
+ "indexed": false,
1653
+ "internalType": "Amount",
1654
+ "name": "rewardBalance",
1655
+ "type": "uint96"
1656
+ },
1657
+ {
1658
+ "indexed": false,
1659
+ "internalType": "Timestamp",
1660
+ "name": "lockedUntil",
1661
+ "type": "uint40"
1662
+ },
1663
+ {
1664
+ "indexed": false,
1665
+ "internalType": "Blocknumber",
1666
+ "name": "lastUpdateIn",
1667
+ "type": "uint40"
1668
+ }
1669
+ ],
1670
+ "name": "LogStakingUnstaked",
1671
+ "type": "event"
1672
+ },
1673
+ {
1674
+ "inputs": [
1675
+ {
1676
+ "internalType": "NftId",
1677
+ "name": "targetNftId",
1678
+ "type": "uint96"
1679
+ },
1680
+ {
1681
+ "internalType": "address",
1682
+ "name": "token",
1683
+ "type": "address"
1684
+ }
1685
+ ],
1686
+ "name": "addTargetToken",
1687
+ "outputs": [],
1688
+ "stateMutability": "nonpayable",
1689
+ "type": "function"
1690
+ },
1691
+ {
1692
+ "inputs": [
1693
+ {
1694
+ "internalType": "ChainId",
1695
+ "name": "chainId",
1696
+ "type": "uint96"
1697
+ },
1698
+ {
1699
+ "internalType": "address",
1700
+ "name": "token",
1701
+ "type": "address"
1702
+ }
1703
+ ],
1704
+ "name": "addToken",
1705
+ "outputs": [],
1706
+ "stateMutability": "nonpayable",
1707
+ "type": "function"
1708
+ },
1709
+ {
1710
+ "inputs": [
1711
+ {
1712
+ "internalType": "contract IERC20Metadata",
1713
+ "name": "token",
1714
+ "type": "address"
1715
+ },
1716
+ {
1717
+ "internalType": "Amount",
1718
+ "name": "amount",
1719
+ "type": "uint96"
1720
+ }
1721
+ ],
1722
+ "name": "approveTokenHandler",
1723
+ "outputs": [],
1724
+ "stateMutability": "nonpayable",
1725
+ "type": "function"
1726
+ },
1727
+ {
1728
+ "inputs": [],
1729
+ "name": "authority",
1730
+ "outputs": [
1731
+ {
1732
+ "internalType": "address",
1733
+ "name": "",
1734
+ "type": "address"
1735
+ }
1736
+ ],
1737
+ "stateMutability": "view",
1738
+ "type": "function"
1739
+ },
1740
+ {
1741
+ "inputs": [
1742
+ {
1743
+ "internalType": "NftId",
1744
+ "name": "stakeNftId",
1745
+ "type": "uint96"
1746
+ }
1747
+ ],
1748
+ "name": "claimRewards",
1749
+ "outputs": [
1750
+ {
1751
+ "internalType": "Amount",
1752
+ "name": "rewardsClaimedAmount",
1753
+ "type": "uint96"
1754
+ }
1755
+ ],
1756
+ "stateMutability": "nonpayable",
1757
+ "type": "function"
1758
+ },
1759
+ {
1760
+ "inputs": [
1761
+ {
1762
+ "internalType": "NftId",
1763
+ "name": "targetNftId",
1764
+ "type": "uint96"
1765
+ },
1766
+ {
1767
+ "internalType": "Amount",
1768
+ "name": "dipAmount",
1769
+ "type": "uint96"
1770
+ },
1771
+ {
1772
+ "internalType": "address",
1773
+ "name": "stakeOwner",
1774
+ "type": "address"
1775
+ }
1776
+ ],
1777
+ "name": "createStake",
1778
+ "outputs": [
1779
+ {
1780
+ "internalType": "NftId",
1781
+ "name": "stakeNftId",
1782
+ "type": "uint96"
1783
+ }
1784
+ ],
1785
+ "stateMutability": "nonpayable",
1786
+ "type": "function"
1787
+ },
1788
+ {
1789
+ "inputs": [
1790
+ {
1791
+ "internalType": "NftId",
1792
+ "name": "targetNftId",
1793
+ "type": "uint96"
1794
+ },
1795
+ {
1796
+ "internalType": "address",
1797
+ "name": "token",
1798
+ "type": "address"
1799
+ },
1800
+ {
1801
+ "internalType": "Amount",
1802
+ "name": "amount",
1803
+ "type": "uint96"
1804
+ }
1805
+ ],
1806
+ "name": "decreaseTotalValueLocked",
1807
+ "outputs": [],
1808
+ "stateMutability": "nonpayable",
1809
+ "type": "function"
1810
+ },
1811
+ {
1812
+ "inputs": [],
1813
+ "name": "getComponentInfo",
1814
+ "outputs": [
1815
+ {
1816
+ "components": [
1817
+ {
1818
+ "internalType": "string",
1819
+ "name": "name",
1820
+ "type": "string"
1821
+ },
1822
+ {
1823
+ "internalType": "contract TokenHandler",
1824
+ "name": "tokenHandler",
1825
+ "type": "address"
1826
+ },
1827
+ {
1828
+ "internalType": "bytes",
1829
+ "name": "data",
1830
+ "type": "bytes"
1831
+ }
1832
+ ],
1833
+ "internalType": "struct IComponents.ComponentInfo",
1834
+ "name": "info",
1835
+ "type": "tuple"
1836
+ }
1837
+ ],
1838
+ "stateMutability": "view",
1839
+ "type": "function"
1840
+ },
1841
+ {
1842
+ "inputs": [],
1843
+ "name": "getInitialComponentInfo",
1844
+ "outputs": [
1845
+ {
1846
+ "components": [
1847
+ {
1848
+ "internalType": "string",
1849
+ "name": "name",
1850
+ "type": "string"
1851
+ },
1852
+ {
1853
+ "internalType": "contract TokenHandler",
1854
+ "name": "tokenHandler",
1855
+ "type": "address"
1856
+ },
1857
+ {
1858
+ "internalType": "bytes",
1859
+ "name": "data",
1860
+ "type": "bytes"
1861
+ }
1862
+ ],
1863
+ "internalType": "struct IComponents.ComponentInfo",
1864
+ "name": "info",
1865
+ "type": "tuple"
1866
+ }
1867
+ ],
1868
+ "stateMutability": "view",
1869
+ "type": "function"
1870
+ },
1871
+ {
1872
+ "inputs": [],
1873
+ "name": "getInitialInfo",
1874
+ "outputs": [
1875
+ {
1876
+ "components": [
1877
+ {
1878
+ "internalType": "NftId",
1879
+ "name": "nftId",
1880
+ "type": "uint96"
1881
+ },
1882
+ {
1883
+ "internalType": "NftId",
1884
+ "name": "parentNftId",
1885
+ "type": "uint96"
1886
+ },
1887
+ {
1888
+ "internalType": "ObjectType",
1889
+ "name": "objectType",
1890
+ "type": "uint8"
1891
+ },
1892
+ {
1893
+ "internalType": "bool",
1894
+ "name": "isInterceptor",
1895
+ "type": "bool"
1896
+ },
1897
+ {
1898
+ "internalType": "address",
1899
+ "name": "objectAddress",
1900
+ "type": "address"
1901
+ },
1902
+ {
1903
+ "internalType": "address",
1904
+ "name": "initialOwner",
1905
+ "type": "address"
1906
+ },
1907
+ {
1908
+ "internalType": "bytes",
1909
+ "name": "data",
1910
+ "type": "bytes"
1911
+ }
1912
+ ],
1913
+ "internalType": "struct IRegistry.ObjectInfo",
1914
+ "name": "",
1915
+ "type": "tuple"
1916
+ }
1917
+ ],
1918
+ "stateMutability": "view",
1919
+ "type": "function"
1920
+ },
1921
+ {
1922
+ "inputs": [],
1923
+ "name": "getName",
1924
+ "outputs": [
1925
+ {
1926
+ "internalType": "string",
1927
+ "name": "name",
1928
+ "type": "string"
1929
+ }
1930
+ ],
1931
+ "stateMutability": "view",
1932
+ "type": "function"
1933
+ },
1934
+ {
1935
+ "inputs": [],
1936
+ "name": "getNftId",
1937
+ "outputs": [
1938
+ {
1939
+ "internalType": "NftId",
1940
+ "name": "",
1941
+ "type": "uint96"
1942
+ }
1943
+ ],
1944
+ "stateMutability": "view",
1945
+ "type": "function"
1946
+ },
1947
+ {
1948
+ "inputs": [],
1949
+ "name": "getOwner",
1950
+ "outputs": [
1951
+ {
1952
+ "internalType": "address",
1953
+ "name": "",
1954
+ "type": "address"
1955
+ }
1956
+ ],
1957
+ "stateMutability": "view",
1958
+ "type": "function"
1959
+ },
1960
+ {
1961
+ "inputs": [],
1962
+ "name": "getRegistry",
1963
+ "outputs": [
1964
+ {
1965
+ "internalType": "contract IRegistry",
1966
+ "name": "",
1967
+ "type": "address"
1968
+ }
1969
+ ],
1970
+ "stateMutability": "view",
1971
+ "type": "function"
1972
+ },
1973
+ {
1974
+ "inputs": [],
1975
+ "name": "getRelease",
1976
+ "outputs": [
1977
+ {
1978
+ "internalType": "VersionPart",
1979
+ "name": "release",
1980
+ "type": "uint8"
1981
+ }
1982
+ ],
1983
+ "stateMutability": "view",
1984
+ "type": "function"
1985
+ },
1986
+ {
1987
+ "inputs": [],
1988
+ "name": "getStakingReader",
1989
+ "outputs": [
1990
+ {
1991
+ "internalType": "contract StakingReader",
1992
+ "name": "reader",
1993
+ "type": "address"
1994
+ }
1995
+ ],
1996
+ "stateMutability": "view",
1997
+ "type": "function"
1998
+ },
1999
+ {
2000
+ "inputs": [],
2001
+ "name": "getStakingStore",
2002
+ "outputs": [
2003
+ {
2004
+ "internalType": "contract StakingStore",
2005
+ "name": "stakingStore",
2006
+ "type": "address"
2007
+ }
2008
+ ],
2009
+ "stateMutability": "view",
2010
+ "type": "function"
2011
+ },
2012
+ {
2013
+ "inputs": [],
2014
+ "name": "getTargetHandler",
2015
+ "outputs": [
2016
+ {
2017
+ "internalType": "contract TargetHandler",
2018
+ "name": "targetHandler",
2019
+ "type": "address"
2020
+ }
2021
+ ],
2022
+ "stateMutability": "view",
2023
+ "type": "function"
2024
+ },
2025
+ {
2026
+ "inputs": [],
2027
+ "name": "getToken",
2028
+ "outputs": [
2029
+ {
2030
+ "internalType": "contract IERC20Metadata",
2031
+ "name": "token",
2032
+ "type": "address"
2033
+ }
2034
+ ],
2035
+ "stateMutability": "view",
2036
+ "type": "function"
2037
+ },
2038
+ {
2039
+ "inputs": [],
2040
+ "name": "getTokenHandler",
2041
+ "outputs": [
2042
+ {
2043
+ "internalType": "contract TokenHandler",
2044
+ "name": "tokenHandler",
2045
+ "type": "address"
2046
+ }
2047
+ ],
2048
+ "stateMutability": "view",
2049
+ "type": "function"
2050
+ },
2051
+ {
2052
+ "inputs": [],
2053
+ "name": "getVersion",
2054
+ "outputs": [
2055
+ {
2056
+ "internalType": "Version",
2057
+ "name": "",
2058
+ "type": "uint24"
2059
+ }
2060
+ ],
2061
+ "stateMutability": "pure",
2062
+ "type": "function"
2063
+ },
2064
+ {
2065
+ "inputs": [],
2066
+ "name": "getWallet",
2067
+ "outputs": [
2068
+ {
2069
+ "internalType": "address",
2070
+ "name": "walletAddress",
2071
+ "type": "address"
2072
+ }
2073
+ ],
2074
+ "stateMutability": "view",
2075
+ "type": "function"
2076
+ },
2077
+ {
2078
+ "inputs": [
2079
+ {
2080
+ "internalType": "NftId",
2081
+ "name": "targetNftId",
2082
+ "type": "uint96"
2083
+ },
2084
+ {
2085
+ "internalType": "address",
2086
+ "name": "token",
2087
+ "type": "address"
2088
+ },
2089
+ {
2090
+ "internalType": "Amount",
2091
+ "name": "amount",
2092
+ "type": "uint96"
2093
+ }
2094
+ ],
2095
+ "name": "increaseTotalValueLocked",
2096
+ "outputs": [],
2097
+ "stateMutability": "nonpayable",
2098
+ "type": "function"
2099
+ },
2100
+ {
2101
+ "inputs": [],
2102
+ "name": "initializeTokenHandler",
2103
+ "outputs": [],
2104
+ "stateMutability": "nonpayable",
2105
+ "type": "function"
2106
+ },
2107
+ {
2108
+ "inputs": [
2109
+ {
2110
+ "internalType": "address",
2111
+ "name": "activatedBy",
2112
+ "type": "address"
2113
+ },
2114
+ {
2115
+ "internalType": "bytes",
2116
+ "name": "activationData",
2117
+ "type": "bytes"
2118
+ }
2119
+ ],
2120
+ "name": "initializeVersionable",
2121
+ "outputs": [],
2122
+ "stateMutability": "nonpayable",
2123
+ "type": "function"
2124
+ },
2125
+ {
2126
+ "inputs": [],
2127
+ "name": "isActive",
2128
+ "outputs": [
2129
+ {
2130
+ "internalType": "bool",
2131
+ "name": "active",
2132
+ "type": "bool"
2133
+ }
2134
+ ],
2135
+ "stateMutability": "view",
2136
+ "type": "function"
2137
+ },
2138
+ {
2139
+ "inputs": [],
2140
+ "name": "isConsumingScheduledOp",
2141
+ "outputs": [
2142
+ {
2143
+ "internalType": "bytes4",
2144
+ "name": "",
2145
+ "type": "bytes4"
2146
+ }
2147
+ ],
2148
+ "stateMutability": "view",
2149
+ "type": "function"
2150
+ },
2151
+ {
2152
+ "inputs": [],
2153
+ "name": "isNftInterceptor",
2154
+ "outputs": [
2155
+ {
2156
+ "internalType": "bool",
2157
+ "name": "isInterceptor",
2158
+ "type": "bool"
2159
+ }
2160
+ ],
2161
+ "stateMutability": "view",
2162
+ "type": "function"
2163
+ },
2164
+ {
2165
+ "inputs": [],
2166
+ "name": "isRegistered",
2167
+ "outputs": [
2168
+ {
2169
+ "internalType": "bool",
2170
+ "name": "",
2171
+ "type": "bool"
2172
+ }
2173
+ ],
2174
+ "stateMutability": "view",
2175
+ "type": "function"
2176
+ },
2177
+ {
2178
+ "inputs": [],
2179
+ "name": "linkToRegisteredNftId",
2180
+ "outputs": [
2181
+ {
2182
+ "internalType": "NftId",
2183
+ "name": "",
2184
+ "type": "uint96"
2185
+ }
2186
+ ],
2187
+ "stateMutability": "nonpayable",
2188
+ "type": "function"
2189
+ },
2190
+ {
2191
+ "inputs": [
2192
+ {
2193
+ "internalType": "address",
2194
+ "name": "from",
2195
+ "type": "address"
2196
+ },
2197
+ {
2198
+ "internalType": "address",
2199
+ "name": "to",
2200
+ "type": "address"
2201
+ },
2202
+ {
2203
+ "internalType": "uint256",
2204
+ "name": "tokenId",
2205
+ "type": "uint256"
2206
+ },
2207
+ {
2208
+ "internalType": "address",
2209
+ "name": "operator",
2210
+ "type": "address"
2211
+ }
2212
+ ],
2213
+ "name": "nftTransferFrom",
2214
+ "outputs": [],
2215
+ "stateMutability": "nonpayable",
2216
+ "type": "function"
2217
+ },
2218
+ {
2219
+ "inputs": [
2220
+ {
2221
+ "internalType": "NftId",
2222
+ "name": "targetNftId",
2223
+ "type": "uint96"
2224
+ },
2225
+ {
2226
+ "internalType": "Amount",
2227
+ "name": "dipAmount",
2228
+ "type": "uint96"
2229
+ }
2230
+ ],
2231
+ "name": "refillRewardReserves",
2232
+ "outputs": [
2233
+ {
2234
+ "internalType": "Amount",
2235
+ "name": "newBalance",
2236
+ "type": "uint96"
2237
+ }
2238
+ ],
2239
+ "stateMutability": "nonpayable",
2240
+ "type": "function"
2241
+ },
2242
+ {
2243
+ "inputs": [
2244
+ {
2245
+ "internalType": "NftId",
2246
+ "name": "targetNftId",
2247
+ "type": "uint96"
2248
+ },
2249
+ {
2250
+ "internalType": "Amount",
2251
+ "name": "dipAmount",
2252
+ "type": "uint96"
2253
+ },
2254
+ {
2255
+ "internalType": "address",
2256
+ "name": "transferFrom",
2257
+ "type": "address"
2258
+ }
2259
+ ],
2260
+ "name": "refillRewardReservesByService",
2261
+ "outputs": [
2262
+ {
2263
+ "internalType": "Amount",
2264
+ "name": "newBalance",
2265
+ "type": "uint96"
2266
+ }
2267
+ ],
2268
+ "stateMutability": "nonpayable",
2269
+ "type": "function"
2270
+ },
2271
+ {
2272
+ "inputs": [
2273
+ {
2274
+ "internalType": "NftId",
2275
+ "name": "targetNftId",
2276
+ "type": "uint96"
2277
+ },
2278
+ {
2279
+ "internalType": "ObjectType",
2280
+ "name": "expectedObjectType",
2281
+ "type": "uint8"
2282
+ },
2283
+ {
2284
+ "internalType": "Seconds",
2285
+ "name": "initialLockingPeriod",
2286
+ "type": "uint40"
2287
+ },
2288
+ {
2289
+ "internalType": "UFixed",
2290
+ "name": "initialRewardRate",
2291
+ "type": "uint160"
2292
+ }
2293
+ ],
2294
+ "name": "registerTarget",
2295
+ "outputs": [],
2296
+ "stateMutability": "nonpayable",
2297
+ "type": "function"
2298
+ },
2299
+ {
2300
+ "inputs": [
2301
+ {
2302
+ "internalType": "NftId",
2303
+ "name": "stakeNftId",
2304
+ "type": "uint96"
2305
+ },
2306
+ {
2307
+ "internalType": "NftId",
2308
+ "name": "newTargetNftId",
2309
+ "type": "uint96"
2310
+ }
2311
+ ],
2312
+ "name": "restake",
2313
+ "outputs": [
2314
+ {
2315
+ "internalType": "NftId",
2316
+ "name": "newStakeNftId",
2317
+ "type": "uint96"
2318
+ },
2319
+ {
2320
+ "internalType": "Amount",
2321
+ "name": "newStakeBalance",
2322
+ "type": "uint96"
2323
+ }
2324
+ ],
2325
+ "stateMutability": "nonpayable",
2326
+ "type": "function"
2327
+ },
2328
+ {
2329
+ "inputs": [
2330
+ {
2331
+ "internalType": "address",
2332
+ "name": "",
2333
+ "type": "address"
2334
+ }
2335
+ ],
2336
+ "name": "setAuthority",
2337
+ "outputs": [],
2338
+ "stateMutability": "nonpayable",
2339
+ "type": "function"
2340
+ },
2341
+ {
2342
+ "inputs": [
2343
+ {
2344
+ "internalType": "NftId",
2345
+ "name": "targetNftId",
2346
+ "type": "uint96"
2347
+ },
2348
+ {
2349
+ "internalType": "Seconds",
2350
+ "name": "lockingPeriod",
2351
+ "type": "uint40"
2352
+ }
2353
+ ],
2354
+ "name": "setLockingPeriod",
2355
+ "outputs": [],
2356
+ "stateMutability": "nonpayable",
2357
+ "type": "function"
2358
+ },
2359
+ {
2360
+ "inputs": [
2361
+ {
2362
+ "internalType": "NftId",
2363
+ "name": "targetNftId",
2364
+ "type": "uint96"
2365
+ },
2366
+ {
2367
+ "internalType": "Amount",
2368
+ "name": "stakeLimitAmount",
2369
+ "type": "uint96"
2370
+ }
2371
+ ],
2372
+ "name": "setMaxStakedAmount",
2373
+ "outputs": [],
2374
+ "stateMutability": "nonpayable",
2375
+ "type": "function"
2376
+ },
2377
+ {
2378
+ "inputs": [
2379
+ {
2380
+ "internalType": "Seconds",
2381
+ "name": "lockingPeriod",
2382
+ "type": "uint40"
2383
+ }
2384
+ ],
2385
+ "name": "setProtocolLockingPeriod",
2386
+ "outputs": [],
2387
+ "stateMutability": "nonpayable",
2388
+ "type": "function"
2389
+ },
2390
+ {
2391
+ "inputs": [
2392
+ {
2393
+ "internalType": "UFixed",
2394
+ "name": "rewardRate",
2395
+ "type": "uint160"
2396
+ }
2397
+ ],
2398
+ "name": "setProtocolRewardRate",
2399
+ "outputs": [],
2400
+ "stateMutability": "nonpayable",
2401
+ "type": "function"
2402
+ },
2403
+ {
2404
+ "inputs": [
2405
+ {
2406
+ "internalType": "NftId",
2407
+ "name": "targetNftId",
2408
+ "type": "uint96"
2409
+ },
2410
+ {
2411
+ "internalType": "UFixed",
2412
+ "name": "rewardRate",
2413
+ "type": "uint160"
2414
+ }
2415
+ ],
2416
+ "name": "setRewardRate",
2417
+ "outputs": [],
2418
+ "stateMutability": "nonpayable",
2419
+ "type": "function"
2420
+ },
2421
+ {
2422
+ "inputs": [
2423
+ {
2424
+ "internalType": "ChainId",
2425
+ "name": "chainId",
2426
+ "type": "uint96"
2427
+ },
2428
+ {
2429
+ "internalType": "address",
2430
+ "name": "token",
60
2431
  "type": "address"
2432
+ },
2433
+ {
2434
+ "internalType": "UFixed",
2435
+ "name": "stakingRate",
2436
+ "type": "uint160"
61
2437
  }
62
2438
  ],
63
- "name": "ErrorNftOwnableContractNotRegistered",
64
- "type": "error"
65
- },
66
- {
67
- "inputs": [],
68
- "name": "ErrorNftOwnableInitialOwnerZero",
69
- "type": "error"
2439
+ "name": "setStakingRate",
2440
+ "outputs": [],
2441
+ "stateMutability": "nonpayable",
2442
+ "type": "function"
70
2443
  },
71
2444
  {
72
2445
  "inputs": [
73
2446
  {
74
2447
  "internalType": "address",
75
- "name": "account",
2448
+ "name": "stakingReader",
76
2449
  "type": "address"
77
2450
  }
78
2451
  ],
79
- "name": "ErrorNftOwnableNotOwner",
80
- "type": "error"
2452
+ "name": "setStakingReader",
2453
+ "outputs": [],
2454
+ "stateMutability": "nonpayable",
2455
+ "type": "function"
81
2456
  },
82
2457
  {
83
2458
  "inputs": [
84
2459
  {
85
- "internalType": "address",
86
- "name": "registryAddress",
87
- "type": "address"
2460
+ "internalType": "VersionPart",
2461
+ "name": "release",
2462
+ "type": "uint8"
88
2463
  }
89
2464
  ],
90
- "name": "ErrorNotRegistry",
91
- "type": "error"
2465
+ "name": "setStakingService",
2466
+ "outputs": [],
2467
+ "stateMutability": "nonpayable",
2468
+ "type": "function"
92
2469
  },
93
2470
  {
94
- "anonymous": false,
95
2471
  "inputs": [
96
2472
  {
97
- "indexed": false,
98
- "internalType": "address",
99
- "name": "authority",
100
- "type": "address"
2473
+ "internalType": "ObjectType",
2474
+ "name": "targetType",
2475
+ "type": "uint8"
2476
+ },
2477
+ {
2478
+ "internalType": "bool",
2479
+ "name": "isSupported",
2480
+ "type": "bool"
2481
+ },
2482
+ {
2483
+ "internalType": "bool",
2484
+ "name": "allowNewTargets",
2485
+ "type": "bool"
2486
+ },
2487
+ {
2488
+ "internalType": "bool",
2489
+ "name": "allowCrossChain",
2490
+ "type": "bool"
2491
+ },
2492
+ {
2493
+ "internalType": "Amount",
2494
+ "name": "minStakingAmount",
2495
+ "type": "uint96"
2496
+ },
2497
+ {
2498
+ "internalType": "Amount",
2499
+ "name": "maxStakingAmount",
2500
+ "type": "uint96"
2501
+ },
2502
+ {
2503
+ "internalType": "Seconds",
2504
+ "name": "minLockingPeriod",
2505
+ "type": "uint40"
2506
+ },
2507
+ {
2508
+ "internalType": "Seconds",
2509
+ "name": "maxLockingPeriod",
2510
+ "type": "uint40"
2511
+ },
2512
+ {
2513
+ "internalType": "UFixed",
2514
+ "name": "minRewardRate",
2515
+ "type": "uint160"
2516
+ },
2517
+ {
2518
+ "internalType": "UFixed",
2519
+ "name": "maxRewardRate",
2520
+ "type": "uint160"
101
2521
  }
102
2522
  ],
103
- "name": "AuthorityUpdated",
104
- "type": "event"
2523
+ "name": "setSupportInfo",
2524
+ "outputs": [],
2525
+ "stateMutability": "nonpayable",
2526
+ "type": "function"
105
2527
  },
106
2528
  {
107
- "inputs": [],
108
- "name": "authority",
109
- "outputs": [
2529
+ "inputs": [
110
2530
  {
111
- "internalType": "address",
112
- "name": "",
113
- "type": "address"
2531
+ "internalType": "NftId",
2532
+ "name": "targetNftId",
2533
+ "type": "uint96"
2534
+ },
2535
+ {
2536
+ "internalType": "Amount",
2537
+ "name": "marginAmount",
2538
+ "type": "uint96"
2539
+ },
2540
+ {
2541
+ "internalType": "Amount",
2542
+ "name": "limitAmount",
2543
+ "type": "uint96"
114
2544
  }
115
2545
  ],
116
- "stateMutability": "view",
2546
+ "name": "setTargetLimits",
2547
+ "outputs": [],
2548
+ "stateMutability": "nonpayable",
117
2549
  "type": "function"
118
2550
  },
119
2551
  {
120
- "inputs": [],
121
- "name": "getInitialInfo",
122
- "outputs": [
2552
+ "inputs": [
123
2553
  {
124
- "components": [
125
- {
126
- "internalType": "NftId",
127
- "name": "nftId",
128
- "type": "uint96"
129
- },
130
- {
131
- "internalType": "NftId",
132
- "name": "parentNftId",
133
- "type": "uint96"
134
- },
135
- {
136
- "internalType": "ObjectType",
137
- "name": "objectType",
138
- "type": "uint8"
139
- },
140
- {
141
- "internalType": "bool",
142
- "name": "isInterceptor",
143
- "type": "bool"
144
- },
145
- {
146
- "internalType": "address",
147
- "name": "objectAddress",
148
- "type": "address"
149
- },
150
- {
151
- "internalType": "address",
152
- "name": "initialOwner",
153
- "type": "address"
154
- },
155
- {
156
- "internalType": "bytes",
157
- "name": "data",
158
- "type": "bytes"
159
- }
160
- ],
161
- "internalType": "struct IRegistry.ObjectInfo",
162
- "name": "",
163
- "type": "tuple"
2554
+ "internalType": "uint16",
2555
+ "name": "tvlUpdatesTrigger",
2556
+ "type": "uint16"
2557
+ },
2558
+ {
2559
+ "internalType": "UFixed",
2560
+ "name": "minTvlRatioTrigger",
2561
+ "type": "uint160"
164
2562
  }
165
2563
  ],
166
- "stateMutability": "view",
2564
+ "name": "setUpdateTriggers",
2565
+ "outputs": [],
2566
+ "stateMutability": "nonpayable",
167
2567
  "type": "function"
168
2568
  },
169
2569
  {
170
- "inputs": [],
171
- "name": "getNftId",
172
- "outputs": [
2570
+ "inputs": [
173
2571
  {
174
2572
  "internalType": "NftId",
175
- "name": "",
2573
+ "name": "stakeNftId",
2574
+ "type": "uint96"
2575
+ },
2576
+ {
2577
+ "internalType": "Amount",
2578
+ "name": "dipAmount",
176
2579
  "type": "uint96"
177
2580
  }
178
2581
  ],
179
- "stateMutability": "view",
180
- "type": "function"
181
- },
182
- {
183
- "inputs": [],
184
- "name": "getOwner",
2582
+ "name": "stake",
185
2583
  "outputs": [
186
2584
  {
187
- "internalType": "address",
188
- "name": "",
189
- "type": "address"
2585
+ "internalType": "Amount",
2586
+ "name": "newStakeBalance",
2587
+ "type": "uint96"
190
2588
  }
191
2589
  ],
192
- "stateMutability": "view",
2590
+ "stateMutability": "nonpayable",
193
2591
  "type": "function"
194
2592
  },
195
2593
  {
196
- "inputs": [],
197
- "name": "getRegistry",
2594
+ "inputs": [
2595
+ {
2596
+ "internalType": "bytes4",
2597
+ "name": "interfaceId",
2598
+ "type": "bytes4"
2599
+ }
2600
+ ],
2601
+ "name": "supportsInterface",
198
2602
  "outputs": [
199
2603
  {
200
- "internalType": "contract IRegistry",
2604
+ "internalType": "bool",
201
2605
  "name": "",
202
- "type": "address"
2606
+ "type": "bool"
203
2607
  }
204
2608
  ],
205
2609
  "stateMutability": "view",
206
2610
  "type": "function"
207
2611
  },
208
2612
  {
209
- "inputs": [],
210
- "name": "getVersion",
2613
+ "inputs": [
2614
+ {
2615
+ "internalType": "NftId",
2616
+ "name": "stakeNftId",
2617
+ "type": "uint96"
2618
+ }
2619
+ ],
2620
+ "name": "unstake",
211
2621
  "outputs": [
212
2622
  {
213
- "internalType": "Version",
214
- "name": "",
215
- "type": "uint24"
2623
+ "internalType": "Amount",
2624
+ "name": "unstakedAmount",
2625
+ "type": "uint96"
216
2626
  }
217
2627
  ],
218
- "stateMutability": "pure",
2628
+ "stateMutability": "nonpayable",
219
2629
  "type": "function"
220
2630
  },
221
2631
  {
222
2632
  "inputs": [
2633
+ {
2634
+ "internalType": "NftId",
2635
+ "name": "targetNftId",
2636
+ "type": "uint96"
2637
+ },
223
2638
  {
224
2639
  "internalType": "address",
225
- "name": "activatedBy",
2640
+ "name": "token",
226
2641
  "type": "address"
227
2642
  },
228
2643
  {
229
- "internalType": "bytes",
230
- "name": "activationData",
231
- "type": "bytes"
2644
+ "internalType": "Amount",
2645
+ "name": "amount",
2646
+ "type": "uint96"
232
2647
  }
233
2648
  ],
234
- "name": "initializeVersionable",
2649
+ "name": "updateRemoteTvl",
235
2650
  "outputs": [],
236
2651
  "stateMutability": "nonpayable",
237
2652
  "type": "function"
238
2653
  },
239
2654
  {
240
- "inputs": [],
241
- "name": "isConsumingScheduledOp",
2655
+ "inputs": [
2656
+ {
2657
+ "internalType": "NftId",
2658
+ "name": "stakeNftId",
2659
+ "type": "uint96"
2660
+ }
2661
+ ],
2662
+ "name": "updateRewards",
242
2663
  "outputs": [
243
2664
  {
244
- "internalType": "bytes4",
245
- "name": "",
246
- "type": "bytes4"
2665
+ "internalType": "Amount",
2666
+ "name": "newRewardAmount",
2667
+ "type": "uint96"
247
2668
  }
248
2669
  ],
249
- "stateMutability": "view",
2670
+ "stateMutability": "nonpayable",
250
2671
  "type": "function"
251
2672
  },
252
2673
  {
253
- "inputs": [],
254
- "name": "linkToRegisteredNftId",
2674
+ "inputs": [
2675
+ {
2676
+ "internalType": "NftId",
2677
+ "name": "targetNftId",
2678
+ "type": "uint96"
2679
+ }
2680
+ ],
2681
+ "name": "updateTargetLimit",
255
2682
  "outputs": [],
256
2683
  "stateMutability": "nonpayable",
257
2684
  "type": "function"
@@ -259,12 +2686,12 @@
259
2686
  {
260
2687
  "inputs": [
261
2688
  {
262
- "internalType": "address",
263
- "name": "",
264
- "type": "address"
2689
+ "internalType": "bytes",
2690
+ "name": "upgradeData",
2691
+ "type": "bytes"
265
2692
  }
266
2693
  ],
267
- "name": "setAuthority",
2694
+ "name": "upgradeVersionable",
268
2695
  "outputs": [],
269
2696
  "stateMutability": "nonpayable",
270
2697
  "type": "function"
@@ -272,32 +2699,53 @@
272
2699
  {
273
2700
  "inputs": [
274
2701
  {
275
- "internalType": "bytes4",
276
- "name": "interfaceId",
277
- "type": "bytes4"
2702
+ "internalType": "NftId",
2703
+ "name": "targetNftId",
2704
+ "type": "uint96"
2705
+ },
2706
+ {
2707
+ "internalType": "Amount",
2708
+ "name": "dipAmount",
2709
+ "type": "uint96"
278
2710
  }
279
2711
  ],
280
- "name": "supportsInterface",
2712
+ "name": "withdrawRewardReserves",
281
2713
  "outputs": [
282
2714
  {
283
- "internalType": "bool",
284
- "name": "",
285
- "type": "bool"
2715
+ "internalType": "Amount",
2716
+ "name": "newBalance",
2717
+ "type": "uint96"
286
2718
  }
287
2719
  ],
288
- "stateMutability": "view",
2720
+ "stateMutability": "nonpayable",
289
2721
  "type": "function"
290
2722
  },
291
2723
  {
292
2724
  "inputs": [
293
2725
  {
294
- "internalType": "bytes",
295
- "name": "upgradeData",
296
- "type": "bytes"
2726
+ "internalType": "NftId",
2727
+ "name": "targetNftId",
2728
+ "type": "uint96"
2729
+ },
2730
+ {
2731
+ "internalType": "Amount",
2732
+ "name": "dipAmount",
2733
+ "type": "uint96"
2734
+ },
2735
+ {
2736
+ "internalType": "address",
2737
+ "name": "transferTo",
2738
+ "type": "address"
2739
+ }
2740
+ ],
2741
+ "name": "withdrawRewardReservesByService",
2742
+ "outputs": [
2743
+ {
2744
+ "internalType": "Amount",
2745
+ "name": "newBalance",
2746
+ "type": "uint96"
297
2747
  }
298
2748
  ],
299
- "name": "upgradeVersionable",
300
- "outputs": [],
301
2749
  "stateMutability": "nonpayable",
302
2750
  "type": "function"
303
2751
  }