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.
Files changed (56) hide show
  1. package/dist/esm/exports/tempo.js +9 -0
  2. package/dist/esm/exports/tempo.js.map +1 -0
  3. package/dist/esm/tempo/hooks/amm.js +485 -0
  4. package/dist/esm/tempo/hooks/amm.js.map +1 -0
  5. package/dist/esm/tempo/hooks/dex.js +1020 -0
  6. package/dist/esm/tempo/hooks/dex.js.map +1 -0
  7. package/dist/esm/tempo/hooks/faucet.js +76 -0
  8. package/dist/esm/tempo/hooks/faucet.js.map +1 -0
  9. package/dist/esm/tempo/hooks/fee.js +155 -0
  10. package/dist/esm/tempo/hooks/fee.js.map +1 -0
  11. package/dist/esm/tempo/hooks/index.js +11 -0
  12. package/dist/esm/tempo/hooks/index.js.map +1 -0
  13. package/dist/esm/tempo/hooks/nonce.js +85 -0
  14. package/dist/esm/tempo/hooks/nonce.js.map +1 -0
  15. package/dist/esm/tempo/hooks/policy.js +545 -0
  16. package/dist/esm/tempo/hooks/policy.js.map +1 -0
  17. package/dist/esm/tempo/hooks/reward.js +385 -0
  18. package/dist/esm/tempo/hooks/reward.js.map +1 -0
  19. package/dist/esm/tempo/hooks/token.js +1730 -0
  20. package/dist/esm/tempo/hooks/token.js.map +1 -0
  21. package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
  22. package/dist/esm/version.js +1 -1
  23. package/dist/types/exports/tempo.d.ts +4 -0
  24. package/dist/types/exports/tempo.d.ts.map +1 -0
  25. package/dist/types/tempo/hooks/amm.d.ts +384 -0
  26. package/dist/types/tempo/hooks/amm.d.ts.map +1 -0
  27. package/dist/types/tempo/hooks/dex.d.ts +841 -0
  28. package/dist/types/tempo/hooks/dex.d.ts.map +1 -0
  29. package/dist/types/tempo/hooks/faucet.d.ts +70 -0
  30. package/dist/types/tempo/hooks/faucet.d.ts.map +1 -0
  31. package/dist/types/tempo/hooks/fee.d.ts +123 -0
  32. package/dist/types/tempo/hooks/fee.d.ts.map +1 -0
  33. package/dist/types/tempo/hooks/index.d.ts +10 -0
  34. package/dist/types/tempo/hooks/index.d.ts.map +1 -0
  35. package/dist/types/tempo/hooks/nonce.d.ts +60 -0
  36. package/dist/types/tempo/hooks/nonce.d.ts.map +1 -0
  37. package/dist/types/tempo/hooks/policy.d.ts +422 -0
  38. package/dist/types/tempo/hooks/policy.d.ts.map +1 -0
  39. package/dist/types/tempo/hooks/reward.d.ts +304 -0
  40. package/dist/types/tempo/hooks/reward.d.ts.map +1 -0
  41. package/dist/types/tempo/hooks/token.d.ts +1387 -0
  42. package/dist/types/tempo/hooks/token.d.ts.map +1 -0
  43. package/dist/types/version.d.ts +1 -1
  44. package/package.json +12 -4
  45. package/src/exports/tempo.ts +17 -0
  46. package/src/tempo/hooks/amm.ts +776 -0
  47. package/src/tempo/hooks/dex.ts +1737 -0
  48. package/src/tempo/hooks/faucet.ts +142 -0
  49. package/src/tempo/hooks/fee.ts +264 -0
  50. package/src/tempo/hooks/index.ts +10 -0
  51. package/src/tempo/hooks/nonce.ts +126 -0
  52. package/src/tempo/hooks/policy.ts +907 -0
  53. package/src/tempo/hooks/reward.ts +668 -0
  54. package/src/tempo/hooks/token.ts +2979 -0
  55. package/src/version.ts +1 -1
  56. package/tempo/package.json +5 -0
