@etherisc/gif-next 0.0.2-b9e43cf-870 → 0.0.2-bb1081a-994

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) 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} +230 -14
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.json +141 -10
  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} +107 -87
  7. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.json +543 -0
  9. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  10. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.json +623 -45
  11. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  12. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +643 -5
  13. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  14. package/artifacts/contracts/components/Pool.sol/Pool.json +227 -73
  15. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  16. package/artifacts/contracts/components/Product.sol/Product.json +146 -15
  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 +181 -15
  42. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  43. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +0 -5
  44. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  45. package/artifacts/contracts/instance/Instance.sol/Instance.json +113 -76
  46. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  47. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +47 -60
  48. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +42 -83
  50. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +59 -58
  52. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +37 -24
  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} +102 -31
  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/IBundle.sol/IBundle.dbg.json +1 -1
  64. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  65. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  68. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  69. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  70. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +229 -93
  71. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  72. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +31 -18
  73. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  74. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +126 -47
  75. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  76. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +31 -14
  77. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  78. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +98 -38
  79. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  80. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +0 -5
  81. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  82. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +0 -5
  83. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  84. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +0 -5
  85. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  86. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +0 -5
  87. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  88. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +153 -82
  89. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  90. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +44 -31
  91. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  92. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +126 -47
  93. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  94. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +31 -14
  95. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  96. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +126 -47
  97. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  98. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +31 -14
  99. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  100. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  101. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +83 -3
  102. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  103. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +33 -28
  104. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  105. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  106. package/artifacts/contracts/registry/Registry.sol/Registry.json +96 -24
  107. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  108. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +18 -18
  109. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  110. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +61 -56
  111. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  112. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +28 -15
  113. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  114. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +70 -53
  115. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  116. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +23 -26
  117. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  118. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  119. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  120. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  121. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.json +0 -5
  122. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  123. package/artifacts/contracts/shared/IService.sol/IService.json +0 -5
  124. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  125. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  126. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +19 -6
  127. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  128. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +19 -6
  129. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +19 -11
  131. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  132. package/artifacts/contracts/shared/Service.sol/Service.json +13 -5
  133. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  134. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  135. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  136. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  137. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  138. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +19 -11
  139. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.dbg.json +1 -1
  140. package/artifacts/contracts/test/TestRoleId.sol/TestRoleId.json +2 -2
  141. package/artifacts/contracts/test/TestService.sol/TestService.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestService.sol/TestService.json +29 -21
  143. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  145. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  146. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  147. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  148. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  149. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  150. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  151. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  152. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  153. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  154. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  155. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  156. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  157. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  158. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  159. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  160. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  161. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  163. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  167. package/contracts/components/Component.sol +247 -0
  168. package/contracts/components/Distribution.sol +27 -48
  169. package/contracts/components/IComponent.sol +50 -0
  170. package/contracts/components/IDistributionComponent.sol +5 -2
  171. package/contracts/components/IPoolComponent.sol +40 -29
  172. package/contracts/components/IProductComponent.sol +7 -3
  173. package/contracts/components/Pool.sol +123 -138
  174. package/contracts/components/Product.sol +48 -86
  175. package/contracts/instance/BundleManager.sol +7 -11
  176. package/contracts/instance/IInstance.sol +20 -10
  177. package/contracts/instance/IInstanceService.sol +1 -1
  178. package/contracts/instance/Instance.sol +28 -31
  179. package/contracts/instance/InstanceAccessManager.sol +6 -11
  180. package/contracts/instance/InstanceReader.sol +3 -25
  181. package/contracts/instance/InstanceService.sol +31 -14
  182. package/contracts/instance/ObjectManager.sol +7 -24
  183. package/contracts/instance/base/ComponentService.sol +134 -0
  184. package/contracts/instance/module/ISetup.sol +2 -2
  185. package/contracts/instance/service/BundleService.sol +11 -6
  186. package/contracts/instance/service/DistributionService.sol +22 -36
  187. package/contracts/instance/service/IBundleService.sol +11 -1
  188. package/contracts/instance/service/PolicyService.sol +56 -76
  189. package/contracts/instance/service/PoolService.sol +19 -55
  190. package/contracts/instance/service/ProductService.sol +49 -30
  191. package/contracts/registry/IRegistry.sol +13 -6
  192. package/contracts/registry/IRegistryService.sol +16 -9
  193. package/contracts/registry/Registry.sol +100 -44
  194. package/contracts/registry/RegistryAccessManager.sol +31 -25
  195. package/contracts/registry/RegistryService.sol +27 -85
  196. package/contracts/registry/ReleaseManager.sol +72 -82
  197. package/contracts/registry/TokenRegistry.sol +5 -3
  198. package/contracts/shared/IRegisterable.sol +1 -3
  199. package/contracts/shared/NftOwnable.sol +5 -0
  200. package/contracts/shared/Registerable.sol +10 -14
  201. package/contracts/shared/Service.sol +4 -2
  202. package/contracts/types/RoleId.sol +2 -2
  203. package/package.json +1 -1
  204. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +0 -4
  205. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +0 -4
  206. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +0 -4
  207. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.json +0 -1206
  208. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  209. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.json +0 -448
  210. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +0 -4
  211. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +0 -763
  212. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +0 -4
  213. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +0 -4
  214. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -113
  215. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  216. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -814
  217. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  218. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  219. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +0 -4
  220. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.json +0 -442
  221. package/contracts/components/BaseComponent.sol +0 -159
  222. package/contracts/components/IBaseComponent.sol +0 -34
  223. package/contracts/instance/AccessManagerUpgradeableInitializeable.sol +0 -23
  224. package/contracts/instance/IInstanceBase.sol +0 -26
  225. package/contracts/instance/InstanceBase.sol +0 -41
  226. package/contracts/instance/base/ComponentServiceBase.sol +0 -76
  227. package/contracts/instance/base/IInstanceBase.sol +0 -23
  228. package/contracts/instance/service/ComponentOwnerService.sol +0 -315
  229. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
  230. package/contracts/shared/RegisterableUpgradable.sol +0 -16
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/cfe4ce2d6bcc59b0c3849316a75060c6.json"
4
+ }
@@ -1,8 +1,30 @@
1
1
  {
2
2
  "_format": "hh-sol-artifact-1",
3
- "contractName": "IBaseComponent",
4
- "sourceName": "contracts/components/IBaseComponent.sol",
3
+ "contractName": "Component",
4
+ "sourceName": "contracts/components/Component.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "target",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AddressEmptyCode",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "account",
22
+ "type": "address"
23
+ }
24
+ ],
25
+ "name": "AddressInsufficientBalance",
26
+ "type": "error"
27
+ },
6
28
  {
7
29
  "inputs": [
8
30
  {
@@ -19,6 +41,49 @@
19
41
  "name": "ErrorAlreadyLinked",
20
42
  "type": "error"
21
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "caller",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentNotChainNft",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "instanceNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "address",
64
+ "name": "instance",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorComponentNotInstance",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "caller",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorComponentNotProductService",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "ErrorComponentProductNftAlreadySet",
85
+ "type": "error"
86
+ },
22
87
  {
23
88
  "inputs": [
24
89
  {
@@ -32,7 +97,7 @@
32
97
  "type": "uint64"
33
98
  }
34
99
  ],
35
- "name": "ErrorBaseComponentUnauthorized",
100
+ "name": "ErrorComponentUnauthorized",
36
101
  "type": "error"
37
102
  },
38
103
  {
@@ -43,7 +108,12 @@
43
108
  "type": "address"
44
109
  }
45
110
  ],
46
- "name": "ErrorBaseComponentWalletAddressIsSameAsCurrent",
111
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "ErrorComponentWalletAddressZero",
47
117
  "type": "error"
48
118
  },
