@etherisc/gif-next 0.0.2-8a352ce → 0.0.2-8d47fa1-080

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 (387) hide show
  1. package/README.md +193 -6
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +4 -0
  3. package/artifacts/contracts/components/{IProduct.sol/IProductComponent.json → BaseComponent.sol/BaseComponent.json} +88 -67
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +4 -0
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +445 -0
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +4 -0
  7. package/artifacts/contracts/components/{IPool.sol/IPoolComponent.json → IBaseComponent.sol/IBaseComponent.json} +69 -71
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +4 -0
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +343 -0
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +4 -0
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +474 -0
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +4 -0
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +373 -0
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +445 -56
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +324 -53
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Require.sol/Require.json +2 -2
  20. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.json +2 -2
  22. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/A.json +2 -2
  24. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.json +2 -2
  26. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +4 -0
  33. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.json +59 -0
  34. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +4 -0
  35. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.json +124 -0
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +4 -0
  37. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.json +74 -0
  38. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +4 -0
  39. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.json +124 -0
  40. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +4 -0
  41. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.json +207 -0
  42. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  43. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.json +2 -2
  44. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  45. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.json +2 -2
  46. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  47. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +1575 -295
  48. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +4 -0
  49. package/artifacts/contracts/instance/{component/IComponent.sol → IInstanceLinked.sol}/IInstanceLinked.json +1 -1
  50. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  51. package/artifacts/contracts/instance/Instance.sol/Instance.json +1888 -376
  52. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +4 -0
  53. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +393 -0
  54. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +4 -0
  55. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +113 -0
  56. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.json +560 -0
  58. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +4 -0
  59. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.json +115 -0
  60. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +4 -0
  61. package/artifacts/contracts/instance/{component/ComponentModule.sol/ComponentModule.json → base/IService.sol/IService.json} +171 -154
  62. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +4 -0
  63. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +456 -0
  64. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +4 -0
  65. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.json +710 -0
  66. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +4 -0
  67. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.json +169 -0
  68. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +4 -0
  69. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.json +10 -0
  70. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +4 -0
  71. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +380 -0
  72. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +4 -0
  73. package/artifacts/contracts/instance/{access → module/access}/Access.sol/AccessModule.json +85 -152
  74. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +4 -0
  75. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccess.json +1 -1
  76. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +4 -0
  77. package/artifacts/contracts/instance/{access → module/access}/IAccess.sol/IAccessModule.json +96 -99
  78. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +4 -0
  79. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.json +297 -0
  80. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +4 -0
  81. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.json +10 -0
  82. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +4 -0
  83. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.json +297 -0
  84. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +4 -0
  85. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.json +117 -0
  86. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +4 -0
  87. package/artifacts/contracts/instance/{component → module/component}/IComponent.sol/IComponent.json +1 -1
  88. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +4 -0
  89. package/artifacts/contracts/instance/{product/IProductService.sol/IProductService.json → module/component/IComponent.sol/IComponentModule.json} +56 -53
  90. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +4 -0
  91. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +10 -0
  92. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +4 -0
  93. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.json +10 -0
  94. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +4 -0
  95. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.json +10 -0
  96. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +4 -0
  97. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicy.json +1 -1
  98. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +4 -0
  99. package/artifacts/contracts/instance/{policy → module/policy}/IPolicy.sol/IPolicyModule.json +159 -106
  100. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +4 -0
  101. package/artifacts/contracts/instance/{policy → module/policy}/PolicyModule.sol/PolicyModule.json +159 -106
  102. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +4 -0
  103. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPool.json +1 -1
  104. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +4 -0
  105. package/artifacts/contracts/instance/{pool → module/pool}/IPoolModule.sol/IPoolModule.json +74 -59
  106. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +4 -0
  107. package/artifacts/contracts/instance/{pool → module/pool}/PoolModule.sol/PoolModule.json +64 -62
  108. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +4 -0
  109. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.json +10 -0
  110. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +4 -0
  111. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.json +113 -0
  112. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +4 -0
  113. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +131 -0
  114. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +4 -0
  115. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.json +10 -0
  116. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +4 -0
  117. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +638 -0
  118. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +4 -0
  119. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +76 -0
  120. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +4 -0
  121. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +638 -0
  122. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +4 -0
  123. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +690 -0
  124. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +4 -0
  125. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +526 -0
  126. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +4 -0
  127. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +389 -0
  128. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +4 -0
  129. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +369 -0
  130. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +4 -0
  131. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +484 -0
  132. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +4 -0
  133. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +674 -0
  134. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +4 -0
  135. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +649 -0
  136. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +4 -0
  137. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +964 -0
  138. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  139. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +194 -2
  140. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  141. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  142. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  143. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +364 -72
  144. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +4 -0
  145. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +24 -0
  146. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  147. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
  148. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  149. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  150. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  151. package/artifacts/contracts/registry/Registry.sol/Registry.json +570 -82
  152. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.dbg.json +4 -0
  153. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.json +344 -0
  154. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  155. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +861 -0
  156. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +4 -0
  157. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +35 -0
  158. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +4 -0
  159. package/artifacts/contracts/{registry/IRegistry.sol → shared/IOwnable.sol}/IOwnable.json +1 -1
  160. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +4 -0
  161. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +124 -0
  162. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +4 -0
  163. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +205 -0
  164. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  165. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +310 -0
  166. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +4 -0
  167. package/artifacts/contracts/{registry/Registry.sol → shared/Registerable.sol}/Registerable.json +71 -77
  168. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  169. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +129 -0
  170. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +4 -0
  171. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +228 -0
  172. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +4 -0
  173. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +445 -0
  174. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +4 -0
  175. package/artifacts/contracts/test/TestFee.sol/TestFee.json +119 -0
  176. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +4 -0
  177. package/artifacts/contracts/test/TestPool.sol/TestPool.json +602 -0
  178. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +4 -0
  179. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +632 -0
  180. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +4 -0
  181. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +191 -0
  182. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +4 -0
  183. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +116 -0
  184. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +4 -0
  185. package/artifacts/contracts/test/TestService.sol/TestService.json +472 -0
  186. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +4 -0
  187. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +338 -0
  188. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +4 -0
  189. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +218 -0
  190. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +4 -0
  191. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +270 -0
  192. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +4 -0
  193. package/artifacts/contracts/test/Usdc.sol/USDC.json +338 -0
  194. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +4 -0
  195. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.json +10 -0
  196. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +4 -0
  197. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.json +174 -0
  198. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  199. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.json +2 -2
  200. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +4 -0
  201. package/artifacts/contracts/types/Fee.sol/FeeLib.json +257 -0
  202. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +4 -0
  203. package/artifacts/contracts/types/Key32.sol/Key32Lib.json +111 -0
  204. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  205. package/artifacts/contracts/types/NftId.sol/NftIdLib.json +65 -4
  206. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +4 -0
  207. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.json +10 -0
  208. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +4 -0
  209. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.json +92 -0
  210. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +4 -0
  211. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.json +99 -0
  212. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +4 -0
  213. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.json +86 -0
  214. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +4 -0
  215. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +30 -0
  216. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +4 -0
  217. package/artifacts/contracts/types/StateId.sol/StateIdLib.json +92 -0
  218. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +4 -0
  219. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.json +236 -0
  220. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +4 -0
  221. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.json +479 -0
  222. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +4 -0
  223. package/artifacts/contracts/types/Version.sol/VersionLib.json +177 -0
  224. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +4 -0
  225. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +30 -0
  226. package/contracts/components/BaseComponent.sol +79 -0
  227. package/contracts/components/Distribution.sol +155 -0
  228. package/contracts/components/IBaseComponent.sol +19 -0
  229. package/contracts/components/IDistributionComponent.sol +47 -0
  230. package/contracts/components/IPoolComponent.sol +65 -0
  231. package/contracts/components/IProductComponent.sol +39 -0
  232. package/contracts/components/Pool.sol +235 -18
  233. package/contracts/components/Product.sol +268 -35
  234. package/contracts/experiment/errors/Require.sol +10 -5
  235. package/contracts/experiment/errors/Revert.sol +13 -8
  236. package/contracts/experiment/inheritance/A.sol +8 -11
  237. package/contracts/experiment/inheritance/B.sol +10 -5
  238. package/contracts/experiment/inheritance/C.sol +11 -5
  239. package/contracts/experiment/inheritance/IA.sol +2 -7
  240. package/contracts/experiment/inheritance/IB.sol +3 -2
  241. package/contracts/experiment/inheritance/IC.sol +4 -3
  242. package/contracts/experiment/statemachine/Dummy.sol +27 -0
  243. package/contracts/experiment/statemachine/ISM.sol +25 -0
  244. package/contracts/experiment/statemachine/SM.sol +57 -0
  245. package/contracts/experiment/statemachine/SimpleStateMachine.sol +31 -0
  246. package/contracts/experiment/types/TypeA.sol +14 -9
  247. package/contracts/experiment/types/TypeB.sol +14 -9
  248. package/contracts/instance/IInstance.sol +42 -8
  249. package/contracts/instance/IInstanceLinked.sol +8 -0
  250. package/contracts/instance/Instance.sol +62 -41
  251. package/contracts/instance/base/ComponentServiceBase.sol +49 -0
  252. package/contracts/instance/base/IInstanceBase.sol +23 -0
  253. package/contracts/instance/base/IKeyValueStore.sol +50 -0
  254. package/contracts/instance/base/ILifecycle.sol +30 -0
  255. package/contracts/instance/base/IService.sol +15 -0
  256. package/contracts/instance/base/InstanceBase.sol +89 -0
  257. package/contracts/instance/base/KeyValueStore.sol +161 -0
  258. package/contracts/instance/base/Lifecycle.sol +100 -0
  259. package/contracts/instance/base/ModuleBase.sol +57 -0
  260. package/contracts/instance/base/ServiceBase.sol +43 -0
  261. package/contracts/instance/module/access/Access.sol +149 -0
  262. package/contracts/instance/module/access/IAccess.sol +53 -0
  263. package/contracts/instance/module/bundle/BundleModule.sol +134 -0
  264. package/contracts/instance/module/bundle/IBundle.sol +53 -0
  265. package/contracts/instance/module/component/ComponentModule.sol +71 -0
  266. package/contracts/instance/module/component/IComponent.sol +28 -0
  267. package/contracts/instance/module/distribution/DistributionModule.sol +17 -0
  268. package/contracts/instance/module/distribution/IDistribution.sol +10 -0
  269. package/contracts/instance/module/policy/IPolicy.sol +63 -0
  270. package/contracts/instance/module/policy/PolicyModule.sol +91 -0
  271. package/contracts/instance/module/pool/IPoolModule.sol +41 -0
  272. package/contracts/instance/module/pool/PoolModule.sol +95 -0
  273. package/contracts/instance/module/risk/IRisk.sol +26 -0
  274. package/contracts/instance/module/risk/RiskModule.sol +62 -0
  275. package/contracts/instance/module/treasury/ITreasury.sol +84 -0
  276. package/contracts/instance/module/treasury/TokenHandler.sol +48 -0
  277. package/contracts/instance/module/treasury/TreasuryModule.sol +131 -0
  278. package/contracts/instance/service/ComponentOwnerService.sol +272 -0
  279. package/contracts/instance/service/DistributionService.sol +54 -0
  280. package/contracts/instance/service/IComponentOwnerService.sol +20 -0
  281. package/contracts/instance/service/IDistributionService.sol +12 -0
  282. package/contracts/instance/service/IPoolService.sol +37 -0
  283. package/contracts/instance/service/IProductService.sol +107 -0
  284. package/contracts/instance/service/PoolService.sol +149 -0
  285. package/contracts/instance/service/ProductService.sol +509 -0
  286. package/contracts/registry/ChainNft.sol +111 -97
  287. package/contracts/registry/IChainNft.sol +13 -9
  288. package/contracts/registry/IRegistry.sol +61 -56
  289. package/contracts/registry/IRegistryLinked.sol +8 -0
  290. package/contracts/registry/IRegistryService.sol +29 -0
  291. package/contracts/registry/ITransferInterceptor.sol +6 -0
  292. package/contracts/registry/Registry.sol +443 -120
  293. package/contracts/registry/RegistryInstaller.sol +100 -0
  294. package/contracts/registry/RegistryService.sol +383 -0
  295. package/contracts/shared/ERC165.sol +21 -0
  296. package/contracts/shared/IOwnable.sol +6 -0
  297. package/contracts/shared/IRegisterable.sol +22 -0
  298. package/contracts/shared/IVersionable.sol +96 -0
  299. package/contracts/shared/ProxyManager.sol +115 -0
  300. package/contracts/shared/Registerable.sol +117 -0
  301. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  302. package/contracts/shared/Versionable.sol +147 -0
  303. package/contracts/test/TestDistribution.sol +22 -0
  304. package/contracts/test/TestFee.sol +25 -0
  305. package/contracts/test/TestPool.sol +27 -0
  306. package/contracts/test/TestProduct.sol +74 -0
  307. package/contracts/test/TestRegisterable.sol +18 -0
  308. package/contracts/test/TestRoleId.sol +14 -0
  309. package/contracts/test/TestService.sol +26 -0
  310. package/contracts/test/TestToken.sol +26 -0
  311. package/contracts/test/TestVersion.sol +44 -0
  312. package/contracts/test/TestVersionable.sol +17 -0
  313. package/contracts/test/Usdc.sol +26 -0
  314. package/contracts/types/AddressSet.sol +58 -0
  315. package/contracts/types/Blocknumber.sol +118 -0
  316. package/contracts/types/ChainId.sol +18 -10
  317. package/contracts/types/Fee.sol +56 -0
  318. package/contracts/types/Key32.sol +45 -0
  319. package/contracts/types/NftId.sol +48 -11
  320. package/contracts/types/NftIdSet.sol +60 -0
  321. package/contracts/types/ObjectType.sol +131 -0
  322. package/contracts/types/ReferralId.sol +48 -0
  323. package/contracts/types/RiskId.sol +43 -0
  324. package/contracts/types/RoleId.sol +38 -0
  325. package/contracts/types/StateId.sol +101 -0
  326. package/contracts/types/Timestamp.sol +123 -0
  327. package/contracts/types/UFixed.sol +209 -0
  328. package/contracts/types/Version.sol +104 -0
  329. package/package.json +19 -5
  330. package/artifacts/contracts/components/Component.sol/Component.dbg.json +0 -4
  331. package/artifacts/contracts/components/Component.sol/Component.json +0 -179
  332. package/artifacts/contracts/components/Component.sol/InstanceLinked.dbg.json +0 -4
  333. package/artifacts/contracts/components/Component.sol/InstanceLinked.json +0 -35
  334. package/artifacts/contracts/components/IPool.sol/IPoolComponent.dbg.json +0 -4
  335. package/artifacts/contracts/components/IProduct.sol/IProductComponent.dbg.json +0 -4
  336. package/artifacts/contracts/instance/access/Access.sol/AccessModule.dbg.json +0 -4
  337. package/artifacts/contracts/instance/access/IAccess.sol/IAccess.dbg.json +0 -4
  338. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.dbg.json +0 -4
  339. package/artifacts/contracts/instance/access/IAccess.sol/IAccessCheckRole.json +0 -35
  340. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.dbg.json +0 -4
  341. package/artifacts/contracts/instance/access/IAccess.sol/IAccessComponentTypeRoles.json +0 -50
  342. package/artifacts/contracts/instance/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  343. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentModule.dbg.json +0 -4
  344. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.dbg.json +0 -4
  345. package/artifacts/contracts/instance/component/ComponentModule.sol/ComponentOwnerService.json +0 -147
  346. package/artifacts/contracts/instance/component/IComponent.sol/IComponent.dbg.json +0 -4
  347. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.dbg.json +0 -4
  348. package/artifacts/contracts/instance/component/IComponent.sol/IComponentContract.json +0 -179
  349. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.dbg.json +0 -4
  350. package/artifacts/contracts/instance/component/IComponent.sol/IComponentModule.json +0 -245
  351. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.dbg.json +0 -4
  352. package/artifacts/contracts/instance/component/IComponent.sol/IComponentOwnerService.json +0 -94
  353. package/artifacts/contracts/instance/component/IComponent.sol/IInstanceLinked.dbg.json +0 -4
  354. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicy.dbg.json +0 -4
  355. package/artifacts/contracts/instance/policy/IPolicy.sol/IPolicyModule.dbg.json +0 -4
  356. package/artifacts/contracts/instance/policy/PolicyModule.sol/PolicyModule.dbg.json +0 -4
  357. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPool.dbg.json +0 -4
  358. package/artifacts/contracts/instance/pool/IPoolModule.sol/IPoolModule.dbg.json +0 -4
  359. package/artifacts/contracts/instance/pool/PoolModule.sol/PoolModule.dbg.json +0 -4
  360. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.dbg.json +0 -4
  361. package/artifacts/contracts/instance/product/IProductService.sol/IProductModule.json +0 -75
  362. package/artifacts/contracts/instance/product/IProductService.sol/IProductService.dbg.json +0 -4
  363. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.dbg.json +0 -4
  364. package/artifacts/contracts/instance/product/ProductService.sol/ProductModule.json +0 -75
  365. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.dbg.json +0 -4
  366. package/artifacts/contracts/instance/product/ProductService.sol/ProductService.json +0 -167
  367. package/artifacts/contracts/registry/IRegistry.sol/IOwnable.dbg.json +0 -4
  368. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.dbg.json +0 -4
  369. package/artifacts/contracts/registry/IRegistry.sol/IRegisterable.json +0 -166
  370. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.dbg.json +0 -4
  371. package/artifacts/contracts/registry/IRegistry.sol/IRegistryLinked.json +0 -49
  372. package/artifacts/contracts/registry/Registry.sol/Registerable.dbg.json +0 -4
  373. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.dbg.json +0 -4
  374. package/artifacts/contracts/registry/Registry.sol/RegistryLinked.json +0 -60
  375. package/contracts/components/Component.sol +0 -62
  376. package/contracts/components/IPool.sol +0 -9
  377. package/contracts/components/IProduct.sol +0 -12
  378. package/contracts/instance/access/Access.sol +0 -218
  379. package/contracts/instance/access/IAccess.sol +0 -83
  380. package/contracts/instance/component/ComponentModule.sol +0 -248
  381. package/contracts/instance/component/IComponent.sol +0 -95
  382. package/contracts/instance/policy/IPolicy.sol +0 -66
  383. package/contracts/instance/policy/PolicyModule.sol +0 -107
  384. package/contracts/instance/pool/IPoolModule.sol +0 -41
  385. package/contracts/instance/pool/PoolModule.sol +0 -86
  386. package/contracts/instance/product/IProductService.sol +0 -46
  387. package/contracts/instance/product/ProductService.sol +0 -108
