@reclaimprotocol/attestor-core 5.0.1-beta.2 → 5.0.1-beta.4
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.
- package/lib/browser/avs/abis/avsDirectoryABI.d.ts +60 -0
- package/lib/browser/avs/abis/avsDirectoryABI.js +343 -0
- package/lib/browser/avs/abis/delegationABI.d.ts +126 -0
- package/lib/browser/avs/abis/delegationABI.js +4 -0
- package/lib/browser/avs/abis/registryABI.d.ts +136 -0
- package/lib/browser/avs/abis/registryABI.js +728 -0
- package/lib/browser/avs/client/create-claim-on-avs.d.ts +12 -0
- package/lib/browser/avs/client/create-claim-on-avs.js +168 -0
- package/lib/browser/avs/config.d.ts +7 -0
- package/lib/browser/avs/config.js +26 -0
- package/lib/browser/avs/contracts/ReclaimServiceManager.d.ts +601 -0
- package/lib/browser/avs/contracts/ReclaimServiceManager.js +0 -0
- package/lib/browser/avs/contracts/common.d.ts +50 -0
- package/lib/browser/avs/contracts/common.js +0 -0
- package/lib/browser/avs/contracts/factories/ReclaimServiceManager__factory.d.ts +890 -0
- package/lib/browser/avs/contracts/factories/ReclaimServiceManager__factory.js +1183 -0
- package/lib/browser/avs/contracts/factories/index.d.ts +1 -0
- package/lib/browser/avs/contracts/factories/index.js +4 -0
- package/lib/browser/avs/contracts/index.d.ts +3 -0
- package/lib/browser/avs/contracts/index.js +6 -0
- package/lib/browser/avs/types/index.d.ts +55 -0
- package/lib/browser/avs/types/index.js +0 -0
- package/lib/browser/avs/utils/contracts.d.ts +21 -0
- package/lib/browser/avs/utils/contracts.js +53 -0
- package/lib/browser/avs/utils/register.d.ts +27 -0
- package/lib/browser/avs/utils/register.js +74 -0
- package/lib/browser/avs/utils/tasks.d.ts +22 -0
- package/lib/browser/avs/utils/tasks.js +48 -0
- package/lib/browser/client/create-claim.d.ts +5 -0
- package/lib/browser/client/create-claim.js +461 -0
- package/lib/browser/client/index.d.ts +3 -0
- package/lib/browser/client/index.js +3 -0
- package/lib/browser/client/tunnels/make-rpc-tcp-tunnel.d.ts +16 -0
- package/lib/browser/client/tunnels/make-rpc-tcp-tunnel.js +53 -0
- package/lib/browser/client/tunnels/make-rpc-tls-tunnel.d.ts +26 -0
- package/lib/browser/client/tunnels/make-rpc-tls-tunnel.js +127 -0
- package/lib/browser/client/utils/attestor-pool.d.ts +8 -0
- package/lib/browser/client/utils/attestor-pool.js +24 -0
- package/lib/browser/client/utils/client-socket.d.ts +11 -0
- package/lib/browser/client/utils/client-socket.js +120 -0
- package/lib/browser/client/utils/message-handler.d.ts +4 -0
- package/lib/browser/client/utils/message-handler.js +97 -0
- package/lib/browser/config/index.d.ts +31 -0
- package/lib/browser/config/index.js +62 -0
- package/lib/browser/external-rpc/benchmark.d.ts +1 -0
- package/lib/browser/external-rpc/benchmark.js +82 -0
- package/lib/browser/external-rpc/event-bus.d.ts +7 -0
- package/lib/browser/external-rpc/event-bus.js +17 -0
- package/lib/browser/external-rpc/global.d.js +0 -0
- package/lib/browser/external-rpc/handle-incoming-msg.d.ts +2 -0
- package/lib/browser/external-rpc/handle-incoming-msg.js +241 -0
- package/lib/browser/external-rpc/index.d.ts +3 -0
- package/lib/browser/external-rpc/index.js +3 -0
- package/lib/browser/external-rpc/jsc-polyfills/1.d.ts +14 -0
- package/lib/browser/external-rpc/jsc-polyfills/1.js +80 -0
- package/lib/browser/external-rpc/jsc-polyfills/2.d.ts +1 -0
- package/lib/browser/external-rpc/jsc-polyfills/2.js +15 -0
- package/lib/browser/external-rpc/jsc-polyfills/event.d.ts +10 -0
- package/lib/browser/external-rpc/jsc-polyfills/event.js +19 -0
- package/lib/browser/external-rpc/jsc-polyfills/index.d.ts +2 -0
- package/lib/browser/external-rpc/jsc-polyfills/index.js +2 -0
- package/lib/browser/external-rpc/jsc-polyfills/ws.d.ts +21 -0
- package/lib/browser/external-rpc/jsc-polyfills/ws.js +83 -0
- package/lib/browser/external-rpc/setup-browser.d.ts +6 -0
- package/lib/browser/external-rpc/setup-browser.js +33 -0
- package/lib/browser/external-rpc/setup-jsc.d.ts +24 -0
- package/lib/browser/external-rpc/setup-jsc.js +22 -0
- package/lib/browser/external-rpc/types.d.ts +213 -0
- package/lib/browser/external-rpc/types.js +0 -0
- package/lib/browser/external-rpc/utils.d.ts +20 -0
- package/lib/browser/external-rpc/utils.js +100 -0
- package/lib/browser/external-rpc/zk.d.ts +14 -0
- package/lib/browser/external-rpc/zk.js +58 -0
- package/lib/browser/index.browser.js +13 -0
- package/lib/browser/index.d.ts +9 -0
- package/lib/browser/index.js +13 -0
- package/lib/browser/mechain/abis/governanceABI.d.ts +50 -0
- package/lib/browser/mechain/abis/governanceABI.js +461 -0
- package/lib/browser/mechain/abis/taskABI.d.ts +157 -0
- package/lib/browser/mechain/abis/taskABI.js +512 -0
- package/lib/browser/mechain/client/create-claim-on-mechain.d.ts +10 -0
- package/lib/browser/mechain/client/create-claim-on-mechain.js +33 -0
- package/lib/browser/mechain/client/index.d.ts +1 -0
- package/lib/browser/mechain/client/index.js +1 -0
- package/lib/browser/mechain/constants/index.d.ts +3 -0
- package/lib/browser/mechain/constants/index.js +8 -0
- package/lib/browser/mechain/index.d.ts +2 -0
- package/lib/browser/mechain/index.js +2 -0
- package/lib/browser/mechain/types/index.d.ts +23 -0
- package/lib/browser/mechain/types/index.js +0 -0
- package/lib/browser/proto/api.d.ts +651 -0
- package/lib/browser/proto/api.js +4250 -0
- package/lib/browser/proto/tee-bundle.d.ts +156 -0
- package/lib/browser/proto/tee-bundle.js +1296 -0
- package/lib/browser/providers/http/index.d.ts +18 -0
- package/lib/browser/providers/http/index.js +640 -0
- package/lib/browser/providers/http/patch-parse5-tree.d.ts +6 -0
- package/lib/browser/providers/http/patch-parse5-tree.js +34 -0
- package/lib/browser/providers/http/utils.d.ts +77 -0
- package/lib/browser/providers/http/utils.js +283 -0
- package/lib/browser/providers/index.d.ts +4 -0
- package/lib/browser/providers/index.js +7 -0
- package/lib/browser/types/bgp.d.ts +11 -0
- package/lib/browser/types/bgp.js +0 -0
- package/lib/browser/types/claims.d.ts +70 -0
- package/lib/browser/types/claims.js +0 -0
- package/lib/browser/types/client.d.ts +163 -0
- package/lib/browser/types/client.js +0 -0
- package/lib/browser/types/general.d.ts +77 -0
- package/lib/browser/types/general.js +0 -0
- package/lib/browser/types/handlers.d.ts +10 -0
- package/lib/browser/types/handlers.js +0 -0
- package/lib/browser/types/index.d.ts +10 -0
- package/lib/browser/types/index.js +10 -0
- package/lib/browser/types/providers.d.ts +161 -0
- package/lib/browser/types/providers.gen.d.ts +443 -0
- package/lib/browser/types/providers.gen.js +16 -0
- package/lib/browser/types/providers.js +0 -0
- package/lib/browser/types/rpc.d.ts +35 -0
- package/lib/browser/types/rpc.js +0 -0
- package/lib/browser/types/signatures.d.ts +28 -0
- package/lib/browser/types/signatures.js +0 -0
- package/lib/browser/types/tunnel.d.ts +18 -0
- package/lib/browser/types/tunnel.js +0 -0
- package/lib/browser/types/zk.d.ts +38 -0
- package/lib/browser/types/zk.js +0 -0
- package/lib/browser/utils/auth.d.ts +8 -0
- package/lib/browser/utils/auth.js +71 -0
- package/lib/browser/utils/b64-json.d.ts +2 -0
- package/lib/browser/utils/b64-json.js +17 -0
- package/lib/browser/utils/claims.d.ts +33 -0
- package/lib/browser/utils/claims.js +89 -0
- package/lib/browser/utils/env.d.ts +3 -0
- package/lib/browser/utils/env.js +19 -0
- package/lib/browser/utils/error.d.ts +26 -0
- package/lib/browser/utils/error.js +54 -0
- package/lib/browser/utils/generics.d.ts +114 -0
- package/lib/browser/utils/generics.js +268 -0
- package/lib/browser/utils/http-parser.d.ts +59 -0
- package/lib/browser/utils/http-parser.js +201 -0
- package/lib/browser/utils/index.browser.js +12 -0
- package/lib/browser/utils/index.d.ts +12 -0
- package/lib/browser/utils/index.js +12 -0
- package/lib/browser/utils/logger.browser.js +88 -0
- package/lib/browser/utils/logger.d.ts +14 -0
- package/lib/browser/utils/logger.js +88 -0
- package/lib/browser/utils/prepare-packets.d.ts +16 -0
- package/lib/browser/utils/prepare-packets.js +69 -0
- package/lib/browser/utils/redactions.d.ts +73 -0
- package/lib/browser/utils/redactions.js +135 -0
- package/lib/browser/utils/retries.d.ts +12 -0
- package/lib/browser/utils/retries.js +26 -0
- package/lib/browser/utils/signatures/eth.d.ts +2 -0
- package/lib/browser/utils/signatures/eth.js +31 -0
- package/lib/browser/utils/signatures/index.d.ts +5 -0
- package/lib/browser/utils/signatures/index.js +12 -0
- package/lib/browser/utils/socket-base.d.ts +23 -0
- package/lib/browser/utils/socket-base.js +96 -0
- package/lib/browser/utils/tls.d.ts +2 -0
- package/lib/browser/utils/tls.js +58 -0
- package/lib/browser/utils/ws.d.ts +7 -0
- package/lib/browser/utils/ws.js +22 -0
- package/lib/browser/utils/zk.d.ts +71 -0
- package/lib/browser/utils/zk.js +625 -0
- package/lib/index.browser.d.ts +9 -0
- package/lib/types/general.d.ts +1 -0
- package/lib/utils/index.browser.d.ts +12 -0
- package/lib/utils/logger.browser.d.ts +14 -0
- package/package.json +6 -2
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export declare const avsDirectoryABI: ({
|
|
2
|
+
type: string;
|
|
3
|
+
inputs: {
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
internalType: string;
|
|
7
|
+
}[];
|
|
8
|
+
stateMutability: string;
|
|
9
|
+
name?: undefined;
|
|
10
|
+
outputs?: undefined;
|
|
11
|
+
anonymous?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
type: string;
|
|
14
|
+
name: string;
|
|
15
|
+
inputs: {
|
|
16
|
+
name: string;
|
|
17
|
+
type: string;
|
|
18
|
+
internalType: string;
|
|
19
|
+
}[];
|
|
20
|
+
outputs: {
|
|
21
|
+
name: string;
|
|
22
|
+
type: string;
|
|
23
|
+
internalType: string;
|
|
24
|
+
}[];
|
|
25
|
+
stateMutability: string;
|
|
26
|
+
anonymous?: undefined;
|
|
27
|
+
} | {
|
|
28
|
+
type: string;
|
|
29
|
+
name: string;
|
|
30
|
+
inputs: ({
|
|
31
|
+
name: string;
|
|
32
|
+
type: string;
|
|
33
|
+
internalType: string;
|
|
34
|
+
components?: undefined;
|
|
35
|
+
} | {
|
|
36
|
+
name: string;
|
|
37
|
+
type: string;
|
|
38
|
+
internalType: string;
|
|
39
|
+
components: {
|
|
40
|
+
name: string;
|
|
41
|
+
type: string;
|
|
42
|
+
internalType: string;
|
|
43
|
+
}[];
|
|
44
|
+
})[];
|
|
45
|
+
outputs: never[];
|
|
46
|
+
stateMutability: string;
|
|
47
|
+
anonymous?: undefined;
|
|
48
|
+
} | {
|
|
49
|
+
type: string;
|
|
50
|
+
name: string;
|
|
51
|
+
inputs: {
|
|
52
|
+
name: string;
|
|
53
|
+
type: string;
|
|
54
|
+
indexed: boolean;
|
|
55
|
+
internalType: string;
|
|
56
|
+
}[];
|
|
57
|
+
anonymous: boolean;
|
|
58
|
+
stateMutability?: undefined;
|
|
59
|
+
outputs?: undefined;
|
|
60
|
+
})[];
|
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
const avsDirectoryABI = [
|
|
2
|
+
{
|
|
3
|
+
type: "constructor",
|
|
4
|
+
inputs: [
|
|
5
|
+
{
|
|
6
|
+
name: "_delegation",
|
|
7
|
+
type: "address",
|
|
8
|
+
internalType: "contract IDelegationManager"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
stateMutability: "nonpayable"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
type: "function",
|
|
15
|
+
name: "DOMAIN_TYPEHASH",
|
|
16
|
+
inputs: [],
|
|
17
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
18
|
+
stateMutability: "view"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
type: "function",
|
|
22
|
+
name: "OPERATOR_AVS_REGISTRATION_TYPEHASH",
|
|
23
|
+
inputs: [],
|
|
24
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
25
|
+
stateMutability: "view"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
type: "function",
|
|
29
|
+
name: "avsOperatorStatus",
|
|
30
|
+
inputs: [
|
|
31
|
+
{ name: "", type: "address", internalType: "address" },
|
|
32
|
+
{ name: "", type: "address", internalType: "address" }
|
|
33
|
+
],
|
|
34
|
+
outputs: [
|
|
35
|
+
{
|
|
36
|
+
name: "",
|
|
37
|
+
type: "uint8",
|
|
38
|
+
internalType: "enum IAVSDirectory.OperatorAVSRegistrationStatus"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
stateMutability: "view"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
type: "function",
|
|
45
|
+
name: "calculateOperatorAVSRegistrationDigestHash",
|
|
46
|
+
inputs: [
|
|
47
|
+
{ name: "operator", type: "address", internalType: "address" },
|
|
48
|
+
{ name: "avs", type: "address", internalType: "address" },
|
|
49
|
+
{ name: "salt", type: "bytes32", internalType: "bytes32" },
|
|
50
|
+
{ name: "expiry", type: "uint256", internalType: "uint256" }
|
|
51
|
+
],
|
|
52
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
53
|
+
stateMutability: "view"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
type: "function",
|
|
57
|
+
name: "cancelSalt",
|
|
58
|
+
inputs: [{ name: "salt", type: "bytes32", internalType: "bytes32" }],
|
|
59
|
+
outputs: [],
|
|
60
|
+
stateMutability: "nonpayable"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
type: "function",
|
|
64
|
+
name: "delegation",
|
|
65
|
+
inputs: [],
|
|
66
|
+
outputs: [
|
|
67
|
+
{
|
|
68
|
+
name: "",
|
|
69
|
+
type: "address",
|
|
70
|
+
internalType: "contract IDelegationManager"
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
stateMutability: "view"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
type: "function",
|
|
77
|
+
name: "deregisterOperatorFromAVS",
|
|
78
|
+
inputs: [{ name: "operator", type: "address", internalType: "address" }],
|
|
79
|
+
outputs: [],
|
|
80
|
+
stateMutability: "nonpayable"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
type: "function",
|
|
84
|
+
name: "domainSeparator",
|
|
85
|
+
inputs: [],
|
|
86
|
+
outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
|
|
87
|
+
stateMutability: "view"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
type: "function",
|
|
91
|
+
name: "initialize",
|
|
92
|
+
inputs: [
|
|
93
|
+
{ name: "initialOwner", type: "address", internalType: "address" },
|
|
94
|
+
{
|
|
95
|
+
name: "_pauserRegistry",
|
|
96
|
+
type: "address",
|
|
97
|
+
internalType: "contract IPauserRegistry"
|
|
98
|
+
},
|
|
99
|
+
{ name: "initialPausedStatus", type: "uint256", internalType: "uint256" }
|
|
100
|
+
],
|
|
101
|
+
outputs: [],
|
|
102
|
+
stateMutability: "nonpayable"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: "function",
|
|
106
|
+
name: "operatorSaltIsSpent",
|
|
107
|
+
inputs: [
|
|
108
|
+
{ name: "", type: "address", internalType: "address" },
|
|
109
|
+
{ name: "", type: "bytes32", internalType: "bytes32" }
|
|
110
|
+
],
|
|
111
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
112
|
+
stateMutability: "view"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
type: "function",
|
|
116
|
+
name: "owner",
|
|
117
|
+
inputs: [],
|
|
118
|
+
outputs: [{ name: "", type: "address", internalType: "address" }],
|
|
119
|
+
stateMutability: "view"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
type: "function",
|
|
123
|
+
name: "pause",
|
|
124
|
+
inputs: [
|
|
125
|
+
{ name: "newPausedStatus", type: "uint256", internalType: "uint256" }
|
|
126
|
+
],
|
|
127
|
+
outputs: [],
|
|
128
|
+
stateMutability: "nonpayable"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
type: "function",
|
|
132
|
+
name: "pauseAll",
|
|
133
|
+
inputs: [],
|
|
134
|
+
outputs: [],
|
|
135
|
+
stateMutability: "nonpayable"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
type: "function",
|
|
139
|
+
name: "paused",
|
|
140
|
+
inputs: [{ name: "index", type: "uint8", internalType: "uint8" }],
|
|
141
|
+
outputs: [{ name: "", type: "bool", internalType: "bool" }],
|
|
142
|
+
stateMutability: "view"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
type: "function",
|
|
146
|
+
name: "paused",
|
|
147
|
+
inputs: [],
|
|
148
|
+
outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
|
|
149
|
+
stateMutability: "view"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
type: "function",
|
|
153
|
+
name: "pauserRegistry",
|
|
154
|
+
inputs: [],
|
|
155
|
+
outputs: [
|
|
156
|
+
{ name: "", type: "address", internalType: "contract IPauserRegistry" }
|
|
157
|
+
],
|
|
158
|
+
stateMutability: "view"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
type: "function",
|
|
162
|
+
name: "registerOperatorToAVS",
|
|
163
|
+
inputs: [
|
|
164
|
+
{ name: "operator", type: "address", internalType: "address" },
|
|
165
|
+
{
|
|
166
|
+
name: "operatorSignature",
|
|
167
|
+
type: "tuple",
|
|
168
|
+
internalType: "struct ISignatureUtils.SignatureWithSaltAndExpiry",
|
|
169
|
+
components: [
|
|
170
|
+
{ name: "signature", type: "bytes", internalType: "bytes" },
|
|
171
|
+
{ name: "salt", type: "bytes32", internalType: "bytes32" },
|
|
172
|
+
{ name: "expiry", type: "uint256", internalType: "uint256" }
|
|
173
|
+
]
|
|
174
|
+
}
|
|
175
|
+
],
|
|
176
|
+
outputs: [],
|
|
177
|
+
stateMutability: "nonpayable"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
type: "function",
|
|
181
|
+
name: "renounceOwnership",
|
|
182
|
+
inputs: [],
|
|
183
|
+
outputs: [],
|
|
184
|
+
stateMutability: "nonpayable"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
type: "function",
|
|
188
|
+
name: "setPauserRegistry",
|
|
189
|
+
inputs: [
|
|
190
|
+
{
|
|
191
|
+
name: "newPauserRegistry",
|
|
192
|
+
type: "address",
|
|
193
|
+
internalType: "contract IPauserRegistry"
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
outputs: [],
|
|
197
|
+
stateMutability: "nonpayable"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
type: "function",
|
|
201
|
+
name: "transferOwnership",
|
|
202
|
+
inputs: [{ name: "newOwner", type: "address", internalType: "address" }],
|
|
203
|
+
outputs: [],
|
|
204
|
+
stateMutability: "nonpayable"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
type: "function",
|
|
208
|
+
name: "unpause",
|
|
209
|
+
inputs: [
|
|
210
|
+
{ name: "newPausedStatus", type: "uint256", internalType: "uint256" }
|
|
211
|
+
],
|
|
212
|
+
outputs: [],
|
|
213
|
+
stateMutability: "nonpayable"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
type: "function",
|
|
217
|
+
name: "updateAVSMetadataURI",
|
|
218
|
+
inputs: [{ name: "metadataURI", type: "string", internalType: "string" }],
|
|
219
|
+
outputs: [],
|
|
220
|
+
stateMutability: "nonpayable"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
type: "event",
|
|
224
|
+
name: "AVSMetadataURIUpdated",
|
|
225
|
+
inputs: [
|
|
226
|
+
{ name: "avs", type: "address", indexed: true, internalType: "address" },
|
|
227
|
+
{
|
|
228
|
+
name: "metadataURI",
|
|
229
|
+
type: "string",
|
|
230
|
+
indexed: false,
|
|
231
|
+
internalType: "string"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
anonymous: false
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
type: "event",
|
|
238
|
+
name: "Initialized",
|
|
239
|
+
inputs: [
|
|
240
|
+
{ name: "version", type: "uint8", indexed: false, internalType: "uint8" }
|
|
241
|
+
],
|
|
242
|
+
anonymous: false
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
type: "event",
|
|
246
|
+
name: "OperatorAVSRegistrationStatusUpdated",
|
|
247
|
+
inputs: [
|
|
248
|
+
{
|
|
249
|
+
name: "operator",
|
|
250
|
+
type: "address",
|
|
251
|
+
indexed: true,
|
|
252
|
+
internalType: "address"
|
|
253
|
+
},
|
|
254
|
+
{ name: "avs", type: "address", indexed: true, internalType: "address" },
|
|
255
|
+
{
|
|
256
|
+
name: "status",
|
|
257
|
+
type: "uint8",
|
|
258
|
+
indexed: false,
|
|
259
|
+
internalType: "enum IAVSDirectory.OperatorAVSRegistrationStatus"
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
anonymous: false
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
type: "event",
|
|
266
|
+
name: "OwnershipTransferred",
|
|
267
|
+
inputs: [
|
|
268
|
+
{
|
|
269
|
+
name: "previousOwner",
|
|
270
|
+
type: "address",
|
|
271
|
+
indexed: true,
|
|
272
|
+
internalType: "address"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
name: "newOwner",
|
|
276
|
+
type: "address",
|
|
277
|
+
indexed: true,
|
|
278
|
+
internalType: "address"
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
anonymous: false
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
type: "event",
|
|
285
|
+
name: "Paused",
|
|
286
|
+
inputs: [
|
|
287
|
+
{
|
|
288
|
+
name: "account",
|
|
289
|
+
type: "address",
|
|
290
|
+
indexed: true,
|
|
291
|
+
internalType: "address"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
name: "newPausedStatus",
|
|
295
|
+
type: "uint256",
|
|
296
|
+
indexed: false,
|
|
297
|
+
internalType: "uint256"
|
|
298
|
+
}
|
|
299
|
+
],
|
|
300
|
+
anonymous: false
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
type: "event",
|
|
304
|
+
name: "PauserRegistrySet",
|
|
305
|
+
inputs: [
|
|
306
|
+
{
|
|
307
|
+
name: "pauserRegistry",
|
|
308
|
+
type: "address",
|
|
309
|
+
indexed: false,
|
|
310
|
+
internalType: "contract IPauserRegistry"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
name: "newPauserRegistry",
|
|
314
|
+
type: "address",
|
|
315
|
+
indexed: false,
|
|
316
|
+
internalType: "contract IPauserRegistry"
|
|
317
|
+
}
|
|
318
|
+
],
|
|
319
|
+
anonymous: false
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
type: "event",
|
|
323
|
+
name: "Unpaused",
|
|
324
|
+
inputs: [
|
|
325
|
+
{
|
|
326
|
+
name: "account",
|
|
327
|
+
type: "address",
|
|
328
|
+
indexed: true,
|
|
329
|
+
internalType: "address"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
name: "newPausedStatus",
|
|
333
|
+
type: "uint256",
|
|
334
|
+
indexed: false,
|
|
335
|
+
internalType: "uint256"
|
|
336
|
+
}
|
|
337
|
+
],
|
|
338
|
+
anonymous: false
|
|
339
|
+
}
|
|
340
|
+
];
|
|
341
|
+
export {
|
|
342
|
+
avsDirectoryABI
|
|
343
|
+
};
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
export declare const delegationABI: ({
|
|
2
|
+
type: string;
|
|
3
|
+
name: string;
|
|
4
|
+
inputs: {
|
|
5
|
+
name: string;
|
|
6
|
+
type: string;
|
|
7
|
+
internalType: string;
|
|
8
|
+
}[];
|
|
9
|
+
outputs: {
|
|
10
|
+
name: string;
|
|
11
|
+
type: string;
|
|
12
|
+
internalType: string;
|
|
13
|
+
}[];
|
|
14
|
+
stateMutability: string;
|
|
15
|
+
anonymous?: undefined;
|
|
16
|
+
} | {
|
|
17
|
+
type: string;
|
|
18
|
+
name: string;
|
|
19
|
+
inputs: {
|
|
20
|
+
name: string;
|
|
21
|
+
type: string;
|
|
22
|
+
internalType: string;
|
|
23
|
+
components: {
|
|
24
|
+
name: string;
|
|
25
|
+
type: string;
|
|
26
|
+
internalType: string;
|
|
27
|
+
}[];
|
|
28
|
+
}[];
|
|
29
|
+
outputs: {
|
|
30
|
+
name: string;
|
|
31
|
+
type: string;
|
|
32
|
+
internalType: string;
|
|
33
|
+
}[];
|
|
34
|
+
stateMutability: string;
|
|
35
|
+
anonymous?: undefined;
|
|
36
|
+
} | {
|
|
37
|
+
type: string;
|
|
38
|
+
name: string;
|
|
39
|
+
inputs: ({
|
|
40
|
+
name: string;
|
|
41
|
+
type: string;
|
|
42
|
+
internalType: string;
|
|
43
|
+
components: {
|
|
44
|
+
name: string;
|
|
45
|
+
type: string;
|
|
46
|
+
internalType: string;
|
|
47
|
+
}[];
|
|
48
|
+
} | {
|
|
49
|
+
name: string;
|
|
50
|
+
type: string;
|
|
51
|
+
internalType: string;
|
|
52
|
+
components?: undefined;
|
|
53
|
+
})[];
|
|
54
|
+
outputs: never[];
|
|
55
|
+
stateMutability: string;
|
|
56
|
+
anonymous?: undefined;
|
|
57
|
+
} | {
|
|
58
|
+
type: string;
|
|
59
|
+
name: string;
|
|
60
|
+
inputs: {
|
|
61
|
+
name: string;
|
|
62
|
+
type: string;
|
|
63
|
+
internalType: string;
|
|
64
|
+
components: ({
|
|
65
|
+
name: string;
|
|
66
|
+
type: string;
|
|
67
|
+
internalType: string;
|
|
68
|
+
components?: undefined;
|
|
69
|
+
} | {
|
|
70
|
+
name: string;
|
|
71
|
+
type: string;
|
|
72
|
+
internalType: string;
|
|
73
|
+
components: {
|
|
74
|
+
name: string;
|
|
75
|
+
type: string;
|
|
76
|
+
internalType: string;
|
|
77
|
+
}[];
|
|
78
|
+
})[];
|
|
79
|
+
}[];
|
|
80
|
+
outputs: never[];
|
|
81
|
+
stateMutability: string;
|
|
82
|
+
anonymous?: undefined;
|
|
83
|
+
} | {
|
|
84
|
+
type: string;
|
|
85
|
+
name: string;
|
|
86
|
+
inputs: {
|
|
87
|
+
name: string;
|
|
88
|
+
type: string;
|
|
89
|
+
internalType: string;
|
|
90
|
+
}[];
|
|
91
|
+
outputs: {
|
|
92
|
+
name: string;
|
|
93
|
+
type: string;
|
|
94
|
+
internalType: string;
|
|
95
|
+
components: {
|
|
96
|
+
name: string;
|
|
97
|
+
type: string;
|
|
98
|
+
internalType: string;
|
|
99
|
+
}[];
|
|
100
|
+
}[];
|
|
101
|
+
stateMutability: string;
|
|
102
|
+
anonymous?: undefined;
|
|
103
|
+
} | {
|
|
104
|
+
type: string;
|
|
105
|
+
name: string;
|
|
106
|
+
inputs: ({
|
|
107
|
+
name: string;
|
|
108
|
+
type: string;
|
|
109
|
+
indexed: boolean;
|
|
110
|
+
internalType: string;
|
|
111
|
+
components?: undefined;
|
|
112
|
+
} | {
|
|
113
|
+
name: string;
|
|
114
|
+
type: string;
|
|
115
|
+
indexed: boolean;
|
|
116
|
+
internalType: string;
|
|
117
|
+
components: {
|
|
118
|
+
name: string;
|
|
119
|
+
type: string;
|
|
120
|
+
internalType: string;
|
|
121
|
+
}[];
|
|
122
|
+
})[];
|
|
123
|
+
anonymous: boolean;
|
|
124
|
+
outputs?: undefined;
|
|
125
|
+
stateMutability?: undefined;
|
|
126
|
+
})[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const delegationABI = [{ "type": "function", "name": "DELEGATION_APPROVAL_TYPEHASH", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" }, { "type": "function", "name": "DOMAIN_TYPEHASH", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" }, { "type": "function", "name": "STAKER_DELEGATION_TYPEHASH", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" }, { "type": "function", "name": "beaconChainETHStrategy", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract IStrategy" }], "stateMutability": "view" }, { "type": "function", "name": "calculateCurrentStakerDelegationDigestHash", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }, { "name": "operator", "type": "address", "internalType": "address" }, { "name": "expiry", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" }, { "type": "function", "name": "calculateDelegationApprovalDigestHash", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }, { "name": "operator", "type": "address", "internalType": "address" }, { "name": "_delegationApprover", "type": "address", "internalType": "address" }, { "name": "approverSalt", "type": "bytes32", "internalType": "bytes32" }, { "name": "expiry", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" }, { "type": "function", "name": "calculateStakerDelegationDigestHash", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }, { "name": "_stakerNonce", "type": "uint256", "internalType": "uint256" }, { "name": "operator", "type": "address", "internalType": "address" }, { "name": "expiry", "type": "uint256", "internalType": "uint256" }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" }, { "type": "function", "name": "calculateWithdrawalRoot", "inputs": [{ "name": "withdrawal", "type": "tuple", "internalType": "struct IDelegationManager.Withdrawal", "components": [{ "name": "staker", "type": "address", "internalType": "address" }, { "name": "delegatedTo", "type": "address", "internalType": "address" }, { "name": "withdrawer", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "startBlock", "type": "uint32", "internalType": "uint32" }, { "name": "strategies", "type": "address[]", "internalType": "contract IStrategy[]" }, { "name": "shares", "type": "uint256[]", "internalType": "uint256[]" }] }], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "pure" }, { "type": "function", "name": "completeQueuedWithdrawal", "inputs": [{ "name": "withdrawal", "type": "tuple", "internalType": "struct IDelegationManager.Withdrawal", "components": [{ "name": "staker", "type": "address", "internalType": "address" }, { "name": "delegatedTo", "type": "address", "internalType": "address" }, { "name": "withdrawer", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "startBlock", "type": "uint32", "internalType": "uint32" }, { "name": "strategies", "type": "address[]", "internalType": "contract IStrategy[]" }, { "name": "shares", "type": "uint256[]", "internalType": "uint256[]" }] }, { "name": "tokens", "type": "address[]", "internalType": "contract IERC20[]" }, { "name": "middlewareTimesIndex", "type": "uint256", "internalType": "uint256" }, { "name": "receiveAsTokens", "type": "bool", "internalType": "bool" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "completeQueuedWithdrawals", "inputs": [{ "name": "withdrawals", "type": "tuple[]", "internalType": "struct IDelegationManager.Withdrawal[]", "components": [{ "name": "staker", "type": "address", "internalType": "address" }, { "name": "delegatedTo", "type": "address", "internalType": "address" }, { "name": "withdrawer", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "startBlock", "type": "uint32", "internalType": "uint32" }, { "name": "strategies", "type": "address[]", "internalType": "contract IStrategy[]" }, { "name": "shares", "type": "uint256[]", "internalType": "uint256[]" }] }, { "name": "tokens", "type": "address[][]", "internalType": "contract IERC20[][]" }, { "name": "middlewareTimesIndexes", "type": "uint256[]", "internalType": "uint256[]" }, { "name": "receiveAsTokens", "type": "bool[]", "internalType": "bool[]" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "cumulativeWithdrawalsQueued", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "decreaseDelegatedShares", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }, { "name": "strategy", "type": "address", "internalType": "contract IStrategy" }, { "name": "shares", "type": "uint256", "internalType": "uint256" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "delegateTo", "inputs": [{ "name": "operator", "type": "address", "internalType": "address" }, { "name": "approverSignatureAndExpiry", "type": "tuple", "internalType": "struct ISignatureUtils.SignatureWithExpiry", "components": [{ "name": "signature", "type": "bytes", "internalType": "bytes" }, { "name": "expiry", "type": "uint256", "internalType": "uint256" }] }, { "name": "approverSalt", "type": "bytes32", "internalType": "bytes32" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "delegateToBySignature", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }, { "name": "operator", "type": "address", "internalType": "address" }, { "name": "stakerSignatureAndExpiry", "type": "tuple", "internalType": "struct ISignatureUtils.SignatureWithExpiry", "components": [{ "name": "signature", "type": "bytes", "internalType": "bytes" }, { "name": "expiry", "type": "uint256", "internalType": "uint256" }] }, { "name": "approverSignatureAndExpiry", "type": "tuple", "internalType": "struct ISignatureUtils.SignatureWithExpiry", "components": [{ "name": "signature", "type": "bytes", "internalType": "bytes" }, { "name": "expiry", "type": "uint256", "internalType": "uint256" }] }, { "name": "approverSalt", "type": "bytes32", "internalType": "bytes32" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "delegatedTo", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" }, { "type": "function", "name": "delegationApprover", "inputs": [{ "name": "operator", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" }, { "type": "function", "name": "delegationApproverSaltIsSpent", "inputs": [{ "name": "_delegationApprover", "type": "address", "internalType": "address" }, { "name": "salt", "type": "bytes32", "internalType": "bytes32" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" }, { "type": "function", "name": "domainSeparator", "inputs": [], "outputs": [{ "name": "", "type": "bytes32", "internalType": "bytes32" }], "stateMutability": "view" }, { "type": "function", "name": "earningsReceiver", "inputs": [{ "name": "operator", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" }, { "type": "function", "name": "getOperatorShares", "inputs": [{ "name": "operator", "type": "address", "internalType": "address" }, { "name": "strategies", "type": "address[]", "internalType": "contract IStrategy[]" }], "outputs": [{ "name": "", "type": "uint256[]", "internalType": "uint256[]" }], "stateMutability": "view" }, { "type": "function", "name": "getWithdrawalDelay", "inputs": [{ "name": "strategies", "type": "address[]", "internalType": "contract IStrategy[]" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "increaseDelegatedShares", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }, { "name": "strategy", "type": "address", "internalType": "contract IStrategy" }, { "name": "shares", "type": "uint256", "internalType": "uint256" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "isDelegated", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" }, { "type": "function", "name": "isOperator", "inputs": [{ "name": "operator", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "bool", "internalType": "bool" }], "stateMutability": "view" }, { "type": "function", "name": "migrateQueuedWithdrawals", "inputs": [{ "name": "withdrawalsToQueue", "type": "tuple[]", "internalType": "struct IStrategyManager.DeprecatedStruct_QueuedWithdrawal[]", "components": [{ "name": "strategies", "type": "address[]", "internalType": "contract IStrategy[]" }, { "name": "shares", "type": "uint256[]", "internalType": "uint256[]" }, { "name": "staker", "type": "address", "internalType": "address" }, { "name": "withdrawerAndNonce", "type": "tuple", "internalType": "struct IStrategyManager.DeprecatedStruct_WithdrawerAndNonce", "components": [{ "name": "withdrawer", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint96", "internalType": "uint96" }] }, { "name": "withdrawalStartBlock", "type": "uint32", "internalType": "uint32" }, { "name": "delegatedAddress", "type": "address", "internalType": "address" }] }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "minWithdrawalDelayBlocks", "inputs": [], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "modifyOperatorDetails", "inputs": [{ "name": "newOperatorDetails", "type": "tuple", "internalType": "struct IDelegationManager.OperatorDetails", "components": [{ "name": "earningsReceiver", "type": "address", "internalType": "address" }, { "name": "delegationApprover", "type": "address", "internalType": "address" }, { "name": "stakerOptOutWindowBlocks", "type": "uint32", "internalType": "uint32" }] }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "operatorDetails", "inputs": [{ "name": "operator", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "tuple", "internalType": "struct IDelegationManager.OperatorDetails", "components": [{ "name": "earningsReceiver", "type": "address", "internalType": "address" }, { "name": "delegationApprover", "type": "address", "internalType": "address" }, { "name": "stakerOptOutWindowBlocks", "type": "uint32", "internalType": "uint32" }] }], "stateMutability": "view" }, { "type": "function", "name": "operatorShares", "inputs": [{ "name": "operator", "type": "address", "internalType": "address" }, { "name": "strategy", "type": "address", "internalType": "contract IStrategy" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "queueWithdrawals", "inputs": [{ "name": "queuedWithdrawalParams", "type": "tuple[]", "internalType": "struct IDelegationManager.QueuedWithdrawalParams[]", "components": [{ "name": "strategies", "type": "address[]", "internalType": "contract IStrategy[]" }, { "name": "shares", "type": "uint256[]", "internalType": "uint256[]" }, { "name": "withdrawer", "type": "address", "internalType": "address" }] }], "outputs": [{ "name": "", "type": "bytes32[]", "internalType": "bytes32[]" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "registerAsOperator", "inputs": [{ "name": "registeringOperatorDetails", "type": "tuple", "internalType": "struct IDelegationManager.OperatorDetails", "components": [{ "name": "earningsReceiver", "type": "address", "internalType": "address" }, { "name": "delegationApprover", "type": "address", "internalType": "address" }, { "name": "stakerOptOutWindowBlocks", "type": "uint32", "internalType": "uint32" }] }, { "name": "metadataURI", "type": "string", "internalType": "string" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "stakerNonce", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "stakerOptOutWindowBlocks", "inputs": [{ "name": "operator", "type": "address", "internalType": "address" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "strategyWithdrawalDelayBlocks", "inputs": [{ "name": "strategy", "type": "address", "internalType": "contract IStrategy" }], "outputs": [{ "name": "", "type": "uint256", "internalType": "uint256" }], "stateMutability": "view" }, { "type": "function", "name": "undelegate", "inputs": [{ "name": "staker", "type": "address", "internalType": "address" }], "outputs": [{ "name": "withdrawalRoot", "type": "bytes32[]", "internalType": "bytes32[]" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "updateOperatorMetadataURI", "inputs": [{ "name": "metadataURI", "type": "string", "internalType": "string" }], "outputs": [], "stateMutability": "nonpayable" }, { "type": "event", "name": "MinWithdrawalDelayBlocksSet", "inputs": [{ "name": "previousValue", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "newValue", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false }, { "type": "event", "name": "OperatorDetailsModified", "inputs": [{ "name": "operator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "newOperatorDetails", "type": "tuple", "indexed": false, "internalType": "struct IDelegationManager.OperatorDetails", "components": [{ "name": "earningsReceiver", "type": "address", "internalType": "address" }, { "name": "delegationApprover", "type": "address", "internalType": "address" }, { "name": "stakerOptOutWindowBlocks", "type": "uint32", "internalType": "uint32" }] }], "anonymous": false }, { "type": "event", "name": "OperatorMetadataURIUpdated", "inputs": [{ "name": "operator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "metadataURI", "type": "string", "indexed": false, "internalType": "string" }], "anonymous": false }, { "type": "event", "name": "OperatorRegistered", "inputs": [{ "name": "operator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "operatorDetails", "type": "tuple", "indexed": false, "internalType": "struct IDelegationManager.OperatorDetails", "components": [{ "name": "earningsReceiver", "type": "address", "internalType": "address" }, { "name": "delegationApprover", "type": "address", "internalType": "address" }, { "name": "stakerOptOutWindowBlocks", "type": "uint32", "internalType": "uint32" }] }], "anonymous": false }, { "type": "event", "name": "OperatorSharesDecreased", "inputs": [{ "name": "operator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "staker", "type": "address", "indexed": false, "internalType": "address" }, { "name": "strategy", "type": "address", "indexed": false, "internalType": "contract IStrategy" }, { "name": "shares", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false }, { "type": "event", "name": "OperatorSharesIncreased", "inputs": [{ "name": "operator", "type": "address", "indexed": true, "internalType": "address" }, { "name": "staker", "type": "address", "indexed": false, "internalType": "address" }, { "name": "strategy", "type": "address", "indexed": false, "internalType": "contract IStrategy" }, { "name": "shares", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false }, { "type": "event", "name": "StakerDelegated", "inputs": [{ "name": "staker", "type": "address", "indexed": true, "internalType": "address" }, { "name": "operator", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false }, { "type": "event", "name": "StakerForceUndelegated", "inputs": [{ "name": "staker", "type": "address", "indexed": true, "internalType": "address" }, { "name": "operator", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false }, { "type": "event", "name": "StakerUndelegated", "inputs": [{ "name": "staker", "type": "address", "indexed": true, "internalType": "address" }, { "name": "operator", "type": "address", "indexed": true, "internalType": "address" }], "anonymous": false }, { "type": "event", "name": "StrategyWithdrawalDelayBlocksSet", "inputs": [{ "name": "strategy", "type": "address", "indexed": false, "internalType": "contract IStrategy" }, { "name": "previousValue", "type": "uint256", "indexed": false, "internalType": "uint256" }, { "name": "newValue", "type": "uint256", "indexed": false, "internalType": "uint256" }], "anonymous": false }, { "type": "event", "name": "WithdrawalCompleted", "inputs": [{ "name": "withdrawalRoot", "type": "bytes32", "indexed": false, "internalType": "bytes32" }], "anonymous": false }, { "type": "event", "name": "WithdrawalMigrated", "inputs": [{ "name": "oldWithdrawalRoot", "type": "bytes32", "indexed": false, "internalType": "bytes32" }, { "name": "newWithdrawalRoot", "type": "bytes32", "indexed": false, "internalType": "bytes32" }], "anonymous": false }, { "type": "event", "name": "WithdrawalQueued", "inputs": [{ "name": "withdrawalRoot", "type": "bytes32", "indexed": false, "internalType": "bytes32" }, { "name": "withdrawal", "type": "tuple", "indexed": false, "internalType": "struct IDelegationManager.Withdrawal", "components": [{ "name": "staker", "type": "address", "internalType": "address" }, { "name": "delegatedTo", "type": "address", "internalType": "address" }, { "name": "withdrawer", "type": "address", "internalType": "address" }, { "name": "nonce", "type": "uint256", "internalType": "uint256" }, { "name": "startBlock", "type": "uint32", "internalType": "uint32" }, { "name": "strategies", "type": "address[]", "internalType": "contract IStrategy[]" }, { "name": "shares", "type": "uint256[]", "internalType": "uint256[]" }] }], "anonymous": false }];
|
|
2
|
+
export {
|
|
3
|
+
delegationABI
|
|
4
|
+
};
|