@etherisc/gif-next 0.0.2-ce8407f-016 → 0.0.2-ce87da3-250

Sign up to get free protection for your applications and to get access to all the features.
Files changed (353) hide show
  1. package/README.md +243 -2
  2. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  3. package/artifacts/contracts/components/Component.sol/Component.json +853 -0
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +1346 -0
  6. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/base/ServiceBase.sol/ServiceBase.json → components/IComponent.sol/IComponent.json} +195 -150
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +900 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +887 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +806 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +4 -0
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +1322 -0
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +4 -0
  17. package/artifacts/contracts/components/Product.sol/Product.json +1246 -0
  18. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +4 -0
  19. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +764 -0
  20. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +4 -0
  21. package/artifacts/contracts/instance/{AccessManagedSimple.sol/AccessManagedSimple.json → Cloneable.sol/Cloneable.json} +86 -2
  22. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  23. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +2475 -1
  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 +1051 -1183
  28. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  29. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +211 -144
  30. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  31. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +562 -54
  32. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  33. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +958 -29
  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 +1 -1
  41. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +0 -77
  42. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  44. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +10 -244
  45. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +2 -2
  47. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  48. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  49. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  50. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  51. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  52. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  53. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  54. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  55. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.dbg.json +4 -0
  56. package/artifacts/contracts/instance/service/ApplicationService.sol/ApplicationService.json +869 -0
  57. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +4 -0
  58. package/artifacts/contracts/instance/service/ApplicationServiceManager.sol/ApplicationServiceManager.json +657 -0
  59. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +4 -0
  60. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +1096 -0
  61. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +4 -0
  62. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +661 -0
  63. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.dbg.json +4 -0
  64. package/artifacts/contracts/instance/service/ClaimService.sol/ClaimService.json +754 -0
  65. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +4 -0
  66. package/artifacts/contracts/instance/service/ClaimServiceManager.sol/ClaimServiceManager.json +637 -0
  67. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  68. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +1254 -0
  69. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +4 -0
  70. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +753 -0
  71. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.dbg.json +4 -0
  72. package/artifacts/contracts/instance/service/IApplicationService.sol/IApplicationService.json +473 -0
  73. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +4 -0
  74. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +633 -0
  75. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.dbg.json +4 -0
  76. package/artifacts/contracts/instance/service/IClaimService.sol/IClaimService.json +409 -0
  77. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  78. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +639 -0
  79. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +4 -0
  80. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +583 -0
  81. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  82. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +347 -0
  83. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  84. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +384 -0
  85. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +4 -0
  86. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +1120 -0
  87. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +4 -0
  88. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +717 -0
  89. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  90. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +727 -0
  91. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +4 -0
  92. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +649 -0
  93. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  94. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +777 -0
  95. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +4 -0
  96. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +649 -0
  97. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  98. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +47 -2
  99. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +236 -63
  101. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +323 -178
  103. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  104. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  105. package/artifacts/contracts/registry/Registry.sol/Registry.json +210 -212
  106. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  107. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  108. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  109. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +432 -268
  110. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  111. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +323 -129
  112. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  113. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  114. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +4 -0
  115. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +498 -0
  116. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  117. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  118. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +41 -3
  119. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  120. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +40 -29
  121. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +4 -0
  122. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.json +129 -0
  123. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +21 -34
  125. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  126. package/artifacts/contracts/{experiment/inheritance/IB.sol/IB.json → shared/IRegistryLinked.sol/IRegistryLinked.json} +18 -20
  127. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +4 -0
  128. package/artifacts/contracts/{components/IBaseComponent.sol/IBaseComponent.json → shared/IService.sol/IService.json} +67 -39
  129. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -152
  131. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +120 -27
  133. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +4 -0
  134. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +248 -0
  135. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  136. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +294 -61
  137. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  138. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +129 -51
  139. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +4 -0
  140. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +84 -0
  141. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +4 -0
  142. package/artifacts/contracts/{instance/base/IService.sol/IService.json → shared/Service.sol/Service.json} +155 -151
  143. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  144. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +2 -2
  145. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  146. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  147. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  148. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +2 -152
  149. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  151. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +129 -51
  153. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +111 -5
  155. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  156. package/artifacts/contracts/test/TestService.sol/TestService.json +147 -226
  157. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  158. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  159. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  160. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  161. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  162. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +8 -190
  163. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  164. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  165. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  166. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.dbg.json +4 -0
  169. package/artifacts/contracts/types/ClaimId.sol/ClaimIdLib.json +100 -0
  170. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +2 -2
  172. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.json +4 -4
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +2 -2
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +2 -2
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +26 -3
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  181. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +2 -2
  183. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.dbg.json +4 -0
  184. package/artifacts/contracts/types/PayoutId.sol/PayoutIdLib.json +100 -0
  185. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  186. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +2 -2
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  188. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +2 -2
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  190. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  192. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +2 -2
  193. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  195. package/artifacts/contracts/{experiment/types/TypeB.sol/TypeBLib.json → types/UFixed.sol/MathLib.json} +4 -4
  196. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  198. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  200. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  201. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +22 -3
  202. package/contracts/components/Component.sol +241 -0
  203. package/contracts/components/Distribution.sol +287 -0
  204. package/contracts/components/IComponent.sol +54 -0
  205. package/contracts/components/IDistributionComponent.sol +92 -0
  206. package/contracts/components/IPoolComponent.sol +87 -0
  207. package/contracts/components/IProductComponent.sol +39 -0
  208. package/contracts/components/Pool.sol +254 -0
  209. package/contracts/components/Product.sol +285 -0
  210. package/contracts/instance/BundleManager.sol +125 -0
  211. package/contracts/instance/Cloneable.sol +46 -0
  212. package/contracts/instance/IInstance.sol +87 -1
  213. package/contracts/instance/IInstanceService.sol +59 -0
  214. package/contracts/instance/Instance.sol +137 -238
  215. package/contracts/instance/InstanceAccessManager.sol +90 -81
  216. package/contracts/instance/InstanceReader.sol +86 -28
  217. package/contracts/instance/InstanceService.sol +453 -22
  218. package/contracts/instance/InstanceServiceManager.sol +54 -0
  219. package/contracts/instance/ObjectManager.sol +84 -0
  220. package/contracts/instance/base/ComponentService.sol +134 -0
  221. package/contracts/instance/base/IKeyValueStore.sol +5 -4
  222. package/contracts/instance/base/KeyValueStore.sol +4 -20
  223. package/contracts/instance/module/IAccess.sol +28 -19
  224. package/contracts/instance/module/IBundle.sol +1 -0
  225. package/contracts/instance/module/IDistribution.sol +1 -0
  226. package/contracts/instance/module/IPolicy.sol +4 -2
  227. package/contracts/instance/module/ISetup.sol +10 -3
  228. package/contracts/instance/module/ITreasury.sol +1 -1
  229. package/contracts/instance/service/ApplicationService.sol +268 -0
  230. package/contracts/instance/service/ApplicationServiceManager.sol +35 -0
  231. package/contracts/instance/service/BundleService.sol +298 -0
  232. package/contracts/instance/service/BundleServiceManager.sol +51 -0
  233. package/contracts/instance/service/ClaimService.sol +151 -0
  234. package/contracts/instance/service/ClaimServiceManager.sol +35 -0
  235. package/contracts/instance/service/DistributionService.sol +366 -0
  236. package/contracts/instance/service/DistributionServiceManager.sol +51 -0
  237. package/contracts/instance/service/IApplicationService.sol +82 -0
  238. package/contracts/instance/service/IBundleService.sol +54 -0
  239. package/contracts/instance/service/IClaimService.sol +61 -0
  240. package/contracts/instance/service/IDistributionService.sol +81 -0
  241. package/contracts/instance/service/IPolicyService.sol +89 -0
  242. package/contracts/instance/service/IPoolService.sol +20 -0
  243. package/contracts/instance/service/IProductService.sol +40 -0
  244. package/contracts/instance/service/PolicyService.sol +476 -0
  245. package/contracts/instance/service/PolicyServiceManager.sol +54 -0
  246. package/contracts/instance/service/PoolService.sol +109 -0
  247. package/contracts/instance/service/PoolServiceManager.sol +51 -0
  248. package/contracts/instance/service/ProductService.sol +233 -0
  249. package/contracts/instance/service/ProductServiceManager.sol +54 -0
  250. package/contracts/registry/ChainNft.sol +41 -26
  251. package/contracts/registry/IRegistry.sol +51 -25
  252. package/contracts/registry/IRegistryService.sol +54 -16
  253. package/contracts/registry/Registry.sol +279 -306
  254. package/contracts/registry/RegistryAccessManager.sol +216 -0
  255. package/contracts/registry/RegistryService.sol +170 -256
  256. package/contracts/registry/RegistryServiceManager.sol +30 -11
  257. package/contracts/registry/ReleaseManager.sol +322 -0
  258. package/contracts/registry/TokenRegistry.sol +116 -0
  259. package/contracts/shared/ERC165.sol +15 -9
  260. package/contracts/shared/INftOwnable.sol +11 -10
  261. package/contracts/shared/IPolicyHolder.sol +26 -0
  262. package/contracts/shared/IRegisterable.sol +4 -6
  263. package/contracts/shared/IRegistryLinked.sol +12 -0
  264. package/contracts/shared/IService.sol +18 -0
  265. package/contracts/shared/IVersionable.sol +4 -47
  266. package/contracts/shared/NftOwnable.sol +67 -83
  267. package/contracts/shared/PolicyHolder.sol +81 -0
  268. package/contracts/shared/ProxyManager.sol +101 -26
  269. package/contracts/shared/Registerable.sol +15 -30
  270. package/contracts/shared/RegistryLinked.sol +48 -0
  271. package/contracts/shared/Service.sol +58 -0
  272. package/contracts/shared/TokenHandler.sol +2 -2
  273. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  274. package/contracts/shared/Versionable.sol +5 -93
  275. package/contracts/test/TestFee.sol +2 -2
  276. package/contracts/test/TestRegisterable.sol +1 -1
  277. package/contracts/test/TestRoleId.sol +6 -6
  278. package/contracts/test/TestService.sol +6 -7
  279. package/contracts/types/ClaimId.sol +52 -0
  280. package/contracts/types/DistributorType.sol +2 -2
  281. package/contracts/types/Fee.sol +3 -3
  282. package/contracts/types/NftIdSet.sol +26 -24
  283. package/contracts/types/ObjectType.sol +9 -5
  284. package/contracts/types/PayoutId.sol +54 -0
  285. package/contracts/types/RoleId.sol +19 -4
  286. package/contracts/types/StateId.sol +4 -0
  287. package/contracts/types/UFixed.sol +128 -12
  288. package/contracts/types/Version.sol +4 -1
  289. package/package.json +6 -5
  290. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  291. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +0 -4
  292. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +0 -105
  293. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +0 -4
  294. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +0 -105
  295. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +0 -4
  296. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +0 -128
  297. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +0 -4
  298. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +0 -42
  299. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +0 -4
  300. package/artifacts/contracts/experiment/inheritance/B.sol/B.json +0 -76
  301. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +0 -4
  302. package/artifacts/contracts/experiment/inheritance/C.sol/C.json +0 -89
  303. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +0 -4
  304. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.json +0 -128
  305. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +0 -4
  306. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.json +0 -37
  307. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +0 -4
  308. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +0 -4
  309. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.json +0 -63
  310. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +0 -4
  311. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +0 -59
  312. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +0 -4
  313. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +0 -124
  314. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +0 -4
  315. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +0 -74
  316. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +0 -4
  317. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +0 -124
  318. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +0 -4
  319. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +0 -207
  320. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +0 -4
  321. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +0 -10
  322. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +0 -4
  323. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +0 -4
  324. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +0 -4
  325. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +0 -1119
  326. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  327. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  328. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +0 -4
  329. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +0 -4
  330. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  331. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -457
  332. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  333. package/contracts/components/IBaseComponent.sol +0 -19
  334. package/contracts/experiment/errors/Require.sol +0 -38
  335. package/contracts/experiment/errors/Revert.sol +0 -44
  336. package/contracts/experiment/inheritance/A.sol +0 -53
  337. package/contracts/experiment/inheritance/B.sol +0 -28
  338. package/contracts/experiment/inheritance/C.sol +0 -34
  339. package/contracts/experiment/inheritance/IA.sol +0 -13
  340. package/contracts/experiment/inheritance/IB.sol +0 -10
  341. package/contracts/experiment/inheritance/IC.sol +0 -12
  342. package/contracts/experiment/statemachine/Dummy.sol +0 -27
  343. package/contracts/experiment/statemachine/ISM.sol +0 -25
  344. package/contracts/experiment/statemachine/SM.sol +0 -57
  345. package/contracts/experiment/statemachine/SimpleStateMachine.sol +0 -31
  346. package/contracts/experiment/types/TypeA.sol +0 -47
  347. package/contracts/experiment/types/TypeB.sol +0 -29
  348. package/contracts/instance/AccessManagedSimple.sol +0 -114
  349. package/contracts/instance/AccessManagerSimple.sol +0 -682
  350. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  351. package/contracts/instance/base/IService.sol +0 -15
  352. package/contracts/instance/base/ServiceBase.sol +0 -44
  353. package/contracts/registry/IChainNft.sol +0 -22