@@ -0,0 +1,304 @@
1
+ import type { UseMutationResult } from '@tanstack/react-query';
2
+ import type { Config, ResolvedRegister } from '@wagmi/core';
3
+ import type { ExactPartial, UnionCompute } from '@wagmi/core/internal';
4
+ import { Actions } from '@wagmi/core/tempo';
5
+ import type { ConfigParameter, QueryParameter } from '../../types/properties.js';
6
+ import { type UseMutationParameters, type UseQueryReturnType } from '../../utils/query.js';
7
+ /**
8
+ * Hook for claiming accumulated rewards.
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * import { Hooks } from 'wagmi/tempo'
13
+ *
14
+ * function App() {
15
+ * const { mutate: claim } = Hooks.reward.useClaim()
16
+ *
17
+ * return (
18
+ * <button onClick={() => claim({
19
+ * token: '0x20c0000000000000000000000000000000000001'
20
+ * })}>
21
+ * Claim Rewards
22
+ * </button>
23
+ * )
24
+ * }
25
+ * ```
26
+ *
27
+ * @param parameters - Parameters.
28
+ * @returns Mutation result.
29
+ */
30
+ export declare function useClaim<config extends Config = ResolvedRegister['config'], context = unknown>(parameters?: useClaim.Parameters<config, context>): useClaim.ReturnType<config, context>;
31
+ export declare namespace useClaim {
32
+ type Parameters<config extends Config = Config, context = unknown> = ConfigParameter<config> & {
33
+ mutation?: UseMutationParameters<Actions.reward.claim.ReturnValue, Actions.reward.claim.ErrorType, Actions.reward.claim.Parameters<config>, context> | undefined;
34
+ };
35
+ type ReturnType<config extends Config = Config, context = unknown> = UseMutationResult<Actions.reward.claim.ReturnValue, Actions.reward.claim.ErrorType, Actions.reward.claim.Parameters<config>, context>;
36
+ }
37
+ /**
38
+ * Hook for claiming accumulated rewards and waiting for confirmation.
39
+ *
40
+ * @example
41
+ * ```tsx
42
+ * import { Hooks } from 'wagmi/tempo'
43
+ *
44
+ * function App() {
45
+ * const { mutate: claimSync } = Hooks.reward.useClaimSync()
46
+ *
47
+ * return (
48
+ * <button onClick={() => claimSync({
49
+ * token: '0x20c0000000000000000000000000000000000001'
50
+ * })}>
51
+ * Claim Rewards
52
+ * </button>
53
+ * )
54
+ * }
55
+ * ```
56
+ *
57
+ * @param parameters - Parameters.
58
+ * @returns Mutation result.
59
+ */
60
+ export declare function useClaimSync<config extends Config = ResolvedRegister['config'], context = unknown>(parameters?: useClaimSync.Parameters<config, context>): useClaimSync.ReturnType<config, context>;
61
+ export declare namespace useClaimSync {
62
+ type Parameters<config extends Config = Config, context = unknown> = ConfigParameter<config> & {
63
+ mutation?: UseMutationParameters<Actions.reward.claimSync.ReturnValue, Actions.reward.claimSync.ErrorType, Actions.reward.claimSync.Parameters<config>, context> | undefined;
64
+ };
65
+ type ReturnType<config extends Config = Config, context = unknown> = UseMutationResult<Actions.reward.claimSync.ReturnValue, Actions.reward.claimSync.ErrorType, Actions.reward.claimSync.Parameters<config>, context>;
66
+ }
67
+ /**
68
+ * Hook for getting the global reward per token value.
69
+ *
70
+ * @example
71
+ * ```tsx
72
+ * import { Hooks } from 'wagmi/tempo'
73
+ *
74
+ * function App() {
75
+ * const { data, isLoading } = Hooks.reward.useGetGlobalRewardPerToken({
76
+ * token: '0x20c0000000000000000000000000000000000001',
77
+ * })
78
+ *
79
+ * if (isLoading) return <div>Loading...</div>
80
+ * return <div>Value: {data?.toString()}</div>
81
+ * }
82
+ * ```
83
+ *
84
+ * @param parameters - Parameters.
85
+ * @returns Query result with global reward per token value.
86
+ */
87
+ export declare function useGetGlobalRewardPerToken<config extends Config = ResolvedRegister['config'], selectData = Actions.reward.getGlobalRewardPerToken.ReturnValue>(parameters?: useGetGlobalRewardPerToken.Parameters<config, selectData>): useGetGlobalRewardPerToken.ReturnValue<selectData>;
88
+ export declare namespace useGetGlobalRewardPerToken {
89
+ type Parameters<config extends Config = ResolvedRegister['config'], selectData = Actions.reward.getGlobalRewardPerToken.ReturnValue> = ConfigParameter<config> & QueryParameter<Actions.reward.getGlobalRewardPerToken.ReturnValue, Actions.reward.getGlobalRewardPerToken.ErrorType, selectData, Actions.reward.getGlobalRewardPerToken.QueryKey<config>> & ExactPartial<Omit<Actions.reward.getGlobalRewardPerToken.queryOptions.Parameters<config, selectData>, 'query'>>;
90
+ type ReturnValue<selectData = Actions.reward.getGlobalRewardPerToken.ReturnValue> = UseQueryReturnType<selectData, Error>;
91
+ }
92
+ /**
93
+ * Hook for getting the reward information for a specific account.
94
+ *
95
+ * @example
96
+ * ```tsx
97
+ * import { Hooks } from 'wagmi/tempo'
98
+ *
99
+ * function App() {
100
+ * const { data, isLoading } = Hooks.reward.useUserRewardInfo({
101
+ * token: '0x20c0000000000000000000000000000000000001',
102
+ * account: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
103
+ * })
104
+ *
105
+ * if (isLoading) return <div>Loading...</div>
106
+ * return (
107
+ * <div>
108
+ * <div>Recipient: {data?.rewardRecipient}</div>
109
+ * <div>Reward per token: {data?.rewardPerToken.toString()}</div>
110
+ * <div>Reward balance: {data?.rewardBalance.toString()}</div>
111
+ * </div>
112
+ * )
113
+ * }
114
+ * ```
115
+ *
116
+ * @param parameters - Parameters.
117
+ * @returns Query result with reward information (recipient, rewardPerToken, rewardBalance).
118
+ */
119
+ export declare function useUserRewardInfo<config extends Config = ResolvedRegister['config'], selectData = Actions.reward.getUserRewardInfo.ReturnValue>(parameters?: useUserRewardInfo.Parameters<config, selectData>): useUserRewardInfo.ReturnValue<selectData>;
120
+ export declare namespace useUserRewardInfo {
121
+ type Parameters<config extends Config = ResolvedRegister['config'], selectData = Actions.reward.getUserRewardInfo.ReturnValue> = ConfigParameter<config> & QueryParameter<Actions.reward.getUserRewardInfo.ReturnValue, Actions.reward.getUserRewardInfo.ErrorType, selectData, Actions.reward.getUserRewardInfo.QueryKey<config>> & ExactPartial<Omit<Actions.reward.getUserRewardInfo.queryOptions.Parameters<config, selectData>, 'query'>>;
122
+ type ReturnValue<selectData = Actions.reward.getUserRewardInfo.ReturnValue> = UseQueryReturnType<selectData, Error>;
123
+ }
124
+ /**
125
+ * Hook for setting the reward recipient for a token holder.
126
+ *
127
+ * @example
128
+ * ```tsx
129
+ * import { Hooks } from 'wagmi/tempo'
130
+ *
131
+ * function App() {
132
+ * const { mutate: setRecipient } = Hooks.reward.useSetRecipient()
133
+ *
134
+ * return (
135
+ * <button onClick={() => setRecipient({
136
+ * recipient: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
137
+ * token: '0x20c0000000000000000000000000000000000001',
138
+ * })}>
139
+ * Set Recipient
140
+ * </button>
141
+ * )
142
+ * }
143
+ * ```
144
+ *
145
+ * @param parameters - Parameters.
146
+ * @returns Mutation result.
147
+ */
148
+ export declare function useSetRecipient<config extends Config = ResolvedRegister['config'], context = unknown>(parameters?: useSetRecipient.Parameters<config, context>): useSetRecipient.ReturnType<config, context>;
149
+ export declare namespace useSetRecipient {
150
+ type Parameters<config extends Config = Config, context = unknown> = ConfigParameter<config> & {
151
+ mutation?: UseMutationParameters<Actions.reward.setRecipient.ReturnValue, Actions.reward.setRecipient.ErrorType, Actions.reward.setRecipient.Parameters<config>, context> | undefined;
152
+ };
153
+ type ReturnType<config extends Config = Config, context = unknown> = UseMutationResult<Actions.reward.setRecipient.ReturnValue, Actions.reward.setRecipient.ErrorType, Actions.reward.setRecipient.Parameters<config>, context>;
154
+ }
155
+ /**
156
+ * Hook for setting the reward recipient and waiting for confirmation.
157
+ *
158
+ * @example
159
+ * ```tsx
160
+ * import { Hooks } from 'wagmi/tempo'
161
+ *
162
+ * function App() {
163
+ * const { mutate: setRecipientSync } = Hooks.reward.useSetRecipientSync()
164
+ *
165
+ * return (
166
+ * <button onClick={() => setRecipientSync({
167
+ * recipient: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
168
+ * token: '0x20c0000000000000000000000000000000000001',
169
+ * })}>
170
+ * Set Recipient
171
+ * </button>
172
+ * )
173
+ * }
174
+ * ```
175
+ *
176
+ * @param parameters - Parameters.
177
+ * @returns Mutation result.
178
+ */
179
+ export declare function useSetRecipientSync<config extends Config = ResolvedRegister['config'], context = unknown>(parameters?: useSetRecipientSync.Parameters<config, context>): useSetRecipientSync.ReturnType<config, context>;
180
+ export declare namespace useSetRecipientSync {
181
+ type Parameters<config extends Config = Config, context = unknown> = ConfigParameter<config> & {
182
+ mutation?: UseMutationParameters<Actions.reward.setRecipientSync.ReturnValue, Actions.reward.setRecipientSync.ErrorType, Actions.reward.setRecipientSync.Parameters<config>, context> | undefined;
183
+ };
184
+ type ReturnType<config extends Config = Config, context = unknown> = UseMutationResult<Actions.reward.setRecipientSync.ReturnValue, Actions.reward.setRecipientSync.ErrorType, Actions.reward.setRecipientSync.Parameters<config>, context>;
185
+ }
186
+ /**
187
+ * Hook for distributing rewards.
188
+ *
189
+ * @example
190
+ * ```tsx
191
+ * import { Hooks } from 'wagmi/tempo'
192
+ *
193
+ * function App() {
194
+ * const { mutate: distribute } = Hooks.reward.useDistribute()
195
+ *
196
+ * return (
197
+ * <button onClick={() => distribute({
198
+ * amount: 100000000000000000000n,
199
+ * seconds: 86400,
200
+ * token: '0x20c0000000000000000000000000000000000001',
201
+ * })}>
202
+ * Start Reward
203
+ * </button>
204
+ * )
205
+ * }
206
+ * ```
207
+ *
208
+ * @param parameters - Parameters.
209
+ * @returns Mutation result.
210
+ */
211
+ export declare function useDistribute<config extends Config = ResolvedRegister['config'], context = unknown>(parameters?: useDistribute.Parameters<config, context>): useDistribute.ReturnType<config, context>;
212
+ export declare namespace useDistribute {
213
+ type Parameters<config extends Config = Config, context = unknown> = ConfigParameter<config> & {
214
+ mutation?: UseMutationParameters<Actions.reward.distribute.ReturnValue, Actions.reward.distribute.ErrorType, Actions.reward.distribute.Parameters<config>, context> | undefined;
215
+ };
216
+ type ReturnType<config extends Config = Config, context = unknown> = UseMutationResult<Actions.reward.distribute.ReturnValue, Actions.reward.distribute.ErrorType, Actions.reward.distribute.Parameters<config>, context>;
217
+ }
218
+ /**
219
+ * Hook for distributing rewards and waiting for confirmation.
220
+ *
221
+ * @example
222
+ * ```tsx
223
+ * import { Hooks } from 'wagmi/tempo'
224
+ *
225
+ * function App() {
226
+ * const { mutate: distributeSync } = Hooks.reward.useDistributeSync()
227
+ *
228
+ * return (
229
+ * <button onClick={() => distributeSync({
230
+ * amount: 100000000000000000000n,
231
+ * seconds: 86400,
232
+ * token: '0x20c0000000000000000000000000000000000001',
233
+ * })}>
234
+ * Start Reward
235
+ * </button>
236
+ * )
237
+ * }
238
+ * ```
239
+ *
240
+ * @param parameters - Parameters.
241
+ * @returns Mutation result.
242
+ */
243
+ export declare function useDistributeSync<config extends Config = ResolvedRegister['config'], context = unknown>(parameters?: useDistributeSync.Parameters<config, context>): useDistributeSync.ReturnType<config, context>;
244
+ export declare namespace useDistributeSync {
245
+ type Parameters<config extends Config = Config, context = unknown> = ConfigParameter<config> & {
246
+ mutation?: UseMutationParameters<Actions.reward.distributeSync.ReturnValue, Actions.reward.distributeSync.ErrorType, Actions.reward.distributeSync.Parameters<config>, context> | undefined;
247
+ };
248
+ type ReturnType<config extends Config = Config, context = unknown> = UseMutationResult<Actions.reward.distributeSync.ReturnValue, Actions.reward.distributeSync.ErrorType, Actions.reward.distributeSync.Parameters<config>, context>;
249
+ }
250
+ /**
251
+ * Hook for watching reward distributed events.
252
+ *
253
+ * @example
254
+ * ```tsx
255
+ * import { Hooks } from 'wagmi/tempo'
256
+ *
257
+ * function App() {
258
+ * Hooks.reward.useWatchRewardDistributed({
259
+ * token: '0x20c0000000000000000000000000000000000001',
260
+ * onRewardDistributed(args) {
261
+ * console.log('Reward distributed:', args)
262
+ * },
263
+ * })
264
+ *
265
+ * return <div>Watching for reward distributed events...</div>
266
+ * }
267
+ * ```
268
+ *
269
+ * @param parameters - Parameters.
270
+ */
271
+ export declare function useWatchRewardDistributed<config extends Config = ResolvedRegister['config']>(parameters?: useWatchRewardDistributed.Parameters<config>): void;
272
+ export declare namespace useWatchRewardDistributed {
273
+ type Parameters<config extends Config = Config> = UnionCompute<ExactPartial<Actions.reward.watchRewardDistributed.Parameters<config>> & ConfigParameter<config> & {
274
+ enabled?: boolean | undefined;
275
+ }>;
276
+ }
277
+ /**
278
+ * Hook for watching reward recipient set events.
279
+ *
280
+ * @example
281
+ * ```tsx
282
+ * import { Hooks } from 'wagmi/tempo'
283
+ *
284
+ * function App() {
285
+ * Hooks.reward.useWatchRewardRecipientSet({
286
+ * token: '0x20c0000000000000000000000000000000000001',
287
+ * onRewardRecipientSet(args) {
288
+ * console.log('Reward recipient set:', args)
289
+ * },
290
+ * })
291
+ *
292
+ * return <div>Watching for reward recipient set events...</div>
293
+ * }
294
+ * ```
295
+ *
296
+ * @param parameters - Parameters.
297
+ */
298
+ export declare function useWatchRewardRecipientSet<config extends Config = ResolvedRegister['config']>(parameters?: useWatchRewardRecipientSet.Parameters<config>): void;
299
+ export declare namespace useWatchRewardRecipientSet {
300
+ type Parameters<config extends Config = Config> = UnionCompute<ExactPartial<Actions.reward.watchRewardRecipientSet.Parameters<config>> & ConfigParameter<config> & {
301
+ enabled?: boolean | undefined;
302
+ }>;
303
+ }
304
+ //# sourceMappingURL=reward.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reward.d.ts","sourceRoot":"","sources":["../../../../src/tempo/hooks/reward.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AAC9D,OAAO,KAAK,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACtE,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA;AAK3C,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAChF,OAAO,EACL,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EAGxB,MAAM,sBAAsB,CAAA;AAE7B;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,QAAQ,CACtB,MAAM,SAAS,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,EAClD,OAAO,GAAG,OAAO,EAEjB,UAAU,GAAE,QAAQ,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,CAAM,GACpD,QAAQ,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,CAAC,CAUtC;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,KAAK,UAAU,CACb,MAAM,SAAS,MAAM,GAAG,MAAM,EAC9B,OAAO,GAAG,OAAO,IACf,eAAe,CAAC,MAAM,CAAC,GAAG;QAC5B,QAAQ,CAAC,EACL,qBAAqB,CACnB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,EAChC,OAAO,CAAC,MAAM,CAAC,KAAK,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