@etherisc/gif-next 0.0.2-de0a1d3-009 → 0.0.2-e37834a-021

Sign up to get free protection for your applications and to get access to all the features.
Files changed (237) hide show
  1. package/README.md +40 -25
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +80 -41
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +101 -61
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +43 -40
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -163
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +6 -185
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -163
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +150 -126
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +110 -52
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  35. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  36. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +198 -74
  37. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  38. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  39. package/artifacts/contracts/instance/Instance.sol/Instance.json +285 -178
  40. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  41. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +59 -53
  42. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  43. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +1 -1
  44. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  45. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  46. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/IService.sol/IService.json +45 -42
  48. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +62 -69
  50. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  53. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +55 -62
  55. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +1 -1
  56. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +1 -1
  57. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +1 -1
  58. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  59. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  60. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +2 -2
  66. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.json +29 -9
  74. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  75. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.json +28 -8
  76. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +2 -2
  80. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  82. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.json +138 -11
  83. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  85. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  86. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.json +138 -11
  87. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +165 -93
  89. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +87 -68
  91. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +45 -61
  93. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +45 -42
  95. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +45 -42
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +45 -42
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +89 -70
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +117 -98
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +141 -12
  105. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.json +5 -0
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  108. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +293 -40
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +4 -0
  110. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +668 -0
  111. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +4 -0
  112. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.json +34 -0
  113. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  114. package/artifacts/contracts/registry/Registry.sol/Registry.json +483 -120
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +4 -0
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +885 -0
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +460 -0
  119. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  120. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  121. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  122. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  123. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +43 -40
  126. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.json +2 -2
  128. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  129. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +132 -0
  130. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +4 -0
  131. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +344 -0
  132. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  133. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +76 -37
  134. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +4 -0
  135. package/artifacts/contracts/shared/{Proxy.sol/ProxyWithProxyAdminGetter.json → UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json} +4 -4
  136. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Versionable.sol/Versionable.json +4 -27
  138. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
  139. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +101 -61
  140. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  141. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestPool.sol/TestPool.json +150 -126
  143. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +115 -58
  145. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +93 -39
  147. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  149. package/artifacts/contracts/test/TestService.sol/TestService.json +81 -75
  150. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestVersion.sol/TestVersion.json +2 -2
  153. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  154. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +15 -38
  155. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  156. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  157. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  158. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  159. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  160. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  161. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  163. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Version.sol/VersionLib.json +2 -2
  172. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  173. package/artifacts/contracts/types/Version.sol/VersionPartLib.json +2 -2
  174. package/contracts/components/BaseComponent.sol +12 -27
  175. package/contracts/components/Distribution.sol +29 -6
  176. package/contracts/components/IBaseComponent.sol +2 -2
  177. package/contracts/components/IDistributionComponent.sol +1 -2
  178. package/contracts/components/IPoolComponent.sol +3 -10
  179. package/contracts/components/IProductComponent.sol +2 -3
  180. package/contracts/components/Pool.sol +84 -73
  181. package/contracts/components/Product.sol +85 -13
  182. package/contracts/instance/IInstance.sol +4 -3
  183. package/contracts/instance/Instance.sol +14 -3
  184. package/contracts/instance/base/ComponentServiceBase.sol +13 -6
  185. package/contracts/instance/base/IInstanceBase.sol +3 -2
  186. package/contracts/instance/base/InstanceBase.sol +6 -8
  187. package/contracts/instance/base/ServiceBase.sol +19 -13
  188. package/contracts/instance/module/component/ComponentModule.sol +5 -4
  189. package/contracts/instance/module/component/IComponent.sol +2 -2
  190. package/contracts/instance/module/pool/IPoolModule.sol +4 -3
  191. package/contracts/instance/module/pool/PoolModule.sol +12 -7
  192. package/contracts/instance/module/treasury/ITreasury.sol +7 -5
  193. package/contracts/instance/module/treasury/TokenHandler.sol +2 -2
  194. package/contracts/instance/module/treasury/TreasuryModule.sol +21 -28
  195. package/contracts/instance/service/ComponentOwnerService.sol +181 -66
  196. package/contracts/instance/service/DistributionService.sol +6 -11
  197. package/contracts/instance/service/IComponentOwnerService.sol +0 -2
  198. package/contracts/instance/service/PoolService.sol +19 -19
  199. package/contracts/instance/service/ProductService.sol +25 -24
  200. package/contracts/registry/ChainNft.sol +43 -15
  201. package/contracts/registry/IChainNft.sol +3 -2
  202. package/contracts/registry/IRegistry.sol +44 -28
  203. package/contracts/registry/IRegistryService.sol +29 -0
  204. package/contracts/registry/ITransferInterceptor.sol +6 -0
  205. package/contracts/registry/Registry.sol +382 -273
  206. package/contracts/registry/RegistryService.sol +375 -0
  207. package/contracts/registry/RegistryServiceManager.sol +52 -0
  208. package/contracts/shared/ContractDeployerLib.sol +72 -0
  209. package/contracts/shared/ERC165.sol +1 -1
  210. package/contracts/shared/IRegisterable.sol +7 -9
  211. package/contracts/shared/IVersionable.sol +40 -9
  212. package/contracts/shared/NftOwnable.sol +87 -0
  213. package/contracts/shared/ProxyManager.sol +103 -0
  214. package/contracts/shared/Registerable.sol +74 -43
  215. package/contracts/shared/UpgradableProxyWithAdmin.sol +16 -0
  216. package/contracts/shared/Versionable.sol +108 -60
  217. package/contracts/test/TestDistribution.sol +3 -2
  218. package/contracts/test/TestPool.sol +4 -2
  219. package/contracts/test/TestProduct.sol +4 -2
  220. package/contracts/test/TestRegisterable.sol +5 -6
  221. package/contracts/test/TestService.sol +5 -11
  222. package/contracts/types/Version.sol +1 -0
  223. package/package.json +1 -1
  224. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  225. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  226. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.dbg.json +0 -4
  227. package/artifacts/contracts/registry/RegistryUpgradeable.sol/RegistryUpgradeable.json +0 -724
  228. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.dbg.json +0 -4
  229. package/artifacts/contracts/shared/Proxy.sol/ProxyDeployer.json +0 -248
  230. package/artifacts/contracts/shared/Proxy.sol/ProxyWithProxyAdminGetter.dbg.json +0 -4
  231. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.dbg.json +0 -4
  232. package/artifacts/contracts/shared/VersionableUpgradeable.sol/VersionableUpgradeable.json +0 -228
  233. package/contracts/experiment/statemachine/README.md +0 -112
  234. package/contracts/registry/IRegistryLinked.sol +0 -8
  235. package/contracts/registry/RegistryUpgradeable.sol +0 -473
  236. package/contracts/shared/Proxy.sol +0 -94
  237. package/contracts/shared/VersionableUpgradeable.sol +0 -133
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
4
4
  }
