@etherisc/gif-next 0.0.2-743affe-003 → 0.0.2-7878646-744

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 (233) hide show
  1. package/README.md +11 -0
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  3. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +90 -2
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  5. package/artifacts/contracts/components/Distribution.sol/Distribution.json +118 -6
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  7. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +80 -3
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +0 -166
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  11. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +0 -166
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  13. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +0 -166
  14. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  15. package/artifacts/contracts/components/Pool.sol/Pool.json +120 -6
  16. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  17. package/artifacts/contracts/components/Product.sol/Product.json +118 -6
  18. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +4 -0
  19. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.json +66 -0
  20. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +4 -0
  21. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.json +24 -0
  22. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +4 -0
  23. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.json +42 -0
  24. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  35. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  36. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  37. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  38. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  39. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  40. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  41. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  42. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +54 -286
  43. package/artifacts/contracts/instance/IInstanceLinked.sol/IInstanceLinked.dbg.json +1 -1
  44. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  45. package/artifacts/contracts/instance/Instance.sol/Instance.json +154 -399
  46. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  47. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +90 -2
  48. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  49. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  50. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  51. package/artifacts/contracts/instance/base/IService.sol/IService.dbg.json +1 -1
  52. package/artifacts/contracts/instance/base/IService.sol/IService.json +80 -3
  53. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  54. package/artifacts/contracts/instance/base/InstanceBase.sol/InstanceBase.json +90 -2
  55. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  56. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  57. package/artifacts/contracts/instance/base/ModuleBase.sol/ModuleBase.dbg.json +1 -1
  58. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.dbg.json +1 -1
  59. package/artifacts/contracts/instance/base/ServiceBase.sol/ServiceBase.json +90 -2
  60. package/artifacts/contracts/instance/module/bundle/BundleModule.sol/BundleModule.dbg.json +1 -1
  61. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundle.dbg.json +1 -1
  62. package/artifacts/contracts/instance/module/bundle/IBundle.sol/IBundleModule.dbg.json +1 -1
  63. package/artifacts/contracts/instance/module/component/ComponentModule.sol/ComponentModule.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponent.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/component/IComponent.sol/IComponentModule.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/distribution/DistributionModule.sol/DistributionModule.json +2 -2
  68. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistribution.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/distribution/IDistribution.sol/IDistributionModule.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicy.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/policy/IPolicy.sol/IPolicyModule.json +0 -13
  73. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.dbg.json +1 -1
  74. package/artifacts/contracts/instance/module/policy/PolicyModule.sol/PolicyModule.json +0 -13
  75. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPool.dbg.json +1 -1
  76. package/artifacts/contracts/instance/module/pool/IPoolModule.sol/IPoolModule.dbg.json +1 -1
  77. package/artifacts/contracts/instance/module/pool/PoolModule.sol/PoolModule.dbg.json +1 -1
  78. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRisk.dbg.json +1 -1
  79. package/artifacts/contracts/instance/module/risk/IRisk.sol/IRiskModule.dbg.json +1 -1
  80. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.dbg.json +1 -1
  81. package/artifacts/contracts/instance/module/risk/RiskModule.sol/RiskModule.json +2 -2
  82. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasury.dbg.json +1 -1
  83. package/artifacts/contracts/instance/module/treasury/ITreasury.sol/ITreasuryModule.dbg.json +1 -1
  84. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  85. package/artifacts/contracts/instance/module/treasury/TokenHandler.sol/TokenHandler.json +2 -2
  86. package/artifacts/contracts/instance/module/treasury/TreasuryModule.sol/TreasuryModule.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +177 -40
  89. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +120 -16
  91. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +80 -3
  93. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +80 -3
  95. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +80 -3
  97. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +80 -3
  99. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  100. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +122 -18
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  102. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +146 -42
  103. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  105. package/artifacts/contracts/registry/IChainNft.sol/IChainNft.dbg.json +1 -1
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +40 -167
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +214 -10
  110. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  111. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  112. package/artifacts/contracts/registry/Registry.sol/Registry.json +66 -188
  113. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  114. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +415 -31
  115. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +4 -0
  116. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +496 -0
  117. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +4 -0
  118. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.json +107 -0
  119. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  120. package/artifacts/contracts/shared/ERC165.sol/ERC165.json +2 -2
  121. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +4 -0
  122. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.json +127 -0
  123. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  124. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +80 -3
  125. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  126. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +4 -0
  127. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +158 -0
  128. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  129. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +121 -82
  130. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +120 -6
  132. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  133. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.json +2 -2
  134. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  135. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.dbg.json +1 -1
  136. package/artifacts/contracts/test/TestDistribution.sol/TestDistribution.json +118 -6
  137. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  138. package/artifacts/contracts/test/TestFee.sol/TestFee.json +4 -4
  139. package/artifacts/contracts/test/TestPool.sol/TestPool.dbg.json +1 -1
  140. package/artifacts/contracts/test/TestPool.sol/TestPool.json +120 -6
  141. package/artifacts/contracts/test/TestProduct.sol/TestProduct.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestProduct.sol/TestProduct.json +120 -8
  143. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +120 -6
  145. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  146. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  147. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  148. package/artifacts/contracts/test/TestService.sol/TestService.json +126 -14
  149. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestToken.sol/TestUsdc.json +91 -53
  151. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  152. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  153. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.json +2 -2
  154. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  155. package/artifacts/contracts/test/Usdc.sol/USDC.json +91 -53
  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/Fee.sol/FeeLib.json +4 -4
  161. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  162. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  163. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  164. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/ReferralId.sol/ReferralIdLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  167. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  169. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +4 -0
  172. package/artifacts/contracts/types/UFixed.sol/MathLib.json +10 -0
  173. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +4 -0
  174. package/artifacts/contracts/types/UFixed.sol/{UFixedMathLib.json → UFixedLib.json} +3 -3
  175. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  176. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  177. package/contracts/components/BaseComponent.sol +1 -1
  178. package/contracts/components/IBaseComponent.sol +1 -1
  179. package/contracts/components/IDistributionComponent.sol +1 -2
  180. package/contracts/components/IPoolComponent.sol +1 -2
  181. package/contracts/components/IProductComponent.sol +1 -3
  182. package/contracts/components/Product.sol +4 -4
  183. package/contracts/experiment/cloning/Cloner.sol +47 -0
  184. package/contracts/instance/IInstance.sol +5 -7
  185. package/contracts/instance/Instance.sol +4 -6
  186. package/contracts/instance/base/ServiceBase.sol +1 -0
  187. package/contracts/instance/module/component/ComponentModule.sol +1 -1
  188. package/contracts/instance/module/component/IComponent.sol +1 -1
  189. package/contracts/instance/module/policy/IPolicy.sol +1 -1
  190. package/contracts/instance/module/treasury/ITreasury.sol +1 -1
  191. package/contracts/instance/module/treasury/TokenHandler.sol +1 -1
  192. package/contracts/instance/module/treasury/TreasuryModule.sol +4 -4
  193. package/contracts/instance/service/ComponentOwnerService.sol +73 -30
  194. package/contracts/instance/service/ProductService.sol +7 -6
  195. package/contracts/registry/ChainNft.sol +2 -2
  196. package/contracts/registry/IChainNft.sol +1 -1
  197. package/contracts/registry/IRegistry.sol +7 -25
  198. package/contracts/registry/IRegistryService.sol +9 -3
  199. package/contracts/registry/Registry.sol +78 -157
  200. package/contracts/registry/RegistryService.sol +179 -121
  201. package/contracts/registry/RegistryServiceManager.sol +64 -0
  202. package/contracts/shared/ContractDeployerLib.sol +72 -0
  203. package/contracts/shared/ERC165.sol +1 -1
  204. package/contracts/shared/INftOwnable.sol +22 -0
  205. package/contracts/shared/IRegisterable.sol +3 -8
  206. package/contracts/shared/NftOwnable.sol +136 -0
  207. package/contracts/shared/ProxyManager.sol +16 -37
  208. package/contracts/shared/Registerable.sol +14 -42
  209. package/contracts/shared/UpgradableProxyWithAdmin.sol +2 -2
  210. package/contracts/shared/Versionable.sol +1 -1
  211. package/contracts/test/TestFee.sol +2 -2
  212. package/contracts/types/Fee.sol +3 -3
  213. package/contracts/types/RoleId.sol +7 -0
  214. package/contracts/types/UFixed.sol +128 -12
  215. package/package.json +4 -3
  216. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.dbg.json +0 -4
  217. package/artifacts/contracts/instance/module/access/Access.sol/AccessModule.json +0 -333
  218. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.dbg.json +0 -4
  219. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccess.json +0 -10
  220. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.dbg.json +0 -4
  221. package/artifacts/contracts/instance/module/access/IAccess.sol/IAccessModule.json +0 -333
  222. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.dbg.json +0 -4
  223. package/artifacts/contracts/registry/IRegistryLinked.sol/IRegistryLinked.json +0 -24
  224. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.dbg.json +0 -4
  225. package/artifacts/contracts/registry/RegistryInstaller.sol/RegistryInstaller.json +0 -344
  226. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.dbg.json +0 -4
  227. package/artifacts/contracts/shared/IOwnable.sol/IOwnable.json +0 -24
  228. package/artifacts/contracts/types/UFixed.sol/UFixedMathLib.dbg.json +0 -4
  229. package/contracts/instance/module/access/Access.sol +0 -149
  230. package/contracts/instance/module/access/IAccess.sol +0 -53
  231. package/contracts/registry/IRegistryLinked.sol +0 -8
  232. package/contracts/registry/RegistryInstaller.sol +0 -100
  233. package/contracts/shared/IOwnable.sol +0 -6
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -3,6 +3,87 @@
3
3
  "contractName": "ComponentServiceBase",