@@ -0,0 +1,853 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "Component",
4
+ "sourceName": "contracts/components/Component.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
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
+ "internalType": "address",
86
+ "name": "instance",
87
+ "type": "address"
88
+ }
89
+ ],
90
+ "name": "ErrorComponentNotInstance",
91
+ "type": "error"
92
+ },
93
+ {
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "caller",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "ErrorComponentNotProductService",
102
+ "type": "error"
103
+ },
104
+ {
105
+ "inputs": [],
106
+ "name": "ErrorComponentProductNftAlreadySet",
107
+ "type": "error"
108
+ },
109
+ {
110
+ "inputs": [
111
+ {
112
+ "internalType": "address",
113
+ "name": "caller",
114
+ "type": "address"
115
+ },
116
+ {
117
+ "internalType": "uint64",
118
+ "name": "requiredRoleIdNum",
119
+ "type": "uint64"
120
+ }
121
+ ],
122
+ "name": "ErrorComponentUnauthorized",
123
+ "type": "error"
124
+ },
125
+ {
126
+ "inputs": [
127
+ {
128
+ "internalType": "address",
129
+ "name": "newWallet",
130
+ "type": "address"
131
+ }
132
+ ],
133
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
134
+ "type": "error"
135
+ },
136
+ {
137
+ "inputs": [],
138
+ "name": "ErrorComponentWalletAddressZero",
139
+ "type": "error"
140
+ },
141
+ {
142
+ "inputs": [
143
+ {
144
+ "internalType": "address",
145
+ "name": "oldWallet",
146
+ "type": "address"
147
+ },
148
+ {
149
+ "internalType": "address",
150
+ "name": "newWallet",
151
+ "type": "address"
152
+ },
153
+ {
154
+ "internalType": "uint256",
155
+ "name": "allowance",
156
+ "type": "uint256"
157
+ },
158
+ {
159
+ "internalType": "uint256",
160
+ "name": "balance",
161
+ "type": "uint256"
162
+ }
163
+ ],
164
+ "name": "ErrorComponentWalletAllowanceTooSmall",
165
+ "type": "error"
166
+ },
167
+ {
168
+ "inputs": [
169
+ {
170
+ "internalType": "NftId",
171
+ "name": "nftId",
172
+ "type": "uint96"
173
+ }
174
+ ],
175
+ "name": "ErrorNftOwnableAlreadyLinked",
176
+ "type": "error"
177
+ },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "contractAddress",
183
+ "type": "address"
184
+ }
185
+ ],
186
+ "name": "ErrorNftOwnableContractNotRegistered",
187
+ "type": "error"
188
+ },
189
+ {
190
+ "inputs": [],
191
+ "name": "ErrorNftOwnableInitialOwnerZero",
192
+ "type": "error"
193
+ },
194
+ {
195
+ "inputs": [
196
+ {
197
+ "internalType": "address",
198
+ "name": "account",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "name": "ErrorNftOwnableNotOwner",
203
+ "type": "error"
204
+ },
205
+ {
206
+ "inputs": [
207
+ {
208
+ "internalType": "address",
209
+ "name": "registryAddress",
210
+ "type": "address"
211
+ }
212
+ ],
213
+ "name": "ErrorNotRegistry",
214
+ "type": "error"
215
+ },
216
+ {
217
+ "inputs": [],
218
+ "name": "FailedInnerCall",
219
+ "type": "error"
220
+ },
221
+ {
222
+ "inputs": [],
223
+ "name": "InvalidInitialization",
224
+ "type": "error"
225
+ },
226
+ {
227
+ "inputs": [],
228
+ "name": "NotInitializing",
229
+ "type": "error"
230
+ },
231
+ {
232
+ "inputs": [
233
+ {
234
+ "internalType": "address",
235
+ "name": "token",
236
+ "type": "address"
237
+ }
238
+ ],
239
+ "name": "SafeERC20FailedOperation",
240
+ "type": "error"
241
+ },
242
+ {
243
+ "anonymous": false,
244
+ "inputs": [
245
+ {
246
+ "indexed": false,
247
+ "internalType": "address",
248
+ "name": "authority",
249
+ "type": "address"
250
+ }
251
+ ],
252
+ "name": "AuthorityUpdated",
253
+ "type": "event"
254
+ },
255
+ {
256
+ "anonymous": false,
257
+ "inputs": [
258
+ {
259
+ "indexed": false,
260
+ "internalType": "uint64",
261
+ "name": "version",
262
+ "type": "uint64"
263
+ }
264
+ ],
265
+ "name": "Initialized",
266
+ "type": "event"
267
+ },
268
+ {
269
+ "anonymous": false,
270
+ "inputs": [
271
+ {
272
+ "indexed": false,
273
+ "internalType": "address",
274
+ "name": "newWallet",
275
+ "type": "address"
276
+ }
277
+ ],
278
+ "name": "LogComponentWalletAddressChanged",
279
+ "type": "event"
280
+ },
281
+ {
282
+ "anonymous": false,
283
+ "inputs": [
284
+ {
285
+ "indexed": false,
286
+ "internalType": "address",
287
+ "name": "from",
288
+ "type": "address"
289
+ },
290
+ {
291
+ "indexed": false,
292
+ "internalType": "address",
293
+ "name": "to",
294
+ "type": "address"
295
+ },
296
+ {
297
+ "indexed": false,
298
+ "internalType": "uint256",
299
+ "name": "amount",
300
+ "type": "uint256"
301
+ }
302
+ ],
303
+ "name": "LogComponentWalletTokensTransferred",
304
+ "type": "event"
305
+ },
306
+ {
307
+ "inputs": [],
308
+ "name": "CONTRACT_LOCATION_V1",
309
+ "outputs": [
310
+ {
311
+ "internalType": "bytes32",
312
+ "name": "",
313
+ "type": "bytes32"
314
+ }
315
+ ],
316
+ "stateMutability": "view",
317
+ "type": "function"
318
+ },
319
+ {
320
+ "inputs": [],
321
+ "name": "NFT_OWNABLE_STORAGE_LOCATION_V1",
322
+ "outputs": [
323
+ {
324
+ "internalType": "bytes32",
325
+ "name": "",
326
+ "type": "bytes32"
327
+ }
328
+ ],
329
+ "stateMutability": "view",
330
+ "type": "function"
331
+ },
332
+ {
333
+ "inputs": [],
334
+ "name": "REGISTERABLE_LOCATION_V1",
335
+ "outputs": [
336
+ {
337
+ "internalType": "bytes32",
338
+ "name": "",
339
+ "type": "bytes32"
340
+ }
341
+ ],
342
+ "stateMutability": "view",
343
+ "type": "function"
344
+ },
345
+ {
346
+ "inputs": [],
347
+ "name": "authority",
348
+ "outputs": [
349
+ {
350
+ "internalType": "address",
351
+ "name": "",
352
+ "type": "address"
353
+ }
354
+ ],
355
+ "stateMutability": "view",
356
+ "type": "function"
357
+ },
358
+ {
359
+ "inputs": [],
360
+ "name": "getInitialInfo",
361
+ "outputs": [
362
+ {
363
+ "components": [
364
+ {
365
+ "internalType": "NftId",
366
+ "name": "nftId",
367
+ "type": "uint96"
368
+ },
369
+ {
370
+ "internalType": "NftId",
371
+ "name": "parentNftId",
372
+ "type": "uint96"
373
+ },
374
+ {
375
+ "internalType": "ObjectType",
376
+ "name": "objectType",
377
+ "type": "uint8"
378
+ },
379
+ {
380
+ "internalType": "bool",
381
+ "name": "isInterceptor",
382
+ "type": "bool"
383
+ },
384
+ {
385
+ "internalType": "address",
386
+ "name": "objectAddress",
387
+ "type": "address"
388
+ },
389
+ {
390
+ "internalType": "address",
391
+ "name": "initialOwner",
392
+ "type": "address"
393
+ },
394
+ {
395
+ "internalType": "bytes",
396
+ "name": "data",
397
+ "type": "bytes"
398
+ }
399
+ ],
400
+ "internalType": "struct IRegistry.ObjectInfo",
401
+ "name": "info",
402
+ "type": "tuple"
403
+ }
404
+ ],
405
+ "stateMutability": "view",
406
+ "type": "function"
407
+ },
408
+ {
409
+ "inputs": [],
410
+ "name": "getInstance",
411
+ "outputs": [
412
+ {
413
+ "internalType": "contract IInstance",
414
+ "name": "instance",
415
+ "type": "address"
416
+ }
417
+ ],
418
+ "stateMutability": "view",
419
+ "type": "function"
420
+ },
421
+ {
422
+ "inputs": [],
423
+ "name": "getInstanceReader",
424
+ "outputs": [
425
+ {
426
+ "internalType": "contract InstanceReader",
427
+ "name": "reader",
428
+ "type": "address"
429
+ }
430
+ ],
431
+ "stateMutability": "view",
432
+ "type": "function"
433
+ },
434
+ {
435
+ "inputs": [],
436
+ "name": "getInstanceService",
437
+ "outputs": [
438
+ {
439
+ "internalType": "contract IInstanceService",
440
+ "name": "",
441
+ "type": "address"
442
+ }
443
+ ],
444
+ "stateMutability": "view",
445
+ "type": "function"
446
+ },
447
+ {
448
+ "inputs": [],
449
+ "name": "getName",
450
+ "outputs": [
451
+ {
452
+ "internalType": "string",
453
+ "name": "name",
454
+ "type": "string"
455
+ }
456
+ ],
457
+ "stateMutability": "view",
458
+ "type": "function"
459
+ },
460
+ {
461
+ "inputs": [],
462
+ "name": "getNftId",
463
+ "outputs": [
464
+ {
465
+ "internalType": "NftId",
466
+ "name": "",
467
+ "type": "uint96"
468
+ }
469
+ ],
470
+ "stateMutability": "view",
471
+ "type": "function"
472
+ },
473
+ {
474
+ "inputs": [],
475
+ "name": "getOwner",
476
+ "outputs": [
477
+ {
478
+ "internalType": "address",
479
+ "name": "",
480
+ "type": "address"
481
+ }
482
+ ],
483
+ "stateMutability": "view",
484
+ "type": "function"
485
+ },
486
+ {
487
+ "inputs": [],
488
+ "name": "getProductNftId",
489
+ "outputs": [
490
+ {
491
+ "internalType": "NftId",
492
+ "name": "productNftId",
493
+ "type": "uint96"
494
+ }
495
+ ],
496
+ "stateMutability": "view",
497
+ "type": "function"
498
+ },
499
+ {
500
+ "inputs": [],
501
+ "name": "getProductService",
502
+ "outputs": [
503
+ {
504
+ "internalType": "contract IProductService",
505
+ "name": "",
506
+ "type": "address"
507
+ }
508
+ ],
509
+ "stateMutability": "view",
510
+ "type": "function"
511
+ },
512
+ {
513
+ "inputs": [],
514
+ "name": "getRegistry",
515
+ "outputs": [
516
+ {
517
+ "internalType": "contract IRegistry",
518
+ "name": "",
519
+ "type": "address"
520
+ }
521
+ ],
522
+ "stateMutability": "view",
523
+ "type": "function"
524
+ },
525
+ {
526
+ "inputs": [],
527
+ "name": "getRegistryAddress",
528
+ "outputs": [
529
+ {
530
+ "internalType": "address",
531
+ "name": "",
532
+ "type": "address"
533
+ }
534
+ ],
535
+ "stateMutability": "view",
536
+ "type": "function"
537
+ },
538
+ {
539
+ "inputs": [
540
+ {
541
+ "internalType": "ObjectType",
542
+ "name": "domain",
543
+ "type": "uint8"
544
+ }
545
+ ],
546
+ "name": "getServiceAddress",
547
+ "outputs": [
548
+ {
549
+ "internalType": "address",
550
+ "name": "service",
551
+ "type": "address"
552
+ }
553
+ ],
554
+ "stateMutability": "view",
555
+ "type": "function"
556
+ },
557
+ {
558
+ "inputs": [],
559
+ "name": "getToken",
560
+ "outputs": [
561
+ {
562
+ "internalType": "contract IERC20Metadata",
563
+ "name": "token",
564
+ "type": "address"
565
+ }
566
+ ],
567
+ "stateMutability": "view",
568
+ "type": "function"
569
+ },
570
+ {
571
+ "inputs": [],
572
+ "name": "getWallet",
573
+ "outputs": [
574
+ {
575
+ "internalType": "address",
576
+ "name": "walletAddress",
577
+ "type": "address"
578
+ }
579
+ ],
580
+ "stateMutability": "view",
581
+ "type": "function"
582
+ },
583
+ {
584
+ "inputs": [
585
+ {
586
+ "internalType": "address",
587
+ "name": "registry",
588
+ "type": "address"
589
+ },
590
+ {
591
+ "internalType": "NftId",
592
+ "name": "instanceNftId",
593
+ "type": "uint96"
594
+ },
595
+ {
596
+ "internalType": "string",
597
+ "name": "name",
598
+ "type": "string"
599
+ },
600
+ {
601
+ "internalType": "address",
602
+ "name": "token",
603
+ "type": "address"
604
+ },
605
+ {
606
+ "internalType": "ObjectType",
607
+ "name": "componentType",
608
+ "type": "uint8"
609
+ },
610
+ {
611
+ "internalType": "bool",
612
+ "name": "isInterceptor",
613
+ "type": "bool"
614
+ },
615
+ {
616
+ "internalType": "address",
617
+ "name": "initialOwner",
618
+ "type": "address"
619
+ },
620
+ {
621
+ "internalType": "bytes",
622
+ "name": "data",
623
+ "type": "bytes"
624
+ }
625
+ ],
626
+ "name": "initializeComponent",
627
+ "outputs": [],
628
+ "stateMutability": "nonpayable",
629
+ "type": "function"
630
+ },
631
+ {
632
+ "inputs": [],
633
+ "name": "initializeERC165",
634
+ "outputs": [],
635
+ "stateMutability": "nonpayable",
636
+ "type": "function"
637
+ },
638
+ {
639
+ "inputs": [
640
+ {
641
+ "internalType": "address",
642
+ "name": "initialOwner",
643
+ "type": "address"
644
+ },
645
+ {
646
+ "internalType": "address",
647
+ "name": "registryAddress",
648
+ "type": "address"
649
+ }
650
+ ],
651
+ "name": "initializeNftOwnable",
652
+ "outputs": [],
653
+ "stateMutability": "nonpayable",
654
+ "type": "function"
655
+ },
656
+ {
657
+ "inputs": [
658
+ {
659
+ "internalType": "address",
660
+ "name": "registryAddress",
661
+ "type": "address"
662
+ },
663
+ {
664
+ "internalType": "NftId",
665
+ "name": "parentNftId",
666
+ "type": "uint96"
667
+ },
668
+ {
669
+ "internalType": "ObjectType",
670
+ "name": "objectType",
671
+ "type": "uint8"
672
+ },
673
+ {
674
+ "internalType": "bool",
675
+ "name": "isInterceptor",
676
+ "type": "bool"
677
+ },
678
+ {
679
+ "internalType": "address",
680
+ "name": "initialOwner",
681
+ "type": "address"
682
+ },
683
+ {
684
+ "internalType": "bytes",
685
+ "name": "data",
686
+ "type": "bytes"
687
+ }
688
+ ],
689
+ "name": "initializeRegisterable",
690
+ "outputs": [],
691
+ "stateMutability": "nonpayable",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [
696
+ {
697
+ "internalType": "address",
698
+ "name": "registryAddress",
699
+ "type": "address"
700
+ }
701
+ ],
702
+ "name": "initializeRegistryLinked",
703
+ "outputs": [],
704
+ "stateMutability": "nonpayable",
705
+ "type": "function"
706
+ },
707
+ {
708
+ "inputs": [],
709
+ "name": "isConsumingScheduledOp",
710
+ "outputs": [
711
+ {
712
+ "internalType": "bytes4",
713
+ "name": "",
714
+ "type": "bytes4"
715
+ }
716
+ ],
717
+ "stateMutability": "view",
718
+ "type": "function"
719
+ },
720
+ {
721
+ "inputs": [],
722
+ "name": "isNftInterceptor",
723
+ "outputs": [
724
+ {
725
+ "internalType": "bool",
726
+ "name": "isInterceptor",
727
+ "type": "bool"
728
+ }
729
+ ],
730
+ "stateMutability": "view",
731
+ "type": "function"
732
+ },
733
+ {
734
+ "inputs": [],
735
+ "name": "linkToRegisteredNftId",
736
+ "outputs": [],
737
+ "stateMutability": "nonpayable",
738
+ "type": "function"
739
+ },
740
+ {
741
+ "inputs": [],
742
+ "name": "lock",
743
+ "outputs": [],
744
+ "stateMutability": "nonpayable",
745
+ "type": "function"
746
+ },
747
+ {
748
+ "inputs": [
749
+ {
750
+ "internalType": "address",
751
+ "name": "from",
752
+ "type": "address"
753
+ },
754
+ {
755
+ "internalType": "address",
756
+ "name": "to",
757
+ "type": "address"
758
+ },
759
+ {
760
+ "internalType": "uint256",
761
+ "name": "tokenId",
762
+ "type": "uint256"
763
+ }
764
+ ],
765
+ "name": "nftTransferFrom",
766
+ "outputs": [],
767
+ "stateMutability": "nonpayable",
768
+ "type": "function"
769
+ },
770
+ {
771
+ "inputs": [
772
+ {
773
+ "internalType": "bytes4",
774
+ "name": "interfaceId",
775
+ "type": "bytes4"
776
+ }
777
+ ],
778
+ "name": "registerInterface",
779
+ "outputs": [],
780
+ "stateMutability": "nonpayable",
781
+ "type": "function"
782
+ },
783
+ {
784
+ "inputs": [
785
+ {
786
+ "internalType": "address",
787
+ "name": "newAuthority",
788
+ "type": "address"
789
+ }
790
+ ],
791
+ "name": "setAuthority",
792
+ "outputs": [],
793
+ "stateMutability": "nonpayable",
794
+ "type": "function"
795
+ },
796
+ {
797
+ "inputs": [
798
+ {
799
+ "internalType": "NftId",
800
+ "name": "productNftId",
801
+ "type": "uint96"
802
+ }
803
+ ],
804
+ "name": "setProductNftId",
805
+ "outputs": [],
806
+ "stateMutability": "nonpayable",
807
+ "type": "function"
808
+ },
809
+ {
810
+ "inputs": [
811
+ {
812
+ "internalType": "address",
813
+ "name": "newWallet",
814
+ "type": "address"
815
+ }
816
+ ],
817
+ "name": "setWallet",
818
+ "outputs": [],
819
+ "stateMutability": "nonpayable",
820
+ "type": "function"
821
+ },
822
+ {
823
+ "inputs": [
824
+ {
825
+ "internalType": "bytes4",
826
+ "name": "interfaceId",
827
+ "type": "bytes4"
828
+ }
829
+ ],
830
+ "name": "supportsInterface",
831
+ "outputs": [
832
+ {
833
+ "internalType": "bool",
834
+ "name": "",
835
+ "type": "bool"
836
+ }
837
+ ],
838
+ "stateMutability": "view",
839
+ "type": "function"
840
+ },
841
+ {
842
+ "inputs": [],
843
+ "name": "unlock",
844
+ "outputs": [],
845
+ "stateMutability": "nonpayable",
846
+ "type": "function"
847
+ }
848
+ ],
849
+ "bytecode": "0x",
850
+ "deployedBytecode": "0x",
851
+ "linkReferences": {},
852
+ "deployedLinkReferences": {}
853
+ }