@@ -48,36 +48,68 @@
48
48
  "type": "address"
49
49
  }
50
50
  ],
51
- "name": "LogVersionableActivated",
51
+ "name": "LogVersionableInitialized",
52
52
  "type": "event"
53
53
  },
54
54
  {
55
- "inputs": [
56
- {
57
- "internalType": "address",
58
- "name": "implementation",
59
- "type": "address"
60
- },
61
- {
62
- "internalType": "address",
63
- "name": "activatedBy",
64
- "type": "address"
65
- },
55
+ "inputs": [],
56
+ "name": "REGISTERABLE_LOCATION_V1",
57
+ "outputs": [
66
58
  {
67
- "internalType": "bytes",
68
- "name": "activatinData",
69
- "type": "bytes"
59
+ "internalType": "bytes32",
60
+ "name": "",
61
+ "type": "bytes32"
70
62
  }
71
63
  ],
72
- "name": "activate",
73
- "outputs": [],
74
- "stateMutability": "nonpayable",
64
+ "stateMutability": "view",
75
65
  "type": "function"
76
66
  },
77
67
  {
78
68
  "inputs": [],
79
- "name": "getData",
69
+ "name": "getInitialInfo",
80
70
  "outputs": [
71
+ {
72
+ "components": [
73
+ {
74
+ "internalType": "NftId",
75
+ "name": "nftId",
76
+ "type": "uint96"
77
+ },
78
+ {
79
+ "internalType": "NftId",
80
+ "name": "parentNftId",
81
+ "type": "uint96"
82
+ },
83
+ {
84
+ "internalType": "ObjectType",
85
+ "name": "objectType",
86
+ "type": "uint8"
87
+ },
88
+ {
89
+ "internalType": "bool",
90
+ "name": "isInterceptor",
91
+ "type": "bool"
92
+ },
93
+ {
94
+ "internalType": "address",
95
+ "name": "objectAddress",
96
+ "type": "address"
97
+ },
98
+ {
99
+ "internalType": "address",
100
+ "name": "initialOwner",
101
+ "type": "address"
102
+ },
103
+ {
104
+ "internalType": "bytes",
105
+ "name": "data",
106
+ "type": "bytes"
107
+ }
108
+ ],
109
+ "internalType": "struct IRegistry.ObjectInfo",
110
+ "name": "",
111
+ "type": "tuple"
112
+ },
81
113
  {
82
114
  "internalType": "bytes",
83
115
  "name": "data",
@@ -145,26 +177,13 @@
145
177
  "outputs": [
146
178
  {
147
179
  "internalType": "address",
148
- "name": "owner",
180
+ "name": "",
149
181
  "type": "address"
150
182
  }
151
183
  ],
152
184
  "stateMutability": "view",
153
185
  "type": "function"
154
186
  },
155
- {
156
- "inputs": [],
157
- "name": "getParentNftId",
158
- "outputs": [
159
- {
160
- "internalType": "NftId",
161
- "name": "nftId",
162
- "type": "uint96"
163
- }
164
- ],
165
- "stateMutability": "view",
166
- "type": "function"
167
- },
168
187
  {
169
188
  "inputs": [],
170
189
  "name": "getRegistry",
@@ -180,15 +199,15 @@
180
199
  },
181
200
  {
182
201
  "inputs": [],
183
- "name": "getType",
202
+ "name": "getRegistryService",
184
203
  "outputs": [
185
204
  {
186
- "internalType": "ObjectType",
205
+ "internalType": "contract IRegistryService",
187
206
  "name": "",
188
- "type": "uint8"
207
+ "type": "address"
189
208
  }
190
209
  ],
191
- "stateMutability": "pure",
210
+ "stateMutability": "view",
192
211
  "type": "function"
193
212
  },
194
213
  {
@@ -296,7 +315,7 @@
296
315
  },
297
316
  {
298
317
  "internalType": "bytes",
299
- "name": "initializationData",
318
+ "name": "data",
300
319
  "type": "bytes"
301
320
  }
302
321
  ],
@@ -313,7 +332,7 @@
313
332
  "type": "uint24"
314
333
  }
315
334
  ],
