@hyperlane-xyz/core 3.12.0 → 3.12.2

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 (83) hide show
  1. package/dist/buildArtifact.js +1 -1
  2. package/dist/buildArtifact.json +1 -1
  3. package/dist/contracts/interfaces/avs/IAVSDirectory.d.ts +160 -0
  4. package/dist/contracts/interfaces/avs/IAVSDirectory.d.ts.map +1 -0
  5. package/dist/contracts/interfaces/avs/IAVSDirectory.js +2 -0
  6. package/dist/contracts/interfaces/avs/IAVSDirectory.js.map +1 -0
  7. package/dist/contracts/interfaces/avs/IDelegationManager.d.ts +93 -0
  8. package/dist/contracts/interfaces/avs/IDelegationManager.d.ts.map +1 -0
  9. package/dist/contracts/interfaces/avs/IDelegationManager.js +2 -0
  10. package/dist/contracts/interfaces/avs/IDelegationManager.js.map +1 -0
  11. package/dist/contracts/interfaces/avs/IECDSAStakeRegistryEventsAndErrors.d.ts +157 -0
  12. package/dist/contracts/interfaces/avs/IECDSAStakeRegistryEventsAndErrors.d.ts.map +1 -0
  13. package/dist/contracts/interfaces/avs/IECDSAStakeRegistryEventsAndErrors.js +2 -0
  14. package/dist/contracts/interfaces/avs/IECDSAStakeRegistryEventsAndErrors.js.map +1 -0
  15. package/dist/contracts/interfaces/avs/IPaymentCoordinator.d.ts +96 -0
  16. package/dist/contracts/interfaces/avs/IPaymentCoordinator.d.ts.map +1 -0
  17. package/dist/contracts/interfaces/avs/IPaymentCoordinator.js +2 -0
  18. package/dist/contracts/interfaces/avs/IPaymentCoordinator.js.map +1 -0
  19. package/dist/contracts/interfaces/avs/IServiceManager.d.ts +250 -0
  20. package/dist/contracts/interfaces/avs/IServiceManager.d.ts.map +1 -0
  21. package/dist/contracts/interfaces/avs/IServiceManager.js +2 -0
  22. package/dist/contracts/interfaces/avs/IServiceManager.js.map +1 -0
  23. package/dist/contracts/interfaces/avs/IServiceManagerUI.d.ts +189 -0
  24. package/dist/contracts/interfaces/avs/IServiceManagerUI.d.ts.map +1 -0
  25. package/dist/contracts/interfaces/avs/IServiceManagerUI.js +2 -0
  26. package/dist/contracts/interfaces/avs/IServiceManagerUI.js.map +1 -0
  27. package/dist/contracts/interfaces/avs/ISlasher.d.ts +66 -0
  28. package/dist/contracts/interfaces/avs/ISlasher.d.ts.map +1 -0
  29. package/dist/contracts/interfaces/avs/ISlasher.js +2 -0
  30. package/dist/contracts/interfaces/avs/ISlasher.js.map +1 -0
  31. package/dist/contracts/interfaces/avs/IStrategy.d.ts +295 -0
  32. package/dist/contracts/interfaces/avs/IStrategy.d.ts.map +1 -0
  33. package/dist/contracts/interfaces/avs/IStrategy.js +2 -0
  34. package/dist/contracts/interfaces/avs/IStrategy.js.map +1 -0
  35. package/dist/contracts/test/ERC20Test.d.ts +391 -0
  36. package/dist/contracts/test/ERC20Test.d.ts.map +1 -0
  37. package/dist/contracts/test/ERC20Test.js +2 -0
  38. package/dist/contracts/test/ERC20Test.js.map +1 -0
  39. package/dist/contracts/token/HypERC20CollateralVaultDeposit.d.ts +721 -0
  40. package/dist/contracts/token/HypERC20CollateralVaultDeposit.d.ts.map +1 -0
  41. package/dist/contracts/token/HypERC20CollateralVaultDeposit.js +2 -0
  42. package/dist/contracts/token/HypERC20CollateralVaultDeposit.js.map +1 -0
  43. package/dist/factories/contracts/interfaces/avs/IAVSDirectory__factory.d.ts +71 -0
  44. package/dist/factories/contracts/interfaces/avs/IAVSDirectory__factory.d.ts.map +1 -0
  45. package/dist/factories/contracts/interfaces/avs/IAVSDirectory__factory.js +96 -0
  46. package/dist/factories/contracts/interfaces/avs/IAVSDirectory__factory.js.map +1 -0
  47. package/dist/factories/contracts/interfaces/avs/IDelegationManager__factory.d.ts +54 -0
  48. package/dist/factories/contracts/interfaces/avs/IDelegationManager__factory.d.ts.map +1 -0
  49. package/dist/factories/contracts/interfaces/avs/IDelegationManager__factory.js +75 -0
  50. package/dist/factories/contracts/interfaces/avs/IDelegationManager__factory.js.map +1 -0
  51. package/dist/factories/contracts/interfaces/avs/IECDSAStakeRegistryEventsAndErrors__factory.d.ts +205 -0
  52. package/dist/factories/contracts/interfaces/avs/IECDSAStakeRegistryEventsAndErrors__factory.d.ts.map +1 -0
  53. package/dist/factories/contracts/interfaces/avs/IECDSAStakeRegistryEventsAndErrors__factory.js +266 -0
  54. package/dist/factories/contracts/interfaces/avs/IECDSAStakeRegistryEventsAndErrors__factory.js.map +1 -0
  55. package/dist/factories/contracts/interfaces/avs/IPaymentCoordinator__factory.d.ts +49 -0
  56. package/dist/factories/contracts/interfaces/avs/IPaymentCoordinator__factory.d.ts.map +1 -0
  57. package/dist/factories/contracts/interfaces/avs/IPaymentCoordinator__factory.js +68 -0
  58. package/dist/factories/contracts/interfaces/avs/IPaymentCoordinator__factory.js.map +1 -0
  59. package/dist/factories/contracts/interfaces/avs/IServiceManagerUI__factory.d.ts +90 -0
  60. package/dist/factories/contracts/interfaces/avs/IServiceManagerUI__factory.d.ts.map +1 -0
  61. package/dist/factories/contracts/interfaces/avs/IServiceManagerUI__factory.js +122 -0
  62. package/dist/factories/contracts/interfaces/avs/IServiceManagerUI__factory.js.map +1 -0
  63. package/dist/factories/contracts/interfaces/avs/IServiceManager__factory.d.ts +130 -0
  64. package/dist/factories/contracts/interfaces/avs/IServiceManager__factory.d.ts.map +1 -0
  65. package/dist/factories/contracts/interfaces/avs/IServiceManager__factory.js +174 -0
  66. package/dist/factories/contracts/interfaces/avs/IServiceManager__factory.js.map +1 -0
  67. package/dist/factories/contracts/interfaces/avs/ISlasher__factory.d.ts +19 -0
  68. package/dist/factories/contracts/interfaces/avs/ISlasher__factory.d.ts.map +1 -0
  69. package/dist/factories/contracts/interfaces/avs/ISlasher__factory.js +29 -0
  70. package/dist/factories/contracts/interfaces/avs/ISlasher__factory.js.map +1 -0
  71. package/dist/factories/contracts/interfaces/avs/IStrategy__factory.d.ts +173 -0
  72. package/dist/factories/contracts/interfaces/avs/IStrategy__factory.d.ts.map +1 -0
  73. package/dist/factories/contracts/interfaces/avs/IStrategy__factory.js +235 -0
  74. package/dist/factories/contracts/interfaces/avs/IStrategy__factory.js.map +1 -0
  75. package/dist/factories/contracts/test/ERC20Test__factory.d.ts +281 -0
  76. package/dist/factories/contracts/test/ERC20Test__factory.d.ts.map +1 -0
  77. package/dist/factories/contracts/test/ERC20Test__factory.js +379 -0
  78. package/dist/factories/contracts/test/ERC20Test__factory.js.map +1 -0
  79. package/dist/factories/contracts/token/HypERC20CollateralVaultDeposit__factory.d.ts +470 -0
  80. package/dist/factories/contracts/token/HypERC20CollateralVaultDeposit__factory.d.ts.map +1 -0
  81. package/dist/factories/contracts/token/HypERC20CollateralVaultDeposit__factory.js +621 -0
  82. package/dist/factories/contracts/token/HypERC20CollateralVaultDeposit__factory.js.map +1 -0
  83. package/package.json +2 -2