49
119
  {
@@ -69,7 +139,7 @@
69
139
  "type": "uint256"
70
140
  }
71
141
  ],
72
- "name": "ErrorBaseComponentWalletAllowanceTooSmall",
142
+ "name": "ErrorComponentWalletAllowanceTooSmall",
73
143
  "type": "error"
74
144
  },
75
145
  {
@@ -105,6 +175,17 @@
105
175
  "name": "ErrorNotRegistry",
106
176
  "type": "error"
107
177
  },
178
+ {
179
+ "inputs": [
180
+ {
181
+ "internalType": "address",
182
+ "name": "registryAddress",
183
+ "type": "address"
184
+ }
185
+ ],
186
+ "name": "ErrorRegisterableNotRegistry",
187
+ "type": "error"
188
+ },
108
189
  {
109
190
  "inputs": [],
110
191
  "name": "ErrorRegistryAddressZero",
@@ -126,6 +207,45 @@
126
207
  "name": "ErrorRegistryNotInitialized",
127
208
  "type": "error"
128
209
  },
210
+ {
211
+ "inputs": [],
212
+ "name": "FailedInnerCall",
213
+ "type": "error"
214
+ },
215
+ {
216
+ "inputs": [],
217
+ "name": "InvalidInitialization",
218
+ "type": "error"
219
+ },
220
+ {
221
+ "inputs": [],
222
+ "name": "NotInitializing",
223
+ "type": "error"
224
+ },
225
+ {
226
+ "inputs": [
227
+ {
228
+ "internalType": "address",
229
+ "name": "token",
230
+ "type": "address"
231
+ }
232
+ ],
233
+ "name": "SafeERC20FailedOperation",
234
+ "type": "error"
235
+ },
236
+ {
237
+ "anonymous": false,
238
+ "inputs": [
239
+ {
240
+ "indexed": false,
241
+ "internalType": "uint64",
242
+ "name": "version",
243
+ "type": "uint64"
244
+ }
245
+ ],
246
+ "name": "Initialized",
247
+ "type": "event"
248
+ },
129
249
  {
130
250
  "anonymous": false,
131
251
  "inputs": [
@@ -136,7 +256,7 @@
136
256
  "type": "address"
137
257
  }
138
258
  ],