316
- "name": "isActivated",
335
+ "name": "isInitialized",
317
336
  "outputs": [
318
337
  {
319
338
  "internalType": "bool",
@@ -324,19 +343,6 @@
324
343
  "stateMutability": "view",
325
344
  "type": "function"
326
345
  },
327
- {
328
- "inputs": [],
329
- "name": "register",
330
- "outputs": [
331
- {
332
- "internalType": "NftId",
333
- "name": "nftId",
334
- "type": "uint96"
335
- }
336
- ],
337
- "stateMutability": "nonpayable",
338
- "type": "function"
339
- },
340
346
  {
341
347
  "inputs": [
342
348
  {
@@ -370,7 +376,7 @@
370
376
  },
371
377
  {
372
378
  "internalType": "bytes",
373
- "name": "upgradeData",
379
+ "name": "data",
374
380
  "type": "bytes"
375
381
  }
376
382
  ],
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
4
4
  }
@@ -9,7 +9,7 @@
9
9
  "outputs": [
10
10
  {
11
11
  "internalType": "contract IComponentOwnerService",
12
- "name": "service",
12
+ "name": "",
13
13
  "type": "address"
14
14
  }
15
15
  ],
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
4
4
  }
@@ -25,13 +25,55 @@
25
25
  "type": "address"
26
26
  }
27
27
  ],
28
- "name": "LogVersionableActivated",
28
+ "name": "LogVersionableInitialized",
29
29
  "type": "event"
30
30
  },
