@etherisc/gif-next 0.0.2-ead1eb0-841 → 0.0.2-eadf4ad-211

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. package/artifacts/contracts/distribution/Distribution.sol/Distribution.dbg.json +1 -1
  2. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.dbg.json +1 -1
  3. package/artifacts/contracts/distribution/DistributionService.sol/DistributionService.json +80 -80
  4. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  5. package/artifacts/contracts/distribution/DistributionServiceManager.sol/DistributionServiceManager.json +97 -58
  6. package/artifacts/contracts/distribution/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  7. package/artifacts/contracts/distribution/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  8. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  9. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
  10. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  11. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  12. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  13. package/artifacts/contracts/instance/Instance.sol/Instance.json +2 -2
  14. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  15. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +2 -2
  16. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.dbg.json +1 -1
  17. package/artifacts/contracts/instance/InstanceAuthorizationsLib.sol/InstanceAuthorizationsLib.json +2 -2
  18. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  19. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2 -2
  20. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  21. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +24 -24
  22. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  23. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +69 -30
  24. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.dbg.json +1 -1
  25. package/artifacts/contracts/instance/InstanceStore.sol/InstanceStore.json +2 -2
  26. package/artifacts/contracts/instance/base/Cloneable.sol/Cloneable.dbg.json +1 -1
  27. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  28. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  29. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  30. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  31. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  32. package/artifacts/contracts/instance/base/ObjectManager.sol/ObjectManager.json +2 -2
  33. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  34. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  35. package/artifacts/contracts/instance/module/IComponents.sol/IComponents.dbg.json +1 -1
  36. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  37. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  38. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  39. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  40. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  41. package/artifacts/contracts/pool/BundleService.sol/BundleService.dbg.json +1 -1
  42. package/artifacts/contracts/pool/BundleService.sol/BundleService.json +44 -44
  43. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  44. package/artifacts/contracts/pool/BundleServiceManager.sol/BundleServiceManager.json +79 -40
  45. package/artifacts/contracts/pool/IBundleService.sol/IBundleService.dbg.json +1 -1
  46. package/artifacts/contracts/pool/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  47. package/artifacts/contracts/pool/IPoolService.sol/IPoolService.dbg.json +1 -1
  48. package/artifacts/contracts/pool/Pool.sol/Pool.dbg.json +1 -1
  49. package/artifacts/contracts/pool/PoolService.sol/PoolService.dbg.json +1 -1
  50. package/artifacts/contracts/pool/PoolService.sol/PoolService.json +48 -48
  51. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  52. package/artifacts/contracts/pool/PoolServiceManager.sol/PoolServiceManager.json +81 -42
  53. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.dbg.json +1 -1
  54. package/artifacts/contracts/product/ApplicationService.sol/ApplicationService.json +4 -4
  55. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.dbg.json +1 -1
  56. package/artifacts/contracts/product/ApplicationServiceManager.sol/ApplicationServiceManager.json +68 -29
  57. package/artifacts/contracts/product/ClaimService.sol/ClaimService.dbg.json +1 -1
  58. package/artifacts/contracts/product/ClaimService.sol/ClaimService.json +10 -10
  59. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.dbg.json +1 -1
  60. package/artifacts/contracts/product/ClaimServiceManager.sol/ClaimServiceManager.json +90 -51
  61. package/artifacts/contracts/product/IApplicationService.sol/IApplicationService.dbg.json +1 -1
  62. package/artifacts/contracts/product/IClaimService.sol/IClaimService.dbg.json +1 -1
  63. package/artifacts/contracts/product/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  64. package/artifacts/contracts/product/IPricingService.sol/IPricingService.dbg.json +1 -1
  65. package/artifacts/contracts/product/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  66. package/artifacts/contracts/product/IProductService.sol/IProductService.dbg.json +1 -1
  67. package/artifacts/contracts/product/PolicyService.sol/PolicyService.dbg.json +1 -1
  68. package/artifacts/contracts/product/PolicyService.sol/PolicyService.json +8 -8
  69. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  70. package/artifacts/contracts/product/PolicyServiceManager.sol/PolicyServiceManager.json +90 -51
  71. package/artifacts/contracts/product/PricingService.sol/PricingService.dbg.json +1 -1
  72. package/artifacts/contracts/product/PricingService.sol/PricingService.json +30 -30
  73. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.dbg.json +1 -1
  74. package/artifacts/contracts/product/PricingServiceManager.sol/PricingServiceManager.json +77 -38
  75. package/artifacts/contracts/product/Product.sol/Product.dbg.json +1 -1
  76. package/artifacts/contracts/product/ProductService.sol/ProductService.dbg.json +1 -1
  77. package/artifacts/contracts/product/ProductService.sol/ProductService.json +6 -6
  78. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  79. package/artifacts/contracts/product/ProductServiceManager.sol/ProductServiceManager.json +66 -27
  80. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  81. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  82. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +73 -13
  83. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  84. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +153 -51
  85. package/artifacts/contracts/registry/ITransferInterceptor.sol/ITransferInterceptor.dbg.json +1 -1
  86. package/artifacts/contracts/registry/Registry.sol/Registry.dbg.json +1 -1
  87. package/artifacts/contracts/registry/Registry.sol/Registry.json +93 -25
  88. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +1 -1
  89. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +48 -95
  90. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  91. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +170 -68
  92. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  93. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +72 -28
  94. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +1 -1
  95. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +363 -76
  96. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  97. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +2 -2
  98. package/artifacts/contracts/shared/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  99. package/artifacts/contracts/shared/Component.sol/Component.dbg.json +1 -1
  100. package/artifacts/contracts/shared/ComponentService.sol/ComponentService.dbg.json +1 -1
  101. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  102. package/artifacts/contracts/shared/IComponent.sol/IComponent.dbg.json +1 -1
  103. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  104. package/artifacts/contracts/shared/IPolicyHolder.sol/IPolicyHolder.dbg.json +1 -1
  105. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  106. package/artifacts/contracts/shared/IRegistryLinked.sol/IRegistryLinked.dbg.json +1 -1
  107. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  108. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  109. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  110. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  111. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.dbg.json +1 -1
  112. package/artifacts/contracts/shared/PolicyHolder.sol/PolicyHolder.json +2 -2
  113. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  114. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +43 -14
  115. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  116. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
  117. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.dbg.json +1 -1
  118. package/artifacts/contracts/shared/RegistryLinked.sol/RegistryLinked.json +2 -2
  119. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  120. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  121. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  122. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  123. package/artifacts/contracts/staking/IStakingService.sol/IStakingService.dbg.json +1 -1
  124. package/artifacts/contracts/staking/StakingService.sol/StakingService.dbg.json +1 -1
  125. package/artifacts/contracts/staking/StakingService.sol/StakingService.json +4 -4
  126. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.dbg.json +4 -0
  127. package/artifacts/contracts/staking/StakingServiceManager.sol/StakingServiceManager.json +667 -0
  128. package/artifacts/contracts/type/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  129. package/artifacts/contracts/type/Amount.sol/AmountLib.dbg.json +1 -1
  130. package/artifacts/contracts/type/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  131. package/artifacts/contracts/type/ClaimId.sol/ClaimIdLib.dbg.json +1 -1
  132. package/artifacts/contracts/type/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  133. package/artifacts/contracts/type/Fee.sol/FeeLib.dbg.json +1 -1
  134. package/artifacts/contracts/type/Key32.sol/Key32Lib.dbg.json +1 -1
  135. package/artifacts/contracts/type/NftId.sol/NftIdLib.dbg.json +1 -1
  136. package/artifacts/contracts/type/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  137. package/artifacts/contracts/type/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  138. package/artifacts/contracts/type/PayoutId.sol/PayoutIdLib.dbg.json +1 -1
  139. package/artifacts/contracts/type/Referral.sol/ReferralLib.dbg.json +1 -1
  140. package/artifacts/contracts/type/RiskId.sol/RiskIdLib.dbg.json +1 -1
  141. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.dbg.json +1 -1
  142. package/artifacts/contracts/type/RoleId.sol/RoleIdLib.json +2 -2
  143. package/artifacts/contracts/type/Seconds.sol/SecondsLib.dbg.json +1 -1
  144. package/artifacts/contracts/type/StateId.sol/StateIdLib.dbg.json +1 -1
  145. package/artifacts/contracts/type/Timestamp.sol/TimestampLib.dbg.json +1 -1
  146. package/artifacts/contracts/type/UFixed.sol/MathLib.dbg.json +1 -1
  147. package/artifacts/contracts/type/UFixed.sol/UFixedLib.dbg.json +1 -1
  148. package/artifacts/contracts/type/Version.sol/VersionLib.dbg.json +1 -1
  149. package/artifacts/contracts/type/Version.sol/VersionPartLib.dbg.json +1 -1
  150. package/contracts/distribution/DistributionService.sol +8 -6
  151. package/contracts/distribution/DistributionServiceManager.sol +9 -6
  152. package/contracts/instance/InstanceService.sol +9 -16
  153. package/contracts/instance/InstanceServiceManager.sol +10 -20
  154. package/contracts/pool/BundleService.sol +13 -11
  155. package/contracts/pool/BundleServiceManager.sol +9 -18
  156. package/contracts/pool/PoolService.sol +12 -11
  157. package/contracts/pool/PoolServiceManager.sol +9 -18
  158. package/contracts/product/ApplicationService.sol +6 -5
  159. package/contracts/product/ApplicationServiceManager.sol +9 -6
  160. package/contracts/product/ClaimService.sol +6 -5
  161. package/contracts/product/ClaimServiceManager.sol +9 -6
  162. package/contracts/product/PolicyService.sol +6 -4
  163. package/contracts/product/PolicyServiceManager.sol +9 -21
  164. package/contracts/product/PricingService.sol +6 -5
  165. package/contracts/product/PricingServiceManager.sol +9 -18
  166. package/contracts/product/ProductService.sol +6 -4
  167. package/contracts/product/ProductServiceManager.sol +9 -21
  168. package/contracts/registry/IRegistry.sol +19 -12
  169. package/contracts/registry/IRegistryService.sol +22 -30
  170. package/contracts/registry/Registry.sol +40 -36
  171. package/contracts/registry/RegistryAccessManager.sol +39 -123
  172. package/contracts/registry/RegistryService.sol +22 -76
  173. package/contracts/registry/RegistryServiceManager.sol +21 -9
  174. package/contracts/registry/ReleaseManager.sol +243 -189
  175. package/contracts/shared/ComponentService.sol +0 -9
  176. package/contracts/shared/ProxyManager.sol +26 -0
  177. package/contracts/staking/StakingService.sol +7 -4
  178. package/contracts/staking/{StakeingServiceManager.sol → StakingServiceManager.sol} +8 -5
  179. package/contracts/type/RoleId.sol +10 -3
  180. package/package.json +1 -1
  181. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.dbg.json +0 -4
  182. package/artifacts/contracts/staking/StakeingServiceManager.sol/StakingServiceManager.json +0 -628