139
- "name": "LogBaseComponentWalletAddressChanged",
259
+ "name": "LogComponentWalletAddressChanged",
140
260
  "type": "event"
141
261
  },
142
262
  {
@@ -161,9 +281,35 @@
161
281
  "type": "uint256"
162
282
  }
163
283
  ],
164
- "name": "LogBaseComponentWalletTokensTransferred",
284
+ "name": "LogComponentWalletTokensTransferred",
165
285
  "type": "event"
166
286
  },
287
+ {
288
+ "inputs": [],
289
+ "name": "CONTRACT_LOCATION_V1",
290
+ "outputs": [
291
+ {
292
+ "internalType": "bytes32",
293
+ "name": "",
294
+ "type": "bytes32"
295
+ }
296
+ ],
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
300
+ {
301
+ "inputs": [],
302
+ "name": "REGISTERABLE_LOCATION_V1",
303
+ "outputs": [
304
+ {
305
+ "internalType": "bytes32",
306
+ "name": "",
307
+ "type": "bytes32"
308
+ }
309
+ ],
310
+ "stateMutability": "view",
311
+ "type": "function"
312
+ },
167
313
  {
168
314
  "inputs": [],
169
315
  "name": "getInitialInfo",
@@ -207,13 +353,21 @@
207
353
  }
208
354
  ],
209
355
  "internalType": "struct IRegistry.ObjectInfo",
210
- "name": "",
356
+ "name": "info",
211
357
  "type": "tuple"
212
- },
358
+ }
359
+ ],
360
+ "stateMutability": "view",
361
+ "type": "function"
362
+ },
363
+ {
364
+ "inputs": [],
365
+ "name": "getInitialOwner",
366
+ "outputs": [
213
367
  {
214
- "internalType": "bytes",
215
- "name": "data",
216
- "type": "bytes"
368
+ "internalType": "address",
369
+ "name": "",
370
+ "type": "address"
217
371
  }
218
372
  ],
219
373
  "stateMutability": "view",
@@ -232,6 +386,19 @@
232
386
  "stateMutability": "view",
233
387
  "type": "function"
234
388
  },
389
+ {
390
+ "inputs": [],
391
+ "name": "getInstanceService",
392
+ "outputs": [
393
+ {
394
+ "internalType": "contract IInstanceService",
395
+ "name": "",
396
+ "type": "address"
397
+ }
398
+ ],
399
+ "stateMutability": "view",
400
+ "type": "function"
401
+ },
235
402
  {
236
403
  "inputs": [],
237
404
  "name": "getName",
@@ -242,7 +409,7 @@
242
409
  "type": "string"
243
410
  }
244
411
  ],
245
- "stateMutability": "pure",
412
+ "stateMutability": "view",
246
413
  "type": "function"
247
414
  },
248
415
  {
@@ -284,6 +451,19 @@
284
451
  "stateMutability": "view",
285
452
  "type": "function"
286
453
  },
454
+ {
455
+ "inputs": [],
456
+ "name": "getProductService",
457
+ "outputs": [
458
+ {
459
+ "internalType": "contract IProductService",
460
+ "name": "",
461
+ "type": "address"
462
+ }
463
+ ],
464
+ "stateMutability": "view",
465
+ "type": "function"
466
+ },
287
467
  {
288
468
  "inputs": [],
289
469
  "name": "getRegistry",
@@ -323,6 +503,19 @@
323
503
  "stateMutability": "view",
324
504
  "type": "function"
325
505
  },
