@etherisc/gif-next 0.0.2-fbe8e04-715 → 0.0.2-fca9315-260

Sign up to get free protection for your applications and to get access to all the features.
Files changed (245) hide show
  1. package/artifacts/contracts/components/Component.sol/Component.dbg.json +4 -0
  2. package/artifacts/contracts/components/{IBaseComponent.sol/IBaseComponent.json → Component.sol/Component.json} +300 -12
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.json +199 -94
  5. package/artifacts/contracts/components/IComponent.sol/IComponent.dbg.json +4 -0
  6. package/artifacts/contracts/components/{BaseComponent.sol/BaseComponent.json → IComponent.sol/IComponent.json} +86 -84
  7. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +496 -0
  9. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +522 -28
  11. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +596 -5
  13. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  14. package/artifacts/contracts/components/Pool.sol/Pool.json +190 -159
  15. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  16. package/artifacts/contracts/components/Product.sol/Product.json +204 -110
  17. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  37. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  38. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +38 -62
  39. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  40. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +269 -13
  42. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  43. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +120 -19
  44. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  45. package/artifacts/contracts/instance/Instance.sol/Instance.json +105 -615
  46. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  47. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +208 -114
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +41 -82
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +250 -265
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +41 -120
  54. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  55. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +8 -32
  56. package/artifacts/contracts/instance/base/ComponentService.sol/ComponentService.dbg.json +4 -0
  57. package/artifacts/contracts/instance/base/{ComponentServiceBase.sol/ComponentServiceBase.json → ComponentService.sol/ComponentService.json} +124 -42
  58. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  59. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  60. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  61. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  64. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  71. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +245 -66
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  73. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +35 -26
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +153 -65
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +32 -23
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +64 -18
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -18
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +120 -18
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +13 -18
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +13 -18
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +334 -91
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +66 -25
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +153 -65
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +32 -23
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +159 -71
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +32 -15
  100. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  101. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  102. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +212 -133
  104. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  105. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +127 -93
  106. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  107. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  108. package/artifacts/contracts/registry/Registry.sol/Registry.json +224 -234
  109. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  110. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  111. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  112. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +68 -161
  113. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +51 -104
  115. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  116. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +547 -0
  117. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  118. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +13 -29
  119. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  120. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  121. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  122. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  123. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -5
  124. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  125. package/artifacts/contracts/shared/IService.sol/IService.json +13 -18
  126. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  128. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -6
  129. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  130. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +19 -6
  131. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  132. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -11
  133. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  134. package/artifacts/contracts/shared/Service.sol/Service.json +26 -18
  135. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  136. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  138. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  139. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  140. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +19 -11
  141. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  143. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestService.sol/TestService.json +44 -36
  145. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  147. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  148. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  149. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  150. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  151. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  152. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  153. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  154. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  155. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  156. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  157. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  158. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  159. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  160. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  161. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  163. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  169. package/contracts/components/Component.sol +216 -0
  170. package/contracts/components/Distribution.sol +38 -51
  171. package/contracts/components/IComponent.sol +43 -0
  172. package/contracts/components/IDistributionComponent.sol +5 -2
  173. package/contracts/components/IPoolComponent.sol +6 -12
  174. package/contracts/components/IProductComponent.sol +7 -3
  175. package/contracts/components/Pool.sol +42 -86
  176. package/contracts/components/Product.sol +58 -85
  177. package/contracts/instance/BundleManager.sol +7 -11
  178. package/contracts/instance/IInstance.sol +21 -9
  179. package/contracts/instance/IInstanceService.sol +12 -3
  180. package/contracts/instance/Instance.sol +37 -233
  181. package/contracts/instance/InstanceAccessManager.sol +88 -78
  182. package/contracts/instance/InstanceReader.sol +3 -25
  183. package/contracts/instance/InstanceService.sol +291 -120
  184. package/contracts/instance/InstanceServiceManager.sol +5 -8
  185. package/contracts/instance/ObjectManager.sol +7 -24
  186. package/contracts/instance/base/ComponentService.sol +134 -0
  187. package/contracts/instance/module/IAccess.sol +27 -17
  188. package/contracts/instance/service/BundleService.sol +41 -8
  189. package/contracts/instance/service/BundleServiceManager.sol +5 -8
  190. package/contracts/instance/service/DistributionService.sol +31 -43
  191. package/contracts/instance/service/DistributionServiceManager.sol +6 -9
  192. package/contracts/instance/service/IBundleService.sol +5 -6
  193. package/contracts/instance/service/IPolicyService.sol +7 -0
  194. package/contracts/instance/service/PolicyService.sol +67 -37
  195. package/contracts/instance/service/PoolService.sol +25 -39
  196. package/contracts/instance/service/PoolServiceManager.sol +5 -8
  197. package/contracts/instance/service/ProductService.sol +99 -38
  198. package/contracts/registry/ChainNft.sol +1 -1
  199. package/contracts/registry/IRegistry.sol +34 -17
  200. package/contracts/registry/IRegistryService.sol +28 -13
  201. package/contracts/registry/Registry.sol +214 -210
  202. package/contracts/registry/RegistryAccessManager.sol +216 -0
  203. package/contracts/registry/RegistryService.sol +61 -157
  204. package/contracts/registry/RegistryServiceManager.sol +18 -36
  205. package/contracts/registry/ReleaseManager.sol +332 -0
  206. package/contracts/registry/TokenRegistry.sol +8 -7
  207. package/contracts/shared/IRegisterable.sol +1 -3
  208. package/contracts/shared/IService.sol +2 -1
  209. package/contracts/shared/NftOwnable.sol +5 -0
  210. package/contracts/shared/ProxyManager.sol +1 -1
  211. package/contracts/shared/Registerable.sol +10 -14
  212. package/contracts/shared/Service.sol +13 -8
  213. package/contracts/test/TestService.sol +3 -2
  214. package/contracts/types/RoleId.sol +10 -12
  215. package/package.json +1 -1
  216. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  217. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  218. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  219. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  220. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  221. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  222. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  223. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  224. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  225. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  226. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  227. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  228. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  229. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  230. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  231. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  232. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  233. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  234. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  235. package/contracts/components/BaseComponent.sol +0 -132
  236. package/contracts/components/IBaseComponent.sol +0 -31
  237. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  238. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  239. package/contracts/instance/IInstanceBase.sol +0 -26
  240. package/contracts/instance/InstanceBase.sol +0 -41
  241. package/contracts/instance/base/ComponentServiceBase.sol +0 -72
  242. package/contracts/instance/base/IInstanceBase.sol +0 -23
  243. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  244. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  245. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -3,11 +3,6 @@
