@etherisc/gif-next 0.0.2-851536d → 0.0.2-86f4673-518

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