@@ -0,0 +1,266 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [],
8
+ name: "InsufficientSignedStake",
9
+ type: "error",
10
+ },
11
+ {
12
+ inputs: [],
13
+ name: "InsufficientWeight",
14
+ type: "error",
15
+ },
16
+ {
17
+ inputs: [],
18
+ name: "InvalidLength",
19
+ type: "error",
20
+ },
21
+ {
22
+ inputs: [],
23
+ name: "InvalidQuorum",
24
+ type: "error",
25
+ },
26
+ {
27
+ inputs: [],
28
+ name: "InvalidSignature",
29
+ type: "error",
30
+ },
31
+ {
32
+ inputs: [],
33
+ name: "InvalidSignedWeight",
34
+ type: "error",
35
+ },
36
+ {
37
+ inputs: [],
38
+ name: "InvalidThreshold",
39
+ type: "error",
40
+ },
41
+ {
42
+ inputs: [],
43
+ name: "LengthMismatch",
44
+ type: "error",
45
+ },
46
+ {
47
+ inputs: [],
48
+ name: "MustUpdateAllOperators",
49
+ type: "error",
50
+ },
51
+ {
52
+ inputs: [],
53
+ name: "NotSorted",
54
+ type: "error",
55
+ },
56
+ {
57
+ inputs: [],
58
+ name: "OperatorAlreadyRegistered",
59
+ type: "error",
60
+ },
61
+ {
62
+ inputs: [],
63
+ name: "OperatorNotRegistered",
64
+ type: "error",
65
+ },
66
+ {
67
+ anonymous: false,
68
+ inputs: [
69
+ {
70
+ indexed: false,
71
+ internalType: "uint256",
72
+ name: "_old",
73
+ type: "uint256",
74
+ },
75
+ {
76
+ indexed: false,
77
+ internalType: "uint256",
78
+ name: "_new",
79
+ type: "uint256",
80
+ },
81
+ ],
82
+ name: "MinimumWeightUpdated",
83
+ type: "event",
84
+ },
85
+ {
86
+ anonymous: false,
87
+ inputs: [
88
+ {
89
+ indexed: true,
90
+ internalType: "address",
91
+ name: "_operator",
92
+ type: "address",
93
+ },
94
+ {
95
+ indexed: true,
96
+ internalType: "address",
97
+ name: "_avs",
98
+ type: "address",
99
+ },
100
+ ],
101
+ name: "OperatorDeregistered",
102
+ type: "event",
103
+ },
104
+ {
105
+ anonymous: false,
106
+ inputs: [
107
+ {
108
+ indexed: true,
109
+ internalType: "address",
110
+ name: "_operator",
111
+ type: "address",
112
+ },
113
+ {
114
+ indexed: true,
115
+ internalType: "address",
116
+ name: "_avs",
117
+ type: "address",
118
+ },
119
+ ],
120
+ name: "OperatorRegistered",
121
+ type: "event",
122
+ },
123
+ {
124
+ anonymous: false,
125
+ inputs: [
126
+ {
127
+ indexed: true,
128
+ internalType: "address",
129
+ name: "_operator",
130
+ type: "address",
131
+ },
132
+ {
133
+ indexed: false,
134
+ internalType: "uint256",
135
+ name: "oldWeight",
136
+ type: "uint256",
137
+ },
138
+ {
139
+ indexed: false,
140
+ internalType: "uint256",
141
+ name: "newWeight",
142
+ type: "uint256",
143
+ },
144
+ ],
145
+ name: "OperatorWeightUpdated",
146
+ type: "event",
147
+ },
148
+ {
149
+ anonymous: false,
150
+ inputs: [
151
+ {
152
+ components: [
153
+ {
154
+ components: [
155
+ {
156
+ internalType: "contract IStrategy",
157
+ name: "strategy",
158
+ type: "address",
159
+ },
160
+ {
161
+ internalType: "uint96",
162
+ name: "multiplier",
163
+ type: "uint96",
164
+ },
165
+ ],
166
+ internalType: "struct StrategyParams[]",
167
+ name: "strategies",
168
+ type: "tuple[]",
169
+ },
170
+ ],
171
+ indexed: false,
172
+ internalType: "struct Quorum",
173
+ name: "_old",
174
+ type: "tuple",
175
+ },
176
+ {
177
+ components: [
178
+ {
179
+ components: [
180
+ {
181
+ internalType: "contract IStrategy",
182
+ name: "strategy",
183
+ type: "address",
184
+ },
185
+ {
186
+ internalType: "uint96",
187
+ name: "multiplier",
188
+ type: "uint96",
189
+ },
190
+ ],
191
+ internalType: "struct StrategyParams[]",
192
+ name: "strategies",
193
+ type: "tuple[]",
194
+ },
195
+ ],
196
+ indexed: false,
197
+ internalType: "struct Quorum",
198
+ name: "_new",
199
+ type: "tuple",
200
+ },
201
+ ],
202
+ name: "QuorumUpdated",
203
+ type: "event",
204
+ },
205
+ {
206
+ anonymous: false,
207
+ inputs: [
208
+ {
209
+ indexed: false,
210
+ internalType: "uint256",
211
+ name: "_thresholdWeight",
212
+ type: "uint256",
213
+ },
214
+ ],
215
+ name: "ThresholdWeightUpdated",
216
+ type: "event",
217
+ },
218
+ {
219
+ anonymous: false,
220
+ inputs: [
221
+ {
222
+ indexed: false,
223
+ internalType: "uint256",
224
+ name: "oldTotalWeight",
225
+ type: "uint256",
226
+ },
227
+ {
228
+ indexed: false,
229
+ internalType: "uint256",
230
+ name: "newTotalWeight",
231
+ type: "uint256",
232
+ },
233
+ ],
234
+ name: "TotalWeightUpdated",
235
+ type: "event",
236
+ },
237
+ {
238
+ anonymous: false,
239
+ inputs: [
240
+ {
241
+ indexed: false,
242
+ internalType: "uint256",
243
+ name: "oldMinimumWeight",
244
+ type: "uint256",
245
+ },
246
+ {
247
+ indexed: false,
248
+ internalType: "uint256",
249
+ name: "newMinimumWeight",
250
+ type: "uint256",
251
+ },
252
+ ],
253
+ name: "UpdateMinimumWeight",
254
+ type: "event",
255
+ },
256
+ ];
257
+ export class IECDSAStakeRegistryEventsAndErrors__factory {
258
+ static abi = _abi;
259
+ static createInterface() {
260
+ return new utils.Interface(_abi);
261
+ }
262
+ static connect(address, signerOrProvider) {
263
+ return new Contract(address, _abi, signerOrProvider);
264
+ }
265
+ }
266
+ //# sourceMappingURL=IECDSAStakeRegistryEventsAndErrors__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IECDSAStakeRegistryEventsAndErrors__factory.js","sourceRoot":"","sources":["../../../../../types/factories/contracts/interfaces/avs/IECDSAStakeRegistryEventsAndErrors__factory.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AAEpB,OAAO,EAAE,QAAQ,EAAU,KAAK,EAAE,MAAM,QAAQ,CAAC;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,yBAAyB;QAC/B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,oBAAoB;QAC1B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,OAAO;KACd;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,OAAO;KACd;IACD;QACE,M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AAmC;QAEnC,OAAO,IAAI,QAAQ,CACjB,OAAO,EACP,IAAI,EACJ,gBAAgB,CACqB,CAAC;IAC1C,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { IPaymentCoordinator, IPaymentCoordinatorInterface } from "../../../../contracts/interfaces/avs/IPaymentCoordinator.js";
4
+ export declare class IPaymentCoordinator__factory {
5
+ static readonly abi: readonly [{
6
+ readonly inputs: readonly [{
7
+ readonly components: readonly [{
8
+ readonly components: readonly [{
9
+ readonly internalType: "contract IStrategy";
10
+ readonly name: "strategy";
11
+ readonly type: "address";
12
+ }, {
13
+ readonly internalType: "uint96";
14
+ readonly name: "multiplier";
15
+ readonly type: "uint96";
16
+ }];
17
+ readonly internalType: "struct IPaymentCoordinator.StrategyAndMultiplier[]";
18
+ readonly name: "strategiesAndMultipliers";
19
+ readonly type: "tuple[]";
20
+ }, {
21
+ readonly internalType: "contract IERC20";
22
+ readonly name: "token";
23
+ readonly type: "address";
24
+ }, {
25
+ readonly internalType: "uint256";
26
+ readonly name: "amount";
27
+ readonly type: "uint256";
28
+ }, {
29
+ readonly internalType: "uint64";
30
+ readonly name: "startTimestamp";
31
+ readonly type: "uint64";
32
+ }, {
33
+ readonly internalType: "uint64";
34
+ readonly name: "duration";
35
+ readonly type: "uint64";
36
+ }];
37
+ readonly internalType: "struct IPaymentCoordinator.RangePayment[]";
38
+ readonly name: "rangePayments";
39
+ readonly type: "tuple[]";
40
+ }];
41
+ readonly name: "payForRange";
42
+ readonly outputs: readonly [];
43
+ readonly stateMutability: "nonpayable";
44
+ readonly type: "function";
45
+ }];
46
+ static createInterface(): IPaymentCoordinatorInterface;
47
+ static connect(address: string, signerOrProvider: Signer | Provider): IPaymentCoordinator;
48
+ }
49
+ //# sourceMappingURL=IPaymentCoordinator__factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPaymentCoordinator__factory.d.ts","sourceRoot":"","sources":["../../../../../types/factories/contracts/interfaces/avs/IPaymentCoordinator__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,mBAAmB,EACnB,4BAA4B,EAC7B,MAAM,6DAA6D,CAAC;AAyDrE,qBAAa,4BAA4B;IACvC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,4BAA4B;IAGtD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,mBAAmB;CAGvB"}
@@ -0,0 +1,68 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [
8
+ {
9
+ components: [
10
+ {
11
+ components: [
12
+ {
13
+ internalType: "contract IStrategy",
14
+ name: "strategy",
15
+ type: "address",
16
+ },
17
+ {
18
+ internalType: "uint96",
19
+ name: "multiplier",
20
+ type: "uint96",
21
+ },
22
+ ],
23
+ internalType: "struct IPaymentCoordinator.StrategyAndMultiplier[]",
24
+ name: "strategiesAndMultipliers",
25
+ type: "tuple[]",
26
+ },
27
+ {
28
+ internalType: "contract IERC20",
29
+ name: "token",
30
+ type: "address",
31
+ },
32
+ {
33
+ internalType: "uint256",
34
+ name: "amount",
35
+ type: "uint256",
36
+ },
37
+ {
38
+ internalType: "uint64",
39
+ name: "startTimestamp",
40
+ type: "uint64",
41
+ },
42
+ {
43
+ internalType: "uint64",
44
+ name: "duration",
45
+ type: "uint64",
46
+ },
47
+ ],
48
+ internalType: "struct IPaymentCoordinator.RangePayment[]",
49
+ name: "rangePayments",
50
+ type: "tuple[]",
51
+ },
52
+ ],
53
+ name: "payForRange",
54
+ outputs: [],
55
+ stateMutability: "nonpayable",
56
+ type: "function",
57
+ },
58
+ ];
59
+ export class IPaymentCoordinator__factory {
60
+ static abi = _abi;
61
+ static createInterface() {
62
+ return new utils.Interface(_abi);
63
+ }
64
+ static connect(address, signerOrProvider) {
65
+ return new Contract(address, _abi, signerOrProvider);
66
+ }
67
+ }
68
+ //# sourceMappingURL=IPaymentCoordinator__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPaymentCoordinator__factory.js","sourceRoot":"","sources":["../../../../../types/factories/contracts/interfaces/avs/IPaymentCoordinator__factory.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AAEpB,OAAO,EAAE,QAAQ,EAAU,KAAK,EAAE,MAAM,QAAQ,CAAC;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,UAAU,EAAE;oBACV;wBACE,UAAU,EAAE;4BACV;gCACE,YAAY,EAAE,oBAAoB;gCAClC,IAAI,EAAE,UAAU;gCAChB,IAAI,EAAE,SAAS;6BAChB;4BACD;gCACE,YAAY,EAAE,QAAQ;gCACtB,IAAI,EAAE,YAAY;gCAClB,IAAI,EAAE,QAAQ;6BACf;yBACF;wBACD,YAAY,EAAE,oDAAoD;wBAClE,IAAI,EAAE,0BAA0B;wBAChC,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,iBAAiB;wBAC/B,IAAI,EAAE,OAAO;wBACb,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,SAAS;wBACvB,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,SAAS;qBAChB;oBACD;wBACE,YAAY,EAAE,QAAQ;wBACtB,IAAI,EAAE,gBAAgB;wBACtB,IAAI,EAAE,QAAQ;qBACf;oBACD;wBACE,YAAY,EAAE,QAAQ;wBACtB,IAAI,EAAE,UAAU;wBAChB,IAAI,EAAE,QAAQ;qBACf;iBACF;gBACD,YAAY,EAAE,2CAA2C;gBACzD,IAAI,EAAE,eAAe;gBACrB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE,EAAE;QACX,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAM,OAAO,4BAA4B;IACvC,MAAM,CAAU,GAAG,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,KAAK,CAAC,SAAS,CAAC,IAAI,CAAiC,CAAC;IACnE,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,gBAAmC;QAEnC,OAAO,IAAI,QAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,gBAAgB,CAAwB,CAAC;IAC9E,CAAC"}
@@ -0,0 +1,90 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { IServiceManagerUI, IServiceManagerUIInterface } from "../../../../contracts/interfaces/avs/IServiceManagerUI.js";
4
+ export declare class IServiceManagerUI__factory {
5
+ static readonly abi: readonly [{
6
+ readonly inputs: readonly [];
7
+ readonly name: "avsDirectory";
8
+ readonly outputs: readonly [{
9
+ readonly internalType: "address";
10
+ readonly name: "";
11
+ readonly type: "address";
12
+ }];
13
+ readonly stateMutability: "view";
14
+ readonly type: "function";
15
+ }, {
16
+ readonly inputs: readonly [{
17
+ readonly internalType: "address";
18
+ readonly name: "operator";
19
+ readonly type: "address";
20
+ }];
21
+ readonly name: "deregisterOperatorFromAVS";
22
+ readonly outputs: readonly [];
23
+ readonly stateMutability: "nonpayable";
24
+ readonly type: "function";
25
+ }, {
26
+ readonly inputs: readonly [{
27
+ readonly internalType: "address";
28
+ readonly name: "operator";
29
+ readonly type: "address";
30
+ }];
31
+ readonly name: "getOperatorRestakedStrategies";
32
+ readonly outputs: readonly [{
33
+ readonly internalType: "address[]";
34
+ readonly name: "";
35
+ readonly type: "address[]";
36
+ }];
37
+ readonly stateMutability: "view";
38
+ readonly type: "function";
39
+ }, {
40
+ readonly inputs: readonly [];
41
+ readonly name: "getRestakeableStrategies";
42
+ readonly outputs: readonly [{
43
+ readonly internalType: "address[]";
44
+ readonly name: "";
45
+ readonly type: "address[]";
46
+ }];
47
+ readonly stateMutability: "view";
48
+ readonly type: "function";
49
+ }, {
50
+ readonly inputs: readonly [{
51
+ readonly internalType: "address";
52
+ readonly name: "operator";
53
+ readonly type: "address";
54
+ }, {
55
+ readonly components: readonly [{
56
+ readonly internalType: "bytes";
57
+ readonly name: "signature";
58
+ readonly type: "bytes";
59
+ }, {
60
+ readonly internalType: "bytes32";
61
+ readonly name: "salt";
62
+ readonly type: "bytes32";
63
+ }, {
64
+ readonly internalType: "uint256";
65
+ readonly name: "expiry";
66
+ readonly type: "uint256";
67
+ }];
68
+ readonly internalType: "struct ISignatureUtils.SignatureWithSaltAndExpiry";
69
+ readonly name: "operatorSignature";
70
+ readonly type: "tuple";
71
+ }];
72
+ readonly name: "registerOperatorToAVS";
73
+ readonly outputs: readonly [];
74
+ readonly stateMutability: "nonpayable";
75
+ readonly type: "function";
76
+ }, {
77
+ readonly inputs: readonly [{
78
+ readonly internalType: "string";
79
+ readonly name: "_metadataURI";
80
+ readonly type: "string";
81
+ }];
82
+ readonly name: "updateAVSMetadataURI";
83
+ readonly outputs: readonly [];
84
+ readonly stateMutability: "nonpayable";
85
+ readonly type: "function";
86
+ }];
87
+ static createInterface(): IServiceManagerUIInterface;
88
+ static connect(address: string, signerOrProvider: Signer | Provider): IServiceManagerUI;
89
+ }
90
+ //# sourceMappingURL=IServiceManagerUI__factory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IServiceManagerUI__factory.d.ts","sourceRoot":"","sources":["../../../../../types/factories/contracts/interfaces/avs/IServiceManagerUI__factory.ts"],"names":[],"mappings":"AAIA,OAAO,EAAY,MAAM,EAAS,MAAM,QAAQ,CAAC;AACjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAC3B,MAAM,2DAA2D,CAAC;AA+GnE,qBAAa,0BAA0B;IACrC,MAAM,CAAC,QAAQ,CAAC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAAQ;IAC3B,MAAM,CAAC,eAAe,IAAI,0BAA0B;IAGpD,MAAM,CAAC,OAAO,CACZ,OAAO,EAAE,MAAM,EACf,gBAAgB,EAAE,MAAM,GAAG,QAAQ,GAClC,iBAAiB;CAGrB"}
@@ -0,0 +1,122 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { Contract, utils } from "ethers";
5
+ const _abi = [
6
+ {
7
+ inputs: [],
8
+ name: "avsDirectory",
9
+ outputs: [
10
+ {
11
+ internalType: "address",
12
+ name: "",
13
+ type: "address",
14
+ },
15
+ ],
16
+ stateMutability: "view",
17
+ type: "function",
18
+ },
19
+ {
20
+ inputs: [
21
+ {
22
+ internalType: "address",
23
+ name: "operator",
24
+ type: "address",
25
+ },
26
+ ],
27
+ name: "deregisterOperatorFromAVS",
28
+ outputs: [],
29
+ stateMutability: "nonpayable",
30
+ type: "function",
31
+ },
32
+ {
33
+ inputs: [
34
+ {
35
+ internalType: "address",
36
+ name: "operator",
37
+ type: "address",
38
+ },
39
+ ],
40
+ name: "getOperatorRestakedStrategies",
41
+ outputs: [
42
+ {
43
+ internalType: "address[]",
44
+ name: "",
45
+ type: "address[]",
46
+ },
47
+ ],
48
+ stateMutability: "view",
49
+ type: "function",
50
+ },
51
+ {
52
+ inputs: [],
53
+ name: "getRestakeableStrategies",
54
+ outputs: [
55
+ {
56
+ internalType: "address[]",
57
+ name: "",
58
+ type: "address[]",
59
+ },
60
+ ],
61
+ stateMutability: "view",
62
+ type: "function",
63
+ },
64
+ {
65
+ inputs: [
66
+ {
67
+ internalType: "address",
68
+ name: "operator",
69
+ type: "address",
70
+ },
71
+ {
72
+ components: [
73
+ {
74
+ internalType: "bytes",
75
+ name: "signature",
76
+ type: "bytes",
77
+ },
78
+ {
79
+ internalType: "bytes32",
80
+ name: "salt",
81
+ type: "bytes32",
82
+ },
83
+ {
84
+ internalType: "uint256",
85
+ name: "expiry",
86
+ type: "uint256",
87
+ },
88
+ ],
89
+ internalType: "struct ISignatureUtils.SignatureWithSaltAndExpiry",
90
+ name: "operatorSignature",
91
+ type: "tuple",
92
+ },
93
+ ],
94
+ name: "registerOperatorToAVS",
95
+ outputs: [],
96
+ stateMutability: "nonpayable",
97
+ type: "function",
98
+ },
99
+ {
100
+ inputs: [
101
+ {
102
+ internalType: "string",
103
+ name: "_metadataURI",
104
+ type: "string",
105
+ },
106
+ ],
107
+ name: "updateAVSMetadataURI",
108
+ outputs: [],
109
+ stateMutability: "nonpayable",
110
+ type: "function",
111
+ },
112
+ ];
113
+ export class IServiceManagerUI__factory {
114
+ static abi = _abi;
115
+ static createInterface() {
116
+ return new utils.Interface(_abi);
117
+ }
118
+ static connect(address, signerOrProvider) {
119
+ return new Contract(address, _abi, signerOrProvider);
120
+ }
121
+ }
122
+ //# sourceMappingURL=IServiceManagerUI__factory.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IServiceManagerUI__factory.js","sourceRoot":"","sources":["../../../../../types/factories/contracts/interfaces/avs/IServiceManagerUI__factory.ts"],"names":[],"mappings":"AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;AAEpB,OAAO,EAAE,QAAQ,EAAU,KAAK,EAAE,MAAM,QAAQ,CAAC;AAOjD,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,cAAc;QACpB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;a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