@@ -0,0 +1,310 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ProxyManager",
4
+ "sourceName": "contracts/shared/ProxyManager.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [],
8
+ "stateMutability": "nonpayable",
9
+ "type": "constructor"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "ErrorAlreadyDeployed",
14
+ "type": "error"
15
+ },
16
+ {
17
+ "inputs": [],
18
+ "name": "ErrorAlreadyDeployedWithSalt",
19
+ "type": "error"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "ErrorNotYetDeployed",
24
+ "type": "error"
25
+ },
26
+ {
27
+ "inputs": [
28
+ {
29
+ "internalType": "address",
30
+ "name": "owner",
31
+ "type": "address"
32
+ }
33
+ ],
34
+ "name": "OwnableInvalidOwner",
35
+ "type": "error"
36
+ },
37
+ {
38
+ "inputs": [
39
+ {
40
+ "internalType": "address",
41
+ "name": "account",
42
+ "type": "address"
43
+ }
44
+ ],
45
+ "name": "OwnableUnauthorizedAccount",
46
+ "type": "error"
47
+ },
48
+ {
49
+ "anonymous": false,
50
+ "inputs": [
51
+ {
52
+ "indexed": true,
53
+ "internalType": "address",
54
+ "name": "proxy",
55
+ "type": "address"
56
+ },
57
+ {
58
+ "indexed": false,
59
+ "internalType": "address",
60
+ "name": "initialImplementation",
61
+ "type": "address"
62
+ }
63
+ ],
64
+ "name": "LogProxyDeployed",
65
+ "type": "event"
66
+ },
67
+ {
68
+ "anonymous": false,
69
+ "inputs": [
70
+ {
71
+ "indexed": true,
72
+ "internalType": "address",
73
+ "name": "proxy",
74
+ "type": "address"
75
+ },
76
+ {
77
+ "indexed": false,
78
+ "internalType": "address",
79
+ "name": "initialImplementation",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "LogProxyDeployedWithSalt",
84
+ "type": "event"
85
+ },
86
+ {
87
+ "anonymous": false,
88
+ "inputs": [
89
+ {
90
+ "indexed": true,
91
+ "internalType": "address",
92
+ "name": "proxy",
93
+ "type": "address"
94
+ },
95
+ {
96
+ "indexed": false,
97
+ "internalType": "address",
98
+ "name": "upgradedImplementation",
99
+ "type": "address"
100
+ }
101
+ ],
102
+ "name": "LogProxyUpgraded",
103
+ "type": "event"
104
+ },
105
+ {
106
+ "anonymous": false,
107
+ "inputs": [
108
+ {
109
+ "indexed": true,
110
+ "internalType": "address",
111
+ "name": "previousOwner",
112
+ "type": "address"
113
+ },
114
+ {
115
+ "indexed": true,
116
+ "internalType": "address",
117
+ "name": "newOwner",
118
+ "type": "address"
119
+ }
120
+ ],
121
+ "name": "OwnershipTransferred",
122
+ "type": "event"
123
+ },
124
+ {
125
+ "inputs": [
126
+ {
127
+ "internalType": "address",
128
+ "name": "initialImplementation",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "internalType": "bytes",
133
+ "name": "initializationData",
134
+ "type": "bytes"
135
+ }
136
+ ],
137
+ "name": "deploy",
138
+ "outputs": [
139
+ {
140
+ "internalType": "contract IVersionable",
141
+ "name": "versionable",
142
+ "type": "address"
143
+ }
144
+ ],
145
+ "stateMutability": "nonpayable",
146
+ "type": "function"
147
+ },
148
+ {
149
+ "inputs": [
150
+ {
151
+ "internalType": "address",
152
+ "name": "initialImplementation",
153
+ "type": "address"
154
+ },
155
+ {
156
+ "internalType": "bytes",
157
+ "name": "initializationData",
158
+ "type": "bytes"
159
+ },
160
+ {
161
+ "internalType": "bytes32",
162
+ "name": "salt",
163
+ "type": "bytes32"
164
+ }
165
+ ],
166
+ "name": "deployWithSalt",
167
+ "outputs": [
168
+ {
169
+ "internalType": "contract IVersionable",
170
+ "name": "versionable",
171
+ "type": "address"
172
+ }
173
+ ],
174
+ "stateMutability": "nonpayable",
175
+ "type": "function"
176
+ },
177
+ {
178
+ "inputs": [
179
+ {
180
+ "internalType": "address",
181
+ "name": "implementation",
182
+ "type": "address"
183
+ },
184
+ {
185
+ "internalType": "address",
186
+ "name": "proxyOwner",
187
+ "type": "address"
188
+ },
189
+ {
190
+ "internalType": "bytes",
191
+ "name": "deployData",
192
+ "type": "bytes"
193
+ }
194
+ ],
195
+ "name": "getDeployData",
196
+ "outputs": [
197
+ {
198
+ "internalType": "bytes",
199
+ "name": "data",
200
+ "type": "bytes"
201
+ }
202
+ ],
203
+ "stateMutability": "pure",
204
+ "type": "function"
205
+ },
206
+ {
207
+ "inputs": [],
208
+ "name": "getProxyAdmin",
209
+ "outputs": [
210
+ {
211
+ "internalType": "contract ProxyAdmin",
212
+ "name": "",
213
+ "type": "address"
214
+ }
215
+ ],
216
+ "stateMutability": "nonpayable",
217
+ "type": "function"
218
+ },
219
+ {
220
+ "inputs": [
221
+ {
222
+ "internalType": "address",
223
+ "name": "implementation",
224
+ "type": "address"
225
+ },
226
+ {
227
+ "internalType": "address",
228
+ "name": "proxyOwner",
229
+ "type": "address"
230
+ },
231
+ {
232
+ "internalType": "bytes",
233
+ "name": "upgradeData",
234
+ "type": "bytes"
235
+ }
236
+ ],
237
+ "name": "getUpgradeData",
238
+ "outputs": [
239
+ {
240
+ "internalType": "bytes",
241
+ "name": "data",
242
+ "type": "bytes"
243
+ }
244
+ ],
245
+ "stateMutability": "pure",
246
+ "type": "function"
247
+ },
248
+ {
249
+ "inputs": [],
250
+ "name": "owner",
251
+ "outputs": [
252
+ {
253
+ "internalType": "address",
254
+ "name": "",
255
+ "type": "address"
256
+ }
257
+ ],
258
+ "stateMutability": "view",
259
+ "type": "function"
260
+ },
261
+ {
262
+ "inputs": [],
263
+ "name": "renounceOwnership",
264
+ "outputs": [],
265
+ "stateMutability": "nonpayable",
266
+ "type": "function"
267
+ },
268
+ {
269
+ "inputs": [
270
+ {
271
+ "internalType": "address",
272
+ "name": "newOwner",
273
+ "type": "address"
274
+ }
275
+ ],
276
+ "name": "transferOwnership",
277
+ "outputs": [],
278
+ "stateMutability": "nonpayable",
279
+ "type": "function"
280
+ },
281
+ {
282
+ "inputs": [
283
+ {
284
+ "internalType": "address",
285
+ "name": "newImplementation",
286
+ "type": "address"
287
+ },
288
+ {
289
+ "internalType": "bytes",
290
+ "name": "upgradeData",
291
+ "type": "bytes"
292
+ }
293
+ ],
294
+ "name": "upgrade",
295
+ "outputs": [
296
+ {
297
+ "internalType": "contract IVersionable",
298
+ "name": "versionable",
299
+ "type": "address"
300
+ }
301
+ ],
302
+ "stateMutability": "nonpayable",
303
+ "type": "function"
304
+ }
305
+ ],
306
+ "bytecode": "0x608060405234801561001057600080fd5b50338061003757604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61004081610046565b50610096565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6118a8806100a56000396000f3fe60806040523480156200001157600080fd5b50600436106200009f5760003560e01c8063c987336c116200006e578063c987336c146200010f578063e97fac051462000126578063f109145f146200013d578063f2fde38b1462000154578063f6876768146200016b57600080fd5b8063715018a614620000a45780638b3240a014620000b05780638da5cb5b14620000d7578063aef485a014620000e9575b600080fd5b620000ae62000182565b005b620000ba6200019a565b6040516001600160a01b0390911681526020015b60405180910390f35b6000546001600160a01b0316620000ba565b62000100620000fa36600462000749565b62000211565b604051620000ce9190620007fb565b620000ba6200012036600462000817565b6200026d565b620000ba6200013736600462000817565b62000394565b620000ba6200014e3660046200086d565b62000490565b620000ae62000165366004620008cc565b62000592565b620001006200017c36600462000749565b620005da565b6200018c620005fb565b6200019860006200062a565b565b60015460408051630459920560e51b815290516000926001600160a01b031691638b3240a0916004808301926020929190829003018187875af1158015620001e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020c9190620008ec565b905090565b606063a745e3df60e01b84848460405160240162000232939291906200090c565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b600062000279620005fb565b600154600160a01b900460ff16620002a457604051631e35411160e31b815260040160405180910390fd5b600080546001600160a01b031690620002bc6200019a565b6001549091506001600160a01b03166000620002da87858862000211565b604051639623609d60e01b81529091506001600160a01b03841690639623609d906200030f9085908b9086906004016200090c565b600060405180830381600087803b1580156200032a57600080fd5b505af11580156200033f573d6000803e3d6000fd5b50506001546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b6000620003a0620005fb565b600154600160a01b900460ff1615620003cc576040516375842f8760e01b815260040160405180910390fd5b600080546001600160a01b0316903090620003e9868487620005da565b9050858282604051620003fc906200067a565b6200040a939291906200090c565b604051809103906000f08015801562000427573d6000803e3d6000fd5b50600180546001600160a81b0319166001600160a01b0392831617600160a01b179081905560405188831681529116945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b60006200049c620005fb565b600154600160a01b900460ff1615620004c85760405163a6bd846160e01b815260040160405180910390fd5b600080546001600160a01b0316903090620004e5878488620005da565b905084878383604051620004f9906200067a565b62000507939291906200090c565b8190604051809103906000f590508015801562000528573d6000803e3d6000fd5b50600180546001600160a81b0319166001600160a01b0392831617600160a01b179081905560405189831681529116945084907f7a3b0cb0a49a752aae0b54af813aab156ba3495c6d0032c7bf16c1bf95d60e9b9060200160405180910390a25050509392505050565b6200059c620005fb565b6001600160a01b038116620005cc57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620005d7816200062a565b50565b606063cf7a1d7760e01b84848460405160240162000232939291906200090c565b6000546001600160a01b03163314620001985760405163118cdaa760e01b8152336004820152602401620005c3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f2f806200094483390190565b6001600160a01b0381168114620005d757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f830112620006c657600080fd5b813567ffffffffffffffff80821115620006e457620006e46200069e565b604051601f8301601f19908116603f011681019082821181831017156200070f576200070f6200069e565b816040528381528660208588010111156200072957600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200075f57600080fd5b83356200076c8162000688565b925060208401356200077e8162000688565b9150604084013567ffffffffffffffff8111156200079b57600080fd5b620007a986828701620006b4565b9150509250925092565b6000815180845260005b81811015620007db57602081850181015186830182015201620007bd565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000620008106020830184620007b3565b9392505050565b600080604083850312156200082b57600080fd5b8235620008388162000688565b9150602083013567ffffffffffffffff8111156200085557600080fd5b6200086385828601620006b4565b9150509250929050565b6000806000606084860312156200088357600080fd5b8335620008908162000688565b9250602084013567ffffffffffffffff811115620008ad57600080fd5b620008bb86828701620006b4565b925050604084013590509250925092565b600060208284031215620008df57600080fd5b8135620008108162000688565b600060208284031215620008ff57600080fd5b8151620008108162000688565b6001600160a01b038481168252831660208201526060604082018190526000906200093a90830184620007b3565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212207ccd55bcf74484fb7eef473db81b031299bb67c0edc154b0af62f736ec9caf5d64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220f0b2d68a0060e1e014170ca14fc6dc543adce5c23840b5caa5f84f10d50459b364736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103a26469706673582212208365ebf5dc9a0f1471f030fad86e1bd5fcedcf2a727030eeecc4ded09fb27f4964736f6c63430008140033",
307
+ "deployedBytecode": "0x60806040523480156200001157600080fd5b50600436106200009f5760003560e01c8063c987336c116200006e578063c987336c146200010f578063e97fac051462000126578063f109145f146200013d578063f2fde38b1462000154578063f6876768146200016b57600080fd5b8063715018a614620000a45780638b3240a014620000b05780638da5cb5b14620000d7578063aef485a014620000e9575b600080fd5b620000ae62000182565b005b620000ba6200019a565b6040516001600160a01b0390911681526020015b60405180910390f35b6000546001600160a01b0316620000ba565b62000100620000fa36600462000749565b62000211565b604051620000ce9190620007fb565b620000ba6200012036600462000817565b6200026d565b620000ba6200013736600462000817565b62000394565b620000ba6200014e3660046200086d565b62000490565b620000ae62000165366004620008cc565b62000592565b620001006200017c36600462000749565b620005da565b6200018c620005fb565b6200019860006200062a565b565b60015460408051630459920560e51b815290516000926001600160a01b031691638b3240a0916004808301926020929190829003018187875af1158015620001e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020c9190620008ec565b905090565b606063a745e3df60e01b84848460405160240162000232939291906200090c565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915290509392505050565b600062000279620005fb565b600154600160a01b900460ff16620002a457604051631e35411160e31b815260040160405180910390fd5b600080546001600160a01b031690620002bc6200019a565b6001549091506001600160a01b03166000620002da87858862000211565b604051639623609d60e01b81529091506001600160a01b03841690639623609d906200030f9085908b9086906004016200090c565b600060405180830381600087803b1580156200032a57600080fd5b505af11580156200033f573d6000803e3d6000fd5b50506001546040516001600160a01b038b8116825290911697508792507f5f1d3094af018381967fbedd54b80ffb09c5a9799db985f5e17e322672686306915060200160405180910390a25050505092915050565b6000620003a0620005fb565b600154600160a01b900460ff1615620003cc576040516375842f8760e01b815260040160405180910390fd5b600080546001600160a01b0316903090620003e9868487620005da565b9050858282604051620003fc906200067a565b6200040a939291906200090c565b604051809103906000f08015801562000427573d6000803e3d6000fd5b50600180546001600160a81b0319166001600160a01b0392831617600160a01b179081905560405188831681529116945084907fc5c7b8d20d7cac78e56fc596f8d26c700e5077f096017736e3526ab8af4850359060200160405180910390a250505092915050565b60006200049c620005fb565b600154600160a01b900460ff1615620004c85760405163a6bd846160e01b815260040160405180910390fd5b600080546001600160a01b0316903090620004e5878488620005da565b905084878383604051620004f9906200067a565b62000507939291906200090c565b8190604051809103906000f590508015801562000528573d6000803e3d6000fd5b50600180546001600160a81b0319166001600160a01b0392831617600160a01b179081905560405189831681529116945084907f7a3b0cb0a49a752aae0b54af813aab156ba3495c6d0032c7bf16c1bf95d60e9b9060200160405180910390a25050509392505050565b6200059c620005fb565b6001600160a01b038116620005cc57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620005d7816200062a565b50565b606063cf7a1d7760e01b84848460405160240162000232939291906200090c565b6000546001600160a01b03163314620001985760405163118cdaa760e01b8152336004820152602401620005c3565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610f2f806200094483390190565b6001600160a01b0381168114620005d757600080fd5b634e487b7160e01b600052604160045260246000fd5b600082601f830112620006c657600080fd5b813567ffffffffffffffff80821115620006e457620006e46200069e565b604051601f8301601f19908116603f011681019082821181831017156200070f576200070f6200069e565b816040528381528660208588010111156200072957600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806000606084860312156200075f57600080fd5b83356200076c8162000688565b925060208401356200077e8162000688565b9150604084013567ffffffffffffffff8111156200079b57600080fd5b620007a986828701620006b4565b9150509250925092565b6000815180845260005b81811015620007db57602081850181015186830182015201620007bd565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000620008106020830184620007b3565b9392505050565b600080604083850312156200082b57600080fd5b8235620008388162000688565b9150602083013567ffffffffffffffff8111156200085557600080fd5b6200086385828601620006b4565b9150509250929050565b6000806000606084860312156200088357600080fd5b8335620008908162000688565b9250602084013567ffffffffffffffff811115620008ad57600080fd5b620008bb86828701620006b4565b925050604084013590509250925092565b600060208284031215620008df57600080fd5b8135620008108162000688565b600060208284031215620008ff57600080fd5b8151620008108162000688565b6001600160a01b038481168252831660208201526060604082018190526000906200093a90830184620007b3565b9594505050505056fe60a06040523480156200001157600080fd5b5060405162000f2f38038062000f2f8339810160408190526200003491620003e1565b8282828281620000458282620000b0565b50508160405162000056906200037a565b6001600160a01b039091168152602001604051809103906000f08015801562000083573d6000803e3d6000fd5b506001600160a01b0316608052620000a46200009e60805190565b62000116565b505050505050620004df565b620000bb8262000188565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115620001085762000103828262000208565b505050565b6200011262000285565b5050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200015860008051602062000f0f833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a16200018581620002a7565b50565b806001600160a01b03163b600003620001c457604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060600080846001600160a01b031684604051620002279190620004c1565b600060405180830381855af49150503d806000811462000264576040519150601f19603f3d011682016040523d82523d6000602084013e62000269565b606091505b5090925090506200027c858383620002ea565b95945050505050565b3415620002a55760405163b398979f60e01b815260040160405180910390fd5b565b6001600160a01b038116620002d357604051633173bdd160e11b815260006004820152602401620001bb565b8060008051602062000f0f833981519152620001e7565b6060826200030357620002fd8262000350565b62000349565b81511580156200031b57506001600160a01b0384163b155b156200034657604051639996b31560e01b81526001600160a01b0385166004820152602401620001bb565b50805b9392505050565b805115620003615780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b61052480620009eb83390190565b80516001600160a01b0381168114620003a057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620003d8578181015183820152602001620003be565b50506000910152565b600080600060608486031215620003f757600080fd5b620004028462000388565b9250620004126020850162000388565b60408501519092506001600160401b03808211156200043057600080fd5b818601915086601f8301126200044557600080fd5b8151818111156200045a576200045a620003a5565b604051601f8201601f19908116603f01168101908382118183101715620004855762000485620003a5565b816040528281528960208487010111156200049f57600080fd5b620004b2836020830160208801620003bb565b80955050505050509250925092565b60008251620004d5818460208701620003bb565b9190910192915050565b6080516104eb620005006000396000818160370152607401526104eb6000f3fe60806040526004361061001e5760003560e01c80638b3240a014610028575b610026610072565b005b34801561003457600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006040516001600160a01b03909116815260200160405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036100df576000356001600160e01b03191663278f794360e11b146100d5576040516334ad5dbb60e21b815260040160405180910390fd5b6100dd6100ec565b565b6100dd61011b565b905090565b6000806100fc3660048184610376565b81019061010991906103b6565b91509150610117828261012b565b5050565b6100dd610126610186565b6101b9565b610134826101dd565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561017e576101798282610259565b505050565b6101176102cf565b60006100e77f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b3660008037600080366000845af43d6000803e8080156101d8573d6000f35b3d6000fd5b806001600160a01b03163b60000361021857604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516102769190610486565b600060405180830381855af49150503d80600081146102b1576040519150601f19603f3d011682016040523d82523d6000602084013e6102b6565b606091505b50915091506102c68583836102ee565b95945050505050565b34156100dd5760405163b398979f60e01b815260040160405180910390fd5b606082610303576102fe8261034d565b610346565b815115801561031a57506001600160a01b0384163b155b1561034357604051639996b31560e01b81526001600160a01b038516600482015260240161020f565b50805b9392505050565b80511561035d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000808585111561038657600080fd5b8386111561039357600080fd5b5050820193919092039150565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103c957600080fd5b82356001600160a01b03811681146103e057600080fd5b9150602083013567ffffffffffffffff808211156103fd57600080fd5b818501915085601f83011261041157600080fd5b813581811115610423576104236103a0565b604051601f8201601f19908116603f0116810190838211818310171561044b5761044b6103a0565b8160405282815288602084870101111561046457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000825160005b818110156104a7576020818601810151858301520161048d565b50600092019182525091905056fea26469706673582212207ccd55bcf74484fb7eef473db81b031299bb67c0edc154b0af62f736ec9caf5d64736f6c63430008140033608060405234801561001057600080fd5b5060405161052438038061052483398101604081905261002f916100be565b806001600160a01b03811661005e57604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100678161006e565b50506100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610427806100fd6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b146100665780639623609d14610093578063ad3cb1cc146100a6578063f2fde38b146100e4575b600080fd5b34801561005b57600080fd5b50610064610104565b005b34801561007257600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b6100646100a1366004610272565b610118565b3480156100b257600080fd5b506100d7604051806040016040528060058152602001640352e302e360dc1b81525081565b60405161008a919061038e565b3480156100f057600080fd5b506100646100ff3660046103a8565b610187565b61010c6101ca565b61011660006101f7565b565b6101206101ca565b60405163278f794360e11b81526001600160a01b03841690634f1ef28690349061015090869086906004016103c5565b6000604051808303818588803b15801561016957600080fd5b505af115801561017d573d6000803e3d6000fd5b5050505050505050565b61018f6101ca565b6001600160a01b0381166101be57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6101c7816101f7565b50565b6000546001600160a01b031633146101165760405163118cdaa760e01b81523360048201526024016101b5565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146101c757600080fd5b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561028757600080fd5b833561029281610247565b925060208401356102a281610247565b9150604084013567ffffffffffffffff808211156102bf57600080fd5b818601915086601f8301126102d357600080fd5b8135818111156102e5576102e561025c565b604051601f8201601f19908116603f0116810190838211818310171561030d5761030d61025c565b8160405282815289602084870101111561032657600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000815180845260005b8181101561036e57602081850181015186830182015201610352565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103a16020830184610348565b9392505050565b6000602082840312156103ba57600080fd5b81356103a181610247565b6001600160a01b03831681526040602082018190526000906103e990830184610348565b94935050505056fea2646970667358221220f0b2d68a0060e1e014170ca14fc6dc543adce5c23840b5caa5f84f10d50459b364736f6c63430008140033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103a26469706673582212208365ebf5dc9a0f1471f030fad86e1bd5fcedcf2a727030eeecc4ded09fb27f4964736f6c63430008140033",
308
+ "linkReferences": {},
309
+ "deployedLinkReferences": {}
310
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/2c78228c851a60b159426de30077d024.json"
4
+ }
@@ -1,41 +1,39 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
3
  "contractName": "Registerable",
