@etherisc/gif-next 0.0.2-e2d8c7d-942 → 0.0.2-e38b7e6-931

Sign up to get free protection for your applications and to get access to all the features.
Files changed (224) hide show
  1. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.dbg.json +1 -1
  2. package/artifacts/contracts/components/BaseComponent.sol/BaseComponent.json +40 -0
  3. package/artifacts/contracts/components/Distribution.sol/Distribution.dbg.json +1 -1
  4. package/artifacts/contracts/components/Distribution.sol/Distribution.json +42 -100
  5. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.dbg.json +1 -1
  6. package/artifacts/contracts/components/IBaseComponent.sol/IBaseComponent.json +40 -0
  7. package/artifacts/contracts/components/IDistributionComponent.sol/IDistributionComponent.dbg.json +1 -1
  8. package/artifacts/contracts/components/IPoolComponent.sol/IPoolComponent.dbg.json +1 -1
  9. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.dbg.json +1 -1
  10. package/artifacts/contracts/components/IProductComponent.sol/IProductComponent.json +5 -5
  11. package/artifacts/contracts/components/Pool.sol/Pool.dbg.json +1 -1
  12. package/artifacts/contracts/components/Pool.sol/Pool.json +42 -128
  13. package/artifacts/contracts/components/Product.sol/Product.dbg.json +1 -1
  14. package/artifacts/contracts/components/Product.sol/Product.json +47 -116
  15. package/artifacts/contracts/experiment/cloning/Cloner.sol/Cloner.dbg.json +1 -1
  16. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock1.dbg.json +1 -1
  17. package/artifacts/contracts/experiment/cloning/Cloner.sol/Mock2.dbg.json +1 -1
  18. package/artifacts/contracts/experiment/errors/Require.sol/Require.dbg.json +1 -1
  19. package/artifacts/contracts/experiment/errors/Revert.sol/Revert.dbg.json +1 -1
  20. package/artifacts/contracts/experiment/inheritance/A.sol/A.dbg.json +1 -1
  21. package/artifacts/contracts/experiment/inheritance/A.sol/AShared.dbg.json +1 -1
  22. package/artifacts/contracts/experiment/inheritance/B.sol/B.dbg.json +1 -1
  23. package/artifacts/contracts/experiment/inheritance/C.sol/C.dbg.json +1 -1
  24. package/artifacts/contracts/experiment/inheritance/IA.sol/IA.dbg.json +1 -1
  25. package/artifacts/contracts/experiment/inheritance/IA.sol/ISharedA.dbg.json +1 -1
  26. package/artifacts/contracts/experiment/inheritance/IB.sol/IB.dbg.json +1 -1
  27. package/artifacts/contracts/experiment/inheritance/IC.sol/IC.dbg.json +1 -1
  28. package/artifacts/contracts/experiment/statemachine/Dummy.sol/LifeCycleModule.dbg.json +1 -1
  29. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISM.dbg.json +1 -1
  30. package/artifacts/contracts/experiment/statemachine/ISM.sol/ISMEE.dbg.json +1 -1
  31. package/artifacts/contracts/experiment/statemachine/SM.sol/SM.dbg.json +1 -1
  32. package/artifacts/contracts/experiment/statemachine/SimpleStateMachine.sol/SimpleStateMachine.dbg.json +1 -1
  33. package/artifacts/contracts/experiment/types/TypeA.sol/TypeALib.dbg.json +1 -1
  34. package/artifacts/contracts/experiment/types/TypeB.sol/TypeBLib.dbg.json +1 -1
  35. package/artifacts/contracts/instance/AccessManagerUpgradeableInitializeable.sol/AccessManagerUpgradeableInitializeable.dbg.json +1 -1
  36. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.dbg.json +1 -1
  37. package/artifacts/contracts/instance/BundleManager.sol/BundleManager.json +2 -2
  38. package/artifacts/contracts/instance/Cloneable.sol/Cloneable.dbg.json +1 -1
  39. package/artifacts/contracts/instance/IInstance.sol/IInstance.dbg.json +1 -1
  40. package/artifacts/contracts/instance/IInstance.sol/IInstance.json +90 -13
  41. package/artifacts/contracts/instance/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  42. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.dbg.json +1 -1
  43. package/artifacts/contracts/instance/IInstanceService.sol/IInstanceService.json +88 -14
  44. package/artifacts/contracts/instance/Instance.sol/Instance.dbg.json +1 -1
  45. package/artifacts/contracts/instance/Instance.sol/Instance.json +56 -616
  46. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.dbg.json +1 -1
  47. package/artifacts/contracts/instance/InstanceAccessManager.sol/InstanceAccessManager.json +221 -114
  48. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.dbg.json +1 -1
  49. package/artifacts/contracts/instance/InstanceBase.sol/InstanceBase.json +2 -2
  50. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.dbg.json +1 -1
  51. package/artifacts/contracts/instance/InstanceReader.sol/InstanceReader.json +2 -2
  52. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.dbg.json +1 -1
  53. package/artifacts/contracts/instance/InstanceService.sol/InstanceService.json +126 -242
  54. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.dbg.json +1 -1
  55. package/artifacts/contracts/instance/InstanceServiceManager.sol/InstanceServiceManager.json +26 -126
  56. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.dbg.json +1 -1
  57. package/artifacts/contracts/instance/ObjectManager.sol/ObjectManager.json +2 -2
  58. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.dbg.json +1 -1
  59. package/artifacts/contracts/instance/base/ComponentServiceBase.sol/ComponentServiceBase.json +114 -13
  60. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.dbg.json +1 -1
  61. package/artifacts/contracts/instance/base/IInstanceBase.sol/IInstanceBase.json +0 -13
  62. package/artifacts/contracts/instance/base/IKeyValueStore.sol/IKeyValueStore.dbg.json +1 -1
  63. package/artifacts/contracts/instance/base/ILifecycle.sol/ILifecycle.dbg.json +1 -1
  64. package/artifacts/contracts/instance/base/KeyValueStore.sol/KeyValueStore.dbg.json +1 -1
  65. package/artifacts/contracts/instance/base/Lifecycle.sol/Lifecycle.dbg.json +1 -1
  66. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.dbg.json +1 -1
  67. package/artifacts/contracts/instance/module/IAccess.sol/IAccess.json +59 -16
  68. package/artifacts/contracts/instance/module/IBundle.sol/IBundle.dbg.json +1 -1
  69. package/artifacts/contracts/instance/module/IDistribution.sol/IDistribution.dbg.json +1 -1
  70. package/artifacts/contracts/instance/module/IPolicy.sol/IPolicy.dbg.json +1 -1
  71. package/artifacts/contracts/instance/module/IRisk.sol/IRisk.dbg.json +1 -1
  72. package/artifacts/contracts/instance/module/ISetup.sol/ISetup.dbg.json +1 -1
  73. package/artifacts/contracts/instance/module/ITreasury.sol/ITreasury.dbg.json +1 -1
  74. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.dbg.json +1 -1
  75. package/artifacts/contracts/instance/service/BundleService.sol/BundleService.json +235 -37
  76. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.dbg.json +1 -1
  77. package/artifacts/contracts/instance/service/BundleServiceManager.sol/BundleServiceManager.json +20 -24
  78. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.dbg.json +1 -1
  79. package/artifacts/contracts/instance/service/DistributionService.sol/DistributionService.json +145 -38
  80. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.dbg.json +1 -1
  81. package/artifacts/contracts/instance/service/DistributionServiceManager.sol/DistributionServiceManager.json +17 -21
  82. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.dbg.json +1 -1
  83. package/artifacts/contracts/instance/service/IBundleService.sol/IBundleService.json +64 -13
  84. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.dbg.json +1 -1
  85. package/artifacts/contracts/instance/service/IDistributionService.sol/IDistributionService.json +13 -13
  86. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.dbg.json +1 -1
  87. package/artifacts/contracts/instance/service/IPolicyService.sol/IPolicyService.json +120 -13
  88. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.dbg.json +1 -1
  89. package/artifacts/contracts/instance/service/IPoolService.sol/IPoolService.json +13 -13
  90. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.dbg.json +1 -1
  91. package/artifacts/contracts/instance/service/IProductService.sol/IProductService.json +13 -13
  92. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.dbg.json +1 -1
  93. package/artifacts/contracts/instance/service/PolicyService.sol/PolicyService.json +326 -64
  94. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.dbg.json +1 -1
  95. package/artifacts/contracts/instance/service/PolicyServiceManager.sol/PolicyServiceManager.json +51 -23
  96. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.dbg.json +1 -1
  97. package/artifacts/contracts/instance/service/PoolService.sol/PoolService.json +145 -38
  98. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.dbg.json +1 -1
  99. package/artifacts/contracts/instance/service/PoolServiceManager.sol/PoolServiceManager.json +17 -21
  100. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.dbg.json +1 -1
  101. package/artifacts/contracts/instance/service/ProductService.sol/ProductService.json +151 -44
  102. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.dbg.json +1 -1
  103. package/artifacts/contracts/instance/service/ProductServiceManager.sol/ProductServiceManager.json +17 -13
  104. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.dbg.json +1 -1
  105. package/artifacts/contracts/registry/ChainNft.sol/ChainNft.json +2 -2
  106. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.dbg.json +1 -1
  107. package/artifacts/contracts/registry/IRegistry.sol/IRegistry.json +132 -133
  108. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.dbg.json +1 -1
  109. package/artifacts/contracts/registry/IRegistryService.sol/IRegistryService.json +94 -65
  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 +145 -227
  113. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.dbg.json +4 -0
  114. package/artifacts/contracts/registry/RegistryAccessManager.sol/RegistryAccessManager.json +285 -0
  115. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.dbg.json +1 -1
  116. package/artifacts/contracts/registry/RegistryService.sol/RegistryService.json +30 -128
  117. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.dbg.json +1 -1
  118. package/artifacts/contracts/registry/RegistryServiceManager.sol/RegistryServiceManager.json +38 -104
  119. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.dbg.json +4 -0
  120. package/artifacts/contracts/registry/ReleaseManager.sol/ReleaseManager.json +530 -0
  121. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.dbg.json +1 -1
  122. package/artifacts/contracts/registry/TokenRegistry.sol/TokenRegistry.json +14 -27
  123. package/artifacts/contracts/shared/ContractDeployerLib.sol/ContractDeployerLib.dbg.json +1 -1
  124. package/artifacts/contracts/shared/ERC165.sol/ERC165.dbg.json +1 -1
  125. package/artifacts/contracts/shared/INftOwnable.sol/INftOwnable.dbg.json +1 -1
  126. package/artifacts/contracts/shared/IRegisterable.sol/IRegisterable.dbg.json +1 -1
  127. package/artifacts/contracts/shared/IService.sol/IService.dbg.json +1 -1
  128. package/artifacts/contracts/shared/IService.sol/IService.json +13 -13
  129. package/artifacts/contracts/shared/IVersionable.sol/IVersionable.dbg.json +1 -1
  130. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.dbg.json +1 -1
  131. package/artifacts/contracts/shared/NftOwnable.sol/NftOwnable.json +2 -2
  132. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.dbg.json +1 -1
  133. package/artifacts/contracts/shared/ProxyManager.sol/ProxyManager.json +2 -2
  134. package/artifacts/contracts/shared/Registerable.sol/Registerable.dbg.json +1 -1
  135. package/artifacts/contracts/shared/Registerable.sol/Registerable.json +2 -2
  136. package/artifacts/contracts/shared/RegisterableUpgradable.sol/RegisterableUpgradable.dbg.json +1 -1
  137. package/artifacts/contracts/shared/Service.sol/Service.dbg.json +1 -1
  138. package/artifacts/contracts/shared/Service.sol/Service.json +13 -13
  139. package/artifacts/contracts/shared/TokenHandler.sol/TokenHandler.dbg.json +1 -1
  140. package/artifacts/contracts/shared/UpgradableProxyWithAdmin.sol/UpgradableProxyWithAdmin.dbg.json +1 -1
  141. package/artifacts/contracts/shared/Versionable.sol/Versionable.dbg.json +1 -1
  142. package/artifacts/contracts/test/TestFee.sol/TestFee.dbg.json +1 -1
  143. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.dbg.json +1 -1
  144. package/artifacts/contracts/test/TestRegisterable.sol/TestRegisterable.json +2 -2
  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 +31 -31
  149. package/artifacts/contracts/test/TestToken.sol/TestUsdc.dbg.json +1 -1
  150. package/artifacts/contracts/test/TestVersion.sol/TestVersion.dbg.json +1 -1
  151. package/artifacts/contracts/test/TestVersionable.sol/TestVersionable.dbg.json +1 -1
  152. package/artifacts/contracts/test/Usdc.sol/USDC.dbg.json +1 -1
  153. package/artifacts/contracts/types/AddressSet.sol/LibAddressSet.dbg.json +1 -1
  154. package/artifacts/contracts/types/Blocknumber.sol/BlocknumberLib.dbg.json +1 -1
  155. package/artifacts/contracts/types/ChainId.sol/ChainIdLib.dbg.json +1 -1
  156. package/artifacts/contracts/types/DistributorType.sol/DistributorTypeLib.dbg.json +1 -1
  157. package/artifacts/contracts/types/Fee.sol/FeeLib.dbg.json +1 -1
  158. package/artifacts/contracts/types/Key32.sol/Key32Lib.dbg.json +1 -1
  159. package/artifacts/contracts/types/NftId.sol/NftIdLib.dbg.json +1 -1
  160. package/artifacts/contracts/types/NftIdSet.sol/LibNftIdSet.dbg.json +1 -1
  161. package/artifacts/contracts/types/NumberId.sol/NumberIdLib.dbg.json +1 -1
  162. package/artifacts/contracts/types/ObjectType.sol/ObjectTypeLib.dbg.json +1 -1
  163. package/artifacts/contracts/types/Referral.sol/ReferralLib.dbg.json +1 -1
  164. package/artifacts/contracts/types/RiskId.sol/RiskIdLib.dbg.json +1 -1
  165. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.dbg.json +1 -1
  166. package/artifacts/contracts/types/RoleId.sol/RoleIdLib.json +2 -2
  167. package/artifacts/contracts/types/StateId.sol/StateIdLib.dbg.json +1 -1
  168. package/artifacts/contracts/types/Timestamp.sol/TimestampLib.dbg.json +1 -1
  169. package/artifacts/contracts/types/UFixed.sol/MathLib.dbg.json +1 -1
  170. package/artifacts/contracts/types/UFixed.sol/UFixedLib.dbg.json +1 -1
  171. package/artifacts/contracts/types/Version.sol/VersionLib.dbg.json +1 -1
  172. package/artifacts/contracts/types/Version.sol/VersionPartLib.dbg.json +1 -1
  173. package/contracts/components/BaseComponent.sol +48 -12
  174. package/contracts/components/Distribution.sol +2 -11
  175. package/contracts/components/IBaseComponent.sol +5 -1
  176. package/contracts/components/IProductComponent.sol +2 -2
  177. package/contracts/components/Pool.sol +5 -18
  178. package/contracts/components/Product.sol +19 -16
  179. package/contracts/instance/IInstance.sol +3 -3
  180. package/contracts/instance/IInstanceBase.sol +0 -1
  181. package/contracts/instance/IInstanceService.sol +9 -3
  182. package/contracts/instance/Instance.sol +12 -214
  183. package/contracts/instance/InstanceAccessManager.sol +92 -77
  184. package/contracts/instance/InstanceBase.sol +0 -2
  185. package/contracts/instance/InstanceService.sol +118 -72
  186. package/contracts/instance/InstanceServiceManager.sol +5 -8
  187. package/contracts/instance/base/ComponentServiceBase.sol +78 -12
  188. package/contracts/instance/base/IInstanceBase.sol +0 -2
  189. package/contracts/instance/module/IAccess.sol +27 -17
  190. package/contracts/instance/service/BundleService.sol +39 -5
  191. package/contracts/instance/service/BundleServiceManager.sol +5 -8
  192. package/contracts/instance/service/DistributionService.sol +33 -36
  193. package/contracts/instance/service/DistributionServiceManager.sol +6 -9
  194. package/contracts/instance/service/IBundleService.sol +5 -6
  195. package/contracts/instance/service/IPolicyService.sol +7 -0
  196. package/contracts/instance/service/PolicyService.sol +65 -34
  197. package/contracts/instance/service/PoolService.sol +46 -28
  198. package/contracts/instance/service/PoolServiceManager.sol +5 -8
  199. package/contracts/instance/service/ProductService.sol +66 -30
  200. package/contracts/registry/ChainNft.sol +1 -1
  201. package/contracts/registry/IRegistry.sol +26 -16
  202. package/contracts/registry/IRegistryService.sol +13 -5
  203. package/contracts/registry/Registry.sol +149 -201
  204. package/contracts/registry/RegistryAccessManager.sol +210 -0
  205. package/contracts/registry/RegistryService.sol +50 -88
  206. package/contracts/registry/RegistryServiceManager.sol +18 -36
  207. package/contracts/registry/ReleaseManager.sol +342 -0
  208. package/contracts/registry/TokenRegistry.sol +5 -6
  209. package/contracts/shared/IRegisterable.sol +0 -2
  210. package/contracts/shared/IService.sol +2 -1
  211. package/contracts/shared/ProxyManager.sol +1 -1
  212. package/contracts/shared/Service.sol +10 -7
  213. package/contracts/test/TestService.sol +3 -2
  214. package/contracts/types/RoleId.sol +10 -12
  215. package/package.json +1 -1
  216. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.dbg.json +0 -4
  217. package/artifacts/contracts/instance/IAccessManagerSimple.sol/IAccessManagerSimple.json +0 -1082
  218. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.dbg.json +0 -4
  219. package/artifacts/contracts/instance/service/ComponentOwnerService.sol/ComponentOwnerService.json +0 -827
  220. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.dbg.json +0 -4
  221. package/artifacts/contracts/instance/service/IComponentOwnerService.sol/IComponentOwnerService.json +0 -466
  222. package/contracts/instance/IAccessManagerSimple.sol +0 -391
  223. package/contracts/instance/service/ComponentOwnerService.sol +0 -317
  224. package/contracts/instance/service/IComponentOwnerService.sol +0 -20