506
+ {
507
+ "inputs": [],
508
+ "name": "isNftInterceptor",
509
+ "outputs": [
510
+ {
511
+ "internalType": "bool",
512
+ "name": "isInterceptor",
513
+ "type": "bool"
514
+ }
515
+ ],
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
326
519
  {
327
520
  "inputs": [],
328
521
  "name": "linkToRegisteredNftId",
@@ -337,6 +530,29 @@
337
530
  "stateMutability": "nonpayable",
338
531
  "type": "function"
339
532
  },
533
+ {
534
+ "inputs": [
535
+ {
536
+ "internalType": "address",
537
+ "name": "from",
538
+ "type": "address"
539
+ },
540
+ {
541
+ "internalType": "address",
542
+ "name": "to",
543
+ "type": "address"
544
+ },
545
+ {
546
+ "internalType": "uint256",
547
+ "name": "tokenId",
548
+ "type": "uint256"
549
+ }
550
+ ],
551
+ "name": "nftTransferFrom",
552
+ "outputs": [],
553
+ "stateMutability": "nonpayable",
554
+ "type": "function"
555
+ },
340
556
  {
341
557
  "inputs": [
342
558
  {
@@ -354,7 +570,7 @@
354
570
  "inputs": [
355
571
  {
356
572
  "internalType": "address",
357
- "name": "walletAddress",
573
+ "name": "newWallet",
358
574
  "type": "address"
359
575
  }
360
576
  ],
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/e5530b5c57be84d76caaa584abf46dd1.json"
3
+ "buildInfo": "../../../build-info/cfe4ce2d6bcc59b0c3849316a75060c6.json"
4
4
  }
@@ -41,6 +41,49 @@
41
41
  "name": "ErrorAlreadyLinked",
42
42
  "type": "error"
43
43
  },
44
+ {
45
+ "inputs": [
46
+ {
47
+ "internalType": "address",
48
+ "name": "caller",
49
+ "type": "address"
50
+ }
51
+ ],
52
+ "name": "ErrorComponentNotChainNft",
53
+ "type": "error"
54
+ },
55
+ {
56
+ "inputs": [
57
+ {
58
+ "internalType": "NftId",
59
+ "name": "instanceNftId",
60
+ "type": "uint96"
61
+ },
62
+ {
63
+ "internalType": "address",
64
+ "name": "instance",
65
+ "type": "address"
66
+ }
67
+ ],
68
+ "name": "ErrorComponentNotInstance",
69
+ "type": "error"
70
+ },
71
+ {
72
+ "inputs": [
73
+ {
74
+ "internalType": "address",
75
+ "name": "caller",
76
+ "type": "address"
77
+ }
78
+ ],
79
+ "name": "ErrorComponentNotProductService",
80
+ "type": "error"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "ErrorComponentProductNftAlreadySet",
85
+ "type": "error"
86
+ },
44
87
  {
45
88
  "inputs": [
46
89
  {
@@ -54,7 +97,7 @@
54
97
  "type": "uint64"
55
98
  }
56
99
  ],
57
- "name": "ErrorBaseComponentUnauthorized",
100
+ "name": "ErrorComponentUnauthorized",
58
101
  "type": "error"
59
102
  },
60
103
  {
@@ -65,7 +108,12 @@
65
108
  "type": "address"
66
109
  }
67
110
  ],
68
- "name": "ErrorBaseComponentWalletAddressIsSameAsCurrent",
111
+ "name": "ErrorComponentWalletAddressIsSameAsCurrent",
112
+ "type": "error"
113
+ },
114
+ {
115
+ "inputs": [],
116
+ "name": "ErrorComponentWalletAddressZero",
69
117
  "type": "error"
70
118
  },
71
119
  {
@@ -91,7 +139,7 @@
91
139
  "type": "uint256"
92
140
  }
93
141
  ],
94
- "name": "ErrorBaseComponentWalletAllowanceTooSmall",
142
+ "name": "ErrorComponentWalletAllowanceTooSmall",
95
143
  "type": "error"
96
144
  },
97
145
  {
@@ -208,7 +256,7 @@
208
256
  "type": "address"
209
257
  }
210
258
  ],
211
- "name": "LogBaseComponentWalletAddressChanged",
259
+ "name": "LogComponentWalletAddressChanged",
212
260
  "type": "event"
213
261
  },
