@etherisc/gif-next 0.0.2-f824182-503 → 0.0.2-f831797-539

Sign up to get free protection for your applications and to get access to all the features.
Files changed (461) hide show
  1. package/README.md +411 -8
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +1 -1
  3. package/artifacts/contracts/components/Component.sol/Component.json +644 -35
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1301 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{registry/IChainNft.sol/IChainNft.json → components/IComponent.sol/IComponent.json} +271 -236
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +851 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +936 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +712 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1143 -133
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +950 -157
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +783 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.json +185 -0
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1599 -798
  24. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  25. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +509 -0
  26. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  27. package/artifacts/contracts/instance/Instance.sol/Instance.json +2341 -875
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +984 -0
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1284 -0
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +1046 -0
  34. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  35. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +693 -0
  36. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +4 -0
  37. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +261 -0
  38. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  39. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.json +552 -0
  40. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  43. package/artifacts/contracts/instance/{lifecycle/ILifecycle.sol/ILifecycleModule.json → base/ILifecycle.sol/ILifecycle.json} +10 -77
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  45. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +532 -0
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  47. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +194 -0
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  49. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +254 -0
  50. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  51. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  52. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +4 -0
  53. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.json +10 -0
  54. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  55. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/IDistribution.sol/IDistribution.json} +2 -2
  56. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  57. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  58. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  59. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  60. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  61. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.json +10 -0
  62. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  63. package/artifacts/contracts/instance/{treasury → module}/ITreasury.sol/ITreasury.json +1 -1
  64. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  65. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +968 -0
  66. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  67. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +665 -0
  68. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1093 -0
  70. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  72. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  73. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  74. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  75. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  76. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  77. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1724 -0
  78. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  79. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +801 -0
  80. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +556 -0
  82. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  83. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +630 -0
  84. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  85. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  86. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  87. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +1013 -0
  88. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  89. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +540 -0
  90. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  91. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +428 -0
  92. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  93. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +384 -0
  94. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  95. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1021 -0
  96. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  97. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +689 -0
  98. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +816 -0
  100. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  101. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +653 -0
  102. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  104. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  106. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  107. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  108. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  109. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +578 -29
  110. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  111. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +890 -0
  112. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  113. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  114. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  115. package/artifacts/contracts/registry/Registry.sol/Registry.json +651 -68
  116. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  117. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  118. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  119. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1177 -0
  120. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  121. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +670 -0
  122. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  123. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  124. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  125. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  126. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  128. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +73 -0
  130. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  131. package/artifacts/contracts/{registry/Registry.sol/Registerable.json → shared/INftOwnable.sol/INftOwnable.json} +46 -74
  132. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  133. package/artifacts/contracts/{instance/product/IProductService.sol/IProductService.json → shared/IPolicyHolder.sol/IPolicyHolder.json} +68 -66
  134. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +188 -0
  136. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  137. package/artifacts/contracts/{registry/IRegistry.sol → shared/IRegistryLinked.sol}/IRegistryLinked.json +18 -19
  138. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  139. package/artifacts/contracts/shared/IService.sol/IService.json +269 -0
  140. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +55 -0
  142. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  143. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +251 -0
  144. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  145. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  146. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  147. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +582 -0
  148. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  149. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +352 -0
  150. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  151. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  152. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  153. package/artifacts/contracts/shared/Service.sol/Service.json +425 -0
  154. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  155. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  156. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  157. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  158. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  159. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +78 -0
  160. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  161. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  162. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  163. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +383 -0
  164. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  165. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  166. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  167. package/artifacts/contracts/test/TestService.sol/TestService.json +521 -0
  168. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  169. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  170. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  171. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  172. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +104 -0
  174. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  175. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  176. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  177. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  178. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  179. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  180. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  182. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  184. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  186. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  188. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  189. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  190. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  191. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +78 -4
  192. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  193. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +33 -0
  194. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  196. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  197. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  198. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  200. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +142 -0
  202. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  203. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  204. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  205. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  206. package/artifacts/contracts/types/Seconds.sol/SecondsLib.dbg.json +4 -0
  207. package/artifacts/contracts/types/Seconds.sol/SecondsLib.json +124 -0
  208. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  209. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  210. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  211. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +97 -4
  212. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  214. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  216. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  218. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +49 -0
  220. package/contracts/components/Component.sol +215 -51
  221. package/contracts/components/Distribution.sol +280 -0
  222. package/contracts/components/IComponent.sol +74 -0
  223. package/contracts/components/IDistributionComponent.sol +71 -0
  224. package/contracts/components/IPoolComponent.sol +113 -0
  225. package/contracts/components/IProductComponent.sol +40 -0
  226. package/contracts/components/Pool.sol +277 -30
  227. package/contracts/components/Product.sol +252 -48
  228. package/contracts/instance/BundleManager.sol +127 -0
  229. package/contracts/instance/Cloneable.sol +46 -0
  230. package/contracts/instance/IInstance.sol +92 -24
  231. package/contracts/instance/IInstanceService.sol +60 -0
  232. package/contracts/instance/Instance.sol +274 -51
  233. package/contracts/instance/InstanceAccessManager.sol +297 -0
  234. package/contracts/instance/InstanceReader.sol +294 -0
  235. package/contracts/instance/InstanceService.sol +489 -0
  236. package/contracts/instance/InstanceServiceManager.sol +54 -0
  237. package/contracts/instance/ObjectManager.sol +84 -0
  238. package/contracts/instance/base/ComponentService.sol +134 -0
  239. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  240. package/contracts/instance/base/ILifecycle.sol +30 -0
  241. package/contracts/instance/base/KeyValueStore.sol +175 -0
  242. package/contracts/instance/base/Lifecycle.sol +109 -0
  243. package/contracts/instance/module/IAccess.sol +47 -0
  244. package/contracts/instance/module/IBundle.sol +21 -0
  245. package/contracts/instance/module/IComponents.sol +35 -0
  246. package/contracts/instance/module/IDistribution.sol +41 -0
  247. package/contracts/instance/module/IPolicy.sol +72 -0
  248. package/contracts/instance/module/IRisk.sol +11 -0
  249. package/contracts/instance/module/ISetup.sol +33 -0
  250. package/contracts/instance/module/ITreasury.sol +23 -0
  251. package/contracts/instance/service/ApplicationService.sol +350 -0
  252. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  253. package/contracts/instance/service/BundleService.sol +336 -0
  254. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  255. package/contracts/instance/service/ClaimService.sol +151 -0
  256. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  257. package/contracts/instance/service/DistributionService.sol +450 -0
  258. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  259. package/contracts/instance/service/IApplicationService.sol +82 -0
  260. package/contracts/instance/service/IBundleService.sol +62 -0
  261. package/contracts/instance/service/IClaimService.sol +61 -0
  262. package/contracts/instance/service/IDistributionService.sol +98 -0
  263. package/contracts/instance/service/IPolicyService.sol +72 -0
  264. package/contracts/instance/service/IPoolService.sol +35 -0
  265. package/contracts/instance/service/IProductService.sol +40 -0
  266. package/contracts/instance/service/PolicyService.sol +403 -0
  267. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  268. package/contracts/instance/service/PoolService.sol +163 -0
  269. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  270. package/contracts/instance/service/ProductService.sol +233 -0
  271. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  272. package/contracts/registry/ChainNft.sol +129 -62
  273. package/contracts/registry/IRegistry.sol +73 -41
  274. package/contracts/registry/IRegistryService.sol +67 -0
  275. package/contracts/registry/ITransferInterceptor.sol +6 -0
  276. package/contracts/registry/Registry.sol +408 -126
  277. package/contracts/registry/RegistryAccessManager.sol +216 -0
  278. package/contracts/registry/RegistryService.sol +283 -0
  279. package/contracts/registry/RegistryServiceManager.sol +62 -0
  280. package/contracts/registry/ReleaseManager.sol +322 -0
  281. package/contracts/registry/TokenRegistry.sol +116 -0
  282. package/contracts/shared/ContractDeployerLib.sol +72 -0
  283. package/contracts/shared/ERC165.sol +27 -0
  284. package/contracts/shared/INftOwnable.sol +23 -0
  285. package/contracts/shared/IPolicyHolder.sol +26 -0
  286. package/contracts/shared/IRegisterable.sol +15 -0
  287. package/contracts/shared/IRegistryLinked.sol +12 -0
  288. package/contracts/shared/IService.sol +18 -0
  289. package/contracts/shared/IVersionable.sol +53 -0
  290. package/contracts/shared/NftOwnable.sol +120 -0
  291. package/contracts/shared/PolicyHolder.sol +81 -0
  292. package/contracts/shared/ProxyManager.sol +169 -0
  293. package/contracts/shared/Registerable.sol +74 -0
  294. package/contracts/shared/RegistryLinked.sol +48 -0
  295. package/contracts/shared/Service.sol +58 -0
  296. package/contracts/shared/TokenHandler.sol +33 -0
  297. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  298. package/contracts/shared/Versionable.sol +59 -0
  299. package/contracts/test/TestFee.sol +25 -0
  300. package/contracts/test/TestRegisterable.sol +18 -0
  301. package/contracts/test/TestRoleId.sol +14 -0
  302. package/contracts/test/TestService.sol +25 -0
  303. package/contracts/test/TestToken.sol +26 -0
  304. package/contracts/test/TestVersion.sol +44 -0
  305. package/contracts/test/TestVersionable.sol +17 -0
  306. package/contracts/test/Usdc.sol +26 -0
  307. package/contracts/types/AddressSet.sol +58 -0
  308. package/contracts/types/Blocknumber.sol +1 -0
  309. package/contracts/types/ClaimId.sol +52 -0
  310. package/contracts/types/DistributorType.sol +55 -0
  311. package/contracts/types/Fee.sol +45 -20
  312. package/contracts/types/Key32.sol +50 -0
  313. package/contracts/types/NftId.sol +30 -1
  314. package/contracts/types/NftIdSet.sol +62 -0
  315. package/contracts/types/NumberId.sol +52 -0
  316. package/contracts/types/ObjectType.sol +65 -15
  317. package/contracts/types/PayoutId.sol +54 -0
  318. package/contracts/types/Referral.sol +89 -0
  319. package/contracts/types/RiskId.sol +43 -0
  320. package/contracts/types/RoleId.sol +95 -0
  321. package/contracts/types/Seconds.sol +54 -0
  322. package/contracts/types/StateId.sol +19 -4
  323. package/contracts/types/Timestamp.sol +31 -6
  324. package/contracts/types/UFixed.sol +151 -31
  325. package/contracts/types/Version.sol +108 -0
  326. package/package.json +14 -5
  327. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  328. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  329. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  330. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -255
  331. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  332. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -74
  333. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  334. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  335. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  336. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  337. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  338. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  339. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  340. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  341. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  342. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  343. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  344. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  345. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  346. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  347. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  348. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  349. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  350. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.json +0 -50
  351. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  352. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  353. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  354. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  355. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  356. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  357. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  358. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  359. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  360. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  361. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  362. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  363. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  364. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  365. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  366. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +0 -10
  367. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  368. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  369. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  370. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  371. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  372. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  373. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  374. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  375. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  376. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  377. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.json +0 -299
  378. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  379. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -202
  380. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  381. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  382. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -205
  383. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  384. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -217
  385. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  386. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -141
  387. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  388. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  389. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.dbg.json +0 -4
  390. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycle.json +0 -134
  391. package/artifacts/contracts/instance/lifecycle/ILifecycle.sol/ILifecycleModule.dbg.json +0 -4
  392. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.dbg.json +0 -4
  393. package/artifacts/contracts/instance/lifecycle/LifecycleModule.sol/LifecycleModule.json +0 -221
  394. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  395. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  396. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -254
  397. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  398. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -254
  399. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  400. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  401. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -129
  402. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  403. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -155
  404. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  405. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  406. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  407. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  408. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  409. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  410. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -196
  411. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasury.dbg.json +0 -4
  412. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.dbg.json +0 -4
  413. package/artifacts/contracts/instance/treasury/ITreasury.sol/ITreasuryModule.json +0 -490
  414. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.dbg.json +0 -4
  415. package/artifacts/contracts/instance/treasury/TokenHandler.sol/TokenHandler.json +0 -45
  416. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +0 -4
  417. package/artifacts/contracts/instance/treasury/TreasuryModule.sol/TreasuryModule.json +0 -490
  418. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  419. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  420. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  421. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  422. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  423. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  424. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  425. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  426. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  427. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  428. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  429. package/contracts/components/IPool.sol +0 -15
  430. package/contracts/components/IProduct.sol +0 -16
  431. package/contracts/experiment/errors/Require.sol +0 -38
  432. package/contracts/experiment/errors/Revert.sol +0 -44
  433. package/contracts/experiment/inheritance/A.sol +0 -53
  434. package/contracts/experiment/inheritance/B.sol +0 -28
  435. package/contracts/experiment/inheritance/C.sol +0 -34
  436. package/contracts/experiment/inheritance/IA.sol +0 -13
  437. package/contracts/experiment/inheritance/IB.sol +0 -10
  438. package/contracts/experiment/inheritance/IC.sol +0 -12
  439. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  440. package/contracts/experiment/statemachine/ISM.sol +0 -25
  441. package/contracts/experiment/statemachine/README.md +0 -112
  442. package/contracts/experiment/statemachine/SM.sol +0 -57
  443. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  444. package/contracts/experiment/types/TypeA.sol +0 -47
  445. package/contracts/experiment/types/TypeB.sol +0 -29
  446. package/contracts/instance/access/Access.sol +0 -165
  447. package/contracts/instance/access/IAccess.sol +0 -63
  448. package/contracts/instance/component/ComponentModule.sol +0 -274
  449. package/contracts/instance/component/IComponent.sol +0 -74
  450. package/contracts/instance/lifecycle/ILifecycle.sol +0 -47
  451. package/contracts/instance/lifecycle/LifecycleModule.sol +0 -88
  452. package/contracts/instance/policy/IPolicy.sol +0 -50
  453. package/contracts/instance/policy/PolicyModule.sol +0 -114
  454. package/contracts/instance/pool/IPoolModule.sol +0 -23
  455. package/contracts/instance/pool/PoolModule.sol +0 -81
  456. package/contracts/instance/product/IProductService.sol +0 -36
  457. package/contracts/instance/product/ProductService.sol +0 -136
  458. package/contracts/instance/treasury/ITreasury.sol +0 -91
  459. package/contracts/instance/treasury/TokenHandler.sol +0 -24
  460. package/contracts/instance/treasury/TreasuryModule.sol +0 -168
  461. package/contracts/registry/IChainNft.sol +0 -21