4
4
  "sourceName": "contracts/instance/base/ComponentServiceBase.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorAlreadyLinked",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "contractAddress",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorContractNotRegistered",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "account",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "ErrorNotOwner",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "registryAddress",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorNotRegistry",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "registryAddress",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorRegisterableNotRegistry",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorRegistryAddressZero",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "registry",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorRegistryAlreadyInitialized",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "ErrorRegistryNotInitialized",
85
+ "type": "error"
86
+ },
6
87
  {
7
88
  "inputs": [],
8
89
  "name": "InvalidInitialization",
@@ -164,7 +245,7 @@
164
245
  "outputs": [
165
246
  {
166
247
  "internalType": "NftId",
167
- "name": "nftId",
248
+ "name": "",
168
249
  "type": "uint96"
169
250
  }
170
251
  ],
@@ -190,7 +271,7 @@
190
271
  "outputs": [
191
272
  {
192
273
  "internalType": "contract IRegistry",
193
- "name": "registry",
274
+ "name": "",
194
275
  "type": "address"
195
276
  }
196
277
  ],
@@ -343,6 +424,13 @@
343
424
  "stateMutability": "view",
344
425
  "type": "function"
345
426
  },
427
+ {
428
+ "inputs": [],
429
+ "name": "linkToRegisteredNftId",
430
+ "outputs": [],
431
+ "stateMutability": "nonpayable",
432
+ "type": "function"
433
+ },
346
434
  {
347
435
  "inputs": [
348
436
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -3,6 +3,76 @@
3
3
  "contractName": "IService",
4
4
  "sourceName": "contracts/instance/base/IService.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorAlreadyLinked",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "contractAddress",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorContractNotRegistered",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "account",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "ErrorNotOwner",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "registryAddress",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorNotRegistry",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [],
57
+ "name": "ErrorRegistryAddressZero",
58
+ "type": "error"
59
+ },
60
+ {
61
+ "inputs": [
62
+ {
63
+ "internalType": "address",
64
+ "name": "registry",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorRegistryAlreadyInitialized",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [],
73
+ "name": "ErrorRegistryNotInitialized",
74
+ "type": "error"
75
+ },
6
76
  {
7
77
  "anonymous": false,
8
78
  "inputs": [
@@ -128,7 +198,7 @@
128
198
  "outputs": [
129
199
  {
130
200
  "internalType": "NftId",
131
- "name": "nftId",
201
+ "name": "",
132
202
  "type": "uint96"
133
203
  }
134
204
  ],
@@ -141,7 +211,7 @@
141
211
  "outputs": [
142
212
  {
143
213
  "internalType": "address",
144
- "name": "owner",
214
+ "name": "",
145
215
  "type": "address"
146
216
  }
147
217
  ],
@@ -154,7 +224,7 @@
154
224
  "outputs": [
155
225
  {
156
226
  "internalType": "contract IRegistry",
157
- "name": "registry",
227
+ "name": "",
158
228
  "type": "address"
159
229
  }
160
230
  ],
@@ -294,6 +364,13 @@
294
364
  "stateMutability": "view",
295
365
  "type": "function"
296
366
  },
367
+ {
368
+ "inputs": [],
369
+ "name": "linkToRegisteredNftId",
370
+ "outputs": [],
371
+ "stateMutability": "nonpayable",
372
+ "type": "function"
373
+ },
297
374
  {
298
375
  "inputs": [
299
376
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -3,6 +3,87 @@
3
3
  "contractName": "InstanceBase",
4
4
  "sourceName": "contracts/instance/base/InstanceBase.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorAlreadyLinked",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "contractAddress",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorContractNotRegistered",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "account",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "ErrorNotOwner",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "registryAddress",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorNotRegistry",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "registryAddress",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorRegisterableNotRegistry",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorRegistryAddressZero",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "registry",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorRegistryAlreadyInitialized",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "ErrorRegistryNotInitialized",
85
+ "type": "error"
86
+ },
6
87
  {
7
88
  "inputs": [],
8
89
  "name": "InvalidInitialization",
@@ -177,7 +258,7 @@
177
258
  "outputs": [
178
259
  {
179
260
  "internalType": "NftId",
180
- "name": "nftId",
261
+ "name": "",
181
262
  "type": "uint96"
182
263
  }
183
264
  ],
@@ -229,7 +310,7 @@
229
310
  "outputs": [
230
311
  {
231
312
  "internalType": "contract IRegistry",
232
- "name": "registry",
313
+ "name": "",
233
314
  "type": "address"
234
315
  }
235
316
  ],
@@ -388,6 +469,13 @@
388
469
  "stateMutability": "view",
389
470
  "type": "function"
390
471
  },
472
+ {
473
+ "inputs": [],
474
+ "name": "linkToRegisteredNftId",
475
+ "outputs": [],
476
+ "stateMutability": "nonpayable",
477
+ "type": "function"
478
+ },
391
479
  {
392
480
  "inputs": [
393
481
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -3,6 +3,87 @@
3
3
  "contractName": "ServiceBase",
4
4
  "sourceName": "contracts/instance/base/ServiceBase.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "registry",
11
+ "type": "address"
12
+ },
13
+ {
14
+ "internalType": "NftId",
15
+ "name": "nftId",
16
+ "type": "uint96"
17
+ }
18
+ ],
19
+ "name": "ErrorAlreadyLinked",
20
+ "type": "error"
21
+ },
22
+ {
23
+ "inputs": [
24
+ {
25
+ "internalType": "address",
26
+ "name": "contractAddress",
27
+ "type": "address"
28
+ }
29
+ ],
30
+ "name": "ErrorContractNotRegistered",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "account",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "ErrorNotOwner",
42
+ "type": "error"
43
+ },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "registryAddress",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorNotRegistry",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "address",
59
+ "name": "registryAddress",
60
+ "type": "address"
61
+ }
62
+ ],
63
+ "name": "ErrorRegisterableNotRegistry",
64
+ "type": "error"
65
+ },
66
+ {
67
+ "inputs": [],
68
+ "name": "ErrorRegistryAddressZero",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "registry",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorRegistryAlreadyInitialized",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "ErrorRegistryNotInitialized",
85
+ "type": "error"
86
+ },
6
87
  {
7
88
  "inputs": [],
8
89
  "name": "InvalidInitialization",
@@ -164,7 +245,7 @@
164
245
  "outputs": [
165
246
  {
166
247
  "internalType": "NftId",
167
- "name": "nftId",
248
+ "name": "",
168
249
  "type": "uint96"
169
250
  }
170
251
  ],
@@ -190,7 +271,7 @@
190
271
  "outputs": [
191
272
  {
192
273
  "internalType": "contract IRegistry",
193
- "name": "registry",
274
+ "name": "",
194
275
  "type": "address"
195
276
  }
196
277
  ],
@@ -330,6 +411,13 @@
330
411
  "stateMutability": "view",
331
412
  "type": "function"
332
413
  },
414
+ {
415
+ "inputs": [],
416
+ "name": "linkToRegisteredNftId",
417
+ "outputs": [],
418
+ "stateMutability": "nonpayable",
419
+ "type": "function"
420
+ },
333
421
  {
334
422
  "inputs": [
335
423
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "DistributionModule",
4
4
  "sourceName": "contracts/instance/module/distribution/DistributionModule.sol",
5
5
  "abi": [],
6
- "bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea26469706673582212209d3fdf50131caeef2dc8dc6b1c5c6430ffb02876f3fc2bc527dbd826cc1f1cca64736f6c63430008140033",
7
- "deployedBytecode": "0x6080604052600080fdfea26469706673582212209d3fdf50131caeef2dc8dc6b1c5c6430ffb02876f3fc2bc527dbd826cc1f1cca64736f6c63430008140033",
6
+ "bytecode": "0x6080604052348015600f57600080fd5b50603f80601d6000396000f3fe6080604052600080fdfea26469706673582212207cf26d83d871f34588263b9e165c2bb2e4b48443f1701dcdfdd5a82c96f3124e64736f6c63430008140033",
7
+ "deployedBytecode": "0x6080604052600080fdfea26469706673582212207cf26d83d871f34588263b9e165c2bb2e4b48443f1701dcdfdd5a82c96f3124e64736f6c63430008140033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }
@@ -155,19 +155,6 @@
155
155
  "stateMutability": "nonpayable",
156
156
  "type": "function"
157
157
  },
158
- {
159
- "inputs": [],
160
- "name": "getRegistry",
161
- "outputs": [
162
- {
163
- "internalType": "contract IRegistry",
164
- "name": "registry",
165
- "type": "address"
166
- }
167
- ],
168
- "stateMutability": "view",
169
- "type": "function"
170
- },
171
158
  {
172
159
  "inputs": [
173
160
  {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/2c78228c851a60b159426de30077d024.json"
3
+ "buildInfo": "../../../../../build-info/c5de1cd84fb0ad7c62806910154fca8c.json"
4
4
  }