@@ -5,12 +5,12 @@
5
5
  "abi": [
6
6
  {
7
7
  "inputs": [],
8
- "name": "CallerNotRegistryService",
8
+ "name": "ErrorRegistryCallerNotRegistryService",
9
9
  "type": "error"
10
10
  },
11
11
  {
12
12
  "inputs": [],
13
- "name": "CallerNotReleaseManager",
13
+ "name": "ErrorRegistryCallerNotReleaseManager",
14
14
  "type": "error"
15
15
  },
16
16
  {
@@ -21,28 +21,33 @@
21
21
  "type": "address"
22
22
  }
23
23
  ],
24
- "name": "ContractAlreadyRegistered",
24
+ "name": "ErrorRegistryContractAlreadyRegistered",
25
25
  "type": "error"
26
26
  },
27
27
  {
28
28
  "inputs": [],
29
- "name": "CoreTypeRegistration",
29
+ "name": "ErrorRegistryCoreTypeRegistration",
30
30
  "type": "error"
31
31
  },
32
32
  {
33
33
  "inputs": [
34
34
  {
35
- "internalType": "ObjectType",
36
- "name": "objectType",
35
+ "internalType": "address",
36
+ "name": "service",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "internalType": "VersionPart",
41
+ "name": "version",
37
42
  "type": "uint8"
38
43
  },
39
44
  {
40
45
  "internalType": "ObjectType",
41
- "name": "parentType",
46
+ "name": "domain",
42
47
  "type": "uint8"
43
48
  }
44
49
  ],
45
- "name": "InvalidTypesCombination",
50
+ "name": "ErrorRegistryDomainAlreadyRegistered",
46
51
  "type": "error"
47
52
  },