3
3
  "contractName": "ObjectManager",
4
4
  "sourceName": "contracts/instance/ObjectManager.sol",
5
5
  "abi": [
6
- {
7
- "inputs": [],
8
- "stateMutability": "nonpayable",
9
- "type": "constructor"
10
- },
11
6
  {
12
7
  "inputs": [
13
8
  {
@@ -142,16 +137,10 @@
142
137
  {
143
138
  "anonymous": false,
144
139
  "inputs": [
145
- {
146
- "indexed": false,
147
- "internalType": "NftId",
148
- "name": "instanceNftId",
149
- "type": "uint96"
150
- },
151
140
  {
152
141
  "indexed": false,
153
142
  "internalType": "address",
154
- "name": "instanceReader",
143
+ "name": "instance",
155
144
  "type": "address"
156
145
  }
157
146
  ],
@@ -173,23 +162,10 @@
173
162
  },
174
163
  {
175
164
  "inputs": [],
176
- "name": "getInstanceNftId",
165
+ "name": "getInstance",
177
166
  "outputs": [
178
167
  {
179
- "internalType": "NftId",
180
- "name": "",
181
- "type": "uint96"
182
- }
183
- ],
184
- "stateMutability": "view",
185
- "type": "function"
186
- },
187
- {
188
- "inputs": [],
189
- "name": "getInstanceReader",
190
- "outputs": [
191
- {
192
- "internalType": "contract InstanceReader",
168
+ "internalType": "contract IInstance",
193
169
  "name": "",
194
170
  "type": "address"
195
171
  }
@@ -241,9 +217,9 @@
241
217
  "type": "address"
242
218
  },
243
219
  {
244
- "internalType": "NftId",
245
- "name": "instanceNftId",
246
- "type": "uint96"
220
+ "internalType": "address",
221
+ "name": "instance",
222
+ "type": "address"
247
223
  }
248
224
  ],
249
225
  "name": "initialize",
@@ -278,8 +254,8 @@
278
254
  "type": "function"
279
255
  }
280
256
  ],
281
- "bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b0319169055600380546001600160601b031690556109a98061003f6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80637e7986691161005b5780637e798669146100f75780638fb3603714610112578063bf7e214f14610133578063c861c2501461015157600080fd5b806302cd30711461008d578063485cc955146100be5780635ab1bd53146100d35780637a9e5e4b146100e4575b600080fd5b600354600160601b90046001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100d16100cc366004610675565b610164565b005b6000546001600160a01b03166100a1565b6100d16100f23660046106ae565b61030b565b6003546040516001600160601b0390911681526020016100b5565b61011a6103a9565b6040516001600160e01b031990911681526020016100b5565b600080516020610954833981519152546001600160a01b03166100a1565b6100d161015f3660046106e7565b6103e2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156101aa5750825b905060008267ffffffffffffffff1660011480156101c75750303b155b9050811580156101d5575080155b156101f35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561021d57845460ff60401b1916600160401b1785555b6102268761058f565b856001600160a01b03163b6000036102615760405163071669cf60e21b81526001600160a01b03871660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a1831561030257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b3361032b600080516020610954833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146103665760405162d1953b60e31b81526001600160a01b0382166004820152602401610258565b816001600160a01b03163b60000361039c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610258565b6103a5826105a3565b5050565b600080516020610954833981519152805460009190600160a01b900460ff166103d35760006103dc565b638fb3603760e01b5b91505090565b6103ec8383610164565b600080546040516305247a1760e51b81526001600160601b03841660048201526001600160a01b039091169063a48f42e090602401600060405180830381865afa15801561043e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104669190810190610863565b90506104848160400151610478604690565b60ff9081169116141590565b156104ad57604051632295742160e21b81526001600160601b0383166004820152602401610258565b600081608001519050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105189190610936565b6001600160601b0384166001600160a01b03918216600160601b9081026bffffffffffffffffffffffff1916821760038190556040805193845291900490921660208201527fc23472ef19cd3719232c2fbc22eb87b48424eba43454acefd67a6578fda49d90910160405180910390a15050505050565b610597610604565b6105a08161064f565b50565b60008051602061095483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661064d57604051631afcd79f60e31b815260040160405180910390fd5b565b610657610604565b6105a0816105a3565b6001600160a01b03811681146105a057600080fd5b6000806040838503121561068857600080fd5b823561069381610660565b915060208301356106a381610660565b809150509250929050565b6000602082840312156106c057600080fd5b81356106cb81610660565b9392505050565b6001600160601b03811681146105a057600080fd5b6000806000606084860312156106fc57600080fd5b833561070781610660565b9250602084013561071781610660565b91506040840135610727816106d2565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561076b5761076b610732565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561079a5761079a610732565b604052919050565b80516107ad816106d2565b919050565b805160ff811681146107ad57600080fd5b805180151581146107ad57600080fd5b80516107ad81610660565b600082601f8301126107ef57600080fd5b815167ffffffffffffffff81111561080957610809610732565b602061081d601f8301601f19168201610771565b828152858284870101111561083157600080fd5b60005b8381101561084f578581018301518282018401528201610834565b506000928101909101919091529392505050565b60006020828403121561087557600080fd5b815167ffffffffffffffff8082111561088d57600080fd5b9083019060e082860312156108a157600080fd5b6108a9610748565b6108b2836107a2565b81526108c0602084016107a2565b60208201526108d1604084016107b2565b60408201526108e2606084016107c3565b60608201526108f3608084016107d3565b608082015261090460a084016107d3565b60a082015260c08301518281111561091b57600080fd5b610927878286016107de565b60c08301525095945050505050565b60006020828403121561094857600080fd5b81516106cb8161066056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122011e7a40e7aed8ac2a40ae26fc28d866fc26b770e67960df0c0dd0ca6a3234b0964736f6c63430008140033",
282
- "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c80637e7986691161005b5780637e798669146100f75780638fb3603714610112578063bf7e214f14610133578063c861c2501461015157600080fd5b806302cd30711461008d578063485cc955146100be5780635ab1bd53146100d35780637a9e5e4b146100e4575b600080fd5b600354600160601b90046001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100d16100cc366004610675565b610164565b005b6000546001600160a01b03166100a1565b6100d16100f23660046106ae565b61030b565b6003546040516001600160601b0390911681526020016100b5565b61011a6103a9565b6040516001600160e01b031990911681526020016100b5565b600080516020610954833981519152546001600160a01b03166100a1565b6100d161015f3660046106e7565b6103e2565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff166000811580156101aa5750825b905060008267ffffffffffffffff1660011480156101c75750303b155b9050811580156101d5575080155b156101f35760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561021d57845460ff60401b1916600160401b1785555b6102268761058f565b856001600160a01b03163b6000036102615760405163071669cf60e21b81526001600160a01b03871660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a1831561030257845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b3361032b600080516020610954833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146103665760405162d1953b60e31b81526001600160a01b0382166004820152602401610258565b816001600160a01b03163b60000361039c576040516361798f2f60e11b81526001600160a01b0383166004820152602401610258565b6103a5826105a3565b5050565b600080516020610954833981519152805460009190600160a01b900460ff166103d35760006103dc565b638fb3603760e01b5b91505090565b6103ec8383610164565b600080546040516305247a1760e51b81526001600160601b03841660048201526001600160a01b039091169063a48f42e090602401600060405180830381865afa15801561043e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104669190810190610863565b90506104848160400151610478604690565b60ff9081169116141590565b156104ad57604051632295742160e21b81526001600160601b0383166004820152602401610258565b600081608001519050806001600160a01b03166302cd30716040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105189190610936565b6001600160601b0384166001600160a01b03918216600160601b9081026bffffffffffffffffffffffff1916821760038190556040805193845291900490921660208201527fc23472ef19cd3719232c2fbc22eb87b48424eba43454acefd67a6578fda49d90910160405180910390a15050505050565b610597610604565b6105a08161064f565b50565b60008051602061095483398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff1661064d57604051631afcd79f60e31b815260040160405180910390fd5b565b610657610604565b6105a0816105a3565b6001600160a01b03811681146105a057600080fd5b6000806040838503121561068857600080fd5b823561069381610660565b915060208301356106a381610660565b809150509250929050565b6000602082840312156106c057600080fd5b81356106cb81610660565b9392505050565b6001600160601b03811681146105a057600080fd5b6000806000606084860312156106fc57600080fd5b833561070781610660565b9250602084013561071781610660565b91506040840135610727816106d2565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b60405160e0810167ffffffffffffffff8111828210171561076b5761076b610732565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561079a5761079a610732565b604052919050565b80516107ad816106d2565b919050565b805160ff811681146107ad57600080fd5b805180151581146107ad57600080fd5b80516107ad81610660565b600082601f8301126107ef57600080fd5b815167ffffffffffffffff81111561080957610809610732565b602061081d601f8301601f19168201610771565b828152858284870101111561083157600080fd5b60005b8381101561084f578581018301518282018401528201610834565b506000928101909101919091529392505050565b60006020828403121561087557600080fd5b815167ffffffffffffffff8082111561088d57600080fd5b9083019060e082860312156108a157600080fd5b6108a9610748565b6108b2836107a2565b81526108c0602084016107a2565b60208201526108d1604084016107b2565b60408201526108e2606084016107c3565b60608201526108f3608084016107d3565b608082015261090460a084016107d3565b60a082015260c08301518281111561091b57600080fd5b610927878286016107de565b60c08301525095945050505050565b60006020828403121561094857600080fd5b81516106cb8161066056fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a264697066735822122011e7a40e7aed8ac2a40ae26fc28d866fc26b770e67960df0c0dd0ca6a3234b0964736f6c63430008140033",
257
+ "bytecode": "0x608060405234801561001057600080fd5b50600080546001600160a01b03191690556105f0806100306000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638fb360371161005b5780638fb36037146100d4578063bf7e214f146100f5578063c0c53b8b14610113578063de7b5d141461012657600080fd5b8063485cc955146100825780635ab1bd53146100975780637a9e5e4b146100c1575b600080fd5b610095610090366004610502565b610137565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100956100cf366004610535565b6102de565b6100dc61037c565b6040516001600160e01b031990911681526020016100b8565b60008051602061059b833981519152546001600160a01b03166100a4565b610095610121366004610557565b6103b5565b6003546001600160a01b03166100a4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561017d5750825b905060008267ffffffffffffffff16600114801561019a5750303b155b9050811580156101a8575080155b156101c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156101f057845460ff60401b1916600160401b1785555b6101f987610415565b856001600160a01b03163b6000036102345760405163071669cf60e21b81526001600160a01b03871660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a183156102d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b336102fe60008051602061059b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146103395760405162d1953b60e31b81526001600160a01b038216600482015260240161022b565b816001600160a01b03163b60000361036f576040516361798f2f60e11b81526001600160a01b038316600482015260240161022b565b61037882610429565b5050565b60008051602061059b833981519152805460009190600160a01b900460ff166103a65760006103af565b638fb3603760e01b5b91505090565b6103bf8383610137565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f9060200160405180910390a1505050565b61041d61048a565b610426816104d5565b50565b60008051602061059b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166104d357604051631afcd79f60e31b815260040160405180910390fd5b565b6104dd61048a565b61042681610429565b80356001600160a01b03811681146104fd57600080fd5b919050565b6000806040838503121561051557600080fd5b61051e836104e6565b915061052c602084016104e6565b90509250929050565b60006020828403121561054757600080fd5b610550826104e6565b9392505050565b60008060006060848603121561056c57600080fd5b610575846104e6565b9250610583602085016104e6565b9150610591604085016104e6565b9050925092509256fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202d51c1ac60d03584db37f77ee44b1224eba509de671a51f761159d8918720d5864736f6c63430008140033",
258
+ "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638fb360371161005b5780638fb36037146100d4578063bf7e214f146100f5578063c0c53b8b14610113578063de7b5d141461012657600080fd5b8063485cc955146100825780635ab1bd53146100975780637a9e5e4b146100c1575b600080fd5b610095610090366004610502565b610137565b005b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100956100cf366004610535565b6102de565b6100dc61037c565b6040516001600160e01b031990911681526020016100b8565b60008051602061059b833981519152546001600160a01b03166100a4565b610095610121366004610557565b6103b5565b6003546001600160a01b03166100a4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a008054600160401b810460ff16159067ffffffffffffffff1660008115801561017d5750825b905060008267ffffffffffffffff16600114801561019a5750303b155b9050811580156101a8575080155b156101c65760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156101f057845460ff60401b1916600160401b1785555b6101f987610415565b856001600160a01b03163b6000036102345760405163071669cf60e21b81526001600160a01b03871660048201526024015b60405180910390fd5b600080546001600160a01b0319166001600160a01b0388811691821790925560408051928a16835260208301919091527fa6804c76412ae2d729353ed187a48b0b95177ee5c111049b80878fd127224412910160405180910390a183156102d557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50505050505050565b336102fe60008051602061059b833981519152546001600160a01b031690565b6001600160a01b0316816001600160a01b0316146103395760405162d1953b60e31b81526001600160a01b038216600482015260240161022b565b816001600160a01b03163b60000361036f576040516361798f2f60e11b81526001600160a01b038316600482015260240161022b565b61037882610429565b5050565b60008051602061059b833981519152805460009190600160a01b900460ff166103a65760006103af565b638fb3603760e01b5b91505090565b6103bf8383610137565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527fe89455dcb69bf4efd41cbb10c8064808f360b87b03ae8c96349c71f4934ffa0f9060200160405180910390a1505050565b61041d61048a565b610426816104d5565b50565b60008051602061059b83398151915280546001600160a01b0383166001600160a01b03199091168117825560408051918252517f2f658b440c35314f52658ea8a740e05b284cdc84dc9ae01e891f21b8933e7cad9181900360200190a15050565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0054600160401b900460ff166104d357604051631afcd79f60e31b815260040160405180910390fd5b565b6104dd61048a565b61042681610429565b80356001600160a01b03811681146104fd57600080fd5b919050565b6000806040838503121561051557600080fd5b61051e836104e6565b915061052c602084016104e6565b90509250929050565b60006020828403121561054757600080fd5b610550826104e6565b9392505050565b60008060006060848603121561056c57600080fd5b610575846104e6565b9250610583602085016104e6565b9150610591604085016104e6565b9050925092509256fef3177357ab46d8af007ab3fdb9af81da189e1068fefdc0073dca88a2cab40a00a26469706673582212202d51c1ac60d03584db37f77ee44b1224eba509de671a51f761159d8918720d5864736f6c63430008140033",
283
259
  "linkReferences": {},
284
260
  "deployedLinkReferences": {}
285
261
  }
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
+ }
@@ -1,24 +1,29 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
- "contractName": "ComponentServiceBase",
4
- "sourceName": "contracts/instance/base/ComponentServiceBase.sol",
3
+ "contractName": "ComponentService",
4
+ "sourceName": "contracts/instance/base/ComponentService.sol",
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [
8
8
  {
9
- "internalType": "ObjectType",
10
- "name": "componentType",
11
- "type": "uint8"
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
12
17
  }
13
18
  ],