@@ -7,103 +7,986 @@
7
7
  "inputs": [
8
8
  {
9
9
  "internalType": "address",
10
- "name": "registry",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "target",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "AddressEmptyCode",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "account",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "AddressInsufficientBalance",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "caller",
71
+ "type": "address"
72
+ }
73
+ ],
74
+ "name": "ErrorComponentNotChainNft",
75
+ "type": "error"
76
+ },
77
+ {
78
+ "inputs": [
79
+ {
80
+ "internalType": "NftId",
81
+ "name": "instanceNftId",
82
+ "type": "uint96"
83
+ }
84
+ ],
85
+ "name": "ErrorComponentNotInstance",
86
+ "type": "error"
87
+ },
88
+ {
89
+ "inputs": [
90
+ {
91
+ "internalType": "address",
92
+ "name": "caller",
93
+ "type": "address"
94
+ }
95
+ ],
96
+ "name": "ErrorComponentNotProductService",
97
+ "type": "error"
98
+ },
99
+ {
100
+ "inputs": [],
101
+ "name": "ErrorComponentProductNftAlreadySet",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [],
111
+ "name": "ErrorComponentWalletAddressZero",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "oldWallet",
119
+ "type": "address"
120
+ },
121
+ {
122
+ "internalType": "address",
123
+ "name": "newWallet",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "internalType": "uint256",
128
+ "name": "allowance",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "internalType": "uint256",
133
+ "name": "balance",
134
+ "type": "uint256"
135
+ }
136
+ ],
137
+ "name": "ErrorComponentWalletAllowanceTooSmall",
138
+ "type": "error"
139
+ },
140
+ {
141
+ "inputs": [
142
+ {
143
+ "internalType": "NftId",
144
+ "name": "nftId",
145
+ "type": "uint96"
146
+ }
147
+ ],
148
+ "name": "ErrorNftOwnableAlreadyLinked",
149
+ "type": "error"
150
+ },
151
+ {
152
+ "inputs": [
153
+ {
154
+ "internalType": "address",
155
+ "name": "contractAddress",
156
+ "type": "address"
157
+ }
158
+ ],
159
+ "name": "ErrorNftOwnableContractNotRegistered",
160
+ "type": "error"
161
+ },
162
+ {
163
+ "inputs": [],
164
+ "name": "ErrorNftOwnableInitialOwnerZero",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "address",
171
+ "name": "account",
172
+ "type": "address"
173
+ }
174
+ ],
175
+ "name": "ErrorNftOwnableNotOwner",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "registryAddress",
183
+ "type": "address"
184
+ }
185
+ ],
186
+ "name": "ErrorNotRegistry",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [
191
+ {
192
+ "internalType": "NftId",
193
+ "name": "applicationNftId",
194
+ "type": "uint96"
195
+ }
196
+ ],
197
+ "name": "ErrorPoolApplicationBundleMismatch",
198
+ "type": "error"
199
+ },
200
+ {
201
+ "inputs": [
202
+ {
203
+ "internalType": "NftId",
204
+ "name": "bundleNftId",
205
+ "type": "uint96"
206
+ },
207
+ {
208
+ "internalType": "address",
209
+ "name": "caller",
210
+ "type": "address"
211
+ }
212
+ ],
213
+ "name": "ErrorPoolNotBundleOwner",
214
+ "type": "error"
215
+ },
216
+ {
217
+ "inputs": [
218
+ {
219
+ "internalType": "address",
220
+ "name": "caller",
221
+ "type": "address"
222
+ }
223
+ ],
224
+ "name": "ErrorPoolNotPoolService",
225
+ "type": "error"
226
+ },
227
+ {
228
+ "inputs": [],
229
+ "name": "FailedInnerCall",
230
+ "type": "error"
231
+ },
232
+ {
233
+ "inputs": [],
234
+ "name": "InvalidInitialization",
235
+ "type": "error"
236
+ },
237
+ {
238
+ "inputs": [],
239
+ "name": "NotInitializing",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "inputs": [
244
+ {
245
+ "internalType": "address",
246
+ "name": "token",
247
+ "type": "address"
248
+ }
249
+ ],
250
+ "name": "SafeERC20FailedOperation",
251
+ "type": "error"
252
+ },
253
+ {
254
+ "anonymous": false,
255
+ "inputs": [
256
+ {
257
+ "indexed": false,
258
+ "internalType": "address",
259
+ "name": "authority",
260
+ "type": "address"
261
+ }
262
+ ],
263
+ "name": "AuthorityUpdated",
264
+ "type": "event"
265
+ },
266
+ {
267
+ "anonymous": false,
268
+ "inputs": [
269
+ {
270
+ "indexed": false,
271
+ "internalType": "uint64",
272
+ "name": "version",
273
+ "type": "uint64"
274
+ }
275
+ ],
276
+ "name": "Initialized",
277
+ "type": "event"
278
+ },
279
+ {
280
+ "anonymous": false,
281
+ "inputs": [
282
+ {
283
+ "indexed": false,
284
+ "internalType": "address",
285
+ "name": "oldWallet",
11
286
  "type": "address"
12
287
  },
13
288
  {
14
- "internalType": "address",
289
+ "indexed": false,
290
+ "internalType": "address",
291
+ "name": "newWallet",
292
+ "type": "address"
293
+ }
294
+ ],
295
+ "name": "LogComponentWalletAddressChanged",
296
+ "type": "event"
297
+ },
298
+ {
299
+ "anonymous": false,
300
+ "inputs": [
301
+ {
302
+ "indexed": false,
303
+ "internalType": "address",
304
+ "name": "from",
305
+ "type": "address"
306
+ },
307
+ {
308
+ "indexed": false,
309
+ "internalType": "address",
310
+ "name": "to",
311
+ "type": "address"
312
+ },
313
+ {
314
+ "indexed": false,
315
+ "internalType": "uint256",
316
+ "name": "amount",
317
+ "type": "uint256"
318
+ }
319
+ ],
320
+ "name": "LogComponentWalletTokensTransferred",
321
+ "type": "event"
322
+ },
323
+ {
324
+ "anonymous": false,
325
+ "inputs": [
326
+ {
327
+ "indexed": false,
328
+ "internalType": "address",
329
+ "name": "pool",
330
+ "type": "address"
331
+ },
332
+ {
333
+ "indexed": false,
334
+ "internalType": "NftId",
335
+ "name": "applicationNftId",
336
+ "type": "uint96"
337
+ },
338
+ {
339
+ "indexed": false,
340
+ "internalType": "uint256",
341
+ "name": "collateralizationAmount",
342
+ "type": "uint256"
343
+ }
344
+ ],
345
+ "name": "LogPoolVerifiedByPool",
346
+ "type": "event"
347
+ },
348
+ {
349
+ "inputs": [],
350
+ "name": "COMPONENT_LOCATION_V1",
351
+ "outputs": [
352
+ {
353
+ "internalType": "bytes32",
354
+ "name": "",
355
+ "type": "bytes32"
356
+ }
357
+ ],
358
+ "stateMutability": "view",
359
+ "type": "function"
360
+ },
361
+ {
362
+ "inputs": [],
363
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
364
+ "outputs": [
365
+ {
366
+ "internalType": "bytes32",
367
+ "name": "",
368
+ "type": "bytes32"
369
+ }
370
+ ],
371
+ "stateMutability": "view",
372
+ "type": "function"
373
+ },
374
+ {
375
+ "inputs": [],
376
+ "name": "POOL_STORAGE_LOCATION_V1",
377
+ "outputs": [
378
+ {
379
+ "internalType": "bytes32",
380
+ "name": "",
381
+ "type": "bytes32"
382
+ }
383
+ ],
384
+ "stateMutability": "view",
385
+ "type": "function"
386
+ },
387
+ {
388
+ "inputs": [],
389
+ "name": "REGISTERABLE_LOCATION_V1",
390
+ "outputs": [
391
+ {
392
+ "internalType": "bytes32",
393
+ "name": "",
394
+ "type": "bytes32"
395
+ }
396
+ ],
397
+ "stateMutability": "view",
398
+ "type": "function"
399
+ },
400
+ {
401
+ "inputs": [
402
+ {
403
+ "internalType": "NftId",
404
+ "name": "applicationNftId",
405
+ "type": "uint96"
406
+ },
407
+ {
408
+ "internalType": "bytes",
409
+ "name": "applicationData",
410
+ "type": "bytes"
411
+ },
412
+ {
413
+ "internalType": "NftId",
414
+ "name": "bundleNftId",
415
+ "type": "uint96"
416
+ },
417
+ {
418
+ "internalType": "bytes",
419
+ "name": "bundleFilter",
420
+ "type": "bytes"
421
+ },
422
+ {
423
+ "internalType": "uint256",
424
+ "name": "collateralizationAmount",
425
+ "type": "uint256"
426
+ }
427
+ ],
428
+ "name": "applicationMatchesBundle",
429
+ "outputs": [
430
+ {
431
+ "internalType": "bool",
432
+ "name": "isMatching",
433
+ "type": "bool"
434
+ }
435
+ ],
436
+ "stateMutability": "view",
437
+ "type": "function"
438
+ },
439
+ {
440
+ "inputs": [],
441
+ "name": "authority",
442
+ "outputs": [
443
+ {
444
+ "internalType": "address",
445
+ "name": "",
446
+ "type": "address"
447
+ }
448
+ ],
449
+ "stateMutability": "view",
450
+ "type": "function"
451
+ },
452
+ {
453
+ "inputs": [
454
+ {
455
+ "internalType": "NftId",
456
+ "name": "bundleNftId",
457
+ "type": "uint96"
458
+ }
459
+ ],
460
+ "name": "close",
461
+ "outputs": [],
462
+ "stateMutability": "nonpayable",
463
+ "type": "function"
464
+ },
465
+ {
466
+ "inputs": [
467
+ {
468
+ "internalType": "NftId",
469
+ "name": "bundleNftId",
470
+ "type": "uint96"
471
+ },
472
+ {
473
+ "internalType": "Seconds",
474
+ "name": "lifetimeExtension",
475
+ "type": "uint40"
476
+ }
477
+ ],
478
+ "name": "extend",
479
+ "outputs": [],
480
+ "stateMutability": "nonpayable",
481
+ "type": "function"
482
+ },
483
+ {
484
+ "inputs": [],
485
+ "name": "getComponentInfo",
486
+ "outputs": [
487
+ {
488
+ "components": [
489
+ {
490
+ "internalType": "string",
491
+ "name": "name",
492
+ "type": "string"
493
+ },
494
+ {
495
+ "internalType": "contract IERC20Metadata",
496
+ "name": "token",
497
+ "type": "address"
498
+ },
499
+ {
500
+ "internalType": "contract TokenHandler",
501
+ "name": "tokenHandler",
502
+ "type": "address"
503
+ },
504
+ {
505
+ "internalType": "address",
506
+ "name": "wallet",
507
+ "type": "address"
508
+ },
509
+ {
510
+ "internalType": "bytes",
511
+ "name": "data",
512
+ "type": "bytes"
513
+ }
514
+ ],
515
+ "internalType": "struct IComponents.ComponentInfo",
516
+ "name": "info",
517
+ "type": "tuple"
518
+ }
519
+ ],
520
+ "stateMutability": "view",
521
+ "type": "function"
522
+ },
523
+ {
524
+ "inputs": [
525
+ {
526
+ "internalType": "bytes",
527
+ "name": "name",
528
+ "type": "bytes"
529
+ }
530
+ ],
531
+ "name": "getContractLocation",
532
+ "outputs": [
533
+ {
534
+ "internalType": "bytes32",
535
+ "name": "hash",
536
+ "type": "bytes32"
537
+ }
538
+ ],
539
+ "stateMutability": "pure",
540
+ "type": "function"
541
+ },
542
+ {
543
+ "inputs": [],
544
+ "name": "getInitialInfo",
545
+ "outputs": [
546
+ {
547
+ "components": [
548
+ {
549
+ "internalType": "NftId",
550
+ "name": "nftId",
551
+ "type": "uint96"
552
+ },
553
+ {
554
+ "internalType": "NftId",
555
+ "name": "parentNftId",
556
+ "type": "uint96"
557
+ },
558
+ {
559
+ "internalType": "ObjectType",
560
+ "name": "objectType",
561
+ "type": "uint8"
562
+ },
563
+ {
564
+ "internalType": "bool",
565
+ "name": "isInterceptor",
566
+ "type": "bool"
567
+ },
568
+ {
569
+ "internalType": "address",
570
+ "name": "objectAddress",
571
+ "type": "address"
572
+ },
573
+ {
574
+ "internalType": "address",
575
+ "name": "initialOwner",
576
+ "type": "address"
577
+ },
578
+ {
579
+ "internalType": "bytes",
580
+ "name": "data",
581
+ "type": "bytes"
582
+ }
583
+ ],
584
+ "internalType": "struct IRegistry.ObjectInfo",
585
+ "name": "info",
586
+ "type": "tuple"
587
+ }
588
+ ],
589
+ "stateMutability": "view",
590
+ "type": "function"
591
+ },
592
+ {
593
+ "inputs": [],
594
+ "name": "getInstance",
595
+ "outputs": [
596
+ {
597
+ "internalType": "contract IInstance",
15
598
  "name": "instance",
16
599
  "type": "address"
17
- },
600
+ }
601
+ ],
602
+ "stateMutability": "view",
603
+ "type": "function"
604
+ },
605
+ {
606
+ "inputs": [],
607
+ "name": "getName",
608
+ "outputs": [
609
+ {
610
+ "internalType": "string",
611
+ "name": "name",
612
+ "type": "string"
613
+ }
614
+ ],
615
+ "stateMutability": "view",
616
+ "type": "function"
617
+ },
618
+ {
619
+ "inputs": [],
620
+ "name": "getNftId",
621
+ "outputs": [
622
+ {
623
+ "internalType": "NftId",
624
+ "name": "",
625
+ "type": "uint96"
626
+ }
627
+ ],
628
+ "stateMutability": "view",
629
+ "type": "function"
630
+ },
631
+ {
632
+ "inputs": [],
633
+ "name": "getOwner",
634
+ "outputs": [
18
635
  {
19
636
  "internalType": "address",
20
- "name": "token",
637
+ "name": "",
21
638
  "type": "address"
22
- },
639
+ }
640
+ ],
641
+ "stateMutability": "view",
642
+ "type": "function"
643
+ },
644
+ {
645
+ "inputs": [],
646
+ "name": "getPoolInfo",
647
+ "outputs": [
23
648
  {
24
649
  "components": [
25
650
  {
26
- "internalType": "UFixed",
27
- "name": "fractionalFee",
28
- "type": "uint256"
651
+ "internalType": "NftId",
652
+ "name": "productNftId",
653
+ "type": "uint96"
654
+ },
655
+ {
656
+ "internalType": "RoleId",
657
+ "name": "bundleOwnerRole",
658
+ "type": "uint64"
29
659
  },
30
660
  {
31
661
  "internalType": "uint256",
32
- "name": "fixedFee",
662
+ "name": "maxCapitalAmount",
33
663
  "type": "uint256"
34
- }
35
- ],
36
- "internalType": "struct Fee",
37
- "name": "stakingFee",
38
- "type": "tuple"
39
- },
40
- {
41
- "components": [
664
+ },
665
+ {
666
+ "internalType": "bool",
667
+ "name": "isInterceptingBundleTransfers",
668
+ "type": "bool"
669
+ },
670
+ {
671
+ "internalType": "bool",
672
+ "name": "isExternallyManaged",
673
+ "type": "bool"
674
+ },
675
+ {
676
+ "internalType": "bool",
677
+ "name": "isVerifyingApplications",
678
+ "type": "bool"
679
+ },
42
680
  {
43
681
  "internalType": "UFixed",
44
- "name": "fractionalFee",
682
+ "name": "collateralizationLevel",
45
683
  "type": "uint256"
46
684
  },
47
685
  {
48
- "internalType": "uint256",
49
- "name": "fixedFee",
686
+ "internalType": "UFixed",
687
+ "name": "retentionLevel",
50
688
  "type": "uint256"
689
+ },
690
+ {
691
+ "components": [
692
+ {
693
+ "internalType": "UFixed",
694
+ "name": "fractionalFee",
695
+ "type": "uint256"
696
+ },
697
+ {
698
+ "internalType": "uint256",
699
+ "name": "fixedFee",
700
+ "type": "uint256"
701
+ }
702
+ ],
703
+ "internalType": "struct Fee",
704
+ "name": "poolFee",
705
+ "type": "tuple"
706
+ },
707
+ {
708
+ "components": [
709
+ {
710
+ "internalType": "UFixed",
711
+ "name": "fractionalFee",
712
+ "type": "uint256"
713
+ },
714
+ {
715
+ "internalType": "uint256",
716
+ "name": "fixedFee",
717
+ "type": "uint256"
718
+ }
719
+ ],
720
+ "internalType": "struct Fee",
721
+ "name": "stakingFee",
722
+ "type": "tuple"
723
+ },
724
+ {
725
+ "components": [
726
+ {
727
+ "internalType": "UFixed",
728
+ "name": "fractionalFee",
729
+ "type": "uint256"
730
+ },
731
+ {
732
+ "internalType": "uint256",
733
+ "name": "fixedFee",
734
+ "type": "uint256"
735
+ }
736
+ ],
737
+ "internalType": "struct Fee",
738
+ "name": "performanceFee",
739
+ "type": "tuple"
51
740
  }
52
741
  ],
53
- "internalType": "struct Fee",
54
- "name": "performanceFee",
742
+ "internalType": "struct IComponents.PoolInfo",
743
+ "name": "poolInfo",
55
744
  "type": "tuple"
56
745
  }
57
746
  ],
