@etherisc/gif-next 0.0.2-e6ad61d-739 → 0.0.2-e769e2e-077

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