14
- "name": "ComponentTypeInvalid",
19
+ "name": "ErrorAlreadyLinked",
15
20
  "type": "error"
16
21
  },
17
22
  {
18
23
  "inputs": [
19
24
  {
20
25
  "internalType": "address",
21
- "name": "registry",
26
+ "name": "component",
22
27
  "type": "address"
23
28
  },
24
29
  {
@@ -27,7 +32,92 @@
27
32
  "type": "uint96"
28
33
  }
29
34
  ],
30
- "name": "ErrorAlreadyLinked",
35
+ "name": "ErrorComponentServiceAlreadyRegistered",
36
+ "type": "error"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "address",
42
+ "name": "component",
43
+ "type": "address"
44
+ }
45
+ ],
46
+ "name": "ErrorComponentServiceComponentLocked",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "internalType": "NftId",
53
+ "name": "instanceNftId",
54
+ "type": "uint96"
55
+ },
56
+ {
57
+ "internalType": "RoleId",
58
+ "name": "requiredRole",
59
+ "type": "uint64"
60
+ },
61
+ {
62
+ "internalType": "address",
63
+ "name": "sender",
64
+ "type": "address"
65
+ }
66
+ ],
67
+ "name": "ErrorComponentServiceExpectedRoleMissing",
68
+ "type": "error"
69
+ },
70
+ {
71
+ "inputs": [
72
+ {
73
+ "internalType": "address",
74
+ "name": "component",
75
+ "type": "address"
76
+ },
77
+ {
78
+ "internalType": "ObjectType",
79
+ "name": "requiredType",
80
+ "type": "uint8"
81
+ },
82
+ {
83
+ "internalType": "ObjectType",
84
+ "name": "componentType",
85
+ "type": "uint8"
86
+ }
87
+ ],
88
+ "name": "ErrorComponentServiceInvalidType",
89
+ "type": "error"
90
+ },
91
+ {
92
+ "inputs": [
93
+ {
94
+ "internalType": "address",
95
+ "name": "component",
96
+ "type": "address"
97
+ }
98
+ ],
99
+ "name": "ErrorComponentServiceNotComponent",
100
+ "type": "error"
101
+ },
102
+ {
103
+ "inputs": [
104
+ {
105
+ "internalType": "address",
106
+ "name": "component",
107
+ "type": "address"
108
+ },
109
+ {
110
+ "internalType": "address",
111
+ "name": "initialOwner",
112
+ "type": "address"
113
+ },
114
+ {
115
+ "internalType": "address",
116
+ "name": "sender",
117
+ "type": "address"
118
+ }
119
+ ],
120
+ "name": "ErrorComponentServiceSenderNotOwner",
31
121
  "type": "error"
32
122
  },