214
262
  {
@@ -233,9 +281,22 @@
233
281
  "type": "uint256"
234
282
  }
235
283
  ],
236
- "name": "LogBaseComponentWalletTokensTransferred",
284
+ "name": "LogComponentWalletTokensTransferred",
237
285
  "type": "event"
238
286
  },
287
+ {
288
+ "inputs": [],
289
+ "name": "CONTRACT_LOCATION_V1",
290
+ "outputs": [
291
+ {
292
+ "internalType": "bytes32",
293
+ "name": "",
294
+ "type": "bytes32"
295
+ }
296
+ ],
297
+ "stateMutability": "view",
298
+ "type": "function"
299
+ },
239
300
  {
240
301
  "inputs": [],
241
302
  "name": "REGISTERABLE_LOCATION_V1",
@@ -340,13 +401,21 @@
340
401
  }
341
402
  ],
342
403
  "internalType": "struct IRegistry.ObjectInfo",
343
- "name": "",
404
+ "name": "info",
344
405
  "type": "tuple"
345
- },
406
+ }
407
+ ],
408
+ "stateMutability": "view",
409
+ "type": "function"
410
+ },
411
+ {
412
+ "inputs": [],
413
+ "name": "getInitialOwner",
414
+ "outputs": [
346
415
  {
347
- "internalType": "bytes",
416
+ "internalType": "address",
348
417
  "name": "",
349
- "type": "bytes"
418
+ "type": "address"
350
419
  }
351
420
  ],
352
421
  "stateMutability": "view",
@@ -365,6 +434,19 @@
365
434
  "stateMutability": "view",
366
435
  "type": "function"
367
436
  },
437
+ {
438
+ "inputs": [],
439
+ "name": "getInstanceService",
440
+ "outputs": [
441
+ {
442
+ "internalType": "contract IInstanceService",
443
+ "name": "",
444
+ "type": "address"
445
+ }
446
+ ],
447
+ "stateMutability": "view",
448
+ "type": "function"
449
+ },
368
450
  {
369
451
  "inputs": [],
370
452
  "name": "getName",
@@ -375,7 +457,7 @@
375
457
  "type": "string"
376
458
  }
377
459
  ],
378
- "stateMutability": "pure",
460
+ "stateMutability": "view",
379
461
  "type": "function"
380
462
  },
381
463
  {
@@ -417,6 +499,19 @@
417
499
  "stateMutability": "view",
418
500
  "type": "function"
419
501
  },
502
+ {
503
+ "inputs": [],
504
+ "name": "getProductService",
505
+ "outputs": [
506
+ {
507
+ "internalType": "contract IProductService",
508
+ "name": "",
509
+ "type": "address"
510
+ }
511
+ ],
512
+ "stateMutability": "view",
513
+ "type": "function"
514
+ },
420
515
  {
421
516
  "inputs": [],
422
517
  "name": "getRegistry",
@@ -508,6 +603,19 @@
508
603
  "stateMutability": "view",
509
604
  "type": "function"
510
605
  },
606
+ {
607
+ "inputs": [],
608
+ "name": "isNftInterceptor",
609
+ "outputs": [
610
+ {
611
+ "internalType": "bool",
612
+ "name": "isInterceptor",
613
+ "type": "bool"
614
+ }
615
+ ],
616
+ "stateMutability": "view",
617
+ "type": "function"
618
+ },
511
619
  {
512
620
  "inputs": [],
513
621
  "name": "isVerifying",
@@ -535,6 +643,29 @@
535
643
  "stateMutability": "nonpayable",
536
644
  "type": "function"
537
645
  },
646
+ {
647
+ "inputs": [
648
+ {
649
+ "internalType": "address",
650
+ "name": "from",
651
+ "type": "address"
652
+ },
653
+ {
654
+ "internalType": "address",
655
+ "name": "to",
656
+ "type": "address"
657
+ },
658
+ {
659
+ "internalType": "uint256",
660
+ "name": "tokenId",
661
+ "type": "uint256"
662
+ }
663
+ ],
664
+ "name": "nftTransferFrom",
665
+ "outputs": [],
666
+ "stateMutability": "nonpayable",
667
+ "type": "function"
668
+ },
538
669
  {
539
670
  "inputs": [
540
671
  {
@@ -0,0 +1,4 @@
1
+ {
2
+ "_format": "hh-sol-dbg-1",
3
+ "buildInfo": "../../../build-info/cfe4ce2d6bcc59b0c3849316a75060c6.json"
4
+ }