747
+ "stateMutability": "view",
748
+ "type": "function"
749
+ },
750
+ {
751
+ "inputs": [],
752
+ "name": "getProductNftId",
753
+ "outputs": [
754
+ {
755
+ "internalType": "NftId",
756
+ "name": "productNftId",
757
+ "type": "uint96"
758
+ }
759
+ ],
760
+ "stateMutability": "view",
761
+ "type": "function"
762
+ },
763
+ {
764
+ "inputs": [],
765
+ "name": "getRegistry",
766
+ "outputs": [
767
+ {
768
+ "internalType": "contract IRegistry",
769
+ "name": "",
770
+ "type": "address"
771
+ }
772
+ ],
773
+ "stateMutability": "view",
774
+ "type": "function"
775
+ },
776
+ {
777
+ "inputs": [],
778
+ "name": "getRegistryAddress",
779
+ "outputs": [
780
+ {
781
+ "internalType": "address",
782
+ "name": "",
783
+ "type": "address"
784
+ }
785
+ ],
786
+ "stateMutability": "view",
787
+ "type": "function"
788
+ },
789
+ {
790
+ "inputs": [],
791
+ "name": "getToken",
792
+ "outputs": [
793
+ {
794
+ "internalType": "contract IERC20Metadata",
795
+ "name": "token",
796
+ "type": "address"
797
+ }
798
+ ],
799
+ "stateMutability": "view",
800
+ "type": "function"
801
+ },
802
+ {
803
+ "inputs": [],
804
+ "name": "getWallet",
805
+ "outputs": [
806
+ {
807
+ "internalType": "address",
808
+ "name": "walletAddress",
809
+ "type": "address"
810
+ }
811
+ ],
812
+ "stateMutability": "view",
813
+ "type": "function"
814
+ },
815
+ {
816
+ "inputs": [
817
+ {
818
+ "internalType": "address",
819
+ "name": "registry",
820
+ "type": "address"
821
+ },
822
+ {
823
+ "internalType": "NftId",
824
+ "name": "instanceNftId",
825
+ "type": "uint96"
826
+ },
827
+ {
828
+ "internalType": "string",
829
+ "name": "name",
830
+ "type": "string"
831
+ },
832
+ {
833
+ "internalType": "address",
834
+ "name": "token",
835
+ "type": "address"
836
+ },
837
+ {
838
+ "internalType": "ObjectType",
839
+ "name": "componentType",
840
+ "type": "uint8"
841
+ },
842
+ {
843
+ "internalType": "bool",
844
+ "name": "isInterceptor",
845
+ "type": "bool"
846
+ },
847
+ {
848
+ "internalType": "address",
849
+ "name": "initialOwner",
850
+ "type": "address"
851
+ },
852
+ {
853
+ "internalType": "bytes",
854
+ "name": "registryData",
855
+ "type": "bytes"
856
+ }
857
+ ],
858
+ "name": "initializeComponent",
859
+ "outputs": [],
860
+ "stateMutability": "nonpayable",
861
+ "type": "function"
862
+ },
863
+ {
864
+ "inputs": [],
865
+ "name": "initializeERC165",
866
+ "outputs": [],
867
+ "stateMutability": "nonpayable",
868
+ "type": "function"
869
+ },
870
+ {
871
+ "inputs": [
872
+ {
873
+ "internalType": "address",
874
+ "name": "initialOwner",
875
+ "type": "address"
876
+ },
877
+ {
878
+ "internalType": "address",
879
+ "name": "registryAddress",
880
+ "type": "address"
881
+ }
882
+ ],
883
+ "name": "initializeNftOwnable",
884
+ "outputs": [],
885
+ "stateMutability": "nonpayable",
886
+ "type": "function"
887
+ },
888
+ {
889
+ "inputs": [
890
+ {
891
+ "internalType": "address",
892
+ "name": "registry",
893
+ "type": "address"
894
+ },
895
+ {
896
+ "internalType": "NftId",
897
+ "name": "instanceNftId",
898
+ "type": "uint96"
899
+ },
900
+ {
901
+ "internalType": "string",
902
+ "name": "name",
903
+ "type": "string"
904
+ },
905
+ {
906
+ "internalType": "address",
907
+ "name": "token",
908
+ "type": "address"
909
+ },
910
+ {
911
+ "internalType": "bool",
912
+ "name": "isInterceptingNftTransfers",
913
+ "type": "bool"
914
+ },
915
+ {
916
+ "internalType": "address",
917
+ "name": "initialOwner",
918
+ "type": "address"
919
+ },
920
+ {
921
+ "internalType": "bytes",
922
+ "name": "registryData",
923
+ "type": "bytes"
924
+ }
925
+ ],
926
+ "name": "initializePool",
927
+ "outputs": [],
58
928
  "stateMutability": "nonpayable",
59
- "type": "constructor"
929
+ "type": "function"
60
930
  },