33
123
  {
@@ -95,22 +185,6 @@
95
185
  "name": "ErrorRegistryNotInitialized",
96
186
  "type": "error"
97
187
  },
98
- {
99
- "inputs": [
100
- {
101
- "internalType": "RoleId",
102
- "name": "expected",
103
- "type": "uint64"
104
- },
105
- {
106
- "internalType": "address",
107
- "name": "caller",
108
- "type": "address"
109
- }
110
- ],
111
- "name": "ExpectedRoleMissing",
112
- "type": "error"
113
- },
114
188
  {
115
189
  "inputs": [],
116
190
  "name": "InvalidInitialization",
@@ -172,6 +246,19 @@
172
246
  "stateMutability": "view",
173
247
  "type": "function"
174
248
  },
249
+ {
250
+ "inputs": [],
251
+ "name": "getDomain",
252
+ "outputs": [
253
+ {
254
+ "internalType": "ObjectType",
255
+ "name": "",
256
+ "type": "uint8"
257
+ }
258
+ ],
259
+ "stateMutability": "pure",
260
+ "type": "function"
261
+ },
175
262
  {
176
263
  "inputs": [],
177
264
  "name": "getInitialInfo",
@@ -215,13 +302,21 @@
215
302
  }
216
303
  ],
217
304
  "internalType": "struct IRegistry.ObjectInfo",
