@etherisc/gif-next 0.0.2-cf606cd → 0.0.2-d288ca9-933

Sign up to get free protection for your applications and to get access to all the features.
Files changed (372) hide show
  1. package/README.md +291 -7
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/{instance/component/ComponentModule.sol/ComponentModule.json → components/BaseComponent.sol/BaseComponent.json} +149 -162
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +610 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  7. package/artifacts/contracts/{instance/component/IComponent.sol/IComponentModule.json → components/IBaseComponent.sol/IBaseComponent.json} +129 -107
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +152 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +249 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +157 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +598 -37
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +570 -47
  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/AccessManagedSimple.sol/AccessManagedSimple.dbg.json +4 -0
  53. package/artifacts/contracts/instance/AccessManagedSimple.sol/AccessManagedSimple.json +114 -0
  54. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.dbg.json +4 -0
  55. package/artifacts/contracts/instance/AccessManagerSimple.sol/AccessManagerSimple.json +1132 -0
  56. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +4 -0
  57. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +1082 -0
  58. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  59. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +247 -788
  60. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +421 -0
  62. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  63. package/artifacts/contracts/instance/Instance.sol/Instance.json +2994 -550
  64. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +4 -0
  65. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +930 -0
  66. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +4 -0
  67. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +1283 -0
  68. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +4 -0
  69. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +724 -0
  70. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +4 -0
  71. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +432 -0
  72. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  73. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +481 -0
  74. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  75. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  76. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  77. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +429 -0
  78. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  79. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  80. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  81. package/artifacts/contracts/instance/base/IService.sol/IService.json +421 -0
  82. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  83. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +502 -0
  84. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  85. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  86. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  87. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +468 -0
  88. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +4 -0
  89. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +211 -0
  90. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +4 -0
  91. package/artifacts/contracts/instance/{access/IAccess.sol/IAccess.json → module/IBundle.sol/IBundle.json} +2 -2
  92. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.json +10 -0
  94. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +4 -0
  95. package/artifacts/contracts/instance/{policy → module}/IPolicy.sol/IPolicy.json +1 -1
  96. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{pool/IPoolModule.sol/IPool.json → module/IRisk.sol/IRisk.json} +2 -2
  98. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +4 -0
  99. package/artifacts/contracts/instance/{component/IComponent.sol/IComponent.json → module/ISetup.sol/ISetup.json} +2 -2
  100. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +4 -0
  101. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.json +10 -0
  102. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  103. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +827 -0
  104. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  105. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +466 -0
  106. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  107. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +446 -0
  108. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  109. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +561 -0
  110. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  111. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +751 -0
  112. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  113. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +239 -2
  114. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  115. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +249 -84
  116. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  117. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +872 -0
  118. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  119. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  120. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  121. package/artifacts/contracts/registry/Registry.sol/Registry.json +451 -85
  122. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  123. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +1261 -0
  124. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  125. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +504 -0
  126. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  127. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  128. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  129. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  130. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  131. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  132. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  133. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +201 -0
  134. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  135. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  136. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  137. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  138. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  139. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +349 -0
  140. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  141. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +274 -0
  142. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  143. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.json +96 -0
  144. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  145. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  146. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  147. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  148. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  149. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  150. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  151. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +305 -0
  152. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  153. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  154. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  155. package/artifacts/contracts/test/TestService.sol/TestService.json +600 -0
  156. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  157. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +376 -0
  158. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  159. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  160. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  161. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +286 -0
  162. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  163. package/artifacts/contracts/test/Usdc.sol/USDC.json +376 -0
  164. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  165. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  166. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +2 -2
  168. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  170. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +4 -0
  171. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.json +104 -0
  172. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  173. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  174. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  175. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +125 -0
  176. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  177. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  178. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  179. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  180. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +4 -0
  181. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.json +100 -0
  182. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  183. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  184. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +4 -0
  185. package/artifacts/contracts/types/Referral.sol/ReferralLib.json +123 -0
  186. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  187. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  188. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  189. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +156 -0
  190. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  191. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  192. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  193. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +77 -2
  194. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  195. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  196. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/UFixed.sol/UFixedLib.json +479 -0
  198. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  199. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  200. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  202. package/contracts/components/BaseComponent.sol +86 -0
  203. package/contracts/components/Distribution.sol +166 -0
  204. package/contracts/components/IBaseComponent.sol +24 -0
  205. package/contracts/components/IDistributionComponent.sol +43 -0
  206. package/contracts/components/IPoolComponent.sol +62 -0
  207. package/contracts/components/IProductComponent.sol +35 -0
  208. package/contracts/components/Pool.sol +248 -18
  209. package/contracts/components/Product.sol +267 -36
  210. package/contracts/experiment/cloning/Cloner.sol +47 -0
  211. package/contracts/experiment/errors/Require.sol +10 -5
  212. package/contracts/experiment/errors/Revert.sol +13 -8
  213. package/contracts/experiment/inheritance/A.sol +8 -11
  214. package/contracts/experiment/inheritance/B.sol +10 -5
  215. package/contracts/experiment/inheritance/C.sol +11 -5
  216. package/contracts/experiment/inheritance/IA.sol +2 -7
  217. package/contracts/experiment/inheritance/IB.sol +3 -2
  218. package/contracts/experiment/inheritance/IC.sol +4 -3
  219. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  220. package/contracts/experiment/statemachine/ISM.sol +25 -0
  221. package/contracts/experiment/statemachine/SM.sol +57 -0
  222. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  223. package/contracts/experiment/types/TypeA.sol +14 -9
  224. package/contracts/experiment/types/TypeB.sol +14 -9
  225. package/contracts/instance/AccessManagedSimple.sol +122 -0
  226. package/contracts/instance/AccessManagerSimple.sol +692 -0
  227. package/contracts/instance/IAccessManagerSimple.sol +391 -0
  228. package/contracts/instance/IInstance.sol +23 -15
  229. package/contracts/instance/IInstanceService.sol +17 -0
  230. package/contracts/instance/Instance.sol +422 -44
  231. package/contracts/instance/InstanceAccessManager.sol +288 -0
  232. package/contracts/instance/InstanceReader.sol +290 -0
  233. package/contracts/instance/InstanceService.sol +136 -0
  234. package/contracts/instance/InstanceServiceManager.sol +56 -0
  235. package/contracts/instance/base/ComponentServiceBase.sol +49 -0
  236. package/contracts/instance/base/IInstanceBase.sol +23 -0
  237. package/contracts/instance/base/IKeyValueStore.sol +49 -0
  238. package/contracts/instance/base/ILifecycle.sol +30 -0
  239. package/contracts/instance/base/IService.sol +15 -0
  240. package/contracts/instance/base/KeyValueStore.sol +172 -0
  241. package/contracts/instance/base/Lifecycle.sol +100 -0
  242. package/contracts/instance/base/ServiceBase.sol +44 -0
  243. package/contracts/instance/module/IAccess.sol +38 -0
  244. package/contracts/instance/module/IBundle.sol +19 -0
  245. package/contracts/instance/module/IDistribution.sol +39 -0
  246. package/contracts/instance/module/IPolicy.sol +45 -0
  247. package/contracts/instance/module/IRisk.sol +11 -0
  248. package/contracts/instance/module/ISetup.sol +43 -0
  249. package/contracts/instance/module/ITreasury.sol +23 -0
  250. package/contracts/instance/service/ComponentOwnerService.sol +317 -0
  251. package/contracts/instance/service/IComponentOwnerService.sol +20 -0
  252. package/contracts/instance/service/IDistributionService.sol +12 -0
  253. package/contracts/instance/service/IPoolService.sol +37 -0
  254. package/contracts/instance/service/IProductService.sol +107 -0
  255. package/contracts/registry/ChainNft.sol +138 -109
  256. package/contracts/registry/IRegistry.sol +43 -56
  257. package/contracts/registry/IRegistryService.sol +35 -0
  258. package/contracts/registry/ITransferInterceptor.sol +6 -0
  259. package/contracts/registry/Registry.sol +363 -122
  260. package/contracts/registry/RegistryService.sol +439 -0
  261. package/contracts/registry/RegistryServiceManager.sol +64 -0
  262. package/contracts/shared/ContractDeployerLib.sol +72 -0
  263. package/contracts/shared/ERC165.sol +21 -0
  264. package/contracts/shared/INftOwnable.sol +22 -0
  265. package/contracts/shared/IRegisterable.sol +17 -0
  266. package/contracts/shared/IVersionable.sol +96 -0
  267. package/contracts/shared/NftOwnable.sol +136 -0
  268. package/contracts/shared/ProxyManager.sol +94 -0
  269. package/contracts/shared/Registerable.sol +89 -0
  270. package/contracts/shared/TokenHandler.sol +27 -0
  271. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  272. package/contracts/shared/Versionable.sol +147 -0
  273. package/contracts/test/TestFee.sol +25 -0
  274. package/contracts/test/TestRegisterable.sol +18 -0
  275. package/contracts/test/TestRoleId.sol +14 -0
  276. package/contracts/test/TestService.sol +26 -0
  277. package/contracts/test/TestToken.sol +26 -0
  278. package/contracts/test/TestVersion.sol +44 -0
  279. package/contracts/test/TestVersionable.sol +17 -0
  280. package/contracts/test/Usdc.sol +26 -0
  281. package/contracts/types/AddressSet.sol +58 -0
  282. package/contracts/types/Blocknumber.sol +76 -18
  283. package/contracts/types/ChainId.sol +18 -10
  284. package/contracts/types/DistributorType.sol +55 -0
  285. package/contracts/types/Fee.sol +56 -0
  286. package/contracts/types/Key32.sol +50 -0
  287. package/contracts/types/NftId.sol +48 -11
  288. package/contracts/types/NftIdSet.sol +60 -0
  289. package/contracts/types/NumberId.sol +52 -0
  290. package/contracts/types/ObjectType.sol +152 -0
  291. package/contracts/types/Referral.sol +85 -0
  292. package/contracts/types/RiskId.sol +43 -0
  293. package/contracts/types/RoleId.sol +82 -0
  294. package/contracts/types/StateId.sol +101 -0
  295. package/contracts/types/Timestamp.sol +89 -17
  296. package/contracts/types/UFixed.sol +189 -75
  297. package/contracts/types/Version.sol +104 -0
  298. package/package.json +21 -6
  299. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  300. package/artifacts/contracts/components/Component.sol/Component.json +0 -179
  301. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  302. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  303. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  304. package/artifacts/contracts/components/IPool.sol/IPoolComponent.json +0 -179
  305. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  306. package/artifacts/contracts/components/IProduct.sol/IProductComponent.json +0 -192
  307. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  308. package/artifacts/contracts/instance/access/Access.sol/AccessModule.json +0 -400
  309. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  310. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  311. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  312. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  313. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  314. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  315. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.json +0 -336
  316. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  317. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  318. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
  319. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  320. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  321. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  322. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  323. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  324. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  325. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  326. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.json +0 -24
  327. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  328. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  329. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.json +0 -231
  330. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  331. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.json +0 -231
  332. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  333. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  334. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.json +0 -149
  335. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  336. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.json +0 -162
  337. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  338. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  339. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  340. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.json +0 -114
  341. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  342. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  343. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  344. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
  345. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +0 -4
  346. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +0 -452
  347. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  348. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.json +0 -24
  349. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  350. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  351. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  352. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  353. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  354. package/artifacts/contracts/registry/Registry.sol/Registerable.json +0 -166
  355. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  356. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  357. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  358. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +0 -453
  359. package/contracts/components/Component.sol +0 -62
  360. package/contracts/components/IPool.sol +0 -9
  361. package/contracts/components/IProduct.sol +0 -12
  362. package/contracts/instance/access/Access.sol +0 -218
  363. package/contracts/instance/access/IAccess.sol +0 -83
  364. package/contracts/instance/component/ComponentModule.sol +0 -248
  365. package/contracts/instance/component/IComponent.sol +0 -95
  366. package/contracts/instance/policy/IPolicy.sol +0 -66
  367. package/contracts/instance/policy/PolicyModule.sol +0 -107
  368. package/contracts/instance/pool/IPoolModule.sol +0 -41
  369. package/contracts/instance/pool/PoolModule.sol +0 -86
  370. package/contracts/instance/product/IProductService.sol +0 -46
  371. package/contracts/instance/product/ProductService.sol +0 -108
  372. package/contracts/registry/IChainNft.sol +0 -18
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/06a31ccab61da786e7ce630a83bdee6b.json"
4
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ContractDeployerLib",
4
+ "sourceName": "contracts/shared/ContractDeployerLib.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "bytes32",
10
+ "name": "expectedHash",
11
+ "type": "bytes32"
12
+ },
13
+ {
14
+ "internalType": "bytes32",
15
+ "name": "actualHash",
16
+ "type": "bytes32"
17
+ }
18
+ ],
19
+ "name": "ErrorCreationCodeHashMismatch",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "anonymous": false,
24
+ "inputs": [
25
+ {
26
+ "indexed": false,
27
+ "internalType": "address",
28
+ "name": "contractAddress",
29
+ "type": "address"
30
+ }
31
+ ],
32
+ "name": "LogContractDeployed",
33
+ "type": "event"
34
+ },
35
+ {
36
+ "inputs": [
37
+ {
38
+ "internalType": "bytes",
39
+ "name": "byteCodeWithInitCode",
40
+ "type": "bytes"
41
+ },
42
+ {
43
+ "internalType": "bytes",
44
+ "name": "encodedConstructorArguments",
45
+ "type": "bytes"
46
+ }
47
+ ],
48
+ "name": "getCreationCode",
49
+ "outputs": [
50
+ {
51
+ "internalType": "bytes",
52
+ "name": "creationCode",
53
+ "type": "bytes"
54
+ }
55
+ ],
56
+ "stateMutability": "pure",
57
+ "type": "function"
58
+ },
59
+ {
60
+ "inputs": [
61
+ {
62
+ "internalType": "bytes",
63
+ "name": "creationCode",
64
+ "type": "bytes"
65
+ }
66
+ ],
67
+ "name": "getHash",
68
+ "outputs": [
69
+ {
70
+ "internalType": "bytes32",
71
+ "name": "hash",
72
+ "type": "bytes32"
73
+ }
74
+ ],
75
+ "stateMutability": "pure",
76
+ "type": "function"
77
+ },
78
+ {
79
+ "inputs": [
80
+ {
81
+ "internalType": "bytes",
82
+ "name": "creationCode",
83
+ "type": "bytes"
84
+ },
85
+ {
86
+ "internalType": "bytes32",
87
+ "name": "expectedHash",
88
+ "type": "bytes32"
89
+ }
90
+ ],
91
+ "name": "matchesWithHash",
92
+ "outputs": [
93
+ {
94
+ "internalType": "bool",
95
+ "name": "isMatching",
96
+ "type": "bool"
97
+ }
98
+ ],
99
+ "stateMutability": "pure",
100
+ "type": "function"
101
+ }
102
+ ],
103
+ "bytecode": "0x61041461003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80634af63f021461005b5780635617a52414610098578063b00140aa146100b8578063d77767a7146100df575b600080fd5b81801561006757600080fd5b5061007b610076366004610272565b61010c565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ab6100a63660046102b7565b6101a3565b60405161008f919061033f565b6100d16100c6366004610372565b805160209091012090565b60405190815260200161008f565b6100fc6100ed366004610272565b81516020909201919091201490565b604051901515815260200161008f565b6000811561014b57825160208401208281146101495760405163063ad37560e11b8152600481018490526024810182905260440160405180910390fd5b505b8251602084016000f09050803b61016157600080fd5b6040516001600160a01b03821681527ff40020e78c6e173ba88aa2c344ed520fab87fe67b9e5aa34626af9d86a3cd47b9060200160405180910390a192915050565b606082826040516020016101b89291906103af565b604051602081830303815290604052905092915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126101f657600080fd5b813567ffffffffffffffff80821115610211576102116101cf565b604051601f8301601f19908116603f01168101908282118183101715610239576102396101cf565b8160405283815286602085880101111561025257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561028557600080fd5b823567ffffffffffffffff81111561029c57600080fd5b6102a8858286016101e5565b95602094909401359450505050565b600080604083850312156102ca57600080fd5b823567ffffffffffffffff808211156102e257600080fd5b6102ee868387016101e5565b9350602085013591508082111561030457600080fd5b50610311858286016101e5565b9150509250929050565b60005b8381101561033657818101518382015260200161031e565b50506000910152565b602081526000825180602084015261035e81604085016020870161031b565b601f01601f19169190910160400192915050565b60006020828403121561038457600080fd5b813567ffffffffffffffff81111561039b57600080fd5b6103a7848285016101e5565b949350505050565b600083516103c181846020880161031b565b8351908301906103d581836020880161031b565b0194935050505056fea2646970667358221220f3f33921365a3b9b449ba2939e5c799ed23f2f5ebad2222e7708291ee20808a064736f6c63430008140033",
104
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600436106100565760003560e01c80634af63f021461005b5780635617a52414610098578063b00140aa146100b8578063d77767a7146100df575b600080fd5b81801561006757600080fd5b5061007b610076366004610272565b61010c565b6040516001600160a01b0390911681526020015b60405180910390f35b6100ab6100a63660046102b7565b6101a3565b60405161008f919061033f565b6100d16100c6366004610372565b805160209091012090565b60405190815260200161008f565b6100fc6100ed366004610272565b81516020909201919091201490565b604051901515815260200161008f565b6000811561014b57825160208401208281146101495760405163063ad37560e11b8152600481018490526024810182905260440160405180910390fd5b505b8251602084016000f09050803b61016157600080fd5b6040516001600160a01b03821681527ff40020e78c6e173ba88aa2c344ed520fab87fe67b9e5aa34626af9d86a3cd47b9060200160405180910390a192915050565b606082826040516020016101b89291906103af565b604051602081830303815290604052905092915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126101f657600080fd5b813567ffffffffffffffff80821115610211576102116101cf565b604051601f8301601f19908116603f01168101908282118183101715610239576102396101cf565b8160405283815286602085880101111561025257600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561028557600080fd5b823567ffffffffffffffff81111561029c57600080fd5b6102a8858286016101e5565b95602094909401359450505050565b600080604083850312156102ca57600080fd5b823567ffffffffffffffff808211156102e257600080fd5b6102ee868387016101e5565b9350602085013591508082111561030457600080fd5b50610311858286016101e5565b9150509250929050565b60005b8381101561033657818101518382015260200161031e565b50506000910152565b602081526000825180602084015261035e81604085016020870161031b565b601f01601f19169190910160400192915050565b60006020828403121561038457600080fd5b813567ffffffffffffffff81111561039b57600080fd5b6103a7848285016101e5565b949350505050565b600083516103c181846020880161031b565b8351908301906103d581836020880161031b565b0194935050505056fea2646970667358221220f3f33921365a3b9b449ba2939e5c799ed23f2f5ebad2222e7708291ee20808a064736f6c63430008140033",
105
+ "linkReferences": {},
106
+ "deployedLinkReferences": {}
107
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/06a31ccab61da786e7ce630a83bdee6b.json"
4
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ERC165",
4
+ "sourceName": "contracts/shared/ERC165.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "inputs": [
13
+ {
14
+ "internalType": "bytes4",
15
+ "name": "interfaceId",
16
+ "type": "bytes4"
17
+ }
18
+ ],
19
+ "name": "supportsInterface",
20
+ "outputs": [
21
+ {
22
+ "internalType": "bool",
23
+ "name": "",
24
+ "type": "bool"
25
+ }
26
+ ],
27
+ "stateMutability": "view",
28
+ "type": "function"
29
+ }
30
+ ],
31
+ "bytecode": "0x608060405234801561001057600080fd5b506301ffc9a760e01b60009081526020527f67be87c3ff9960ca1e9cfac5cab2ff4747269cf9ed20c9b7306235ac35a491c5805460ff1916600117905560d08061005b6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806301ffc9a714602d575b600080fd5b60576038366004606b565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b600060208284031215607c57600080fd5b81356001600160e01b031981168114609357600080fd5b939250505056fea26469706673582212203d6643a3f720e77d565ad25ad8378e2191a1bb682cd6b32b5a6579165efd809364736f6c63430008140033",
32
+ "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c806301ffc9a714602d575b600080fd5b60576038366004606b565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200160405180910390f35b600060208284031215607c57600080fd5b81356001600160e01b031981168114609357600080fd5b939250505056fea26469706673582212203d6643a3f720e77d565ad25ad8378e2191a1bb682cd6b32b5a6579165efd809364736f6c63430008140033",
33
+ "linkReferences": {},
34
+ "deployedLinkReferences": {}
35
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/06a31ccab61da786e7ce630a83bdee6b.json"
4
+ }
@@ -0,0 +1,127 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "INftOwnable",
4
+ "sourceName": "contracts/shared/INftOwnable.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorAlreadyLinked",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "contractAddress",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorContractNotRegistered",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "account",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "ErrorNotOwner",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "registryAddress",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorNotRegistry",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "ErrorRegistryAddressZero",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "registry",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorRegistryAlreadyInitialized",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorRegistryNotInitialized",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "getNftId",
79
+ "outputs": [
80
+ {
81
+ "internalType": "NftId",
82
+ "name": "",
83
+ "type": "uint96"
84
+ }
85
+ ],
86
+ "stateMutability": "view",
87
+ "type": "function"
88
+ },
89
+ {
90
+ "inputs": [],
91
+ "name": "getOwner",
92
+ "outputs": [
93
+ {
94
+ "internalType": "address",
95
+ "name": "",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "stateMutability": "view",
100
+ "type": "function"
101
+ },
102
+ {
103
+ "inputs": [],
104
+ "name": "getRegistry",
105
+ "outputs": [
106
+ {
107
+ "internalType": "contract IRegistry",
108
+ "name": "",
109
+ "type": "address"
110
+ }
111
+ ],
112
+ "stateMutability": "view",
113
+ "type": "function"
114
+ },
115
+ {
116
+ "inputs": [],
117
+ "name": "linkToRegisteredNftId",
118
+ "outputs": [],
119
+ "stateMutability": "nonpayable",
120
+ "type": "function"
121
+ }
122
+ ],
123
+ "bytecode": "0x",
124
+ "deployedBytecode": "0x",
125
+ "linkReferences": {},
126
+ "deployedLinkReferences": {}
127
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/06a31ccab61da786e7ce630a83bdee6b.json"
4
+ }
@@ -0,0 +1,201 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IRegisterable",
4
+ "sourceName": "contracts/shared/IRegisterable.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorAlreadyLinked",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "contractAddress",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorContractNotRegistered",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "account",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "ErrorNotOwner",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "registryAddress",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorNotRegistry",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "ErrorRegistryAddressZero",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "registry",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorRegistryAlreadyInitialized",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorRegistryNotInitialized",
74
+ "type": "error"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "getInitialInfo",
79
+ "outputs": [
80
+ {
81
+ "components": [
82
+ {
83
+ "internalType": "NftId",
84
+ "name": "nftId",
85
+ "type": "uint96"
86
+ },
87
+ {
88
+ "internalType": "NftId",
89
+ "name": "parentNftId",
90
+ "type": "uint96"
91
+ },
92
+ {
93
+ "internalType": "ObjectType",
94
+ "name": "objectType",
95
+ "type": "uint8"
96
+ },
97
+ {
98
+ "internalType": "bool",
99
+ "name": "isInterceptor",
100
+ "type": "bool"
101
+ },
102
+ {
103
+ "internalType": "address",
104
+ "name": "objectAddress",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "internalType": "address",
109
+ "name": "initialOwner",
110
+ "type": "address"
111
+ },
112
+ {
113
+ "internalType": "bytes",
114
+ "name": "data",
115
+ "type": "bytes"
116
+ }
117
+ ],
118
+ "internalType": "struct IRegistry.ObjectInfo",
119
+ "name": "",
120
+ "type": "tuple"
121
+ },
122
+ {
123
+ "internalType": "bytes",
124
+ "name": "data",
125
+ "type": "bytes"
126
+ }
127
+ ],
128
+ "stateMutability": "view",
129
+ "type": "function"
130
+ },
131
+ {
132
+ "inputs": [],
133
+ "name": "getNftId",
134
+ "outputs": [
135
+ {
136
+ "internalType": "NftId",
137
+ "name": "",
138
+ "type": "uint96"
139
+ }
140
+ ],
141
+ "stateMutability": "view",
142
+ "type": "function"
143
+ },
144
+ {
145
+ "inputs": [],
146
+ "name": "getOwner",
147
+ "outputs": [
148
+ {
149
+ "internalType": "address",
150
+ "name": "",
151
+ "type": "address"
152
+ }
153
+ ],
154
+ "stateMutability": "view",
155
+ "type": "function"
156
+ },
157
+ {
158
+ "inputs": [],
159
+ "name": "getRegistry",
160
+ "outputs": [
161
+ {
162
+ "internalType": "contract IRegistry",
163
+ "name": "",
164
+ "type": "address"
165
+ }
166
+ ],
167
+ "stateMutability": "view",
168
+ "type": "function"
169
+ },
170
+ {
171
+ "inputs": [],
172
+ "name": "linkToRegisteredNftId",
173
+ "outputs": [],
174
+ "stateMutability": "nonpayable",
175
+ "type": "function"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "bytes4",
181
+ "name": "interfaceId",
182
+ "type": "bytes4"
183
+ }
184
+ ],
185
+ "name": "supportsInterface",
186
+ "outputs": [
187
+ {
188
+ "internalType": "bool",
189
+ "name": "",
190
+ "type": "bool"
191
+ }
192
+ ],
193
+ "stateMutability": "view",
194
+ "type": "function"
195
+ }
196
+ ],
197
+ "bytecode": "0x",
198
+ "deployedBytecode": "0x",
199
+ "linkReferences": {},
200
+ "deployedLinkReferences": {}
201
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/06a31ccab61da786e7ce630a83bdee6b.json"
4
+ }