wagmi 3.1.4 → 3.3.0
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/dist/esm/exports/tempo.js +9 -0
- package/dist/esm/exports/tempo.js.map +1 -0
- package/dist/esm/tempo/hooks/amm.js +485 -0
- package/dist/esm/tempo/hooks/amm.js.map +1 -0
- package/dist/esm/tempo/hooks/dex.js +1020 -0
- package/dist/esm/tempo/hooks/dex.js.map +1 -0
- package/dist/esm/tempo/hooks/faucet.js +76 -0
- package/dist/esm/tempo/hooks/faucet.js.map +1 -0
- package/dist/esm/tempo/hooks/fee.js +155 -0
- package/dist/esm/tempo/hooks/fee.js.map +1 -0
- package/dist/esm/tempo/hooks/index.js +11 -0
- package/dist/esm/tempo/hooks/index.js.map +1 -0
- package/dist/esm/tempo/hooks/nonce.js +85 -0
- package/dist/esm/tempo/hooks/nonce.js.map +1 -0
- package/dist/esm/tempo/hooks/policy.js +545 -0
- package/dist/esm/tempo/hooks/policy.js.map +1 -0
- package/dist/esm/tempo/hooks/reward.js +385 -0
- package/dist/esm/tempo/hooks/reward.js.map +1 -0
- package/dist/esm/tempo/hooks/token.js +1730 -0
- package/dist/esm/tempo/hooks/token.js.map +1 -0
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/exports/tempo.d.ts +4 -0
- package/dist/types/exports/tempo.d.ts.map +1 -0
- package/dist/types/tempo/hooks/amm.d.ts +384 -0
- package/dist/types/tempo/hooks/amm.d.ts.map +1 -0
- package/dist/types/tempo/hooks/dex.d.ts +841 -0
- package/dist/types/tempo/hooks/dex.d.ts.map +1 -0
- package/dist/types/tempo/hooks/faucet.d.ts +70 -0
- package/dist/types/tempo/hooks/faucet.d.ts.map +1 -0
- package/dist/types/tempo/hooks/fee.d.ts +123 -0
- package/dist/types/tempo/hooks/fee.d.ts.map +1 -0
- package/dist/types/tempo/hooks/index.d.ts +10 -0
- package/dist/types/tempo/hooks/index.d.ts.map +1 -0
- package/dist/types/tempo/hooks/nonce.d.ts +60 -0
- package/dist/types/tempo/hooks/nonce.d.ts.map +1 -0
- package/dist/types/tempo/hooks/policy.d.ts +422 -0
- package/dist/types/tempo/hooks/policy.d.ts.map +1 -0
- package/dist/types/tempo/hooks/reward.d.ts +304 -0
- package/dist/types/tempo/hooks/reward.d.ts.map +1 -0
- package/dist/types/tempo/hooks/token.d.ts +1387 -0
- package/dist/types/tempo/hooks/token.d.ts.map +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +12 -4
- package/src/exports/tempo.ts +17 -0
- package/src/tempo/hooks/amm.ts +776 -0
- package/src/tempo/hooks/dex.ts +1737 -0
- package/src/tempo/hooks/faucet.ts +142 -0
- package/src/tempo/hooks/fee.ts +264 -0
- package/src/tempo/hooks/index.ts +10 -0
- package/src/tempo/hooks/nonce.ts +126 -0
- package/src/tempo/hooks/policy.ts +907 -0
- package/src/tempo/hooks/reward.ts +668 -0
- package/src/tempo/hooks/token.ts +2979 -0
- package/src/version.ts +1 -1
- package/tempo/package.json +5 -0
|
@@ -0,0 +1,385 @@
|
|
|
1
|
+
import { Actions } from '@wagmi/core/tempo';
|
|
2
|
+
import { useEffect } from 'react';
|
|
3
|
+
import { useChainId } from '../../hooks/useChainId.js';
|
|
4
|
+
import { useConfig } from '../../hooks/useConfig.js';
|
|
5
|
+
import { useMutation, useQuery, } from '../../utils/query.js';
|
|
6
|
+
/**
|
|
7
|
+
* Hook for claiming accumulated rewards.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* import { Hooks } from 'wagmi/tempo'
|
|
12
|
+
*
|
|
13
|
+
* function App() {
|
|
14
|
+
* const { mutate: claim } = Hooks.reward.useClaim()
|
|
15
|
+
*
|
|
16
|
+
* return (
|
|
17
|
+
* <button onClick={() => claim({
|
|
18
|
+
* token: '0x20c0000000000000000000000000000000000001'
|
|
19
|
+
* })}>
|
|
20
|
+
* Claim Rewards
|
|
21
|
+
* </button>
|
|
22
|
+
* )
|
|
23
|
+
* }
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @param parameters - Parameters.
|
|
27
|
+
* @returns Mutation result.
|
|
28
|
+
*/
|
|
29
|
+
export function useClaim(parameters = {}) {
|
|
30
|
+
const { mutation } = parameters;
|
|
31
|
+
const config = useConfig(parameters);
|
|
32
|
+
return useMutation({
|
|
33
|
+
...mutation,
|
|
34
|
+
async mutationFn(variables) {
|
|
35
|
+
return Actions.reward.claim(config, variables);
|
|
36
|
+
},
|
|
37
|
+
mutationKey: ['claim'],
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Hook for claiming accumulated rewards and waiting for confirmation.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* import { Hooks } from 'wagmi/tempo'
|
|
46
|
+
*
|
|
47
|
+
* function App() {
|
|
48
|
+
* const { mutate: claimSync } = Hooks.reward.useClaimSync()
|
|
49
|
+
*
|
|
50
|
+
* return (
|
|
51
|
+
* <button onClick={() => claimSync({
|
|
52
|
+
* token: '0x20c0000000000000000000000000000000000001'
|
|
53
|
+
* })}>
|
|
54
|
+
* Claim Rewards
|
|
55
|
+
* </button>
|
|
56
|
+
* )
|
|
57
|
+
* }
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param parameters - Parameters.
|
|
61
|
+
* @returns Mutation result.
|
|
62
|
+
*/
|
|
63
|
+
export function useClaimSync(parameters = {}) {
|
|
64
|
+
const { mutation } = parameters;
|
|
65
|
+
const config = useConfig(parameters);
|
|
66
|
+
return useMutation({
|
|
67
|
+
...mutation,
|
|
68
|
+
async mutationFn(variables) {
|
|
69
|
+
return Actions.reward.claimSync(config, variables);
|
|
70
|
+
},
|
|
71
|
+
mutationKey: ['claimSync'],
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Hook for getting the global reward per token value.
|
|
76
|
+
*
|
|
77
|
+
* @example
|
|
78
|
+
* ```tsx
|
|
79
|
+
* import { Hooks } from 'wagmi/tempo'
|
|
80
|
+
*
|
|
81
|
+
* function App() {
|
|
82
|
+
* const { data, isLoading } = Hooks.reward.useGetGlobalRewardPerToken({
|
|
83
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
84
|
+
* })
|
|
85
|
+
*
|
|
86
|
+
* if (isLoading) return <div>Loading...</div>
|
|
87
|
+
* return <div>Value: {data?.toString()}</div>
|
|
88
|
+
* }
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @param parameters - Parameters.
|
|
92
|
+
* @returns Query result with global reward per token value.
|
|
93
|
+
*/
|
|
94
|
+
export function useGetGlobalRewardPerToken(parameters = {}) {
|
|
95
|
+
const config = useConfig(parameters);
|
|
96
|
+
const chainId = useChainId({ config });
|
|
97
|
+
const options = Actions.reward.getGlobalRewardPerToken.queryOptions(config, {
|
|
98
|
+
...parameters,
|
|
99
|
+
chainId: parameters.chainId ?? chainId,
|
|
100
|
+
});
|
|
101
|
+
return useQuery(options);
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Hook for getting the reward information for a specific account.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* ```tsx
|
|
108
|
+
* import { Hooks } from 'wagmi/tempo'
|
|
109
|
+
*
|
|
110
|
+
* function App() {
|
|
111
|
+
* const { data, isLoading } = Hooks.reward.useUserRewardInfo({
|
|
112
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
113
|
+
* account: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
|
|
114
|
+
* })
|
|
115
|
+
*
|
|
116
|
+
* if (isLoading) return <div>Loading...</div>
|
|
117
|
+
* return (
|
|
118
|
+
* <div>
|
|
119
|
+
* <div>Recipient: {data?.rewardRecipient}</div>
|
|
120
|
+
* <div>Reward per token: {data?.rewardPerToken.toString()}</div>
|
|
121
|
+
* <div>Reward balance: {data?.rewardBalance.toString()}</div>
|
|
122
|
+
* </div>
|
|
123
|
+
* )
|
|
124
|
+
* }
|
|
125
|
+
* ```
|
|
126
|
+
*
|
|
127
|
+
* @param parameters - Parameters.
|
|
128
|
+
* @returns Query result with reward information (recipient, rewardPerToken, rewardBalance).
|
|
129
|
+
*/
|
|
130
|
+
export function useUserRewardInfo(parameters = {}) {
|
|
131
|
+
const config = useConfig(parameters);
|
|
132
|
+
const chainId = useChainId({ config });
|
|
133
|
+
const options = Actions.reward.getUserRewardInfo.queryOptions(config, {
|
|
134
|
+
...parameters,
|
|
135
|
+
chainId: parameters.chainId ?? chainId,
|
|
136
|
+
});
|
|
137
|
+
return useQuery(options);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Hook for setting the reward recipient for a token holder.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
* ```tsx
|
|
144
|
+
* import { Hooks } from 'wagmi/tempo'
|
|
145
|
+
*
|
|
146
|
+
* function App() {
|
|
147
|
+
* const { mutate: setRecipient } = Hooks.reward.useSetRecipient()
|
|
148
|
+
*
|
|
149
|
+
* return (
|
|
150
|
+
* <button onClick={() => setRecipient({
|
|
151
|
+
* recipient: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
|
|
152
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
153
|
+
* })}>
|
|
154
|
+
* Set Recipient
|
|
155
|
+
* </button>
|
|
156
|
+
* )
|
|
157
|
+
* }
|
|
158
|
+
* ```
|
|
159
|
+
*
|
|
160
|
+
* @param parameters - Parameters.
|
|
161
|
+
* @returns Mutation result.
|
|
162
|
+
*/
|
|
163
|
+
export function useSetRecipient(parameters = {}) {
|
|
164
|
+
const { mutation } = parameters;
|
|
165
|
+
const config = useConfig(parameters);
|
|
166
|
+
return useMutation({
|
|
167
|
+
...mutation,
|
|
168
|
+
async mutationFn(variables) {
|
|
169
|
+
return Actions.reward.setRecipient(config, variables);
|
|
170
|
+
},
|
|
171
|
+
mutationKey: ['setRecipient'],
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Hook for setting the reward recipient and waiting for confirmation.
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* ```tsx
|
|
179
|
+
* import { Hooks } from 'wagmi/tempo'
|
|
180
|
+
*
|
|
181
|
+
* function App() {
|
|
182
|
+
* const { mutate: setRecipientSync } = Hooks.reward.useSetRecipientSync()
|
|
183
|
+
*
|
|
184
|
+
* return (
|
|
185
|
+
* <button onClick={() => setRecipientSync({
|
|
186
|
+
* recipient: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
|
|
187
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
188
|
+
* })}>
|
|
189
|
+
* Set Recipient
|
|
190
|
+
* </button>
|
|
191
|
+
* )
|
|
192
|
+
* }
|
|
193
|
+
* ```
|
|
194
|
+
*
|
|
195
|
+
* @param parameters - Parameters.
|
|
196
|
+
* @returns Mutation result.
|
|
197
|
+
*/
|
|
198
|
+
export function useSetRecipientSync(parameters = {}) {
|
|
199
|
+
const { mutation } = parameters;
|
|
200
|
+
const config = useConfig(parameters);
|
|
201
|
+
return useMutation({
|
|
202
|
+
...mutation,
|
|
203
|
+
async mutationFn(variables) {
|
|
204
|
+
return Actions.reward.setRecipientSync(config, variables);
|
|
205
|
+
},
|
|
206
|
+
mutationKey: ['setRecipientSync'],
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* Hook for distributing rewards.
|
|
211
|
+
*
|
|
212
|
+
* @example
|
|
213
|
+
* ```tsx
|
|
214
|
+
* import { Hooks } from 'wagmi/tempo'
|
|
215
|
+
*
|
|
216
|
+
* function App() {
|
|
217
|
+
* const { mutate: distribute } = Hooks.reward.useDistribute()
|
|
218
|
+
*
|
|
219
|
+
* return (
|
|
220
|
+
* <button onClick={() => distribute({
|
|
221
|
+
* amount: 100000000000000000000n,
|
|
222
|
+
* seconds: 86400,
|
|
223
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
224
|
+
* })}>
|
|
225
|
+
* Start Reward
|
|
226
|
+
* </button>
|
|
227
|
+
* )
|
|
228
|
+
* }
|
|
229
|
+
* ```
|
|
230
|
+
*
|
|
231
|
+
* @param parameters - Parameters.
|
|
232
|
+
* @returns Mutation result.
|
|
233
|
+
*/
|
|
234
|
+
export function useDistribute(parameters = {}) {
|
|
235
|
+
const { mutation } = parameters;
|
|
236
|
+
const config = useConfig(parameters);
|
|
237
|
+
return useMutation({
|
|
238
|
+
...mutation,
|
|
239
|
+
async mutationFn(variables) {
|
|
240
|
+
return Actions.reward.distribute(config, variables);
|
|
241
|
+
},
|
|
242
|
+
mutationKey: ['distribute'],
|
|
243
|
+
});
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Hook for distributing rewards and waiting for confirmation.
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
* ```tsx
|
|
250
|
+
* import { Hooks } from 'wagmi/tempo'
|
|
251
|
+
*
|
|
252
|
+
* function App() {
|
|
253
|
+
* const { mutate: distributeSync } = Hooks.reward.useDistributeSync()
|
|
254
|
+
*
|
|
255
|
+
* return (
|
|
256
|
+
* <button onClick={() => distributeSync({
|
|
257
|
+
* amount: 100000000000000000000n,
|
|
258
|
+
* seconds: 86400,
|
|
259
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
260
|
+
* })}>
|
|
261
|
+
* Start Reward
|
|
262
|
+
* </button>
|
|
263
|
+
* )
|
|
264
|
+
* }
|
|
265
|
+
* ```
|
|
266
|
+
*
|
|
267
|
+
* @param parameters - Parameters.
|
|
268
|
+
* @returns Mutation result.
|
|
269
|
+
*/
|
|
270
|
+
export function useDistributeSync(parameters = {}) {
|
|
271
|
+
const { mutation } = parameters;
|
|
272
|
+
const config = useConfig(parameters);
|
|
273
|
+
return useMutation({
|
|
274
|
+
...mutation,
|
|
275
|
+
async mutationFn(variables) {
|
|
276
|
+
return Actions.reward.distributeSync(config, variables);
|
|
277
|
+
},
|
|
278
|
+
mutationKey: ['distributeSync'],
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* Hook for watching reward distributed events.
|
|
283
|
+
*
|
|
284
|
+
* @example
|
|
285
|
+
* ```tsx
|
|
286
|
+
* import { Hooks } from 'wagmi/tempo'
|
|
287
|
+
*
|
|
288
|
+
* function App() {
|
|
289
|
+
* Hooks.reward.useWatchRewardDistributed({
|
|
290
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
291
|
+
* onRewardDistributed(args) {
|
|
292
|
+
* console.log('Reward distributed:', args)
|
|
293
|
+
* },
|
|
294
|
+
* })
|
|
295
|
+
*
|
|
296
|
+
* return <div>Watching for reward distributed events...</div>
|
|
297
|
+
* }
|
|
298
|
+
* ```
|
|
299
|
+
*
|
|
300
|
+
* @param parameters - Parameters.
|
|
301
|
+
*/
|
|
302
|
+
export function useWatchRewardDistributed(parameters = {}) {
|
|
303
|
+
const { enabled = true, onRewardDistributed, token, ...rest } = parameters;
|
|
304
|
+
const config = useConfig({ config: parameters.config });
|
|
305
|
+
const configChainId = useChainId({ config });
|
|
306
|
+
const chainId = parameters.chainId ?? configChainId;
|
|
307
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: rest.x is explicitly listed
|
|
308
|
+
useEffect(() => {
|
|
309
|
+
if (!enabled)
|
|
310
|
+
return;
|
|
311
|
+
if (!onRewardDistributed)
|
|
312
|
+
return;
|
|
313
|
+
if (!token)
|
|
314
|
+
return;
|
|
315
|
+
return Actions.reward.watchRewardDistributed(config, {
|
|
316
|
+
...rest,
|
|
317
|
+
chainId,
|
|
318
|
+
onRewardDistributed,
|
|
319
|
+
token,
|
|
320
|
+
});
|
|
321
|
+
}, [
|
|
322
|
+
config,
|
|
323
|
+
enabled,
|
|
324
|
+
chainId,
|
|
325
|
+
token,
|
|
326
|
+
onRewardDistributed,
|
|
327
|
+
rest.fromBlock,
|
|
328
|
+
rest.onError,
|
|
329
|
+
rest.poll,
|
|
330
|
+
rest.pollingInterval,
|
|
331
|
+
]);
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Hook for watching reward recipient set events.
|
|
335
|
+
*
|
|
336
|
+
* @example
|
|
337
|
+
* ```tsx
|
|
338
|
+
* import { Hooks } from 'wagmi/tempo'
|
|
339
|
+
*
|
|
340
|
+
* function App() {
|
|
341
|
+
* Hooks.reward.useWatchRewardRecipientSet({
|
|
342
|
+
* token: '0x20c0000000000000000000000000000000000001',
|
|
343
|
+
* onRewardRecipientSet(args) {
|
|
344
|
+
* console.log('Reward recipient set:', args)
|
|
345
|
+
* },
|
|
346
|
+
* })
|
|
347
|
+
*
|
|
348
|
+
* return <div>Watching for reward recipient set events...</div>
|
|
349
|
+
* }
|
|
350
|
+
* ```
|
|
351
|
+
*
|
|
352
|
+
* @param parameters - Parameters.
|
|
353
|
+
*/
|
|
354
|
+
export function useWatchRewardRecipientSet(parameters = {}) {
|
|
355
|
+
const { enabled = true, onRewardRecipientSet, token, ...rest } = parameters;
|
|
356
|
+
const config = useConfig({ config: parameters.config });
|
|
357
|
+
const configChainId = useChainId({ config });
|
|
358
|
+
const chainId = parameters.chainId ?? configChainId;
|
|
359
|
+
// biome-ignore lint/correctness/useExhaustiveDependencies: rest.x is explicitly listed
|
|
360
|
+
useEffect(() => {
|
|
361
|
+
if (!enabled)
|
|
362
|
+
return;
|
|
363
|
+
if (!onRewardRecipientSet)
|
|
364
|
+
return;
|
|
365
|
+
if (!token)
|
|
366
|
+
return;
|
|
367
|
+
return Actions.reward.watchRewardRecipientSet(config, {
|
|
368
|
+
...rest,
|
|
369
|
+
chainId,
|
|
370
|
+
onRewardRecipientSet,
|
|
371
|
+
token,
|
|
372
|
+
});
|
|
373
|
+
}, [
|
|
374
|
+
config,
|
|
375
|
+
enabled,
|
|
376
|
+
chainId,
|
|
377
|
+
token,
|
|
378
|
+
onRewardRecipientSet,
|
|
379
|
+
rest.fromBlock,
|
|
380
|
+
rest.onError,
|
|
381
|
+
rest.poll,
|
|
382
|
+
rest.pollingInterval,
|
|
383
|
+
]);
|
|
384
|
+
}
|
|
385
|
+
//# sourceMappingURL=reward.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reward.js","sourceRoot":"","sources":["../../../../src/tempo/hooks/reward.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEpD,OAAO,EAGL,WAAW,EACX,QAAQ,GACT,MAAM,sBAAsB,CAAA;AAE7B;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,UAAU,QAAQ,CAItB,aAAmD,EAAE;IAErD,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAA;IAC/B,MAAM,MAAM,GAAG,SAAS,CAAC,UAAU,CAAC,CAAA;IACpC,OAAO,WAAW,CAAC;QACjB,GAAG,QAAQ;QACX,KAAK,CAAC,UAAU,CAAC,SAAS;YACxB,OAAO,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,SAAkB,CAAC,CAAA;QACzD,CAAC;QACD,WAAW,EAAE,CAAC,OAAO,CAAC;KACvB,CAAU,CAAA;AACb,CAAC;AA4BD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,UAAU,YAAY,CAI1B,aAAuD,EAAE;IAEzD,MAAM,EAAE,QAAQ,EAAE,GAAG,UAAU,CAAA;IAC/B,MAAM,MAAM,GAAG,SAAS,CAAC,UAAU,CAAC,CAAA;IACpC,OAAO,WAAW,CAAC;QACjB,GAAG,QAAQ;QACX,KAAK,CAAC,UAAU,CAAC,SAAS;YACxB,OAAO,OAAO,CAAC,MAAM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