218
- "name": "",
305
+ "name": "info",
219
306
  "type": "tuple"
220
- },
307
+ }
308
+ ],
309
+ "stateMutability": "view",
310
+ "type": "function"
311
+ },
312
+ {
313
+ "inputs": [],
314
+ "name": "getInitialOwner",
315
+ "outputs": [
221
316
  {
222
- "internalType": "bytes",
223
- "name": "data",
224
- "type": "bytes"
317
+ "internalType": "address",
318
+ "name": "",
319
+ "type": "address"
225
320
  }
226
321
  ],
227
322
  "stateMutability": "view",
@@ -266,19 +361,6 @@
266
361
  "stateMutability": "view",
267
362
  "type": "function"
268
363
  },
269
- {
270
- "inputs": [],
271
- "name": "getName",
272
- "outputs": [
273
- {
274
- "internalType": "string",
275
- "name": "name",
276
- "type": "string"
277
- }
278
- ],
279
- "stateMutability": "pure",
280
- "type": "function"
281
- },
282
364
  {
283
365
  "inputs": [],
284
366
  "name": "getNftId",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -11,7 +11,7 @@
11
11
  "type": "uint64"
12
12
  }
13
13
  ],
14
- "name": "ErrorGrantNonexstentRole",
14
+ "name": "ErrorIAccessGrantNonexstentRole",
15
15
  "type": "error"