61
931
  {
62
- "anonymous": false,
63
932
  "inputs": [
64
933
  {
65
- "indexed": false,
66
- "internalType": "uint256",
67
- "name": "idx",
68
- "type": "uint256"
934
+ "internalType": "address",
935
+ "name": "registryAddress",
936
+ "type": "address"
937
+ },
938
+ {
939
+ "internalType": "NftId",
940
+ "name": "parentNftId",
941
+ "type": "uint96"
942
+ },
943
+ {
944
+ "internalType": "ObjectType",
945
+ "name": "objectType",
946
+ "type": "uint8"
947
+ },
948
+ {
949
+ "internalType": "bool",
950
+ "name": "isInterceptor",
951
+ "type": "bool"
69
952
  },
70
953
  {
71
- "indexed": false,
72
954
  "internalType": "address",
73
- "name": "module",
955
+ "name": "initialOwner",
74
956
  "type": "address"
75
957
  },
76
958
  {
77
- "indexed": false,
78
- "internalType": "string",
79
- "name": "comment",
80
- "type": "string"
959
+ "internalType": "bytes",
960
+ "name": "registryData",
961
+ "type": "bytes"
81
962
  }
82
963
  ],
83
- "name": "LogDebug",
84
- "type": "event"
964
+ "name": "initializeRegisterable",
965
+ "outputs": [],
966
+ "stateMutability": "nonpayable",
967
+ "type": "function"
85
968
  },