31
31
  {
32
32
  "inputs": [],
33
- "name": "getData",
33
+ "name": "getInitialInfo",
34
34
  "outputs": [
35
+ {
36
+ "components": [
37
+ {
38
+ "internalType": "NftId",
39
+ "name": "nftId",
40
+ "type": "uint96"
41
+ },
42
+ {
43
+ "internalType": "NftId",
44
+ "name": "parentNftId",
45
+ "type": "uint96"
46
+ },
47
+ {
48
+ "internalType": "ObjectType",
49
+ "name": "objectType",
50
+ "type": "uint8"
51
+ },
52
+ {
53
+ "internalType": "bool",
54
+ "name": "isInterceptor",
55
+ "type": "bool"
56
+ },
57
+ {
58
+ "internalType": "address",
59
+ "name": "objectAddress",
60
+ "type": "address"
61
+ },
62
+ {
63
+ "internalType": "address",
64
+ "name": "initialOwner",
65
+ "type": "address"
66
+ },
67
+ {
68
+ "internalType": "bytes",
69
+ "name": "data",
70
+ "type": "bytes"
71
+ }
72
+ ],
73
+ "internalType": "struct IRegistry.ObjectInfo",
74
+ "name": "",
75
+ "type": "tuple"
76
+ },
35
77
  {
36
78
  "internalType": "bytes",
37
79
  "name": "data",
@@ -106,19 +148,6 @@
106
148
  "stateMutability": "view",
107
149
  "type": "function"
108
150
  },
109
- {
110
- "inputs": [],
111
- "name": "getParentNftId",
112
- "outputs": [
113
- {
114
- "internalType": "NftId",
115
- "name": "nftId",
116
- "type": "uint96"
117
- }
118
- ],
119
- "stateMutability": "view",
120
- "type": "function"
121
- },
122
151
  {
123
152
  "inputs": [],
124
153
  "name": "getRegistry",
@@ -132,19 +161,6 @@
132
161
  "stateMutability": "view",
133
162
  "type": "function"
134
163
  },
135
- {
136
- "inputs": [],
137
- "name": "getType",
138
- "outputs": [
139
- {
140
- "internalType": "ObjectType",
141
- "name": "objectType",
142
- "type": "uint8"
143
- }
144
- ],
145
- "stateMutability": "pure",
146
- "type": "function"
147
- },
148
164
  {
149
165
  "inputs": [],
150
166
  "name": "getVersion",
@@ -267,7 +283,7 @@
267
283
  "type": "uint24"
268
284
  }
269
285
  ],
270
- "name": "isActivated",
286
+ "name": "isInitialized",
271
287
  "outputs": [
272
288
  {
273
289
  "internalType": "bool",
@@ -278,19 +294,6 @@
278
294
  "stateMutability": "view",
279
295
  "type": "function"
280
296
  },
281
- {
282
- "inputs": [],
283
- "name": "register",
284
- "outputs": [
285
- {
286
- "internalType": "NftId",
287
- "name": "nftId",
288
- "type": "uint96"
289
- }
290
- ],
291
- "stateMutability": "nonpayable",
292
- "type": "function"
293
- },
294
297
  {
295
298
  "inputs": [
296
299
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
4
4
  }
@@ -48,30 +48,20 @@
48
48
  "type": "address"
49
49
  }
50
50
  ],
51
- "name": "LogVersionableActivated",
51
+ "name": "LogVersionableInitialized",
52
52
  "type": "event"
53
53
  },