16
16
  },
17
17
  {
@@ -22,7 +22,7 @@
22
22
  "type": "uint64"
23
23
  }
24
24
  ],
25
- "name": "ErrorRenounceNonexstentRole",
25
+ "name": "ErrorIAccessRenounceNonexstentRole",
26
26
  "type": "error"
27
27
  },
28
28
  {
@@ -33,7 +33,7 @@
33
33
  "type": "uint64"
34
34
  }
35
35
  ],
36
- "name": "ErrorRevokeNonexstentRole",
36
+ "name": "ErrorIAccessRevokeNonexstentRole",
37
37
  "type": "error"
38
38
  },
39
39
  {
@@ -49,7 +49,7 @@
49
49
  "type": "bytes32"
50
50
  }
51
51
  ],
52
- "name": "ErrorRoleIdAlreadyExists",
52
+ "name": "ErrorIAccessRoleIdAlreadyExists",
53
53
  "type": "error"
54
54
  },
55
55
  {
@@ -60,7 +60,7 @@
60
60
  "type": "uint64"
61
61
  }
62
62
  ],
63
- "name": "ErrorRoleIdInvalid",
63
+ "name": "ErrorIAccessRoleIdInvalid",
64
64
  "type": "error"
65
65
  },
66
66
  {
@@ -71,7 +71,7 @@
71
71
  "type": "uint64"
72
72
  }