48
53
  {
@@ -53,17 +58,28 @@
53
58
  "type": "address"
54
59
  }
55
60
  ],
56
- "name": "ServiceAlreadyRegistered",
61
+ "name": "ErrorRegistryDomainZero",
57
62
  "type": "error"
58
63
  },
59
64
  {
60
65
  "inputs": [],
61
- "name": "ServiceRegistration",
66
+ "name": "ErrorRegistryParentAddressZero",
62
67
  "type": "error"
63
68
  },
64
69
  {
65
- "inputs": [],
66
- "name": "ZeroParentAddress",
70
+ "inputs": [
71
+ {
72
+ "internalType": "ObjectType",
73
+ "name": "objectType",
74
+ "type": "uint8"
75
+ },
76
+ {
77
+ "internalType": "ObjectType",
78
+ "name": "parentType",
79
+ "type": "uint8"
80
+ }
81
+ ],
82
+ "name": "ErrorRegistryTypesCombinationInvalid",
67
83
  "type": "error"
68
84
  },
69
85
  {
@@ -350,6 +366,25 @@
350
366
  "stateMutability": "view",
351
367
  "type": "function"
352
368
  },
369
+ {
370
+ "inputs": [
371
+ {
372
+ "internalType": "VersionPart",
373
+ "name": "version",
374
+ "type": "uint8"
375
+ }
376
+ ],
377
+ "name": "getReleaseAccessManagerAddress",
378
+ "outputs": [
379
+ {
380
+ "internalType": "address",
381
+ "name": "",
382
+ "type": "address"
383
+ }
384
+ ],
385
+ "stateMutability": "view",
386
+ "type": "function"
387
+ },
353
388
  {
354
389
  "inputs": [
355
390
  {
@@ -362,6 +397,31 @@
362
397
  "outputs": [
363
398
  {
364
399
  "components": [
400
+ {
401
+ "internalType": "VersionPart",
402
+ "name": "version",
403
+ "type": "uint8"
404
+ },
405
+ {
406
+ "internalType": "address[]",
407
+ "name": "addresses",
408
+ "type": "address[]"
409
+ },
410
+ {
411
+ "internalType": "RoleId[][]",
412
+ "name": "serviceRoles",
413
+ "type": "uint64[][]"
414
+ },
415
+ {
416
+ "internalType": "RoleId[][]",
417
+ "name": "functionRoles",
418
+ "type": "uint64[][]"
419
+ },
420
+ {
421
+ "internalType": "bytes4[][][]",
422
+ "name": "selectors",
423
+ "type": "bytes4[][][]"
424
+ },
365
425
  {
366
426
  "internalType": "ObjectType[]",
367
427
  "name": "domains",
@@ -369,7 +429,7 @@
369
429
  },
370
430
  {
371
431
  "internalType": "Timestamp",
372
- "name": "createdAt",
432
+ "name": "activatedAt",
373
433
  "type": "uint40"
374
434
  }
375
435
  ],
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/39ed64a6d94bda54f955e31d7771246c.json"
3
+ "buildInfo": "../../../build-info/071313f55f9ef304da85a07673bd5d7f.json"
4
4
  }
@@ -91,90 +91,212 @@
91
91
  "type": "error"
92
92
  },
93
93
  {
94
- "inputs": [],
95
- "name": "ErrorServiceNotImplemented",
94
+ "inputs": [
95
+ {
96
+ "internalType": "address",
97
+ "name": "registerableAddress",
98
+ "type": "address"
99
+ }
100
+ ],
101
+ "name": "ErrorRegistryServiceInvalidAddress",
96
102
  "type": "error"
97
103
  },
98
104
  {
99
105
  "inputs": [
100
106
  {
101
107
  "internalType": "address",
102
- "name": "registerableAddress",
108
+ "name": "initialOwner",
103
109
  "type": "address"
104
110
  }
105
111
  ],
106
- "name": "InvalidAddress",
112
+ "name": "ErrorRegistryServiceInvalidInitialOwner",
107
113
  "type": "error"
108
114
  },
109
115
  {
110
116
  "inputs": [
111
117
  {
112
118
  "internalType": "address",
113
- "name": "initialOwner",
119
+ "name": "notDistribution",
114
120
  "type": "address"
115
121
  }
116
122
  ],
117
- "name": "InvalidInitialOwner",
123
+ "name": "ErrorRegistryServiceNotDistribution",
118
124
  "type": "error"
119
125
  },
120
126
  {
121
- "inputs": [],
122
- "name": "NotDistribution",
127
+ "inputs": [
128
+ {
129
+ "internalType": "address",
130
+ "name": "notInstance",
131
+ "type": "address"
132
+ }
133
+ ],
134
+ "name": "ErrorRegistryServiceNotInstance",
123
135
  "type": "error"
124
136
  },
125
137
  {
126
- "inputs": [],
127
- "name": "NotInstance",
138
+ "inputs": [
139
+ {
140
+ "internalType": "address",
141
+ "name": "notPool",
142
+ "type": "address"
143
+ }
144
+ ],
145
+ "name": "ErrorRegistryServiceNotPool",
128
146
  "type": "error"
129
147
  },
130
148
  {
131
- "inputs": [],
132
- "name": "NotPool",
149
+ "inputs": [
150
+ {
151
+ "internalType": "address",
152
+ "name": "notProduct",
153
+ "type": "address"
154
+ }
155
+ ],
156
+ "name": "ErrorRegistryServiceNotProduct",
133
157
  "type": "error"
134
158
  },
135
159
  {
136
160
  "inputs": [],
137
- "name": "NotProduct",
161
+ "name": "ErrorRegistryServiceNotRegistryOwner",
138
162
  "type": "error"
139
163
  },
140
164
  {
141
165
  "inputs": [
142
166
  {
143
167
  "internalType": "address",
144
- "name": "expectedOwner",
168
+ "name": "notService",
145
169
  "type": "address"
146
170
  }
147
171
  ],
148
- "name": "NotRegisterableOwner",
172
+ "name": "ErrorRegistryServiceNotService",
149
173
  "type": "error"
150
174
  },
151
175
  {
152
- "inputs": [],
153
- "name": "NotRegistryOwner",
176
+ "inputs": [
177
+ {
178
+ "internalType": "ObjectType",
179
+ "name": "objectType",
180
+ "type": "uint8"
181
+ },
182
+ {
183
+ "internalType": "address",
184
+ "name": "owner",
185
+ "type": "address"
186
+ }
187
+ ],
188
+ "name": "ErrorRegistryServiceObjectOwnerRegistered",
154
189
  "type": "error"
155
190
  },
156
191
  {
157
- "inputs": [],
158
- "name": "NotService",
192
+ "inputs": [
193
+ {
194
+ "internalType": "ObjectType",
195
+ "name": "objectType",
196
+ "type": "uint8"
197
+ }
198
+ ],
199
+ "name": "ErrorRegistryServiceObjectOwnerZero",
159
200
  "type": "error"
160
201
  },
161
202
  {
162
- "inputs": [],
163
- "name": "RegisterableOwnerIsRegistered",
203
+ "inputs": [
204
+ {
205
+ "internalType": "ObjectType",
206
+ "name": "expected",
207
+ "type": "uint8"
208
+ },
209
+ {
210
+ "internalType": "ObjectType",
211
+ "name": "found",
212
+ "type": "uint8"
213
+ }
214
+ ],
215
+ "name": "ErrorRegistryServiceObjectTypeInvalid",
164
216
  "type": "error"
165
217
  },
166
218
  {
167
- "inputs": [],
168
- "name": "RegisterableOwnerIsZero",
219
+ "inputs": [
220
+ {
221
+ "internalType": "contract IRegisterable",
222
+ "name": "registerable",
223
+ "type": "address"
224
+ },
225
+ {
226
+ "internalType": "address",
227
+ "name": "found",
228
+ "type": "address"
229
+ }
230
+ ],
231
+ "name": "ErrorRegistryServiceRegisterableAddressInvalid",
169
232
  "type": "error"
170
233
  },
171
234
  {
172
- "inputs": [],
173
- "name": "SelfRegistration",
235
+ "inputs": [
236
+ {
237
+ "internalType": "contract IRegisterable",
238
+ "name": "registerable",
239
+ "type": "address"
240
+ },
241
+ {
242
+ "internalType": "address",
243
+ "name": "expected",
244
+ "type": "address"
245
+ },
246
+ {
247
+ "internalType": "address",
248
+ "name": "found",
249
+ "type": "address"
250
+ }
251
+ ],
252
+ "name": "ErrorRegistryServiceRegisterableOwnerInvalid",
253
+ "type": "error"
254
+ },
255
+ {
256
+ "inputs": [
257
+ {
258
+ "internalType": "contract IRegisterable",
259
+ "name": "registerable",
260
+ "type": "address"
261
+ },
262
+ {
263
+ "internalType": "address",
264
+ "name": "owner",
265
+ "type": "address"
266
+ }
267
+ ],
268
+ "name": "ErrorRegistryServiceRegisterableOwnerRegistered",
269
+ "type": "error"
270
+ },
271
+ {
272
+ "inputs": [
273
+ {
274
+ "internalType": "contract IRegisterable",
275
+ "name": "registerable",
276
+ "type": "address"
277
+ }
278
+ ],
279
+ "name": "ErrorRegistryServiceRegisterableOwnerZero",
174
280
  "type": "error"
175
281
  },
176
282
  {
177
283
  "inputs": [
284
+ {
285
+ "internalType": "contract IRegisterable",
286
+ "name": "registerable",
287
+ "type": "address"
288
+ }
289
+ ],
290
+ "name": "ErrorRegistryServiceRegisterableSelfRegistration",
291
+ "type": "error"
292
+ },
293
+ {
294
+ "inputs": [
295
+ {
296
+ "internalType": "contract IRegisterable",
297
+ "name": "registerable",
298
+ "type": "address"
299
+ },
178
300
  {
179
301
  "internalType": "ObjectType",
180
302
  "name": "expected",
@@ -186,7 +308,12 @@
186
308
  "type": "uint8"
187
309
  }
188
310
  ],
189
- "name": "UnexpectedRegisterableType",
311
+ "name": "ErrorRegistryServiceRegisterableTypeInvalid",
312
+ "type": "error"
313
+ },
314
+ {
315
+ "inputs": [],
316
+ "name": "ErrorServiceNotImplemented",
190
317
  "type": "error"
191
318
  },
192
319
  {
@@ -228,31 +355,6 @@
228
355
  "stateMutability": "pure",
229
356
  "type": "function"
230
357
  },
231
- {
232
- "inputs": [],
233
- "name": "getFunctionConfigs",
234
- "outputs": [
235
- {
236
- "components": [
237
- {
238
- "internalType": "ObjectType",
239
- "name": "serviceDomain",
240
- "type": "uint8"
241
- },
242
- {
243
- "internalType": "bytes4[]",
244
- "name": "selectors",
245
- "type": "bytes4[]"
246
- }
247
- ],
248
- "internalType": "struct IRegistryService.FunctionConfig[]",
249
- "name": "config",
250
- "type": "tuple[]"
251
- }
252
- ],
253
- "stateMutability": "pure",
254
- "type": "function"
255
- },
256
358
  {
257
359
  "inputs": [],
258
360
  "name": "getInitialInfo",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/39ed64a6d94bda54f955e31d7771246c.json"
3
+ "buildInfo": "../../../build-info/071313f55f9ef304da85a07673bd5d7f.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/39ed64a6d94bda54f955e31d7771246c.json"
3
+ "buildInfo": "../../../build-info/071313f55f9ef304da85a07673bd5d7f.json"
4
4
  }