4
- "sourceName": "contracts/registry/Registry.sol",
4
+ "sourceName": "contracts/shared/Registerable.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "InvalidInitialization",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "NotInitializing",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "anonymous": false,
8
18
  "inputs": [
9
19
  {
10
20
  "indexed": false,
11
- "internalType": "uint256",
12
- "name": "idx",
13
- "type": "uint256"
14
- },
15
- {
16
- "indexed": false,
17
- "internalType": "address",
18
- "name": "module",
19
- "type": "address"
20
- },
21
- {
22
- "indexed": false,
23
- "internalType": "string",
24
- "name": "comment",
25
- "type": "string"
21
+ "internalType": "uint64",
22
+ "name": "version",
23
+ "type": "uint64"
26
24
  }
27
25
  ],
28
- "name": "LogDebug",
26
+ "name": "Initialized",
29
27
  "type": "event"
30
28
  },
31
29
  {
32
30
  "inputs": [],
33
- "name": "getData",
31
+ "name": "REGISTERABLE_LOCATION_V1",
34
32
  "outputs": [
35
33
  {
36
- "internalType": "bytes",
37
- "name": "data",
38
- "type": "bytes"
34
+ "internalType": "bytes32",
35
+ "name": "",
36
+ "type": "bytes32"
39
37
  }
40
38
  ],
41
39
  "stateMutability": "view",
@@ -43,12 +41,54 @@
43
41
  },