73
73
  ],
74
- "name": "ErrorRoleIdNotActive",
74
+ "name": "ErrorIAccessRoleIdNotActive",
75
75
  "type": "error"
76
76
  },
77
77
  {
@@ -82,7 +82,7 @@
82
82
  "type": "uint64"
83
83
  }
84
84
  ],
85
- "name": "ErrorRoleIdTooBig",
85
+ "name": "ErrorIAccessRoleIdTooBig",
86
86
  "type": "error"
87
87
  },
88
88
  {
@@ -93,7 +93,7 @@
93
93
  "type": "uint64"
94
94
  }
95
95
  ],
96
- "name": "ErrorRoleIdTooSmall",
96
+ "name": "ErrorIAccessRoleIdTooSmall",
97
97
  "type": "error"
98
98
  },
99
99
  {
@@ -109,7 +109,28 @@
109
109
  "type": "bool"
110
110
  }
111
111
  ],
112
- "name": "ErrorRoleInvalidUpdate",
112
+ "name": "ErrorIAccessRoleInvalidUpdate",
113
+ "type": "error"
114
+ },
115
+ {
116
+ "inputs": [
117
+ {
118
+ "internalType": "RoleId",
119
+ "name": "roleId",
120
+ "type": "uint64"
121
+ },
122
+ {
123
+ "internalType": "bool",
124
+ "name": "isCustom",
125
+ "type": "bool"
126
+ },
127
+ {
128
+ "internalType": "bool",
129
+ "name": "isCustomExisting",
130
+ "type": "bool"
131
+ }
132
+ ],
133
+ "name": "ErrorIAccessRoleIsCustomIsImmutable",
113
134
  "type": "error"
114
135
  },
