@etherisc/gif-next 0.0.2-d63a6a1-078 → 0.0.2-d6609af-567

Sign up to get free protection for your applications and to get access to all the features.
Files changed (689) hide show
  1. package/README.md +124 -17
  2. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.dbg.json +4 -0
  3. package/artifacts/contracts/authorization/AccessAdmin.sol/AccessAdmin.json +1234 -0
  4. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.dbg.json +4 -0
  5. package/artifacts/contracts/authorization/AccessManagerCloneable.sol/AccessManagerCloneable.json +1206 -0
  6. package/artifacts/contracts/authorization/Authorization.sol/Authorization.dbg.json +4 -0
  7. package/artifacts/contracts/authorization/Authorization.sol/Authorization.json +358 -0
  8. package/artifacts/contracts/authorization/IAccess.sol/IAccess.dbg.json +4 -0
  9. package/artifacts/contracts/{instance/module/ISetup.sol/ISetup.json → authorization/IAccess.sol/IAccess.json} +2 -2
  10. package/artifacts/contracts/authorization/IAccessAdmin.sol/IAccessAdmin.dbg.json +4 -0
  11. package/artifacts/contracts/{instance/IAccessManagerSimple.sol/IAccessManagerSimple.json → authorization/IAccessAdmin.sol/IAccessAdmin.json} +483 -552
  12. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.dbg.json +4 -0
  13. package/artifacts/contracts/authorization/IAuthorization.sol/IAuthorization.json +258 -0
  14. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.dbg.json +4 -0
  15. package/artifacts/contracts/authorization/IModuleAuthorization.sol/IModuleAuthorization.json +290 -0
  16. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.dbg.json +4 -0
  17. package/artifacts/contracts/authorization/IServiceAuthorization.sol/IServiceAuthorization.json +148 -0
  18. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.dbg.json +4 -0
  19. package/artifacts/contracts/authorization/ModuleAuthorization.sol/ModuleAuthorization.json +390 -0
  20. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.dbg.json +4 -0
  21. package/artifacts/contracts/authorization/ServiceAuthorization.sol/ServiceAuthorization.json +190 -0
  22. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.dbg.json +4 -0
  23. package/artifacts/contracts/distribution/BasicDistribution.sol/BasicDistribution.json +1363 -0
  24. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.dbg.json +4 -0
  25. package/artifacts/contracts/distribution/BasicDistributionAuthorization.sol/BasicDistributionAuthorization.json +410 -0
  26. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +4 -0
  27. package/artifacts/contracts/distribution/Distribution.sol/Distribution.json +1033 -0
  28. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +4 -0
  29. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +1405 -0
  30. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  31. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +818 -0
  32. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  33. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.json +927 -0
  34. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  35. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.json +932 -0
  36. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.dbg.json +4 -0
  37. package/artifacts/contracts/examples/fire/DamageLevel.sol/DamageLevelLib.json +22 -0
  38. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.dbg.json +4 -0
  39. package/artifacts/contracts/examples/fire/FirePool.sol/FirePool.json +1512 -0
  40. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.dbg.json +4 -0
  41. package/artifacts/contracts/examples/fire/FirePoolAuthorization.sol/FirePoolAuthorization.json +410 -0
  42. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.dbg.json +4 -0
  43. package/artifacts/contracts/examples/fire/FireProduct.sol/FireProduct.json +1999 -0
  44. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.dbg.json +4 -0
  45. package/artifacts/contracts/examples/fire/FireProductAuthorization.sol/FireProductAuthorization.json +414 -0
  46. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.dbg.json +4 -0
  47. package/artifacts/contracts/examples/fire/FireUSD.sol/FireUSD.json +376 -0
  48. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.dbg.json +4 -0
  49. package/artifacts/contracts/examples/unpermissioned/SimpleDistribution.sol/SimpleDistribution.json +1432 -0
  50. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.dbg.json +4 -0
  51. package/artifacts/contracts/examples/unpermissioned/SimpleOracle.sol/SimpleOracle.json +1192 -0
  52. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.dbg.json +4 -0
  53. package/artifacts/contracts/examples/unpermissioned/SimplePool.sol/SimplePool.json +1566 -0
  54. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.dbg.json +4 -0
  55. package/artifacts/contracts/examples/unpermissioned/SimpleProduct.sol/SimpleProduct.json +2001 -0
  56. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.dbg.json +4 -0
  57. package/artifacts/contracts/instance/BundleSet.sol/BundleSet.json +703 -0
  58. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +547 -246
  60. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  61. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +447 -170
  62. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/Instance.sol/Instance.json +346 -3047
  64. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAdmin.sol/InstanceAdmin.json +1623 -0
  66. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceAuthorizationV3.sol/InstanceAuthorizationV3.json +601 -0
  68. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  69. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1100 -340
  70. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +554 -256
  72. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +360 -78
  74. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +4 -0
  75. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +3607 -0
  76. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/BalanceStore.sol/BalanceStore.json +318 -0
  78. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +4 -0
  79. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → base/Cloneable.sol/Cloneable.json} +31 -8
  80. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/ObjectCounter.sol/ObjectCounter.json +10 -0
  82. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/ObjectLifecycle.sol/ObjectLifecycle.json +182 -0
  84. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/ObjectSet.sol/ObjectSet.json +181 -0
  86. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  87. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +30 -112
  88. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  89. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  90. package/artifacts/contracts/instance/module/{ITreasury.sol/ITreasury.json → IComponents.sol/IComponents.json} +2 -2
  91. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  92. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  93. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  94. package/artifacts/contracts/mock/Dip.sol/Dip.dbg.json +4 -0
  95. package/artifacts/contracts/mock/Dip.sol/Dip.json +376 -0
  96. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.dbg.json +4 -0
  97. package/artifacts/contracts/oracle/BasicOracle.sol/BasicOracle.json +1000 -0
  98. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.dbg.json +4 -0
  99. package/artifacts/contracts/oracle/BasicOracleAuthorization.sol/BasicOracleAuthorization.json +418 -0
  100. package/artifacts/contracts/oracle/IOracle.sol/IOracle.dbg.json +4 -0
  101. package/artifacts/contracts/oracle/IOracle.sol/IOracle.json +52 -0
  102. package/artifacts/contracts/oracle/IOracleComponent.sol/IOracleComponent.dbg.json +4 -0
  103. package/artifacts/contracts/{instance/service/IProductService.sol/IProductService.json → oracle/IOracleComponent.sol/IOracleComponent.json} +405 -370
  104. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.dbg.json +4 -0
  105. package/artifacts/contracts/oracle/IOracleService.sol/IOracleService.json +675 -0
  106. package/artifacts/contracts/oracle/Oracle.sol/Oracle.dbg.json +4 -0
  107. package/artifacts/contracts/oracle/Oracle.sol/Oracle.json +892 -0
  108. package/artifacts/contracts/oracle/OracleService.sol/OracleService.dbg.json +4 -0
  109. package/artifacts/contracts/oracle/OracleService.sol/OracleService.json +927 -0
  110. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.dbg.json +4 -0
  111. package/artifacts/contracts/oracle/OracleServiceManager.sol/OracleServiceManager.json +710 -0
  112. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.dbg.json +4 -0
  113. package/artifacts/contracts/pool/BasicPool.sol/BasicPool.json +1297 -0
  114. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.dbg.json +4 -0
  115. package/artifacts/contracts/pool/BasicPoolAuthorization.sol/BasicPoolAuthorization.json +410 -0
  116. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +4 -0
  117. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +1431 -0
  118. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  119. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +822 -0
  120. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +4 -0
  121. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.json +931 -0
  122. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  123. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.json +958 -0
  124. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +4 -0
  125. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.json +1267 -0
  126. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +4 -0
  127. package/artifacts/contracts/pool/Pool.sol/Pool.json +1083 -0
  128. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +4 -0
  129. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +1612 -0
  130. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  131. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +758 -0
  132. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  133. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +737 -0
  134. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  135. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +698 -0
  136. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.dbg.json +4 -0
  137. package/artifacts/contracts/product/BasicProduct.sol/BasicProduct.json +1119 -0
  138. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.dbg.json +4 -0
  139. package/artifacts/contracts/product/BasicProductAuthorization.sol/BasicProductAuthorization.json +410 -0
  140. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +4 -0
  141. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +1397 -0
  142. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  143. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +826 -0
  144. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  145. package/artifacts/contracts/{instance/base/ComponentServiceBase.sol/ComponentServiceBase.json → product/IApplicationService.sol/IApplicationService.json} +222 -186
  146. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +4 -0
  147. package/artifacts/contracts/product/IClaimService.sol/IClaimService.json +913 -0
  148. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  149. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.json +896 -0
  150. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +4 -0
  151. package/artifacts/contracts/{instance/service/IPoolService.sol/IPoolService.json → product/IPricingService.sol/IPricingService.json} +267 -279
  152. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  153. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.json +971 -0
  154. package/artifacts/contracts/product/IRiskService.sol/IRiskService.dbg.json +4 -0
  155. package/artifacts/contracts/{instance/service/IComponentOwnerService.sol/IComponentOwnerService.json → product/IRiskService.sol/IRiskService.json} +125 -191
  156. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +4 -0
  157. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +1268 -0
  158. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  159. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +770 -0
  160. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +4 -0
  161. package/artifacts/contracts/product/PricingService.sol/PricingService.json +865 -0
  162. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +4 -0
  163. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +746 -0
  164. package/artifacts/contracts/product/Product.sol/Product.dbg.json +4 -0
  165. package/artifacts/contracts/product/Product.sol/Product.json +1077 -0
  166. package/artifacts/contracts/product/RiskService.sol/RiskService.dbg.json +4 -0
  167. package/artifacts/contracts/product/RiskService.sol/RiskService.json +588 -0
  168. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.dbg.json +4 -0
  169. package/artifacts/contracts/product/RiskServiceManager.sol/RiskServiceManager.json +682 -0
  170. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  171. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +72 -16
  172. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  173. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +839 -154
  174. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  175. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +346 -278
  176. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  177. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +18 -0
  178. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  179. package/artifacts/contracts/registry/Registry.sol/Registry.json +1184 -283
  180. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.dbg.json +4 -0
  181. package/artifacts/contracts/registry/RegistryAdmin.sol/RegistryAdmin.json +1858 -0
  182. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  183. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +291 -390
  184. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  185. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +325 -128
  186. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.dbg.json +4 -0
  187. package/artifacts/contracts/registry/ReleaseLifecycle.sol/ReleaseLifecycle.json +164 -0
  188. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.dbg.json +4 -0
  189. package/artifacts/contracts/registry/ReleaseRegistry.sol/ReleaseRegistry.json +1169 -0
  190. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.dbg.json +4 -0
  191. package/artifacts/contracts/registry/ServiceAuthorizationV3.sol/ServiceAuthorizationV3.json +214 -0
  192. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  193. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +661 -0
  194. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +4 -0
  195. package/artifacts/contracts/shared/Component.sol/Component.json +706 -0
  196. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +4 -0
  197. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.json +1573 -0
  198. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.dbg.json +4 -0
  199. package/artifacts/contracts/shared/ComponentServiceManager.sol/ComponentServiceManager.json +794 -0
  200. package/artifacts/contracts/shared/ComponentVerifyingService.sol/ComponentVerifyingService.dbg.json +4 -0
  201. package/artifacts/contracts/shared/{RegisterableUpgradable.sol/RegisterableUpgradable.json → ComponentVerifyingService.sol/ComponentVerifyingService.json} +149 -159
  202. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.dbg.json +4 -0
  203. package/artifacts/contracts/shared/ContractLib.sol/ContractLib.json +92 -0
  204. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +4 -0
  205. package/artifacts/contracts/shared/IComponent.sol/IComponent.json +626 -0
  206. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.dbg.json +4 -0
  207. package/artifacts/contracts/shared/IComponentService.sol/IComponentService.json +1033 -0
  208. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.dbg.json +4 -0
  209. package/artifacts/contracts/shared/IInstanceLinkedComponent.sol/IInstanceLinkedComponent.json +721 -0
  210. package/artifacts/contracts/shared/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  211. package/artifacts/contracts/{instance/base → shared}/IKeyValueStore.sol/IKeyValueStore.json +59 -14
  212. package/artifacts/contracts/shared/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  213. package/artifacts/contracts/{instance/base → shared}/ILifecycle.sol/ILifecycle.json +1 -6
  214. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  215. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +34 -30
  216. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  217. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +175 -0
  218. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  219. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +15 -35
  220. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  221. package/artifacts/contracts/{experiment/inheritance/IA.sol/ISharedA.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +15 -17
  222. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  223. package/artifacts/contracts/shared/IService.sol/IService.json +97 -172
  224. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.dbg.json +4 -0
  225. package/artifacts/contracts/shared/InitializableERC165.sol/InitializableERC165.json +53 -0
  226. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.dbg.json +4 -0
  227. package/artifacts/contracts/shared/InstanceLinkedComponent.sol/InstanceLinkedComponent.json +814 -0
  228. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  229. package/artifacts/contracts/shared/KeyValueStore.sol/KeyValueStore.json +497 -0
  230. package/artifacts/contracts/shared/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  231. package/artifacts/contracts/{experiment/statemachine/ISM.sol/ISM.json → shared/Lifecycle.sol/Lifecycle.json} +54 -45
  232. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.dbg.json +4 -0
  233. package/artifacts/contracts/shared/NftIdSet.sol/NftIdSet.json +306 -0
  234. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  235. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +65 -30
  236. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  237. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +198 -0
  238. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  239. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +44 -54
  240. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  241. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +58 -0
  242. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  243. package/artifacts/contracts/shared/Service.sol/Service.json +115 -183
  244. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  245. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +382 -9
  246. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.dbg.json +4 -0
  247. package/artifacts/contracts/shared/TokenHandlerDeployerLib.sol/TokenHandlerDeployerLib.json +108 -0
  248. package/artifacts/contracts/staking/IStaking.sol/IStaking.dbg.json +4 -0
  249. package/artifacts/contracts/staking/IStaking.sol/IStaking.json +1459 -0
  250. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +4 -0
  251. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.json +1035 -0
  252. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.dbg.json +4 -0
  253. package/artifacts/contracts/staking/StakeManagerLib.sol/StakeManagerLib.json +440 -0
  254. package/artifacts/contracts/staking/Staking.sol/Staking.dbg.json +4 -0
  255. package/artifacts/contracts/staking/Staking.sol/Staking.json +1849 -0
  256. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.dbg.json +4 -0
  257. package/artifacts/contracts/staking/StakingLifecycle.sol/StakingLifecycle.json +164 -0
  258. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.dbg.json +4 -0
  259. package/artifacts/contracts/staking/StakingManager.sol/StakingManager.json +750 -0
  260. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.dbg.json +4 -0
  261. package/artifacts/contracts/staking/StakingReader.sol/StakingReader.json +587 -0
  262. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +4 -0
  263. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +1236 -0
  264. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  265. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +698 -0
  266. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.dbg.json +4 -0
  267. package/artifacts/contracts/staking/StakingStore.sol/StakingStore.json +2242 -0
  268. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.dbg.json +4 -0
  269. package/artifacts/contracts/staking/TargetManagerLib.sol/TargetManagerLib.json +607 -0
  270. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  271. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.json +10 -0
  272. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +4 -0
  273. package/artifacts/contracts/type/Amount.sol/AmountLib.json +398 -0
  274. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  275. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.json +225 -0
  276. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  277. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.json +203 -0
  278. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  279. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.json +104 -0
  280. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +4 -0
  281. package/artifacts/contracts/type/Fee.sol/FeeLib.json +317 -0
  282. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +4 -0
  283. package/artifacts/contracts/type/Key32.sol/Key32Lib.json +125 -0
  284. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +4 -0
  285. package/artifacts/contracts/type/NftId.sol/NftIdLib.json +209 -0
  286. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  287. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.json +33 -0
  288. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  289. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.json +239 -0
  290. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  291. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.json +209 -0
  292. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +4 -0
  293. package/artifacts/contracts/type/Referral.sol/ReferralLib.json +142 -0
  294. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.dbg.json +4 -0
  295. package/artifacts/contracts/type/RequestId.sol/RequestIdLib.json +204 -0
  296. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +4 -0
  297. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.json +142 -0
  298. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +4 -0
  299. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +369 -0
  300. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +4 -0
  301. package/artifacts/contracts/type/Seconds.sol/SecondsLib.json +246 -0
  302. package/artifacts/contracts/type/Selector.sol/SelectorLib.dbg.json +4 -0
  303. package/artifacts/contracts/type/Selector.sol/SelectorLib.json +129 -0
  304. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.dbg.json +4 -0
  305. package/artifacts/contracts/type/Selector.sol/SelectorSetLib.json +10 -0
  306. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +4 -0
  307. package/artifacts/contracts/{types → type}/StateId.sol/StateIdLib.json +3 -3
  308. package/artifacts/contracts/type/String.sol/StrLib.dbg.json +4 -0
  309. package/artifacts/contracts/type/String.sol/StrLib.json +132 -0
  310. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +4 -0
  311. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.json +312 -0
  312. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +4 -0
  313. package/artifacts/contracts/type/UFixed.sol/MathLib.json +16 -0
  314. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +4 -0
  315. package/artifacts/contracts/type/UFixed.sol/UFixedLib.json +548 -0
  316. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +4 -0
  317. package/artifacts/contracts/type/Version.sol/VersionLib.json +177 -0
  318. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +4 -0
  319. package/artifacts/contracts/type/Version.sol/VersionPartLib.json +68 -0
  320. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.dbg.json +4 -0
  321. package/artifacts/contracts/upgradeability/IVersionable.sol/IVersionable.json +55 -0
  322. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  323. package/artifacts/contracts/upgradeability/ProxyManager.sol/ProxyManager.json +586 -0
  324. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  325. package/artifacts/contracts/upgradeability/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  326. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.dbg.json +4 -0
  327. package/artifacts/contracts/upgradeability/Versionable.sol/Versionable.json +78 -0
  328. package/contracts/authorization/AccessAdmin.sol +592 -0
  329. package/contracts/authorization/AccessManagerCloneable.sol +16 -0
  330. package/contracts/authorization/Authorization.sol +221 -0
  331. package/contracts/authorization/IAccess.sol +48 -0
  332. package/contracts/authorization/IAccessAdmin.sol +135 -0
  333. package/contracts/authorization/IAuthorization.sol +54 -0
  334. package/contracts/authorization/IModuleAuthorization.sol +21 -0
  335. package/contracts/authorization/IServiceAuthorization.sol +38 -0
  336. package/contracts/authorization/ModuleAuthorization.sol +78 -0
  337. package/contracts/authorization/ServiceAuthorization.sol +90 -0
  338. package/contracts/distribution/BasicDistribution.sol +138 -0
  339. package/contracts/distribution/BasicDistributionAuthorization.sol +47 -0
  340. package/contracts/distribution/Distribution.sol +295 -0
  341. package/contracts/distribution/DistributionService.sol +336 -0
  342. package/contracts/distribution/DistributionServiceManager.sol +39 -0
  343. package/contracts/distribution/IDistributionComponent.sol +52 -0
  344. package/contracts/distribution/IDistributionService.sol +101 -0
  345. package/contracts/examples/fire/DamageLevel.sol +59 -0
  346. package/contracts/examples/fire/FirePool.sol +75 -0
  347. package/contracts/examples/fire/FirePoolAuthorization.sol +34 -0
  348. package/contracts/examples/fire/FireProduct.sol +413 -0
  349. package/contracts/examples/fire/FireProductAuthorization.sol +45 -0
  350. package/contracts/examples/fire/FireUSD.sol +26 -0
  351. package/contracts/examples/unpermissioned/SimpleDistribution.sol +50 -0
  352. package/contracts/examples/unpermissioned/SimpleOracle.sol +137 -0
  353. package/contracts/examples/unpermissioned/SimplePool.sol +76 -0
  354. package/contracts/examples/unpermissioned/SimpleProduct.sol +351 -0
  355. package/contracts/instance/BundleSet.sol +126 -0
  356. package/contracts/instance/IInstance.sol +51 -16
  357. package/contracts/instance/IInstanceService.sol +78 -16
  358. package/contracts/instance/Instance.sol +159 -372
  359. package/contracts/instance/InstanceAdmin.sol +288 -0
  360. package/contracts/instance/InstanceAuthorizationV3.sol +204 -0
  361. package/contracts/instance/InstanceReader.sol +279 -74
  362. package/contracts/instance/InstanceService.sol +410 -83
  363. package/contracts/instance/InstanceServiceManager.sol +14 -31
  364. package/contracts/instance/InstanceStore.sol +287 -0
  365. package/contracts/instance/base/BalanceStore.sol +123 -0
  366. package/contracts/instance/base/Cloneable.sol +28 -0
  367. package/contracts/instance/base/ObjectCounter.sol +21 -0
  368. package/contracts/instance/base/ObjectLifecycle.sol +111 -0
  369. package/contracts/instance/base/ObjectSet.sol +79 -0
  370. package/contracts/instance/module/IAccess.sol +29 -21
  371. package/contracts/instance/module/IBundle.sol +8 -7
  372. package/contracts/instance/module/IComponents.sol +48 -0
  373. package/contracts/instance/module/IDistribution.sol +6 -4
  374. package/contracts/instance/module/IPolicy.sol +58 -19
  375. package/contracts/instance/module/IRisk.sol +1 -1
  376. package/contracts/{test/Usdc.sol → mock/Dip.sol} +6 -6
  377. package/contracts/oracle/BasicOracle.sol +48 -0
  378. package/contracts/oracle/BasicOracleAuthorization.sol +46 -0
  379. package/contracts/oracle/IOracle.sol +36 -0
  380. package/contracts/oracle/IOracleComponent.sol +33 -0
  381. package/contracts/oracle/IOracleService.sol +65 -0
  382. package/contracts/oracle/Oracle.sol +167 -0
  383. package/contracts/oracle/OracleService.sol +281 -0
  384. package/contracts/oracle/OracleServiceManager.sol +39 -0
  385. package/contracts/pool/BasicPool.sol +166 -0
  386. package/contracts/pool/BasicPoolAuthorization.sol +58 -0
  387. package/contracts/pool/BundleService.sol +461 -0
  388. package/contracts/pool/BundleServiceManager.sol +39 -0
  389. package/contracts/pool/IBundleService.sol +143 -0
  390. package/contracts/pool/IPoolComponent.sol +68 -0
  391. package/contracts/pool/IPoolService.sol +171 -0
  392. package/contracts/pool/Pool.sol +353 -0
  393. package/contracts/pool/PoolService.sol +563 -0
  394. package/contracts/pool/PoolServiceManager.sol +39 -0
  395. package/contracts/product/ApplicationService.sol +251 -0
  396. package/contracts/product/ApplicationServiceManager.sol +38 -0
  397. package/contracts/product/BasicProduct.sol +53 -0
  398. package/contracts/product/BasicProductAuthorization.sol +43 -0
  399. package/contracts/product/ClaimService.sol +581 -0
  400. package/contracts/product/ClaimServiceManager.sol +38 -0
  401. package/contracts/product/IApplicationService.sol +63 -0
  402. package/contracts/product/IClaimService.sol +123 -0
  403. package/contracts/product/IPolicyService.sol +80 -0
  404. package/contracts/product/IPricingService.sol +39 -0
  405. package/contracts/product/IProductComponent.sol +53 -0
  406. package/contracts/product/IRiskService.sol +33 -0
  407. package/contracts/product/PolicyService.sol +686 -0
  408. package/contracts/product/PolicyServiceManager.sol +39 -0
  409. package/contracts/product/PricingService.sol +300 -0
  410. package/contracts/product/PricingServiceManager.sol +39 -0
  411. package/contracts/product/Product.sol +432 -0
  412. package/contracts/product/RiskService.sol +96 -0
  413. package/contracts/product/RiskServiceManager.sol +39 -0
  414. package/contracts/registry/ChainNft.sol +79 -31
  415. package/contracts/registry/IRegistry.sol +130 -18
  416. package/contracts/registry/IRegistryService.sol +42 -17
  417. package/contracts/registry/ITransferInterceptor.sol +1 -0
  418. package/contracts/registry/Registry.sol +551 -267
  419. package/contracts/registry/RegistryAdmin.sol +464 -0
  420. package/contracts/registry/RegistryService.sol +145 -330
  421. package/contracts/registry/RegistryServiceManager.sol +27 -38
  422. package/contracts/registry/ReleaseLifecycle.sol +27 -0
  423. package/contracts/registry/ReleaseRegistry.sol +491 -0
  424. package/contracts/registry/ServiceAuthorizationV3.sol +198 -0
  425. package/contracts/registry/TokenRegistry.sol +315 -0
  426. package/contracts/shared/Component.sol +276 -0
  427. package/contracts/shared/ComponentService.sol +641 -0
  428. package/contracts/shared/ComponentServiceManager.sol +38 -0
  429. package/contracts/shared/ComponentVerifyingService.sol +116 -0
  430. package/contracts/shared/ContractLib.sol +38 -0
  431. package/contracts/shared/IComponent.sol +73 -0
  432. package/contracts/shared/IComponentService.sol +108 -0
  433. package/contracts/shared/IInstanceLinkedComponent.sol +49 -0
  434. package/contracts/{instance/base → shared}/IKeyValueStore.sol +16 -11
  435. package/contracts/{instance/base → shared}/ILifecycle.sol +3 -4
  436. package/contracts/shared/INftOwnable.sol +13 -12
  437. package/contracts/shared/IPolicyHolder.sol +35 -0
  438. package/contracts/shared/IRegisterable.sol +4 -6
  439. package/contracts/shared/IRegistryLinked.sol +11 -0
  440. package/contracts/shared/IService.sol +16 -6
  441. package/contracts/shared/InitializableERC165.sol +27 -0
  442. package/contracts/shared/InstanceLinkedComponent.sol +171 -0
  443. package/contracts/shared/KeyValueStore.sol +131 -0
  444. package/contracts/shared/Lifecycle.sol +77 -0
  445. package/contracts/shared/NftIdSet.sol +65 -0
  446. package/contracts/shared/NftOwnable.sol +60 -89
  447. package/contracts/shared/PolicyHolder.sol +62 -0
  448. package/contracts/shared/Registerable.sol +23 -37
  449. package/contracts/shared/RegistryLinked.sol +44 -0
  450. package/contracts/shared/Service.sol +63 -30
  451. package/contracts/shared/TokenHandler.sol +122 -10
  452. package/contracts/shared/TokenHandlerDeployerLib.sol +12 -0
  453. package/contracts/staking/IStaking.sol +168 -0
  454. package/contracts/staking/IStakingService.sol +160 -0
  455. package/contracts/staking/StakeManagerLib.sol +224 -0
  456. package/contracts/staking/Staking.sol +498 -0
  457. package/contracts/staking/StakingLifecycle.sol +23 -0
  458. package/contracts/staking/StakingManager.sol +52 -0
  459. package/contracts/staking/StakingReader.sol +190 -0
  460. package/contracts/staking/StakingService.sol +407 -0
  461. package/contracts/staking/StakingServiceManager.sol +44 -0
  462. package/contracts/staking/StakingStore.sol +605 -0
  463. package/contracts/staking/TargetManagerLib.sol +211 -0
  464. package/contracts/{types → type}/AddressSet.sol +1 -1
  465. package/contracts/type/Amount.sol +150 -0
  466. package/contracts/{types → type}/Blocknumber.sol +27 -3
  467. package/contracts/type/ClaimId.sol +80 -0
  468. package/contracts/{types → type}/DistributorType.sol +2 -2
  469. package/contracts/{types → type}/Fee.sol +33 -23
  470. package/contracts/{types → type}/NftId.sol +22 -15
  471. package/contracts/type/NftIdSet.sol +62 -0
  472. package/contracts/type/ObjectType.sol +276 -0
  473. package/contracts/type/PayoutId.sol +82 -0
  474. package/contracts/{types → type}/Referral.sol +6 -1
  475. package/contracts/type/RequestId.sol +75 -0
  476. package/contracts/{types → type}/RiskId.sol +16 -2
  477. package/contracts/type/RoleId.sol +174 -0
  478. package/contracts/type/Seconds.sol +101 -0
  479. package/contracts/type/Selector.sol +102 -0
  480. package/contracts/{types → type}/StateId.sol +39 -4
  481. package/contracts/type/String.sol +53 -0
  482. package/contracts/{types → type}/Timestamp.sol +34 -15
  483. package/contracts/{types → type}/UFixed.sol +39 -9
  484. package/contracts/{types → type}/Version.sol +8 -2
  485. package/contracts/{shared → upgradeability}/IVersionable.sol +5 -48
  486. package/contracts/upgradeability/ProxyManager.sol +231 -0
  487. package/contracts/{shared → upgradeability}/UpgradableProxyWithAdmin.sol +1 -3
  488. package/contracts/upgradeability/Versionable.sol +59 -0
  489. package/package.json +10 -7
  490. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  491. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +0 -314
  492. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +0 -4
  493. package/artifacts/contracts/components/Distribution.sol/Distribution.json +0 -610
  494. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  495. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +0 -267
  496. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +0 -4
  497. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -152
  498. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +0 -4
  499. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -249
  500. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +0 -4
  501. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -157
  502. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +0 -4
  503. package/artifacts/contracts/components/Pool.sol/Pool.json +0 -774
  504. package/artifacts/contracts/components/Product.sol/Product.dbg.json +0 -4
  505. package/artifacts/contracts/components/Product.sol/Product.json +0 -754
  506. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +0 -4
  507. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +0 -66
  508. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +0 -4
  509. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +0 -24
  510. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +0 -4
  511. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +0 -42
  512. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  513. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  514. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  515. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  516. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  517. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  518. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  519. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  520. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  521. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  522. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  523. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  524. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  525. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  526. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  527. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  528. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  529. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  530. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  531. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  532. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  533. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  534. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  535. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  536. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  537. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  538. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  539. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  540. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  541. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  542. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  543. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  544. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  545. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  546. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1132
  547. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  548. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +0 -4
  549. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +0 -930
  550. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  551. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  552. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  553. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +0 -4
  554. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  555. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +0 -4
  556. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +0 -502
  557. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +0 -4
  558. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +0 -169
  559. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +0 -4
  560. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +0 -4
  561. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  562. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  563. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  564. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +0 -4
  565. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -446
  566. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +0 -4
  567. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +0 -4
  568. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +0 -4
  569. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +0 -107
  570. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +0 -4
  571. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +0 -35
  572. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +0 -4
  573. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +0 -205
  574. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +0 -4
  575. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +0 -349
  576. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  577. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +0 -4
  578. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +0 -129
  579. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +0 -4
  580. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +0 -228
  581. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +0 -4
  582. package/artifacts/contracts/test/TestFee.sol/TestFee.json +0 -119
  583. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +0 -4
  584. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +0 -305
  585. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +0 -4
  586. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +0 -116
  587. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +0 -4
  588. package/artifacts/contracts/test/TestService.sol/TestService.json +0 -600
  589. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +0 -4
  590. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +0 -376
  591. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +0 -4
  592. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +0 -218
  593. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +0 -4
  594. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +0 -286
  595. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +0 -4
  596. package/artifacts/contracts/test/Usdc.sol/USDC.json +0 -376
  597. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +0 -4
  598. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +0 -10
  599. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +0 -4
  600. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +0 -174
  601. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +0 -4
  602. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +0 -10
  603. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +0 -4
  604. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +0 -104
  605. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +0 -4
  606. package/artifacts/contracts/types/Fee.sol/FeeLib.json +0 -257
  607. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +0 -4
  608. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +0 -125
  609. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +0 -4
  610. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +0 -153
  611. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +0 -4
  612. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +0 -10
  613. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +0 -4
  614. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +0 -100
  615. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +0 -4
  616. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +0 -92
  617. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +0 -4
  618. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +0 -123
  619. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +0 -4
  620. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +0 -86
  621. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +0 -4
  622. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +0 -156
  623. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +0 -4
  624. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +0 -4
  625. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +0 -249
  626. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +0 -4
  627. package/artifacts/contracts/types/UFixed.sol/MathLib.json +0 -10
  628. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +0 -4
  629. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +0 -479
  630. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +0 -4
  631. package/artifacts/contracts/types/Version.sol/VersionLib.json +0 -177
  632. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +0 -4
  633. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +0 -30
  634. package/contracts/components/BaseComponent.sol +0 -86
  635. package/contracts/components/Distribution.sol +0 -166
  636. package/contracts/components/IBaseComponent.sol +0 -24
  637. package/contracts/components/IDistributionComponent.sol +0 -43
  638. package/contracts/components/IPoolComponent.sol +0 -62
  639. package/contracts/components/IProductComponent.sol +0 -35
  640. package/contracts/components/Pool.sol +0 -259
  641. package/contracts/components/Product.sol +0 -297
  642. package/contracts/experiment/cloning/Cloner.sol +0 -47
  643. package/contracts/experiment/errors/Require.sol +0 -38
  644. package/contracts/experiment/errors/Revert.sol +0 -44
  645. package/contracts/experiment/inheritance/A.sol +0 -53
  646. package/contracts/experiment/inheritance/B.sol +0 -28
  647. package/contracts/experiment/inheritance/C.sol +0 -34
  648. package/contracts/experiment/inheritance/IA.sol +0 -13
  649. package/contracts/experiment/inheritance/IB.sol +0 -10
  650. package/contracts/experiment/inheritance/IC.sol +0 -12
  651. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  652. package/contracts/experiment/statemachine/ISM.sol +0 -25
  653. package/contracts/experiment/statemachine/SM.sol +0 -57
  654. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  655. package/contracts/experiment/types/TypeA.sol +0 -47
  656. package/contracts/experiment/types/TypeB.sol +0 -29
  657. package/contracts/instance/AccessManagedSimple.sol +0 -122
  658. package/contracts/instance/AccessManagerSimple.sol +0 -692
  659. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  660. package/contracts/instance/InstanceAccessManager.sol +0 -288
  661. package/contracts/instance/base/ComponentServiceBase.sol +0 -49
  662. package/contracts/instance/base/IInstanceBase.sol +0 -23
  663. package/contracts/instance/base/KeyValueStore.sol +0 -172
  664. package/contracts/instance/base/Lifecycle.sol +0 -100
  665. package/contracts/instance/module/ISetup.sol +0 -43
  666. package/contracts/instance/module/ITreasury.sol +0 -23
  667. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  668. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  669. package/contracts/instance/service/IDistributionService.sol +0 -12
  670. package/contracts/instance/service/IPoolService.sol +0 -37
  671. package/contracts/instance/service/IProductService.sol +0 -107
  672. package/contracts/shared/ContractDeployerLib.sol +0 -72
  673. package/contracts/shared/ERC165.sol +0 -21
  674. package/contracts/shared/ProxyManager.sol +0 -94
  675. package/contracts/shared/RegisterableUpgradable.sol +0 -16
  676. package/contracts/shared/Versionable.sol +0 -147
  677. package/contracts/test/TestFee.sol +0 -25
  678. package/contracts/test/TestRegisterable.sol +0 -18
  679. package/contracts/test/TestRoleId.sol +0 -14
  680. package/contracts/test/TestService.sol +0 -24
  681. package/contracts/test/TestToken.sol +0 -26
  682. package/contracts/test/TestVersion.sol +0 -44
  683. package/contracts/test/TestVersionable.sol +0 -17
  684. package/contracts/types/ChainId.sol +0 -38
  685. package/contracts/types/NftIdSet.sol +0 -60
  686. package/contracts/types/NumberId.sol +0 -52
  687. package/contracts/types/ObjectType.sol +0 -152
  688. package/contracts/types/RoleId.sol +0 -82
  689. /package/contracts/{types → type}/Key32.sol +0 -0
@@ -0,0 +1,1459 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IStaking",
4
+ "sourceName": "contracts/staking/IStaking.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [],
46
+ "name": "ErrorComponentNameLengthZero",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "address",
53
+ "name": "caller",
54
+ "type": "address"
55
+ }
56
+ ],
57
+ "name": "ErrorComponentNotChainNft",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [],
62
+ "name": "ErrorComponentTokenAddressZero",
63
+ "type": "error"
64
+ },
65
+ {
66
+ "inputs": [],
67
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [],
72
+ "name": "ErrorComponentWalletAddressZero",
73
+ "type": "error"
74
+ },
75
+ {
76
+ "inputs": [],
77
+ "name": "ErrorComponentWalletNotComponent",
78
+ "type": "error"
79
+ },
80
+ {
81
+ "inputs": [
82
+ {
83
+ "internalType": "NftId",
84
+ "name": "nftId",
85
+ "type": "uint96"
86
+ },
87
+ {
88
+ "internalType": "ObjectType",
89
+ "name": "objectType",
90
+ "type": "uint8"
91
+ },
92
+ {
93
+ "internalType": "ObjectType",
94
+ "name": "expectedObjectType",
95
+ "type": "uint8"
96
+ }
97
+ ],
98
+ "name": "ErrorNftNotObjectType",
99
+ "type": "error"
100
+ },
101
+ {
102
+ "inputs": [
103
+ {
104
+ "internalType": "NftId",
105
+ "name": "nftId",
106
+ "type": "uint96"
107
+ }
108
+ ],
109
+ "name": "ErrorNftOwnableAlreadyLinked",
110
+ "type": "error"
111
+ },
112
+ {
113
+ "inputs": [
114
+ {
115
+ "internalType": "address",
116
+ "name": "contractAddress",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "name": "ErrorNftOwnableContractNotRegistered",
121
+ "type": "error"
122
+ },
123
+ {
124
+ "inputs": [],
125
+ "name": "ErrorNftOwnableInitialOwnerZero",
126
+ "type": "error"
127
+ },
128
+ {
129
+ "inputs": [
130
+ {
131
+ "internalType": "address",
132
+ "name": "account",
133
+ "type": "address"
134
+ }
135
+ ],
136
+ "name": "ErrorNftOwnableNotOwner",
137
+ "type": "error"
138
+ },
139
+ {
140
+ "inputs": [
141
+ {
142
+ "internalType": "address",
143
+ "name": "registryAddress",
144
+ "type": "address"
145
+ }
146
+ ],
147
+ "name": "ErrorNotRegistry",
148
+ "type": "error"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "internalType": "address",
154
+ "name": "owner",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "internalType": "address",
159
+ "name": "tokenHandler",
160
+ "type": "address"
161
+ },
162
+ {
163
+ "internalType": "uint256",
164
+ "name": "amount",
165
+ "type": "uint256"
166
+ },
167
+ {
168
+ "internalType": "uint256",
169
+ "name": "dipAllowance",
170
+ "type": "uint256"
171
+ }
172
+ ],
173
+ "name": "ErrorStakingDipAllowanceInsufficient",
174
+ "type": "error"
175
+ },
176
+ {
177
+ "inputs": [
178
+ {
179
+ "internalType": "address",
180
+ "name": "owner",
181
+ "type": "address"
182
+ },
183
+ {
184
+ "internalType": "uint256",
185
+ "name": "amount",
186
+ "type": "uint256"
187
+ },
188
+ {
189
+ "internalType": "uint256",
190
+ "name": "dipBalance",
191
+ "type": "uint256"
192
+ }
193
+ ],
194
+ "name": "ErrorStakingDipBalanceInsufficient",
195
+ "type": "error"
196
+ },
197
+ {
198
+ "inputs": [
199
+ {
200
+ "internalType": "NftId",
201
+ "name": "targetNftId",
202
+ "type": "uint96"
203
+ },
204
+ {
205
+ "internalType": "Seconds",
206
+ "name": "maxLockingPeriod",
207
+ "type": "uint40"
208
+ },
209
+ {
210
+ "internalType": "Seconds",
211
+ "name": "lockingPeriod",
212
+ "type": "uint40"
213
+ }
214
+ ],
215
+ "name": "ErrorStakingLockingPeriodTooLong",
216
+ "type": "error"
217
+ },
218
+ {
219
+ "inputs": [
220
+ {
221
+ "internalType": "NftId",
222
+ "name": "targetNftId",
223
+ "type": "uint96"
224
+ },
225
+ {
226
+ "internalType": "Seconds",
227
+ "name": "minLockingPeriod",
228
+ "type": "uint40"
229
+ },
230
+ {
231
+ "internalType": "Seconds",
232
+ "name": "lockingPeriod",
233
+ "type": "uint40"
234
+ }
235
+ ],
236
+ "name": "ErrorStakingLockingPeriodTooShort",
237
+ "type": "error"
238
+ },
239
+ {
240
+ "inputs": [
241
+ {
242
+ "internalType": "NftId",
243
+ "name": "nftId",
244
+ "type": "uint96"
245
+ }
246
+ ],
247
+ "name": "ErrorStakingNotNftOwner",
248
+ "type": "error"
249
+ },
250
+ {
251
+ "inputs": [
252
+ {
253
+ "internalType": "NftId",
254
+ "name": "stakeNftId",
255
+ "type": "uint96"
256
+ }
257
+ ],
258
+ "name": "ErrorStakingNotStake",
259
+ "type": "error"
260
+ },
261
+ {
262
+ "inputs": [],
263
+ "name": "ErrorStakingNotStakingOwner",
264
+ "type": "error"
265
+ },
266
+ {
267
+ "inputs": [
268
+ {
269
+ "internalType": "NftId",
270
+ "name": "targetNftId",
271
+ "type": "uint96"
272
+ }
273
+ ],
274
+ "name": "ErrorStakingNotTarget",
275
+ "type": "error"
276
+ },
277
+ {
278
+ "inputs": [
279
+ {
280
+ "internalType": "NftId",
281
+ "name": "targetNftId",
282
+ "type": "uint96"
283
+ },
284
+ {
285
+ "internalType": "UFixed",
286
+ "name": "maxRewardRate",
287
+ "type": "uint256"
288
+ },
289
+ {
290
+ "internalType": "UFixed",
291
+ "name": "rewardRate",
292
+ "type": "uint256"
293
+ }
294
+ ],
295
+ "name": "ErrorStakingRewardRateTooHigh",
296
+ "type": "error"
297
+ },
298
+ {
299
+ "inputs": [
300
+ {
301
+ "internalType": "NftId",
302
+ "name": "targetNftId",
303
+ "type": "uint96"
304
+ }
305
+ ],
306
+ "name": "ErrorStakingStakeAmountZero",
307
+ "type": "error"
308
+ },
309
+ {
310
+ "inputs": [
311
+ {
312
+ "internalType": "NftId",
313
+ "name": "stakeNftId",
314
+ "type": "uint96"
315
+ },
316
+ {
317
+ "internalType": "Timestamp",
318
+ "name": "lockedUntil",
319
+ "type": "uint40"
320
+ }
321
+ ],
322
+ "name": "ErrorStakingStakeLocked",
323
+ "type": "error"
324
+ },
325
+ {
326
+ "inputs": [
327
+ {
328
+ "internalType": "address",
329
+ "name": "stakingByStakingReader",
330
+ "type": "address"
331
+ }
332
+ ],
333
+ "name": "ErrorStakingStakingReaderStakingMismatch",
334
+ "type": "error"
335
+ },
336
+ {
337
+ "inputs": [
338
+ {
339
+ "internalType": "NftId",
340
+ "name": "targetNftId",
341
+ "type": "uint96"
342
+ }
343
+ ],
344
+ "name": "ErrorStakingTargetAlreadyRegistered",
345
+ "type": "error"
346
+ },
347
+ {
348
+ "inputs": [],
349
+ "name": "ErrorStakingTargetNftIdZero",
350
+ "type": "error"
351
+ },
352
+ {
353
+ "inputs": [
354
+ {
355
+ "internalType": "NftId",
356
+ "name": "targetNftId",
357
+ "type": "uint96"
358
+ }
359
+ ],
360
+ "name": "ErrorStakingTargetNotActive",
361
+ "type": "error"
362
+ },
363
+ {
364
+ "inputs": [
365
+ {
366
+ "internalType": "NftId",
367
+ "name": "targetNftId",
368
+ "type": "uint96"
369
+ }
370
+ ],
371
+ "name": "ErrorStakingTargetNotFound",
372
+ "type": "error"
373
+ },
374
+ {
375
+ "inputs": [
376
+ {
377
+ "internalType": "NftId",
378
+ "name": "targetNftId",
379
+ "type": "uint96"
380
+ },
381
+ {
382
+ "internalType": "uint256",
383
+ "name": "chainId",
384
+ "type": "uint256"
385
+ },
386
+ {
387
+ "internalType": "address",
388
+ "name": "token",
389
+ "type": "address"
390
+ }
391
+ ],
392
+ "name": "ErrorStakingTargetTokenNotFound",
393
+ "type": "error"
394
+ },
395
+ {
396
+ "inputs": [
397
+ {
398
+ "internalType": "NftId",
399
+ "name": "targetNftId",
400
+ "type": "uint96"
401
+ },
402
+ {
403
+ "internalType": "ObjectType",
404
+ "name": "objectType",
405
+ "type": "uint8"
406
+ }
407
+ ],
408
+ "name": "ErrorStakingTargetTypeNotSupported",
409
+ "type": "error"
410
+ },
411
+ {
412
+ "inputs": [
413
+ {
414
+ "internalType": "NftId",
415
+ "name": "targetNftId",
416
+ "type": "uint96"
417
+ },
418
+ {
419
+ "internalType": "ObjectType",
420
+ "name": "expectedObjectType",
421
+ "type": "uint8"
422
+ },
423
+ {
424
+ "internalType": "ObjectType",
425
+ "name": "actualObjectType",
426
+ "type": "uint8"
427
+ }
428
+ ],
429
+ "name": "ErrorStakingTargetUnexpectedObjectType",
430
+ "type": "error"
431
+ },
432
+ {
433
+ "inputs": [
434
+ {
435
+ "internalType": "uint256",
436
+ "name": "chainId",
437
+ "type": "uint256"
438
+ },
439
+ {
440
+ "internalType": "address",
441
+ "name": "token",
442
+ "type": "address"
443
+ }
444
+ ],
445
+ "name": "ErrorStakingTokenNotRegistered",
446
+ "type": "error"
447
+ },
448
+ {
449
+ "anonymous": false,
450
+ "inputs": [
451
+ {
452
+ "indexed": false,
453
+ "internalType": "address",
454
+ "name": "authority",
455
+ "type": "address"
456
+ }
457
+ ],
458
+ "name": "AuthorityUpdated",
459
+ "type": "event"
460
+ },
461
+ {
462
+ "anonymous": false,
463
+ "inputs": [
464
+ {
465
+ "indexed": false,
466
+ "internalType": "address",
467
+ "name": "token",
468
+ "type": "address"
469
+ },
470
+ {
471
+ "indexed": false,
472
+ "internalType": "Amount",
473
+ "name": "limit",
474
+ "type": "uint96"
475
+ }
476
+ ],
477
+ "name": "LogComponentTokenHandlerApproved",
478
+ "type": "event"
479
+ },
480
+ {
481
+ "anonymous": false,
482
+ "inputs": [
483
+ {
484
+ "indexed": false,
485
+ "internalType": "address",
486
+ "name": "oldWallet",
487
+ "type": "address"
488
+ },
489
+ {
490
+ "indexed": false,
491
+ "internalType": "address",
492
+ "name": "newWallet",
493
+ "type": "address"
494
+ }
495
+ ],
496
+ "name": "LogComponentWalletAddressChanged",
497
+ "type": "event"
498
+ },
499
+ {
500
+ "anonymous": false,
501
+ "inputs": [
502
+ {
503
+ "indexed": false,
504
+ "internalType": "address",
505
+ "name": "from",
506
+ "type": "address"
507
+ },
508
+ {
509
+ "indexed": false,
510
+ "internalType": "address",
511
+ "name": "to",
512
+ "type": "address"
513
+ },
514
+ {
515
+ "indexed": false,
516
+ "internalType": "uint256",
517
+ "name": "amount",
518
+ "type": "uint256"
519
+ }
520
+ ],
521
+ "name": "LogComponentWalletTokensTransferred",
522
+ "type": "event"
523
+ },
524
+ {
525
+ "anonymous": false,
526
+ "inputs": [
527
+ {
528
+ "indexed": false,
529
+ "internalType": "NftId",
530
+ "name": "targetNftId",
531
+ "type": "uint96"
532
+ },
533
+ {
534
+ "indexed": false,
535
+ "internalType": "Seconds",
536
+ "name": "oldLockingPeriod",
537
+ "type": "uint40"
538
+ },
539
+ {
540
+ "indexed": false,
541
+ "internalType": "Seconds",
542
+ "name": "lockingPeriod",
543
+ "type": "uint40"
544
+ }
545
+ ],
546
+ "name": "LogStakingLockingPeriodSet",
547
+ "type": "event"
548
+ },
549
+ {
550
+ "anonymous": false,
551
+ "inputs": [
552
+ {
553
+ "indexed": false,
554
+ "internalType": "NftId",
555
+ "name": "targetNftId",
556
+ "type": "uint96"
557
+ },
558
+ {
559
+ "indexed": false,
560
+ "internalType": "UFixed",
561
+ "name": "oldRewardRate",
562
+ "type": "uint256"
563
+ },
564
+ {
565
+ "indexed": false,
566
+ "internalType": "UFixed",
567
+ "name": "rewardRate",
568
+ "type": "uint256"
569
+ }
570
+ ],
571
+ "name": "LogStakingRewardRateSet",
572
+ "type": "event"
573
+ },
574
+ {
575
+ "anonymous": false,
576
+ "inputs": [
577
+ {
578
+ "indexed": false,
579
+ "internalType": "uint256",
580
+ "name": "chainId",
581
+ "type": "uint256"
582
+ },
583
+ {
584
+ "indexed": false,
585
+ "internalType": "address",
586
+ "name": "token",
587
+ "type": "address"
588
+ },
589
+ {
590
+ "indexed": false,
591
+ "internalType": "UFixed",
592
+ "name": "oldStakingRate",
593
+ "type": "uint256"
594
+ },
595
+ {
596
+ "indexed": false,
597
+ "internalType": "UFixed",
598
+ "name": "newStakingRate",
599
+ "type": "uint256"
600
+ }
601
+ ],
602
+ "name": "LogStakingStakingRateSet",
603
+ "type": "event"
604
+ },
605
+ {
606
+ "inputs": [
607
+ {
608
+ "internalType": "Amount",
609
+ "name": "spendingLimitAmount",
610
+ "type": "uint96"
611
+ }
612
+ ],
613
+ "name": "approveTokenHandler",
614
+ "outputs": [],
615
+ "stateMutability": "nonpayable",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [],
620
+ "name": "authority",
621
+ "outputs": [
622
+ {
623
+ "internalType": "address",
624
+ "name": "",
625
+ "type": "address"
626
+ }
627
+ ],
628
+ "stateMutability": "view",
629
+ "type": "function"
630
+ },
631
+ {
632
+ "inputs": [
633
+ {
634
+ "internalType": "NftId",
635
+ "name": "stakeNftId",
636
+ "type": "uint96"
637
+ }
638
+ ],
639
+ "name": "claimRewards",
640
+ "outputs": [
641
+ {
642
+ "internalType": "Amount",
643
+ "name": "rewardsClaimedAmount",
644
+ "type": "uint96"
645
+ }
646
+ ],
647
+ "stateMutability": "nonpayable",
648
+ "type": "function"
649
+ },
650
+ {
651
+ "inputs": [
652
+ {
653
+ "internalType": "address",
654
+ "name": "from",
655
+ "type": "address"
656
+ },
657
+ {
658
+ "internalType": "Amount",
659
+ "name": "dipAmount",
660
+ "type": "uint96"
661
+ }
662
+ ],
663
+ "name": "collectDipAmount",
664
+ "outputs": [],
665
+ "stateMutability": "nonpayable",
666
+ "type": "function"
667
+ },
668
+ {
669
+ "inputs": [
670
+ {
671
+ "internalType": "NftId",
672
+ "name": "stakeNftId",
673
+ "type": "uint96"
674
+ },
675
+ {
676
+ "internalType": "NftId",
677
+ "name": "targetNftId",
678
+ "type": "uint96"
679
+ },
680
+ {
681
+ "internalType": "Amount",
682
+ "name": "dipAmount",
683
+ "type": "uint96"
684
+ }
685
+ ],
686
+ "name": "createStake",
687
+ "outputs": [],
688
+ "stateMutability": "nonpayable",
689
+ "type": "function"
690
+ },
691
+ {
692
+ "inputs": [
693
+ {
694
+ "internalType": "NftId",
695
+ "name": "targetNftId",
696
+ "type": "uint96"
697
+ },
698
+ {
699
+ "internalType": "address",
700
+ "name": "token",
701
+ "type": "address"
702
+ },
703
+ {
704
+ "internalType": "Amount",
705
+ "name": "amount",
706
+ "type": "uint96"
707
+ }
708
+ ],
709
+ "name": "decreaseTotalValueLocked",
710
+ "outputs": [
711
+ {
712
+ "internalType": "Amount",
713
+ "name": "newBalance",
714
+ "type": "uint96"
715
+ }
716
+ ],
717
+ "stateMutability": "nonpayable",
718
+ "type": "function"
719
+ },
720
+ {
721
+ "inputs": [],
722
+ "name": "getComponentInfo",
723
+ "outputs": [
724
+ {
725
+ "components": [
726
+ {
727
+ "internalType": "string",
728
+ "name": "name",
729
+ "type": "string"
730
+ },
731
+ {
732
+ "internalType": "NftId",
733
+ "name": "productNftId",
734
+ "type": "uint96"
735
+ },
736
+ {
737
+ "internalType": "contract IERC20Metadata",
738
+ "name": "token",
739
+ "type": "address"
740
+ },
741
+ {
742
+ "internalType": "contract TokenHandler",
743
+ "name": "tokenHandler",
744
+ "type": "address"
745
+ },
746
+ {
747
+ "internalType": "address",
748
+ "name": "wallet",
749
+ "type": "address"
750
+ },
751
+ {
752
+ "internalType": "bytes",
753
+ "name": "data",
754
+ "type": "bytes"
755
+ }
756
+ ],
757
+ "internalType": "struct IComponents.ComponentInfo",
758
+ "name": "info",
759
+ "type": "tuple"
760
+ }
761
+ ],
762
+ "stateMutability": "view",
763
+ "type": "function"
764
+ },
765
+ {
766
+ "inputs": [],
767
+ "name": "getInitialComponentInfo",
768
+ "outputs": [
769
+ {
770
+ "components": [
771
+ {
772
+ "internalType": "string",
773
+ "name": "name",
774
+ "type": "string"
775
+ },
776
+ {
777
+ "internalType": "NftId",
778
+ "name": "productNftId",
779
+ "type": "uint96"
780
+ },
781
+ {
782
+ "internalType": "contract IERC20Metadata",
783
+ "name": "token",
784
+ "type": "address"
785
+ },
786
+ {
787
+ "internalType": "contract TokenHandler",
788
+ "name": "tokenHandler",
789
+ "type": "address"
790
+ },
791
+ {
792
+ "internalType": "address",
793
+ "name": "wallet",
794
+ "type": "address"
795
+ },
796
+ {
797
+ "internalType": "bytes",
798
+ "name": "data",
799
+ "type": "bytes"
800
+ }
801
+ ],
802
+ "internalType": "struct IComponents.ComponentInfo",
803
+ "name": "info",
804
+ "type": "tuple"
805
+ }
806
+ ],
807
+ "stateMutability": "view",
808
+ "type": "function"
809
+ },
810
+ {
811
+ "inputs": [],
812
+ "name": "getInitialInfo",
813
+ "outputs": [
814
+ {
815
+ "components": [
816
+ {
817
+ "internalType": "NftId",
818
+ "name": "nftId",
819
+ "type": "uint96"
820
+ },
821
+ {
822
+ "internalType": "NftId",
823
+ "name": "parentNftId",
824
+ "type": "uint96"
825
+ },
826
+ {
827
+ "internalType": "ObjectType",
828
+ "name": "objectType",
829
+ "type": "uint8"
830
+ },
831
+ {
832
+ "internalType": "bool",
833
+ "name": "isInterceptor",
834
+ "type": "bool"
835
+ },
836
+ {
837
+ "internalType": "address",
838
+ "name": "objectAddress",
839
+ "type": "address"
840
+ },
841
+ {
842
+ "internalType": "address",
843
+ "name": "initialOwner",
844
+ "type": "address"
845
+ },
846
+ {
847
+ "internalType": "bytes",
848
+ "name": "data",
849
+ "type": "bytes"
850
+ }
851
+ ],
852
+ "internalType": "struct IRegistry.ObjectInfo",
853
+ "name": "",
854
+ "type": "tuple"
855
+ }
856
+ ],
857
+ "stateMutability": "view",
858
+ "type": "function"
859
+ },
860
+ {
861
+ "inputs": [],
862
+ "name": "getName",
863
+ "outputs": [
864
+ {
865
+ "internalType": "string",
866
+ "name": "name",
867
+ "type": "string"
868
+ }
869
+ ],
870
+ "stateMutability": "view",
871
+ "type": "function"
872
+ },
873
+ {
874
+ "inputs": [],
875
+ "name": "getNftId",
876
+ "outputs": [
877
+ {
878
+ "internalType": "NftId",
879
+ "name": "",
880
+ "type": "uint96"
881
+ }
882
+ ],
883
+ "stateMutability": "view",
884
+ "type": "function"
885
+ },
886
+ {
887
+ "inputs": [],
888
+ "name": "getOwner",
889
+ "outputs": [
890
+ {
891
+ "internalType": "address",
892
+ "name": "",
893
+ "type": "address"
894
+ }
895
+ ],
896
+ "stateMutability": "view",
897
+ "type": "function"
898
+ },
899
+ {
900
+ "inputs": [],
901
+ "name": "getRegistry",
902
+ "outputs": [
903
+ {
904
+ "internalType": "contract IRegistry",
905
+ "name": "",
906
+ "type": "address"
907
+ }
908
+ ],
909
+ "stateMutability": "view",
910
+ "type": "function"
911
+ },
912
+ {
913
+ "inputs": [],
914
+ "name": "getStakingReader",
915
+ "outputs": [
916
+ {
917
+ "internalType": "contract StakingReader",
918
+ "name": "reader",
919
+ "type": "address"
920
+ }
921
+ ],
922
+ "stateMutability": "view",
923
+ "type": "function"
924
+ },
925
+ {
926
+ "inputs": [],
927
+ "name": "getStakingStore",
928
+ "outputs": [
929
+ {
930
+ "internalType": "contract StakingStore",
931
+ "name": "stakingStore",
932
+ "type": "address"
933
+ }
934
+ ],
935
+ "stateMutability": "view",
936
+ "type": "function"
937
+ },
938
+ {
939
+ "inputs": [],
940
+ "name": "getToken",
941
+ "outputs": [
942
+ {
943
+ "internalType": "contract IERC20Metadata",
944
+ "name": "token",
945
+ "type": "address"
946
+ }
947
+ ],
948
+ "stateMutability": "view",
949
+ "type": "function"
950
+ },
951
+ {
952
+ "inputs": [],
953
+ "name": "getTokenHandler",
954
+ "outputs": [
955
+ {
956
+ "internalType": "contract TokenHandler",
957
+ "name": "tokenHandler",
958
+ "type": "address"
959
+ }
960
+ ],
961
+ "stateMutability": "view",
962
+ "type": "function"
963
+ },
964
+ {
965
+ "inputs": [],
966
+ "name": "getVersion",
967
+ "outputs": [
968
+ {
969
+ "internalType": "Version",
970
+ "name": "",
971
+ "type": "uint24"
972
+ }
973
+ ],
974
+ "stateMutability": "pure",
975
+ "type": "function"
976
+ },
977
+ {
978
+ "inputs": [],
979
+ "name": "getWallet",
980
+ "outputs": [
981
+ {
982
+ "internalType": "address",
983
+ "name": "walletAddress",
984
+ "type": "address"
985
+ }
986
+ ],
987
+ "stateMutability": "view",
988
+ "type": "function"
989
+ },
990
+ {
991
+ "inputs": [
992
+ {
993
+ "internalType": "NftId",
994
+ "name": "targetNftId",
995
+ "type": "uint96"
996
+ },
997
+ {
998
+ "internalType": "address",
999
+ "name": "token",
1000
+ "type": "address"
1001
+ },
1002
+ {
1003
+ "internalType": "Amount",
1004
+ "name": "amount",
1005
+ "type": "uint96"
1006
+ }
1007
+ ],
1008
+ "name": "increaseTotalValueLocked",
1009
+ "outputs": [
1010
+ {
1011
+ "internalType": "Amount",
1012
+ "name": "newBalance",
1013
+ "type": "uint96"
1014
+ }
1015
+ ],
1016
+ "stateMutability": "nonpayable",
1017
+ "type": "function"
1018
+ },
1019
+ {
1020
+ "inputs": [
1021
+ {
1022
+ "internalType": "address",
1023
+ "name": "activatedBy",
1024
+ "type": "address"
1025
+ },
1026
+ {
1027
+ "internalType": "bytes",
1028
+ "name": "activationData",
1029
+ "type": "bytes"
1030
+ }
1031
+ ],
1032
+ "name": "initializeVersionable",
1033
+ "outputs": [],
1034
+ "stateMutability": "nonpayable",
1035
+ "type": "function"
1036
+ },
1037
+ {
1038
+ "inputs": [],
1039
+ "name": "isConsumingScheduledOp",
1040
+ "outputs": [
1041
+ {
1042
+ "internalType": "bytes4",
1043
+ "name": "",
1044
+ "type": "bytes4"
1045
+ }
1046
+ ],
1047
+ "stateMutability": "view",
1048
+ "type": "function"
1049
+ },
1050
+ {
1051
+ "inputs": [],
1052
+ "name": "isNftInterceptor",
1053
+ "outputs": [
1054
+ {
1055
+ "internalType": "bool",
1056
+ "name": "isInterceptor",
1057
+ "type": "bool"
1058
+ }
1059
+ ],
1060
+ "stateMutability": "view",
1061
+ "type": "function"
1062
+ },
1063
+ {
1064
+ "inputs": [],
1065
+ "name": "isRegistered",
1066
+ "outputs": [
1067
+ {
1068
+ "internalType": "bool",
1069
+ "name": "",
1070
+ "type": "bool"
1071
+ }
1072
+ ],
1073
+ "stateMutability": "view",
1074
+ "type": "function"
1075
+ },
1076
+ {
1077
+ "inputs": [],
1078
+ "name": "linkToRegisteredNftId",
1079
+ "outputs": [
1080
+ {
1081
+ "internalType": "NftId",
1082
+ "name": "",
1083
+ "type": "uint96"
1084
+ }
1085
+ ],
1086
+ "stateMutability": "nonpayable",
1087
+ "type": "function"
1088
+ },
1089
+ {
1090
+ "inputs": [
1091
+ {
1092
+ "internalType": "address",
1093
+ "name": "to",
1094
+ "type": "address"
1095
+ },
1096
+ {
1097
+ "internalType": "uint256",
1098
+ "name": "tokenId",
1099
+ "type": "uint256"
1100
+ }
1101
+ ],
1102
+ "name": "nftMint",
1103
+ "outputs": [],
1104
+ "stateMutability": "nonpayable",
1105
+ "type": "function"
1106
+ },
1107
+ {
1108
+ "inputs": [
1109
+ {
1110
+ "internalType": "address",
1111
+ "name": "from",
1112
+ "type": "address"
1113
+ },
1114
+ {
1115
+ "internalType": "address",
1116
+ "name": "to",
1117
+ "type": "address"
1118
+ },
1119
+ {
1120
+ "internalType": "uint256",
1121
+ "name": "tokenId",
1122
+ "type": "uint256"
1123
+ }
1124
+ ],
1125
+ "name": "nftTransferFrom",
1126
+ "outputs": [],
1127
+ "stateMutability": "nonpayable",
1128
+ "type": "function"
1129
+ },
1130
+ {
1131
+ "inputs": [
1132
+ {
1133
+ "internalType": "NftId",
1134
+ "name": "targetNftId",
1135
+ "type": "uint96"
1136
+ },
1137
+ {
1138
+ "internalType": "Amount",
1139
+ "name": "dipAmount",
1140
+ "type": "uint96"
1141
+ }
1142
+ ],
1143
+ "name": "refillRewardReserves",
1144
+ "outputs": [
1145
+ {
1146
+ "internalType": "Amount",
1147
+ "name": "newBalance",
1148
+ "type": "uint96"
1149
+ }
1150
+ ],
1151
+ "stateMutability": "nonpayable",
1152
+ "type": "function"
1153
+ },
1154
+ {
1155
+ "inputs": [
1156
+ {
1157
+ "internalType": "NftId",
1158
+ "name": "targetNftId",
1159
+ "type": "uint96"
1160
+ },
1161
+ {
1162
+ "internalType": "ObjectType",
1163
+ "name": "expectedObjectType",
1164
+ "type": "uint8"
1165
+ },
1166
+ {
1167
+ "internalType": "uint256",
1168
+ "name": "chainId",
1169
+ "type": "uint256"
1170
+ },
1171
+ {
1172
+ "internalType": "Seconds",
1173
+ "name": "initialLockingPeriod",
1174
+ "type": "uint40"
1175
+ },
1176
+ {
1177
+ "internalType": "UFixed",
1178
+ "name": "initialRewardRate",
1179
+ "type": "uint256"
1180
+ }
1181
+ ],
1182
+ "name": "registerTarget",
1183
+ "outputs": [],
1184
+ "stateMutability": "nonpayable",
1185
+ "type": "function"
1186
+ },
1187
+ {
1188
+ "inputs": [
1189
+ {
1190
+ "internalType": "NftId",
1191
+ "name": "stakeNftId",
1192
+ "type": "uint96"
1193
+ },
1194
+ {
1195
+ "internalType": "NftId",
1196
+ "name": "newTargetNftId",
1197
+ "type": "uint96"
1198
+ }
1199
+ ],
1200
+ "name": "restake",
1201
+ "outputs": [
1202
+ {
1203
+ "internalType": "NftId",
1204
+ "name": "newStakeNftId",
1205
+ "type": "uint96"
1206
+ }
1207
+ ],
1208
+ "stateMutability": "nonpayable",
1209
+ "type": "function"
1210
+ },
1211
+ {
1212
+ "inputs": [
1213
+ {
1214
+ "internalType": "address",
1215
+ "name": "",
1216
+ "type": "address"
1217
+ }
1218
+ ],
1219
+ "name": "setAuthority",
1220
+ "outputs": [],
1221
+ "stateMutability": "nonpayable",
1222
+ "type": "function"
1223
+ },
1224
+ {
1225
+ "inputs": [
1226
+ {
1227
+ "internalType": "NftId",
1228
+ "name": "targetNftId",
1229
+ "type": "uint96"
1230
+ },
1231
+ {
1232
+ "internalType": "Seconds",
1233
+ "name": "lockingPeriod",
1234
+ "type": "uint40"
1235
+ }
1236
+ ],
1237
+ "name": "setLockingPeriod",
1238
+ "outputs": [],
1239
+ "stateMutability": "nonpayable",
1240
+ "type": "function"
1241
+ },
1242
+ {
1243
+ "inputs": [
1244
+ {
1245
+ "internalType": "NftId",
1246
+ "name": "targetNftId",
1247
+ "type": "uint96"
1248
+ },
1249
+ {
1250
+ "internalType": "UFixed",
1251
+ "name": "rewardRate",
1252
+ "type": "uint256"
1253
+ }
1254
+ ],
1255
+ "name": "setRewardRate",
1256
+ "outputs": [],
1257
+ "stateMutability": "nonpayable",
1258
+ "type": "function"
1259
+ },
1260
+ {
1261
+ "inputs": [
1262
+ {
1263
+ "internalType": "uint256",
1264
+ "name": "chainId",
1265
+ "type": "uint256"
1266
+ },
1267
+ {
1268
+ "internalType": "address",
1269
+ "name": "token",
1270
+ "type": "address"
1271
+ },
1272
+ {
1273
+ "internalType": "UFixed",
1274
+ "name": "stakingRate",
1275
+ "type": "uint256"
1276
+ }
1277
+ ],
1278
+ "name": "setStakingRate",
1279
+ "outputs": [],
1280
+ "stateMutability": "nonpayable",
1281
+ "type": "function"
1282
+ },
1283
+ {
1284
+ "inputs": [
1285
+ {
1286
+ "internalType": "address",
1287
+ "name": "walletAddress",
1288
+ "type": "address"
1289
+ }
1290
+ ],
1291
+ "name": "setWallet",
1292
+ "outputs": [],
1293
+ "stateMutability": "nonpayable",
1294
+ "type": "function"
1295
+ },
1296
+ {
1297
+ "inputs": [
1298
+ {
1299
+ "internalType": "NftId",
1300
+ "name": "stakeNftId",
1301
+ "type": "uint96"
1302
+ },
1303
+ {
1304
+ "internalType": "Amount",
1305
+ "name": "dipAmount",
1306
+ "type": "uint96"
1307
+ }
1308
+ ],
1309
+ "name": "stake",
1310
+ "outputs": [
1311
+ {
1312
+ "internalType": "Amount",
1313
+ "name": "stakeBalance",
1314
+ "type": "uint96"
1315
+ }
1316
+ ],
1317
+ "stateMutability": "nonpayable",
1318
+ "type": "function"
1319
+ },
1320
+ {
1321
+ "inputs": [
1322
+ {
1323
+ "internalType": "bytes4",
1324
+ "name": "interfaceId",
1325
+ "type": "bytes4"
1326
+ }
1327
+ ],
1328
+ "name": "supportsInterface",
1329
+ "outputs": [
1330
+ {
1331
+ "internalType": "bool",
1332
+ "name": "",
1333
+ "type": "bool"
1334
+ }
1335
+ ],
1336
+ "stateMutability": "view",
1337
+ "type": "function"
1338
+ },
1339
+ {
1340
+ "inputs": [
1341
+ {
1342
+ "internalType": "address",
1343
+ "name": "to",
1344
+ "type": "address"
1345
+ },
1346
+ {
1347
+ "internalType": "Amount",
1348
+ "name": "dipAmount",
1349
+ "type": "uint96"
1350
+ }
1351
+ ],
1352
+ "name": "transferDipAmount",
1353
+ "outputs": [],
1354
+ "stateMutability": "nonpayable",
1355
+ "type": "function"
1356
+ },
1357
+ {
1358
+ "inputs": [
1359
+ {
1360
+ "internalType": "NftId",
1361
+ "name": "stakeNftId",
1362
+ "type": "uint96"
1363
+ }
1364
+ ],
1365
+ "name": "unstake",
1366
+ "outputs": [
1367
+ {
1368
+ "internalType": "Amount",
1369
+ "name": "unstakedAmount",
1370
+ "type": "uint96"
1371
+ },
1372
+ {
1373
+ "internalType": "Amount",
1374
+ "name": "rewardsClaimedAmount",
1375
+ "type": "uint96"
1376
+ }
1377
+ ],
1378
+ "stateMutability": "nonpayable",
1379
+ "type": "function"
1380
+ },
1381
+ {
1382
+ "inputs": [
1383
+ {
1384
+ "internalType": "NftId",
1385
+ "name": "targetNftId",
1386
+ "type": "uint96"
1387
+ },
1388
+ {
1389
+ "internalType": "address",
1390
+ "name": "token",
1391
+ "type": "address"
1392
+ },
1393
+ {
1394
+ "internalType": "Amount",
1395
+ "name": "amount",
1396
+ "type": "uint96"
1397
+ }
1398
+ ],
1399
+ "name": "updateRemoteTvl",
1400
+ "outputs": [],
1401
+ "stateMutability": "nonpayable",
1402
+ "type": "function"
1403
+ },
1404
+ {
1405
+ "inputs": [
1406
+ {
1407
+ "internalType": "NftId",
1408
+ "name": "stakeNftId",
1409
+ "type": "uint96"
1410
+ }
1411
+ ],
1412
+ "name": "updateRewards",
1413
+ "outputs": [],
1414
+ "stateMutability": "nonpayable",
1415
+ "type": "function"
1416
+ },
1417
+ {
1418
+ "inputs": [
1419
+ {
1420
+ "internalType": "bytes",
1421
+ "name": "upgradeData",
1422
+ "type": "bytes"
1423
+ }
1424
+ ],
1425
+ "name": "upgradeVersionable",
1426
+ "outputs": [],
1427
+ "stateMutability": "nonpayable",
1428
+ "type": "function"
1429
+ },
1430
+ {
1431
+ "inputs": [
1432
+ {
1433
+ "internalType": "NftId",
1434
+ "name": "targetNftId",
1435
+ "type": "uint96"
1436
+ },
1437
+ {
1438
+ "internalType": "Amount",
1439
+ "name": "dipAmount",
1440
+ "type": "uint96"
1441
+ }
1442
+ ],
1443
+ "name": "withdrawRewardReserves",
1444
+ "outputs": [
1445
+ {
1446
+ "internalType": "Amount",
1447
+ "name": "newBalance",
1448
+ "type": "uint96"
1449
+ }
1450
+ ],
1451
+ "stateMutability": "nonpayable",
1452
+ "type": "function"
1453
+ }
1454
+ ],
1455
+ "bytecode": "0x",
1456
+ "deployedBytecode": "0x",
1457
+ "linkReferences": {},
1458
+ "deployedLinkReferences": {}
1459
+ }