44
42
  {
45
43
  "inputs": [],
46
- "name": "getInitialOwner",
44
+ "name": "getInitialInfo",
47
45
  "outputs": [
48
46
  {
49
- "internalType": "address",
50
- "name": "deployer",
51
- "type": "address"
47
+ "components": [
48
+ {
49
+ "internalType": "NftId",
50
+ "name": "nftId",
51
+ "type": "uint96"
52
+ },
53
+ {
54
+ "internalType": "NftId",
55
+ "name": "parentNftId",
56
+ "type": "uint96"
57
+ },
58
+ {
59
+ "internalType": "ObjectType",
60
+ "name": "objectType",
61
+ "type": "uint8"
62
+ },
63
+ {
64
+ "internalType": "bool",
65
+ "name": "isInterceptor",
66
+ "type": "bool"
67
+ },
68
+ {
69
+ "internalType": "address",
70
+ "name": "objectAddress",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "internalType": "address",
75
+ "name": "initialOwner",
76
+ "type": "address"
77
+ },
78
+ {
79
+ "internalType": "bytes",
80
+ "name": "data",
81
+ "type": "bytes"
82
+ }
83
+ ],
84
+ "internalType": "struct IRegistry.ObjectInfo",
85
+ "name": "",
86
+ "type": "tuple"
87
+ },
88
+ {
89
+ "internalType": "bytes",
90
+ "name": "data",
91
+ "type": "bytes"
52
92
  }
53
93
  ],
54
94
  "stateMutability": "view",
@@ -73,26 +113,13 @@
73
113
  "outputs": [
74
114
  {
75
115
  "internalType": "address",
76
- "name": "owner",
116
+ "name": "",
77
117
  "type": "address"
78
118
  }
79
119
  ],
80
120
  "stateMutability": "view",
81
121
  "type": "function"
82
122
  },