115
136
  {
@@ -120,7 +141,7 @@
120
141
  "type": "uint64"
121
142
  }
122
143
  ],
123
- "name": "ErrorRoleNameEmpty",
144
+ "name": "ErrorIAccessRoleNameEmpty",
124
145
  "type": "error"
125
146
  },
126
147
  {
@@ -136,12 +157,34 @@
136
157
  "type": "bytes32"
137
158
  }
138
159
  ],
139
- "name": "ErrorRoleNameNotUnique",
160
+ "name": "ErrorIAccessRoleNameNotUnique",
161
+ "type": "error"
162
+ },
163
+ {
164
+ "inputs": [
165
+ {
166
+ "internalType": "RoleId",
167
+ "name": "roleId",
168
+ "type": "uint64"
169
+ }
170
+ ],
171
+ "name": "ErrorIAccessSetLockedForNonexstentRole",
172
+ "type": "error"
173
+ },
174
+ {
175
+ "inputs": [
176
+ {
177
+ "internalType": "address",
178
+ "name": "target",
179
+ "type": "address"
180
+ }
181
+ ],
182
+ "name": "ErrorIAccessSetLockedForNonexstentTarget",
140
183
  "type": "error"
141
184
  },
142
185
  {
143
186
  "inputs": [],
144
- "name": "ErrorTargetAddressZero",
187
+ "name": "ErrorIAccessTargetAddressZero",
145
188
  "type": "error"
146
189
  },
147
190
  {
@@ -157,7 +200,7 @@
157
200
  "type": "bytes32"
158
201
  }
159
202
  ],
160
- "name": "ErrorTargetAlreadyExists",
203
+ "name": "ErrorIAccessTargetAlreadyExists",
161
204
  "type": "error"
162
205
  },
163
206
  {
@@ -168,7 +211,7 @@
168
211
  "type": "address"
169
212
  }
170
213
  ],
171
- "name": "ErrorTargetDoesNotExist",
214
+ "name": "ErrorIAccessTargetLocked",
172
215
  "type": "error"
173
216
  },
174
217
  {
@@ -179,7 +222,7 @@
179
222
  "type": "address"
180
223
  }
181
224
  ],
182
- "name": "ErrorTargetNameEmpty",
225
+ "name": "ErrorIAccessTargetNameEmpty",
183
226
  "type": "error"
184
227
  },
185
228
  {
@@ -200,7 +243,7 @@
200
243
  "type": "bytes32"
201
244
  }
202
245
  ],
203
- "name": "ErrorTargetNameExists",
246
+ "name": "ErrorIAccessTargetNameExists",
204
247
  "type": "error"
205
248
  }
206
249
  ],
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/65b23548824c96d3a9cfdfbce93a388d.json"
3
+ "buildInfo": "../../../../build-info/4390e4b2e91317183df145552bfd11cb.json"
4
4
  }