86
969
  {
87
- "inputs": [],
88
- "name": "getData",
89
- "outputs": [
970
+ "inputs": [
90
971
  {
91
- "internalType": "bytes",
92
- "name": "data",
93
- "type": "bytes"
972
+ "internalType": "address",
973
+ "name": "registryAddress",
974
+ "type": "address"
94
975
  }
95
976
  ],
96
- "stateMutability": "view",
977
+ "name": "initializeRegistryLinked",
978
+ "outputs": [],
979
+ "stateMutability": "nonpayable",
97
980
  "type": "function"
98
981
  },
99
982
  {
100
983
  "inputs": [],
101
- "name": "getInitialOwner",
984
+ "name": "isConsumingScheduledOp",
102
985
  "outputs": [
103
986
  {
104
- "internalType": "address",
105
- "name": "deployer",
106
- "type": "address"
987
+ "internalType": "bytes4",
988
+ "name": "",
989
+ "type": "bytes4"
107
990
  }
108
991
  ],
109
992
  "stateMutability": "view",
@@ -111,12 +994,12 @@
111
994
  },
112
995
  {
113
996
  "inputs": [],
114
- "name": "getInstance",
997
+ "name": "isNftInterceptor",
115
998
  "outputs": [
116
999
  {
117
- "internalType": "contract IInstance",
118
- "name": "instance",
119
- "type": "address"
1000
+ "internalType": "bool",
1001
+ "name": "isInterceptor",
1002
+ "type": "bool"
120
1003
  }
121
1004
  ],
122
1005
  "stateMutability": "view",
@@ -124,47 +1007,87 @@
124
1007
  },
125
1008
  {
126
1009
  "inputs": [],
127
- "name": "getNftId",
128
- "outputs": [
1010
+ "name": "linkToRegisteredNftId",
1011
+ "outputs": [],
1012
+ "stateMutability": "nonpayable",
1013
+ "type": "function"
1014
+ },
1015
+ {
1016
+ "inputs": [],
1017
+ "name": "lock",
1018
+ "outputs": [],
1019
+ "stateMutability": "nonpayable",
1020
+ "type": "function"
1021
+ },
1022
+ {
1023
+ "inputs": [
129
1024
  {
130
1025
  "internalType": "NftId",
131
- "name": "nftId",
1026
+ "name": "bundleNftId",
132
1027
  "type": "uint96"
133
1028
  }
134
1029
  ],
135
- "stateMutability": "view",
1030
+ "name": "lockBundle",
1031
+ "outputs": [],
1032
+ "stateMutability": "nonpayable",
136
1033
  "type": "function"
137
1034
  },
138
1035
  {
139
- "inputs": [],
140
- "name": "getOwner",
141
- "outputs": [
1036
+ "inputs": [
1037
+ {
1038
+ "internalType": "address",
1039
+ "name": "from",
1040
+ "type": "address"
1041
+ },
142
1042
  {
143
1043
  "internalType": "address",
144
- "name": "owner",
1044
+ "name": "to",
145
1045
  "type": "address"
1046
+ },
1047
+ {
1048
+ "internalType": "uint256",
1049
+ "name": "tokenId",
1050
+ "type": "uint256"
146
1051
  }
147
1052
  ],
148
- "stateMutability": "view",
1053
+ "name": "nftTransferFrom",
1054
+ "outputs": [],
1055
+ "stateMutability": "nonpayable",
149
1056
  "type": "function"
150
1057
  },
151
1058
  {
152
- "inputs": [],
153
- "name": "getParentNftId",
154
- "outputs": [
1059
+ "inputs": [
155
1060
  {
156
- "internalType": "NftId",
157
- "name": "",
158
- "type": "uint96"
1061
+ "internalType": "bytes4",
1062
+ "name": "interfaceId",
1063
+ "type": "bytes4"
159
1064
  }
160
1065
  ],
161
- "stateMutability": "view",
1066
+ "name": "registerInterface",
1067
+ "outputs": [],
1068
+ "stateMutability": "nonpayable",
162
1069
  "type": "function"
163
1070
  },
164
1071
  {
165
- "inputs": [],
166
- "name": "getPerformanceFee",
167
- "outputs": [
1072
+ "inputs": [
1073
+ {
1074
+ "internalType": "address",
1075
+ "name": "newAuthority",
1076
+ "type": "address"
1077
+ }
1078
+ ],
1079
+ "name": "setAuthority",
1080
+ "outputs": [],
1081
+ "stateMutability": "nonpayable",
1082
+ "type": "function"
1083
+ },
1084
+ {
1085
+ "inputs": [
1086
+ {
1087
+ "internalType": "NftId",
1088
+ "name": "bundleNftId",
1089
+ "type": "uint96"
1090
+ },
168
1091
  {
169
1092
  "components": [
170
1093
  {
@@ -179,30 +1102,47 @@
179
1102
  }
180
1103
  ],
181
1104
  "internalType": "struct Fee",
182
- "name": "performanceFee",
1105
+ "name": "fee",
183
1106
  "type": "tuple"
184
1107
  }
185
1108
  ],
186
- "stateMutability": "view",
1109
+ "name": "setBundleFee",
1110
+ "outputs": [],
1111
+ "stateMutability": "nonpayable",
187
1112
  "type": "function"
188
1113
  },
189
1114
  {
190
- "inputs": [],
191
- "name": "getRegistry",
192
- "outputs": [
1115
+ "inputs": [
193
1116
  {
194
- "internalType": "contract IRegistry",
195
- "name": "registry",
196
- "type": "address"
1117
+ "internalType": "RoleId",
1118
+ "name": "bundleOwnerRole",
1119
+ "type": "uint64"
197
1120
  }
198
1121
  ],
199
- "stateMutability": "view",
1122
+ "name": "setBundleOwnerRole",
1123
+ "outputs": [],
1124
+ "stateMutability": "nonpayable",
200
1125
  "type": "function"
201
1126
  },
202
1127
  {
203
- "inputs": [],
204
- "name": "getStakingFee",
205
- "outputs": [
1128
+ "inputs": [
1129
+ {
1130
+ "components": [
1131
+ {
1132
+ "internalType": "UFixed",
1133
+ "name": "fractionalFee",
1134
+ "type": "uint256"
1135
+ },
1136
+ {
1137
+ "internalType": "uint256",
1138
+ "name": "fixedFee",
1139
+ "type": "uint256"
1140
+ }
1141
+ ],
1142
+ "internalType": "struct Fee",
1143
+ "name": "poolFee",
1144
+ "type": "tuple"
1145
+ },
206
1146
  {
207
1147
  "components": [
208
1148
  {
@@ -219,66 +1159,96 @@
219
1159
  "internalType": "struct Fee",
220
1160
  "name": "stakingFee",
221
1161
  "type": "tuple"
1162
+ },
1163
+ {
1164
+ "components": [
1165
+ {
1166
+ "internalType": "UFixed",
1167
+ "name": "fractionalFee",
1168
+ "type": "uint256"
1169
+ },
1170
+ {
1171
+ "internalType": "uint256",
1172
+ "name": "fixedFee",
1173
+ "type": "uint256"
1174
+ }
1175
+ ],
1176
+ "internalType": "struct Fee",
1177
+ "name": "performanceFee",
1178
+ "type": "tuple"
222
1179
  }
223
1180
  ],
224
- "stateMutability": "view",
1181
+ "name": "setFees",
1182
+ "outputs": [],
1183
+ "stateMutability": "nonpayable",
225
1184
  "type": "function"
226
1185
  },
227
1186
  {
228
- "inputs": [],
229
- "name": "getToken",
230
- "outputs": [
1187
+ "inputs": [
231
1188
  {
232
- "internalType": "contract IERC20Metadata",
233
- "name": "token",
234
- "type": "address"
1189
+ "internalType": "uint256",
1190
+ "name": "maxCapitalAmount",
1191
+ "type": "uint256"
235
1192
  }
236
1193
  ],
237
- "stateMutability": "view",
1194
+ "name": "setMaxCapitalAmount",
1195
+ "outputs": [],
1196
+ "stateMutability": "nonpayable",
238
1197
  "type": "function"
239
1198
  },
240
1199
  {
241
- "inputs": [],
242
- "name": "getType",
243
- "outputs": [
1200
+ "inputs": [
244
1201
  {
245
- "internalType": "ObjectType",
246
- "name": "",
247
- "type": "uint8"
1202
+ "internalType": "NftId",
1203
+ "name": "productNftId",
1204
+ "type": "uint96"
248
1205
  }
249
1206
  ],
250
- "stateMutability": "pure",
1207
+ "name": "setProductNftId",
1208
+ "outputs": [],
1209
+ "stateMutability": "nonpayable",
251
1210
  "type": "function"
252
1211
  },
253
1212
  {
254
- "inputs": [],
255
- "name": "getWallet",
256
- "outputs": [
1213
+ "inputs": [
257
1214
  {
258
1215
  "internalType": "address",
259
- "name": "walletAddress",
1216
+ "name": "newWallet",
260
1217
  "type": "address"
261
1218
  }
262
1219
  ],
263
- "stateMutability": "view",
1220
+ "name": "setWallet",
1221
+ "outputs": [],
1222
+ "stateMutability": "nonpayable",
264
1223
  "type": "function"
265
1224
  },
266
1225
  {
267
- "inputs": [],
268
- "name": "isRegisterable",
269
- "outputs": [
1226
+ "inputs": [
270
1227
  {
271
- "internalType": "bool",
272
- "name": "",
273
- "type": "bool"
1228
+ "internalType": "NftId",
1229
+ "name": "bundleNftId",
1230
+ "type": "uint96"
1231
+ },
1232
+ {
1233
+ "internalType": "uint256",
1234
+ "name": "amount",
1235
+ "type": "uint256"
274
1236
  }
275
1237
  ],
276
- "stateMutability": "pure",
1238
+ "name": "stake",
1239
+ "outputs": [],
1240
+ "stateMutability": "nonpayable",
277
1241
  "type": "function"
278
1242
  },
279
1243
  {
280
- "inputs": [],
281
- "name": "isRegistered",
1244
+ "inputs": [
1245
+ {
1246
+ "internalType": "bytes4",
1247
+ "name": "interfaceId",
1248
+ "type": "bytes4"
1249
+ }
1250
+ ],
1251
+ "name": "supportsInterface",
282
1252
  "outputs": [
283
1253
  {
284
1254
  "internalType": "bool",
@@ -291,38 +1261,78 @@
291
1261
  },
292
1262
  {
293
1263
  "inputs": [],
294
- "name": "register",
295
- "outputs": [
1264
+ "name": "unlock",
1265
+ "outputs": [],
1266
+ "stateMutability": "nonpayable",
1267
+ "type": "function"
1268
+ },
1269
+ {
1270
+ "inputs": [
296
1271
  {
297
1272
  "internalType": "NftId",
298
- "name": "componentId",
1273
+ "name": "bundleNftId",
299
1274
  "type": "uint96"
300
1275
  }
301
1276
  ],
1277
+ "name": "unlockBundle",
1278
+ "outputs": [],
302
1279
  "stateMutability": "nonpayable",
303
1280
  "type": "function"
304
- }
305
- ],
306
- "bytecode": "0x60806040523480156200001157600080fd5b50604051620016f9380380620016f9833981810160405281019062000037919062000399565b848484818380806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505033600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505030600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505081600660008201518160000155602082015181600101559050508060086000820151816000015560208201518160010155905050505050505062000421565b6000604051905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200020282620001d5565b9050919050565b6200021481620001f5565b81146200022057600080fd5b50565b600081519050620002348162000209565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200028a826200023f565b810181811067ffffffffffffffff82111715620002ac57620002ab62000250565b5b80604052505050565b6000620002c1620001c6565b9050620002cf82826200027f565b919050565b6000819050919050565b620002e981620002d4565b8114620002f557600080fd5b50565b6000815190506200030981620002de565b92915050565b6200031a81620002d4565b81146200032657600080fd5b50565b6000815190506200033a816200030f565b92915050565b6000604082840312156200035957620003586200023a565b5b620003656040620002b5565b905060006200037784828501620002f8565b60008301525060206200038d8482850162000329565b60208301525092915050565b600080600080600060e08688031215620003b857620003b7620001d0565b5b6000620003c88882890162000223565b9550506020620003db8882890162000223565b9450506040620003ee8882890162000223565b9350506060620004018882890162000340565b92505060a0620004148882890162000340565b9150509295509295909350565b6112c880620004316000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c80633bc5de301161009757806379e829d01161006657806379e829d014610244578063893d20e814610262578063de7b5d1414610280578063fb2cb1011461029e576100f5565b80633bc5de30146101cc5780634b270a46146101ea5780635ab1bd5314610208578063644c45e014610226576100f5565b806321df0da7116100d357806321df0da7146101545780632236684414610172578063235c36031461019057806331b62a3b146101ae576100f5565b806313299604146100fa57806315dae03e146101185780631aa3a00814610136575b600080fd5b6101026102bc565b60405161010f9190610c16565b60405180910390f35b6101206102e6565b60405161012d9190610c79565b60405180910390f35b61013e6102f5565b60405161014b9190610cdd565b60405180910390f35b61015c61060d565b6040516101699190610d4d565b60405180910390f35b61017a610637565b6040516101879190610d83565b60405180910390f35b610198610764565b6040516101a59190610e17565b60405180910390f35b6101b6610792565b6040516101c39190610cdd565b60405180910390f35b6101d461080f565b6040516101e19190610ec2565b60405180910390f35b6101f26108ab565b6040516101ff9190610e17565b60405180910390f35b6102106108d9565b60405161021d9190610f05565b60405180910390f35b61022e610902565b60405161023b9190610cdd565b60405180910390f35b61024c6109a4565b6040516102599190610d83565b60405180910390f35b61026a6109ad565b6040516102779190610c16565b60405180910390f35b610288610b4c565b6040516102959190610f41565b60405180910390f35b6102a6610b76565b6040516102b39190610c16565b60405180910390f35b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006102f0610ba0565b905090565b60006102ff610b76565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461036c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036390610f93565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036103fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f290610fff565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016104769190610c16565b602060405180830381865afa158015610493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b79190611050565b6104f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ed906110ef565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610589919061114d565b90508073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016105c4919061119b565b6020604051808303816000875af11580156105e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060791906111e2565b91505090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016106939190610c16565b602060405180830381865afa1580156106b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d491906111e2565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b815260040161071d919061121e565b602060405180830381865af415801561073a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075e9190611050565b91505090565b61076c610bbb565b600860405180604001604052908160008201548152602001600182015481525050905090565b600061079c610b4c565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080a91906111e2565b905090565b6060610819610b4c565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610863573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088791906111e2565b6040516020016108979190610cdd565b604051602081830303815290604052905090565b6108b3610bbb565b600660405180604001604052908160008201548152602001600182015481525050905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161095e9190610c16565b602060405180830381865afa15801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f91906111e2565b905090565b60006001905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610a099190610c16565b602060405180830381865afa158015610a26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4a91906111e2565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610aa59190610cdd565b602060405180830381865afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae69190611265565b9150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b4457600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610b46565b815b91505090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610bac6050610bb1565b905090565b6000819050919050565b604051806040016040528060008152602001600081525090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610c0082610bd5565b9050919050565b610c1081610bf5565b82525050565b6000602082019050610c2b6000830184610c07565b92915050565b600060ff82169050919050565b6000819050919050565b6000610c63610c5e610c5984610c31565b610c3e565b610c31565b9050919050565b610c7381610c48565b82525050565b6000602082019050610c8e6000830184610c6a565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6000610cc7610cc2610cbd84610c94565b610c3e565b610c94565b9050919050565b610cd781610cac565b82525050565b6000602082019050610cf26000830184610cce565b92915050565b6000610d13610d0e610d0984610bd5565b610c3e565b610bd5565b9050919050565b6000610d2582610cf8565b9050919050565b6000610d3782610d1a565b9050919050565b610d4781610d2c565b82525050565b6000602082019050610d626000830184610d3e565b92915050565b60008115159050919050565b610d7d81610d68565b82525050565b6000602082019050610d986000830184610d74565b92915050565b6000819050919050565b6000610dc3610dbe610db984610d9e565b610c3e565b610d9e565b9050919050565b610dd381610da8565b82525050565b610de281610d9e565b82525050565b604082016000820151610dfe6000850182610dca565b506020820151610e116020850182610dd9565b50505050565b6000604082019050610e2c6000830184610de8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e6c578082015181840152602081019050610e51565b60008484015250505050565b6000601f19601f8301169050919050565b6000610e9482610e32565b610e9e8185610e3d565b9350610eae818560208601610e4e565b610eb781610e78565b840191505092915050565b60006020820190508181036000830152610edc8184610e89565b905092915050565b6000610eef82610d1a565b9050919050565b610eff81610ee4565b82525050565b6000602082019050610f1a6000830184610ef6565b92915050565b6000610f2b82610d1a565b9050919050565b610f3b81610f20565b82525050565b6000602082019050610f566000830184610f32565b92915050565b600082825260208201905092915050565b50565b6000610f7d600083610f5c565b9150610f8882610f6d565b600082019050919050565b60006020820190508181036000830152610fac81610f70565b9050919050565b7f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000600082015250565b6000610fe9601b83610f5c565b9150610ff482610fb3565b602082019050919050565b6000602082019050818103600083015261101881610fdc565b9050919050565b600080fd5b61102d81610d68565b811461103857600080fd5b50565b60008151905061104a81611024565b92915050565b6000602082840312156110665761106561101f565b5b60006110748482850161103b565b91505092915050565b7f4552524f523a5052442d3030323a494e5354414e43455f4e4f545f524547495360008201527f5445524544000000000000000000000000000000000000000000000000000000602082015250565b60006110d9602583610f5c565b91506110e48261107d565b604082019050919050565b60006020820190508181036000830152611108816110cc565b9050919050565b600061111a82610bf5565b9050919050565b61112a8161110f565b811461113557600080fd5b50565b60008151905061114781611121565b92915050565b6000602082840312156111635761116261101f565b5b600061117184828501611138565b91505092915050565b600061118582610d1a565b9050919050565b6111958161117a565b82525050565b60006020820190506111b0600083018461118c565b92915050565b6111bf81610c94565b81146111ca57600080fd5b50565b6000815190506111dc816111b6565b92915050565b6000602082840312156111f8576111f761101f565b5b6000611206848285016111cd565b91505092915050565b61121881610cac565b82525050565b6000602082019050611233600083018461120f565b92915050565b61124281610bf5565b811461124d57600080fd5b50565b60008151905061125f81611239565b92915050565b60006020828403121561127b5761127a61101f565b5b600061128984828501611250565b9150509291505056fea2646970667358221220a13a9c031223dca79fb61cabd02dcd75ce7d80dd1981c810eee9973d36c8e08c64736f6c63430008140033",
307
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100f55760003560e01c80633bc5de301161009757806379e829d01161006657806379e829d014610244578063893d20e814610262578063de7b5d1414610280578063fb2cb1011461029e576100f5565b80633bc5de30146101cc5780634b270a46146101ea5780635ab1bd5314610208578063644c45e014610226576100f5565b806321df0da7116100d357806321df0da7146101545780632236684414610172578063235c36031461019057806331b62a3b146101ae576100f5565b806313299604146100fa57806315dae03e146101185780631aa3a00814610136575b600080fd5b6101026102bc565b60405161010f9190610c16565b60405180910390f35b6101206102e6565b60405161012d9190610c79565b60405180910390f35b61013e6102f5565b60405161014b9190610cdd565b60405180910390f35b61015c61060d565b6040516101699190610d4d565b60405180910390f35b61017a610637565b6040516101879190610d83565b60405180910390f35b610198610764565b6040516101a59190610e17565b60405180910390f35b6101b6610792565b6040516101c39190610cdd565b60405180910390f35b6101d461080f565b6040516101e19190610ec2565b60405180910390f35b6101f26108ab565b6040516101ff9190610e17565b60405180910390f35b6102106108d9565b60405161021d9190610f05565b60405180910390f35b61022e610902565b60405161023b9190610cdd565b60405180910390f35b61024c6109a4565b6040516102599190610d83565b60405180910390f35b61026a6109ad565b6040516102779190610c16565b60405180910390f35b610288610b4c565b6040516102959190610f41565b60405180910390f35b6102a6610b76565b6040516102b39190610c16565b60405180910390f35b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006102f0610ba0565b905090565b60006102ff610b76565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461036c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036390610f93565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036103fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f290610fff565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c3c5a547600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016104769190610c16565b602060405180830381865afa158015610493573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b79190611050565b6104f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104ed906110ef565b60405180910390fd5b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636fa298536040518163ffffffff1660e01b8152600401602060405180830381865afa158015610565573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610589919061114d565b90508073ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b81526004016105c4919061119b565b6020604051808303816000875af11580156105e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061060791906111e2565b91505090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b81526004016106939190610c16565b602060405180830381865afa1580156106b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d491906111e2565b9050806bffffffffffffffffffffffff1673__$6facc32ab6029a5f5de2a1d5e55ea9da0e$__6330b8415f90916040518263ffffffff1660e01b815260040161071d919061121e565b602060405180830381865af415801561073a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075e9190611050565b91505090565b61076c610bbb565b600860405180604001604052908160008201548152602001600182015481525050905090565b600061079c610b4c565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080a91906111e2565b905090565b6060610819610b4c565b73ffffffffffffffffffffffffffffffffffffffff1663644c45e06040518163ffffffff1660e01b8152600401602060405180830381865afa158015610863573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061088791906111e2565b6040516020016108979190610cdd565b604051602081830303815290604052905090565b6108b3610bbb565b600660405180604001604052908160008201548152602001600182015481525050905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b815260040161095e9190610c16565b602060405180830381865afa15801561097b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099f91906111e2565b905090565b60006001905090565b60008060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d272ac1e306040518263ffffffff1660e01b8152600401610a099190610c16565b602060405180830381865afa158015610a26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4a91906111e2565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df33330b826040518263ffffffff1660e01b8152600401610aa59190610cdd565b602060405180830381865afa158015610ac2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ae69190611265565b9150600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b4457600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610b46565b815b91505090565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610bac6050610bb1565b905090565b6000819050919050565b604051806040016040528060008152602001600081525090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610c0082610bd5565b9050919050565b610c1081610bf5565b82525050565b6000602082019050610c2b6000830184610c07565b92915050565b600060ff82169050919050565b6000819050919050565b6000610c63610c5e610c5984610c31565b610c3e565b610c31565b9050919050565b610c7381610c48565b82525050565b6000602082019050610c8e6000830184610c6a565b92915050565b60006bffffffffffffffffffffffff82169050919050565b6000610cc7610cc2610cbd84610c94565b610c3e565b610c94565b9050919050565b610cd781610cac565b82525050565b6000602082019050610cf26000830184610cce565b92915050565b6000610d13610d0e610d0984610bd5565b610c3e565b610bd5565b9050919050565b6000610d2582610cf8565b9050919050565b6000610d3782610d1a565b9050919050565b610d4781610d2c565b82525050565b6000602082019050610d626000830184610d3e565b92915050565b60008115159050919050565b610d7d81610d68565b82525050565b6000602082019050610d986000830184610d74565b92915050565b6000819050919050565b6000610dc3610dbe610db984610d9e565b610c3e565b610d9e565b9050919050565b610dd381610da8565b82525050565b610de281610d9e565b82525050565b604082016000820151610dfe6000850182610dca565b506020820151610e116020850182610dd9565b50505050565b6000604082019050610e2c6000830184610de8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015610e6c578082015181840152602081019050610e51565b60008484015250505050565b6000601f19601f8301169050919050565b6000610e9482610e32565b610e9e8185610e3d565b9350610eae818560208601610e4e565b610eb781610e78565b840191505092915050565b60006020820190508181036000830152610edc8184610e89565b905092915050565b6000610eef82610d1a565b9050919050565b610eff81610ee4565b82525050565b6000602082019050610f1a6000830184610ef6565b92915050565b6000610f2b82610d1a565b9050919050565b610f3b81610f20565b82525050565b6000602082019050610f566000830184610f32565b92915050565b600082825260208201905092915050565b50565b6000610f7d600083610f5c565b9150610f8882610f6d565b600082019050919050565b60006020820190508181036000830152610fac81610f70565b9050919050565b7f4552524f523a5052442d3030313a52454749535452595f5a45524f0000000000600082015250565b6000610fe9601b83610f5c565b9150610ff482610fb3565b602082019050919050565b6000602082019050818103600083015261101881610fdc565b9050919050565b600080fd5b61102d81610d68565b811461103857600080fd5b50565b60008151905061104a81611024565b92915050565b6000602082840312156110665761106561101f565b5b60006110748482850161103b565b91505092915050565b7f4552524f523a5052442d3030323a494e5354414e43455f4e4f545f524547495360008201527f5445524544000000000000000000000000000000000000000000000000000000602082015250565b60006110d9602583610f5c565b91506110e48261107d565b604082019050919050565b60006020820190508181036000830152611108816110cc565b9050919050565b600061111a82610bf5565b9050919050565b61112a8161110f565b811461113557600080fd5b50565b60008151905061114781611121565b92915050565b6000602082840312156111635761116261101f565b5b600061117184828501611138565b91505092915050565b600061118582610d1a565b9050919050565b6111958161117a565b82525050565b60006020820190506111b0600083018461118c565b92915050565b6111bf81610c94565b81146111ca57600080fd5b50565b6000815190506111dc816111b6565b92915050565b6000602082840312156111f8576111f761101f565b5b6000611206848285016111cd565b91505092915050565b61121881610cac565b82525050565b6000602082019050611233600083018461120f565b92915050565b61124281610bf5565b811461124d57600080fd5b50565b60008151905061125f81611239565b92915050565b60006020828403121561127b5761127a61101f565b5b600061128984828501611250565b9150509291505056fea2646970667358221220a13a9c031223dca79fb61cabd02dcd75ce7d80dd1981c810eee9973d36c8e08c64736f6c63430008140033",
308
- "linkReferences": {
309
- "contracts/types/NftId.sol": {
310
- "NftIdLib": [
1281
+ },
1282
+ {
1283
+ "inputs": [
1284
+ {
1285
+ "internalType": "NftId",
1286
+ "name": "bundleNftId",
1287
+ "type": "uint96"
1288
+ },
311
1289
  {
312
- "length": 20,
313
- "start": 2840
1290
+ "internalType": "uint256",
1291
+ "name": "amount",
1292
+ "type": "uint256"
314
1293
  }
315
- ]
316
- }
317
- },
318
- "deployedLinkReferences": {
319
- "contracts/types/NftId.sol": {
320
- "NftIdLib": [
1294
+ ],
1295
+ "name": "unstake",
1296
+ "outputs": [],
1297
+ "stateMutability": "nonpayable",
1298
+ "type": "function"
1299
+ },
1300
+ {
1301
+ "inputs": [
1302
+ {
1303
+ "internalType": "NftId",
1304
+ "name": "applicationNftId",
1305
+ "type": "uint96"
1306
+ },
1307
+ {
1308
+ "internalType": "bytes",
1309
+ "name": "applicationData",
1310
+ "type": "bytes"
1311
+ },
1312
+ {
1313
+ "internalType": "NftId",
1314
+ "name": "bundleNftId",
1315
+ "type": "uint96"
1316
+ },
1317
+ {
1318
+ "internalType": "bytes",
1319
+ "name": "bundleFilter",
1320
+ "type": "bytes"
1321
+ },
321
1322
  {
322
- "length": 20,
323
- "start": 1767
1323
+ "internalType": "uint256",
1324
+ "name": "collateralizationAmount",
1325
+ "type": "uint256"
324
1326
  }
325
- ]
1327
+ ],
1328
+ "name": "verifyApplication",
1329
+ "outputs": [],
1330
+ "stateMutability": "nonpayable",
1331
+ "type": "function"
326
1332
  }
327
- }
1333
+ ],
1334
+ "bytecode": "0x",
1335
+ "deployedBytecode": "0x",
1336
+ "linkReferences": {},
1337
+ "deployedLinkReferences": {}
328
1338
  }