@@ -3,6 +3,16 @@
3
3
  "contractName": "IRegistry",
4
4
  "sourceName": "contracts/registry/IRegistry.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [],
8
+ "name": "CallerNotRegistryService",
9
+ "type": "error"
10
+ },
11
+ {
12
+ "inputs": [],
13
+ "name": "CallerNotReleaseManager",
14
+ "type": "error"
15
+ },
6
16
  {
7
17
  "inputs": [
8
18
  {
@@ -14,17 +24,6 @@
14
24
  "name": "ContractAlreadyRegistered",
15
25
  "type": "error"
16
26
  },
17
- {
18
- "inputs": [
19
- {
20
- "internalType": "VersionPart",
21
- "name": "majorVersion",
22
- "type": "uint8"
23
- }
24
- ],
25
- "name": "InvalidServiceVersion",
26
- "type": "error"
27
- },
28
27
  {
29
28
  "inputs": [
30
29
  {
@@ -41,52 +40,20 @@
41
40
  "name": "InvalidTypesCombination",
42
41
  "type": "error"
43
42
  },
44
- {
45
- "inputs": [
46
- {
47
- "internalType": "VersionPart",
48
- "name": "newMajorVersionMax",
49
- "type": "uint8"
50
- },
51
- {
52
- "internalType": "VersionPart",
53
- "name": "existingMaxMajorVersion",
54
- "type": "uint8"
55
- }
56
- ],
57
- "name": "MajorVersionMaxIncreaseInvalid",
58
- "type": "error"
59
- },
60
43
  {
61
44
  "inputs": [
62
45
  {
63
46
  "internalType": "address",
64
- "name": "account",
47
+ "name": "service",
65
48
  "type": "address"
66
49
  }
67
50
  ],
68
- "name": "NotOwner",
51
+ "name": "ServiceAlreadyRegistered",
69
52
  "type": "error"
70
53
  },
71
54
  {
72
55
  "inputs": [],
73
- "name": "NotRegistryService",
74
- "type": "error"
75
- },
76
- {
77
- "inputs": [
78
- {
79
- "internalType": "string",
80
- "name": "name",
81
- "type": "string"
82
- },
83
- {
84
- "internalType": "VersionPart",
85
- "name": "majorVersion",
86
- "type": "uint8"
87
- }
88
- ],
89
- "name": "ServiceNameAlreadyRegistered",
56
+ "name": "ServiceRegistration",
90
57
  "type": "error"
91
58
  },
92
59
  {
@@ -99,72 +66,39 @@
99
66
  "inputs": [
100
67
  {
101
68
  "indexed": false,
102
- "internalType": "VersionPart",
103
- "name": "majorVersion",
104
- "type": "uint8"
105
- }
106
- ],
107
- "name": "LogInitialMajorVersionSet",
108
- "type": "event"
109
- },
110
- {
111
- "anonymous": false,
112
- "inputs": [
69
+ "internalType": "NftId",
70
+ "name": "nftId",
71
+ "type": "uint96"
72
+ },
113
73
  {
114
74
  "indexed": false,
115
- "internalType": "VersionPart",
116
- "name": "majorVersionMax",
75
+ "internalType": "NftId",
76
+ "name": "parentNftId",
77
+ "type": "uint96"
78
+ },
79
+ {
80
+ "indexed": false,
81
+ "internalType": "ObjectType",
82
+ "name": "objectType",
117
83
  "type": "uint8"
118
- }
119
- ],
120
- "name": "LogMajorVersionSet",
121
- "type": "event"
122
- },
123
- {
124
- "anonymous": false,
125
- "inputs": [
84
+ },
126
85
  {
127
- "components": [
128
- {
129
- "internalType": "NftId",
130
- "name": "nftId",
131
- "type": "uint96"
132
- },
133
- {
134
- "internalType": "NftId",
135
- "name": "parentNftId",
136
- "type": "uint96"
137
- },
138
- {
139
- "internalType": "ObjectType",
140
- "name": "objectType",
141
- "type": "uint8"
142
- },
143
- {
144
- "internalType": "bool",
145
- "name": "isInterceptor",
146
- "type": "bool"
147
- },
148
- {
149
- "internalType": "address",
150
- "name": "objectAddress",
151
- "type": "address"
152
- },
153
- {
154
- "internalType": "address",
155
- "name": "initialOwner",
156
- "type": "address"
157
- },
158
- {
159
- "internalType": "bytes",
160
- "name": "data",
161
- "type": "bytes"
162
- }
163
- ],
164
86
  "indexed": false,
165
- "internalType": "struct IRegistry.ObjectInfo",
166
- "name": "info",
167
- "type": "tuple"
87
+ "internalType": "bool",
88
+ "name": "isInterceptor",
89
+ "type": "bool"
90
+ },
91
+ {
92
+ "indexed": false,
93
+ "internalType": "address",
94
+ "name": "objectAddress",
95
+ "type": "address"
96
+ },
97
+ {
98
+ "indexed": false,
99
+ "internalType": "address",
100
+ "name": "initialOwner",
101
+ "type": "address"
168
102
  }
169
103
  ],
170
104
  "name": "LogRegistration",
@@ -175,18 +109,18 @@
175
109
  "inputs": [
176
110
  {
177
111
  "indexed": false,
178
- "internalType": "string",
179
- "name": "serviceName",
180
- "type": "string"
112
+ "internalType": "VersionPart",
113
+ "name": "majorVersion",
114
+ "type": "uint8"
181
115
  },
182
116
  {
183
117
  "indexed": false,
184
- "internalType": "VersionPart",
185
- "name": "majorVersion",
118
+ "internalType": "ObjectType",
119
+ "name": "domain",
186
120
  "type": "uint8"
187
121
  }
188
122
  ],
189
- "name": "LogServiceNameRegistration",
123
+ "name": "LogServiceRegistration",
190
124
  "type": "event"
191
125
  },
192
126
  {
@@ -413,23 +347,30 @@
413
347
  },
414
348
  {
415
349
  "inputs": [
416
- {
417
- "internalType": "string",
418
- "name": "serviceName",
419
- "type": "string"
420
- },
421
350
  {
422
351
  "internalType": "VersionPart",
423
- "name": "majorVersion",
352
+ "name": "version",
424
353
  "type": "uint8"
425
354
  }
426
355
  ],
427
- "name": "getServiceAddress",
356
+ "name": "getReleaseInfo",
428
357
  "outputs": [
429
358
  {
430
- "internalType": "address",
431
- "name": "serviceAddress",
432
- "type": "address"
359
+ "components": [
360
+ {
361
+ "internalType": "ObjectType[]",
362
+ "name": "domains",
363
+ "type": "uint8[]"
364
+ },
365
+ {
366
+ "internalType": "Timestamp",
367
+ "name": "createdAt",
368
+ "type": "uint40"
369
+ }
370
+ ],
371
+ "internalType": "struct IRegistry.ReleaseInfo",
372
+ "name": "",
373
+ "type": "tuple"
433
374
  }
434
375
  ],
435
376
  "stateMutability": "view",
@@ -438,17 +379,22 @@
438
379
  {
439
380
  "inputs": [
440
381
  {
441
- "internalType": "NftId",
442
- "name": "nftId",
443
- "type": "uint96"
382
+ "internalType": "ObjectType",
383
+ "name": "serviceDomain",
384
+ "type": "uint8"
385
+ },
386
+ {
387
+ "internalType": "VersionPart",
388
+ "name": "releaseVersion",
389
+ "type": "uint8"
444
390
  }
445
391
  ],
446
- "name": "getServiceName",
392
+ "name": "getServiceAddress",
447
393
  "outputs": [
448
394
  {
449
- "internalType": "string",
450
- "name": "name",
451
- "type": "string"
395
+ "internalType": "address",
396
+ "name": "serviceAddress",
397
+ "type": "address"
452
398
  }
453
399
  ],
454
400
  "stateMutability": "view",
@@ -607,14 +553,67 @@
607
553
  },
608
554
  {
609
555
  "inputs": [
556
+ {
557
+ "components": [
558
+ {
559
+ "internalType": "NftId",
560
+ "name": "nftId",
561
+ "type": "uint96"
562
+ },
563
+ {
564
+ "internalType": "NftId",
565
+ "name": "parentNftId",
566
+ "type": "uint96"
567
+ },
568
+ {
569
+ "internalType": "ObjectType",
570
+ "name": "objectType",
571
+ "type": "uint8"
572
+ },
573
+ {
574
+ "internalType": "bool",
575
+ "name": "isInterceptor",
576
+ "type": "bool"
577
+ },
578
+ {
579
+ "internalType": "address",
580
+ "name": "objectAddress",
581
+ "type": "address"
582
+ },
583
+ {
584
+ "internalType": "address",
585
+ "name": "initialOwner",
586
+ "type": "address"
587
+ },
588
+ {
589
+ "internalType": "bytes",
590
+ "name": "data",
591
+ "type": "bytes"
592
+ }
593
+ ],
594
+ "internalType": "struct IRegistry.ObjectInfo",
595
+ "name": "serviceInfo",
596
+ "type": "tuple"
597
+ },
610
598
  {
611
599
  "internalType": "VersionPart",
612
- "name": "newMajorVersionMax",
600
+ "name": "serviceVersion",
613
601
  "type": "uint8"
602
+ },
603
+ {
604
+ "internalType": "ObjectType",
605
+ "name": "serviceDomain",
606
+ "type": "uint8"
607
+ }
608
+ ],
609
+ "name": "registerService",
610
+ "outputs": [
611
+ {
612
+ "internalType": "NftId",
613
+ "name": "nftId",
614
+ "type": "uint96"
614
615
  }
615
616
  ],
616
- "name": "setMajorVersion",
617
- "outputs": [],
618
617
  "stateMutability": "nonpayable",
619
618
  "type": "function"
620
619
  },
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/21904db660ef62061ace66e5e42ffc9e.json"
3
+ "buildInfo": "../../../build-info/2d0d5ac9f3af33498ef492a7caeac063.json"
4
4
  }
@@ -3,6 +3,44 @@
3
3
  "contractName": "IRegistryService",
4
4
  "sourceName": "contracts/registry/IRegistryService.sol",
5
5
  "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "internalType": "address",
10
+ "name": "authority",
11
+ "type": "address"
12
+ }
13
+ ],
14
+ "name": "AccessManagedInvalidAuthority",
15
+ "type": "error"
16
+ },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "internalType": "address",
21
+ "name": "caller",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "internalType": "uint32",
26
+ "name": "delay",
27
+ "type": "uint32"
28
+ }
29
+ ],
30
+ "name": "AccessManagedRequiredDelay",
31
+ "type": "error"
32
+ },
33
+ {
34
+ "inputs": [
35
+ {
36
+ "internalType": "address",
37
+ "name": "caller",
38
+ "type": "address"
39
+ }
40
+ ],
41
+ "name": "AccessManagedUnauthorized",
42
+ "type": "error"
43
+ },
6
44
  {
7
45
  "inputs": [
8
46
  {
@@ -167,6 +205,19 @@
167
205
  "name": "UnexpectedRegisterableType",
168
206
  "type": "error"
169
207
  },
208
+ {
209
+ "anonymous": false,
210
+ "inputs": [
211
+ {
212
+ "indexed": false,
213
+ "internalType": "address",
214
+ "name": "authority",
215
+ "type": "address"
216
+ }
217
+ ],
218
+ "name": "AuthorityUpdated",
219
+ "type": "event"
220
+ },
170
221
  {
171
222
  "anonymous": false,
172
223
  "inputs": [
@@ -192,6 +243,32 @@
192
243
  "name": "LogVersionableInitialized",
193
244
  "type": "event"
194
245
  },
246
+ {
247
+ "inputs": [],
248
+ "name": "authority",
249
+ "outputs": [
250
+ {
251
+ "internalType": "address",
252
+ "name": "",
253
+ "type": "address"
254
+ }
255
+ ],
256
+ "stateMutability": "view",
257
+ "type": "function"
258
+ },
259
+ {
260
+ "inputs": [],
261
+ "name": "getDomain",
262
+ "outputs": [
263
+ {
264
+ "internalType": "ObjectType",
265
+ "name": "serviceDomain",
266
+ "type": "uint8"
267
+ }
268
+ ],
269
+ "stateMutability": "pure",
270
+ "type": "function"
271
+ },
195
272
  {
196
273
  "inputs": [],
197
274
  "name": "getInitialInfo",
@@ -273,19 +350,6 @@
273
350
  "stateMutability": "view",
274
351
  "type": "function"
275
352
  },
276
- {
277
- "inputs": [],
278
- "name": "getName",
279
- "outputs": [
280
- {
281
- "internalType": "string",
282
- "name": "name",
283
- "type": "string"
284
- }
285
- ],
286
- "stateMutability": "pure",
287
- "type": "function"
288
- },
289
353
  {
290
354
  "inputs": [],
291
355
  "name": "getNftId",
@@ -439,6 +503,19 @@
439
503
  "stateMutability": "nonpayable",
440
504
  "type": "function"
441
505
  },
506
+ {
507
+ "inputs": [],
508
+ "name": "isConsumingScheduledOp",
509
+ "outputs": [
510
+ {
511
+ "internalType": "bytes4",
512
+ "name": "",
513
+ "type": "bytes4"
514
+ }
515
+ ],
516
+ "stateMutability": "view",
517
+ "type": "function"
518
+ },
442
519
  {
443
520
  "inputs": [
444
521
  {
@@ -839,61 +916,13 @@
839
916
  {
840
917
  "inputs": [
841
918
  {
842
- "internalType": "contract IService",
843
- "name": "service",
919
+ "internalType": "address",
920
+ "name": "",
844
921
  "type": "address"
845
922
  }
846
923
  ],
847
- "name": "registerService",
848
- "outputs": [
849
- {
850
- "components": [
851
- {
852
- "internalType": "NftId",
853
- "name": "nftId",
854
- "type": "uint96"
855
- },
856
- {
857
- "internalType": "NftId",
858
- "name": "parentNftId",
859
- "type": "uint96"
860
- },
861
- {
862
- "internalType": "ObjectType",
863
- "name": "objectType",
864
- "type": "uint8"
865
- },
866
- {
867
- "internalType": "bool",
868
- "name": "isInterceptor",
869
- "type": "bool"
870
- },
871
- {
872
- "internalType": "address",
873
- "name": "objectAddress",
874
- "type": "address"
875
- },
876
- {
877
- "internalType": "address",
878
- "name": "initialOwner",
879
- "type": "address"
880
- },
881
- {
882
- "internalType": "bytes",
883
- "name": "data",
884
- "type": "bytes"
885
- }
886
- ],
887
- "internalType": "struct IRegistry.ObjectInfo",
888
- "name": "info",
889
- "type": "tuple"
890
- },
891
- {
892
- "internalType": "bytes",
893
- "name": "data",
894
- "type": "bytes"
895
- }
896
- ],
924
+ "name": "setAuthority",
925
+ "outputs": [],
897
926
  "stateMutability": "nonpayable",
898
927
  "type": "function"
899
928
  },
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/21904db660ef62061ace66e5e42ffc9e.json"
3
+ "buildInfo": "../../../build-info/2d0d5ac9f3af33498ef492a7caeac063.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/21904db660ef62061ace66e5e42ffc9e.json"
3
+ "buildInfo": "../../../build-info/2d0d5ac9f3af33498ef492a7caeac063.json"
4
4
  }