54
54
  {
55
- "inputs": [
56
- {
57
- "internalType": "address",
58
- "name": "implementation",
59
- "type": "address"
60
- },
61
- {
62
- "internalType": "address",
63
- "name": "activatedBy",
64
- "type": "address"
65
- },
55
+ "inputs": [],
56
+ "name": "REGISTERABLE_LOCATION_V1",
57
+ "outputs": [
66
58
  {
67
- "internalType": "bytes",
68
- "name": "activatinData",
69
- "type": "bytes"
59
+ "internalType": "bytes32",
60
+ "name": "",
61
+ "type": "bytes32"
70
62
  }
71
63
  ],
72
- "name": "activate",
73
- "outputs": [],
74
- "stateMutability": "nonpayable",
64
+ "stateMutability": "view",
75
65
  "type": "function"
76
66
  },
77
67
  {
@@ -80,7 +70,7 @@
80
70
  "outputs": [
81
71
  {
82
72
  "internalType": "contract IComponentOwnerService",
83
- "name": "service",
73
+ "name": "",
84
74
  "type": "address"
85
75
  }
86
76
  ],
@@ -89,12 +79,12 @@
89
79
  },
90
80
  {
91
81
  "inputs": [],
92
- "name": "getData",
82
+ "name": "getDistributionService",
93
83
  "outputs": [
94
84
  {
95
- "internalType": "bytes",
96
- "name": "data",
97
- "type": "bytes"
85
+ "internalType": "contract IDistributionService",
86
+ "name": "",
87
+ "type": "address"
98
88
  }
99
89
  ],
100
90
  "stateMutability": "view",
@@ -102,12 +92,54 @@
102
92
  },
103
93
  {
104
94
  "inputs": [],
105
- "name": "getDistributionService",
95
+ "name": "getInitialInfo",
106
96
  "outputs": [
107
97
  {
108
- "internalType": "contract IDistributionService",
98
+ "components": [
99
+ {
100
+ "internalType": "NftId",
101
+ "name": "nftId",
102
+ "type": "uint96"
103
+ },
104
+ {
105
+ "internalType": "NftId",
106
+ "name": "parentNftId",
107
+ "type": "uint96"
108
+ },
109
+ {
110
+ "internalType": "ObjectType",
111
+ "name": "objectType",
112
+ "type": "uint8"
113
+ },
114
+ {
115
+ "internalType": "bool",
116
+ "name": "isInterceptor",
117
+ "type": "bool"
118
+ },
119
+ {
120
+ "internalType": "address",
121
+ "name": "objectAddress",
122
+ "type": "address"
123
+ },
124
+ {
125
+ "internalType": "address",
126
+ "name": "initialOwner",
127
+ "type": "address"
128
+ },
129
+ {
130
+ "internalType": "bytes",
131
+ "name": "data",
132
+ "type": "bytes"
133
+ }
134
+ ],
135
+ "internalType": "struct IRegistry.ObjectInfo",
109
136
  "name": "",
110
- "type": "address"
137
+ "type": "tuple"
138
+ },
139
+ {
140
+ "internalType": "bytes",
141
+ "name": "data",
142
+ "type": "bytes"
111
143
  }
112
144
  ],
113
145
  "stateMutability": "view",
@@ -158,26 +190,13 @@
158
190
  "outputs": [
159
191
  {
160
192
  "internalType": "address",
161
- "name": "owner",
193
+ "name": "",
162
194
  "type": "address"
163
195
  }
164
196
  ],
165
197
  "stateMutability": "view",
166
198
  "type": "function"
167
199
  },
168
- {
169
- "inputs": [],
170
- "name": "getParentNftId",
171
- "outputs": [
172
- {
173
- "internalType": "NftId",
174
- "name": "nftId",
175
- "type": "uint96"
176
- }
177
- ],
178
- "stateMutability": "view",
179
- "type": "function"
180
- },
181
200
  {
182
201
  "inputs": [],
183
202
  "name": "getPoolService",
@@ -236,19 +255,6 @@
236
255
  "stateMutability": "view",
237
256
  "type": "function"
238
257
  },
239
- {
240
- "inputs": [],
241
- "name": "getType",
242
- "outputs": [
243
- {
244
- "internalType": "ObjectType",
245
- "name": "objectType",
246
- "type": "uint8"
247
- }
248
- ],
249
- "stateMutability": "pure",
250
- "type": "function"
251
- },
252
258
  {
253
259
  "inputs": [],
254
260
  "name": "getVersion",
@@ -354,7 +360,7 @@
354
360
  },
355
361
  {
356
362
  "internalType": "bytes",
357
- "name": "initializationData",
363
+ "name": "data",
358
364
  "type": "bytes"
359
365
  }
360
366
  ],
@@ -371,7 +377,7 @@
371
377
  "type": "uint24"
372
378
  }
373
379
  ],
374
- "name": "isActivated",
380
+ "name": "isInitialized",
375
381
  "outputs": [
376
382
  {
377
383
  "internalType": "bool",
@@ -382,19 +388,6 @@
382
388
  "stateMutability": "view",
383
389
  "type": "function"
384
390
  },
385
- {
386
- "inputs": [],
387
- "name": "register",
388
- "outputs": [
389
- {
390
- "internalType": "NftId",
391
- "name": "nftId",
392
- "type": "uint96"
393
- }
394
- ],
395
- "stateMutability": "nonpayable",
396
- "type": "function"
397
- },
398
391
  {
399
392
  "inputs": [
400
393
  {
@@ -446,7 +439,7 @@
446
439
  },
447
440
  {
448
441
  "internalType": "bytes",
449
- "name": "upgradeData",
442
+ "name": "data",
450
443
  "type": "bytes"
451
444
  }
452
445
  ],
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/ddc9b0b487d1eff0b437a694ef8bc6d1.json"
3
+ "buildInfo": "../../../../build-info/23d9cb949ebaded2db536c461b622e36.json"
4
4
  }