83
- {
84
- "inputs": [],
85
- "name": "getParentNftId",
86
- "outputs": [
87
- {
88
- "internalType": "NftId",
89
- "name": "parentNftId",
90
- "type": "uint96"
91
- }
92
- ],
93
- "stateMutability": "view",
94
- "type": "function"
95
- },
96
123
  {
97
124
  "inputs": [],
98
125
  "name": "getRegistry",
@@ -107,34 +134,14 @@
107
134
  "type": "function"
108
135
  },
109
136
  {
110
- "inputs": [],
111
- "name": "getType",
112
- "outputs": [
113
- {
114
- "internalType": "uint256",
115
- "name": "objectType",
116
- "type": "uint256"
117
- }
118
- ],
119
- "stateMutability": "view",
120
- "type": "function"
121
- },
122
- {
123
- "inputs": [],
124
- "name": "isRegisterable",
125
- "outputs": [
137
+ "inputs": [
126
138
  {
127
- "internalType": "bool",
128
- "name": "",
129
- "type": "bool"
139
+ "internalType": "bytes4",
140
+ "name": "interfaceId",
141
+ "type": "bytes4"
130
142
  }
131
143
  ],
132
- "stateMutability": "pure",
133
- "type": "function"
134
- },
135
- {
136
- "inputs": [],
137
- "name": "isRegistered",
144
+ "name": "supportsInterface",
138
145
  "outputs": [
139
146
  {
140
147
  "internalType": "bool",
@@ -144,19 +151,6 @@
144
151
  ],
145
152
  "stateMutability": "view",
146
153
  "type": "function"
147
- },
148
- {
149
- "inputs": [],
150
- "name": "register",
151
- "outputs": [
152
- {
153
- "internalType": "NftId",
154
- "name": "nftId",
155
- "type": "uint96"
156
- }
157
- ],
158
- "stateMutability": "nonpayable",
159
- "type": "function"
160
154
  }
161
155
  ],
162
156
  "bytecode": "0x",
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/2c78228c851a60b159426de30077d024.json"
4
+ }