tempo.ts 0.12.0 → 0.13.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 (123) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +28 -34
  3. package/package.json +2 -28
  4. package/dist/wagmi/Actions/amm.d.ts +0 -418
  5. package/dist/wagmi/Actions/amm.d.ts.map +0 -1
  6. package/dist/wagmi/Actions/amm.js +0 -462
  7. package/dist/wagmi/Actions/amm.js.map +0 -1
  8. package/dist/wagmi/Actions/dex.d.ts +0 -864
  9. package/dist/wagmi/Actions/dex.d.ts.map +0 -1
  10. package/dist/wagmi/Actions/dex.js +0 -968
  11. package/dist/wagmi/Actions/dex.js.map +0 -1
  12. package/dist/wagmi/Actions/faucet.d.ts +0 -66
  13. package/dist/wagmi/Actions/faucet.d.ts.map +0 -1
  14. package/dist/wagmi/Actions/faucet.js +0 -64
  15. package/dist/wagmi/Actions/faucet.js.map +0 -1
  16. package/dist/wagmi/Actions/fee.d.ts +0 -111
  17. package/dist/wagmi/Actions/fee.d.ts.map +0 -1
  18. package/dist/wagmi/Actions/fee.js +0 -126
  19. package/dist/wagmi/Actions/fee.js.map +0 -1
  20. package/dist/wagmi/Actions/index.d.ts +0 -9
  21. package/dist/wagmi/Actions/index.d.ts.map +0 -1
  22. package/dist/wagmi/Actions/index.js +0 -9
  23. package/dist/wagmi/Actions/index.js.map +0 -1
  24. package/dist/wagmi/Actions/nonce.d.ts +0 -77
  25. package/dist/wagmi/Actions/nonce.d.ts.map +0 -1
  26. package/dist/wagmi/Actions/nonce.js +0 -87
  27. package/dist/wagmi/Actions/nonce.js.map +0 -1
  28. package/dist/wagmi/Actions/policy.d.ts +0 -480
  29. package/dist/wagmi/Actions/policy.d.ts.map +0 -1
  30. package/dist/wagmi/Actions/policy.js +0 -530
  31. package/dist/wagmi/Actions/policy.js.map +0 -1
  32. package/dist/wagmi/Actions/reward.d.ts +0 -346
  33. package/dist/wagmi/Actions/reward.d.ts.map +0 -1
  34. package/dist/wagmi/Actions/reward.js +0 -382
  35. package/dist/wagmi/Actions/reward.js.map +0 -1
  36. package/dist/wagmi/Actions/token.d.ts +0 -1546
  37. package/dist/wagmi/Actions/token.d.ts.map +0 -1
  38. package/dist/wagmi/Actions/token.js +0 -1712
  39. package/dist/wagmi/Actions/token.js.map +0 -1
  40. package/dist/wagmi/Connector.d.ts +0 -91
  41. package/dist/wagmi/Connector.d.ts.map +0 -1
  42. package/dist/wagmi/Connector.js +0 -473
  43. package/dist/wagmi/Connector.js.map +0 -1
  44. package/dist/wagmi/Hooks/amm.d.ts +0 -411
  45. package/dist/wagmi/Hooks/amm.d.ts.map +0 -1
  46. package/dist/wagmi/Hooks/amm.js +0 -494
  47. package/dist/wagmi/Hooks/amm.js.map +0 -1
  48. package/dist/wagmi/Hooks/dex.d.ts +0 -773
  49. package/dist/wagmi/Hooks/dex.d.ts.map +0 -1
  50. package/dist/wagmi/Hooks/dex.js +0 -921
  51. package/dist/wagmi/Hooks/dex.js.map +0 -1
  52. package/dist/wagmi/Hooks/faucet.d.ts +0 -71
  53. package/dist/wagmi/Hooks/faucet.d.ts.map +0 -1
  54. package/dist/wagmi/Hooks/faucet.js +0 -76
  55. package/dist/wagmi/Hooks/faucet.js.map +0 -1
  56. package/dist/wagmi/Hooks/fee.d.ts +0 -97
  57. package/dist/wagmi/Hooks/fee.d.ts.map +0 -1
  58. package/dist/wagmi/Hooks/fee.js +0 -109
  59. package/dist/wagmi/Hooks/fee.js.map +0 -1
  60. package/dist/wagmi/Hooks/index.d.ts +0 -9
  61. package/dist/wagmi/Hooks/index.d.ts.map +0 -1
  62. package/dist/wagmi/Hooks/index.js +0 -9
  63. package/dist/wagmi/Hooks/index.js.map +0 -1
  64. package/dist/wagmi/Hooks/nonce.d.ts +0 -59
  65. package/dist/wagmi/Hooks/nonce.d.ts.map +0 -1
  66. package/dist/wagmi/Hooks/nonce.js +0 -75
  67. package/dist/wagmi/Hooks/nonce.js.map +0 -1
  68. package/dist/wagmi/Hooks/policy.d.ts +0 -423
  69. package/dist/wagmi/Hooks/policy.d.ts.map +0 -1
  70. package/dist/wagmi/Hooks/policy.js +0 -510
  71. package/dist/wagmi/Hooks/policy.js.map +0 -1
  72. package/dist/wagmi/Hooks/reward.d.ts +0 -305
  73. package/dist/wagmi/Hooks/reward.d.ts.map +0 -1
  74. package/dist/wagmi/Hooks/reward.js +0 -368
  75. package/dist/wagmi/Hooks/reward.js.map +0 -1
  76. package/dist/wagmi/Hooks/token.d.ts +0 -1388
  77. package/dist/wagmi/Hooks/token.d.ts.map +0 -1
  78. package/dist/wagmi/Hooks/token.js +0 -1657
  79. package/dist/wagmi/Hooks/token.js.map +0 -1
  80. package/dist/wagmi/KeyManager.d.ts +0 -60
  81. package/dist/wagmi/KeyManager.d.ts.map +0 -1
  82. package/dist/wagmi/KeyManager.js +0 -106
  83. package/dist/wagmi/KeyManager.js.map +0 -1
  84. package/dist/wagmi/index.d.ts +0 -5
  85. package/dist/wagmi/index.d.ts.map +0 -1
  86. package/dist/wagmi/index.js +0 -5
  87. package/dist/wagmi/index.js.map +0 -1
  88. package/src/wagmi/Actions/amm.test.ts +0 -208
  89. package/src/wagmi/Actions/amm.ts +0 -690
  90. package/src/wagmi/Actions/dex.test.ts +0 -1482
  91. package/src/wagmi/Actions/dex.ts +0 -1540
  92. package/src/wagmi/Actions/faucet.ts +0 -89
  93. package/src/wagmi/Actions/fee.test.ts +0 -63
  94. package/src/wagmi/Actions/fee.ts +0 -211
  95. package/src/wagmi/Actions/index.ts +0 -8
  96. package/src/wagmi/Actions/nonce.test.ts +0 -82
  97. package/src/wagmi/Actions/nonce.ts +0 -139
  98. package/src/wagmi/Actions/policy.test.ts +0 -461
  99. package/src/wagmi/Actions/policy.ts +0 -817
  100. package/src/wagmi/Actions/reward.test.ts +0 -216
  101. package/src/wagmi/Actions/reward.ts +0 -613
  102. package/src/wagmi/Actions/token.test.ts +0 -1309
  103. package/src/wagmi/Actions/token.ts +0 -2644
  104. package/src/wagmi/Connector.test.ts +0 -56
  105. package/src/wagmi/Connector.ts +0 -670
  106. package/src/wagmi/Hooks/amm.test.ts +0 -564
  107. package/src/wagmi/Hooks/amm.ts +0 -796
  108. package/src/wagmi/Hooks/dex.test.ts +0 -992
  109. package/src/wagmi/Hooks/dex.ts +0 -1598
  110. package/src/wagmi/Hooks/faucet.ts +0 -144
  111. package/src/wagmi/Hooks/fee.test.ts +0 -166
  112. package/src/wagmi/Hooks/fee.ts +0 -206
  113. package/src/wagmi/Hooks/index.ts +0 -8
  114. package/src/wagmi/Hooks/nonce.test.ts +0 -142
  115. package/src/wagmi/Hooks/nonce.ts +0 -117
  116. package/src/wagmi/Hooks/policy.test.ts +0 -665
  117. package/src/wagmi/Hooks/policy.ts +0 -873
  118. package/src/wagmi/Hooks/reward.test.ts +0 -249
  119. package/src/wagmi/Hooks/reward.ts +0 -645
  120. package/src/wagmi/Hooks/token.test.ts +0 -1183
  121. package/src/wagmi/Hooks/token.ts +0 -2906
  122. package/src/wagmi/KeyManager.ts +0 -172
  123. package/src/wagmi/index.ts +0 -7
@@ -1,382 +0,0 @@
1
- import { getConnectorClient } from '@wagmi/core';
2
- import { Actions } from 'viem/tempo';
3
- /**
4
- * Claims accumulated rewards for a recipient.
5
- *
6
- * @example
7
- * ```ts
8
- * import { createConfig, http } from '@wagmi/core'
9
- * import { tempo } from 'viem/chains'
10
- * import { Actions } from 'tempo.ts/wagmi'
11
- *
12
- * const config = createConfig({
13
- * chains: [tempoTestnet],
14
- * transports: {
15
- * [tempo.id]: http(),
16
- * },
17
- * })
18
- *
19
- * const hash = await Actions.reward.claim(config, {
20
- * token: '0x20c0000000000000000000000000000000000001',
21
- * })
22
- * ```
23
- *
24
- * @param config - Config.
25
- * @param parameters - Parameters.
26
- * @returns The transaction hash.
27
- */
28
- export async function claim(config, parameters) {
29
- const { account, chainId, connector } = parameters;
30
- const client = await getConnectorClient(config, {
31
- account,
32
- assertChainId: false,
33
- chainId,
34
- connector,
35
- });
36
- return Actions.reward.claim(client, parameters);
37
- }
38
- /**
39
- * Claims accumulated rewards for a recipient and waits for confirmation.
40
- *
41
- * @example
42
- * ```ts
43
- * import { createConfig, http } from '@wagmi/core'
44
- * import { tempo } from 'viem/chains'
45
- * import { Actions } from 'tempo.ts/wagmi'
46
- *
47
- * const config = createConfig({
48
- * chains: [tempoTestnet],
49
- * transports: {
50
- * [tempo.id]: http(),
51
- * },
52
- * })
53
- *
54
- * const result = await Actions.reward.claimSync(config, {
55
- * token: '0x20c0000000000000000000000000000000000001',
56
- * })
57
- * ```
58
- *
59
- * @param config - Config.
60
- * @param parameters - Parameters.
61
- * @returns The transaction receipt.
62
- */
63
- export async function claimSync(config, parameters) {
64
- const { account, chainId, connector } = parameters;
65
- const client = await getConnectorClient(config, {
66
- account,
67
- assertChainId: false,
68
- chainId,
69
- connector,
70
- });
71
- return Actions.reward.claimSync(client, parameters);
72
- }
73
- /**
74
- * Gets the total reward per second rate for all active streams.
75
- *
76
- * @example
77
- * ```ts
78
- * import { createConfig, http } from '@wagmi/core'
79
- * import { tempo } from 'viem/chains'
80
- * import { Actions } from 'tempo.ts/wagmi'
81
- *
82
- * const config = createConfig({
83
- * chains: [tempoTestnet],
84
- * transports: {
85
- * [tempo.id]: http(),
86
- * },
87
- * })
88
- *
89
- * const rate = await Actions.reward.getTotalPerSecond(config, {
90
- * token: '0x20c0000000000000000000000000000000000001',
91
- * })
92
- * ```
93
- *
94
- * @param config - Config.
95
- * @param parameters - Parameters.
96
- * @returns The total reward per second (scaled by 1e18).
97
- */
98
- export function getTotalPerSecond(config, parameters) {
99
- const { chainId, ...rest } = parameters;
100
- const client = config.getClient({ chainId });
101
- return Actions.reward.getTotalPerSecond(client, rest);
102
- }
103
- (function (getTotalPerSecond) {
104
- function queryKey(parameters) {
105
- return ['getTotalPerSecond', parameters];
106
- }
107
- getTotalPerSecond.queryKey = queryKey;
108
- function queryOptions(config, parameters) {
109
- const { query, ...rest } = parameters;
110
- return {
111
- ...query,
112
- queryKey: queryKey(rest),
113
- async queryFn({ queryKey }) {
114
- const [, parameters] = queryKey;
115
- return await getTotalPerSecond(config, parameters);
116
- },
117
- };
118
- }
119
- getTotalPerSecond.queryOptions = queryOptions;
120
- })(getTotalPerSecond || (getTotalPerSecond = {}));
121
- /**
122
- * Gets the reward information for a specific account.
123
- *
124
- * @example
125
- * ```ts
126
- * import { createConfig, http } from '@wagmi/core'
127
- * import { tempo } from 'viem/chains'
128
- * import { Actions } from 'tempo.ts/wagmi'
129
- *
130
- * const config = createConfig({
131
- * chains: [tempoTestnet],
132
- * transports: {
133
- * [tempo.id]: http(),
134
- * },
135
- * })
136
- *
137
- * const info = await Actions.reward.getUserRewardInfo(config, {
138
- * token: '0x20c0000000000000000000000000000000000001',
139
- * account: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
140
- * })
141
- * ```
142
- *
143
- * @param config - Config.
144
- * @param parameters - Parameters.
145
- * @returns The user's reward information (recipient, rewardPerToken, rewardBalance).
146
- */
147
- export function getUserRewardInfo(config, parameters) {
148
- const { chainId, ...rest } = parameters;
149
- const client = config.getClient({ chainId });
150
- return Actions.reward.getUserRewardInfo(client, rest);
151
- }
152
- (function (getUserRewardInfo) {
153
- function queryKey(parameters) {
154
- return ['getUserRewardInfo', parameters];
155
- }
156
- getUserRewardInfo.queryKey = queryKey;
157
- function queryOptions(config, parameters) {
158
- const { query, ...rest } = parameters;
159
- return {
160
- ...query,
161
- queryKey: queryKey(rest),
162
- async queryFn({ queryKey }) {
163
- const [, parameters] = queryKey;
164
- return await getUserRewardInfo(config, parameters);
165
- },
166
- };
167
- }
168
- getUserRewardInfo.queryOptions = queryOptions;
169
- })(getUserRewardInfo || (getUserRewardInfo = {}));
170
- /**
171
- * Sets or changes the reward recipient for a token holder.
172
- *
173
- * @example
174
- * ```ts
175
- * import { createConfig, http } from '@wagmi/core'
176
- * import { tempo } from 'viem/chains'
177
- * import { Actions } from 'tempo.ts/wagmi'
178
- *
179
- * const config = createConfig({
180
- * chains: [tempoTestnet],
181
- * transports: {
182
- * [tempo.id]: http(),
183
- * },
184
- * })
185
- *
186
- * const hash = await Actions.reward.setRecipient(config, {
187
- * recipient: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
188
- * token: '0x20c0000000000000000000000000000000000001',
189
- * })
190
- * ```
191
- *
192
- * @param config - Config.
193
- * @param parameters - Parameters.
194
- * @returns The transaction hash.
195
- */
196
- export async function setRecipient(config, parameters) {
197
- const { account, chainId, connector } = parameters;
198
- const client = await getConnectorClient(config, {
199
- account,
200
- assertChainId: false,
201
- chainId,
202
- connector,
203
- });
204
- return Actions.reward.setRecipient(client, parameters);
205
- }
206
- /**
207
- * Sets or changes the reward recipient for a token holder and waits for confirmation.
208
- *
209
- * @example
210
- * ```ts
211
- * import { createConfig, http } from '@wagmi/core'
212
- * import { tempo } from 'viem/chains'
213
- * import { Actions } from 'tempo.ts/wagmi'
214
- *
215
- * const config = createConfig({
216
- * chains: [tempoTestnet],
217
- * transports: {
218
- * [tempo.id]: http(),
219
- * },
220
- * })
221
- *
222
- * const result = await Actions.reward.setRecipientSync(config, {
223
- * recipient: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
224
- * token: '0x20c0000000000000000000000000000000000001',
225
- * })
226
- * ```
227
- *
228
- * @param config - Config.
229
- * @param parameters - Parameters.
230
- * @returns The transaction receipt and event data.
231
- */
232
- export async function setRecipientSync(config, parameters) {
233
- const { account, chainId, connector } = parameters;
234
- const client = await getConnectorClient(config, {
235
- account,
236
- assertChainId: false,
237
- chainId,
238
- connector,
239
- });
240
- return Actions.reward.setRecipientSync(client, parameters);
241
- }
242
- /**
243
- * Starts a new reward stream that distributes tokens to opted-in holders.
244
- *
245
- * @example
246
- * ```ts
247
- * import { createConfig, http } from '@wagmi/core'
248
- * import { tempo } from 'viem/chains'
249
- * import { Actions } from 'tempo.ts/wagmi'
250
- *
251
- * const config = createConfig({
252
- * chains: [tempoTestnet],
253
- * transports: {
254
- * [tempo.id]: http(),
255
- * },
256
- * })
257
- *
258
- * const hash = await Actions.reward.start(config, {
259
- * amount: 100000000000000000000n,
260
- * seconds: 86400,
261
- * token: '0x20c0000000000000000000000000000000000001',
262
- * })
263
- * ```
264
- *
265
- * @param config - Config.
266
- * @param parameters - Parameters.
267
- * @returns The transaction hash.
268
- */
269
- export async function start(config, parameters) {
270
- const { account, chainId, connector } = parameters;
271
- const client = await getConnectorClient(config, {
272
- account,
273
- assertChainId: false,
274
- chainId,
275
- connector,
276
- });
277
- return Actions.reward.start(client, parameters);
278
- }
279
- /**
280
- * Starts a new reward stream that distributes tokens to opted-in holders and waits for confirmation.
281
- *
282
- * @example
283
- * ```ts
284
- * import { createConfig, http } from '@wagmi/core'
285
- * import { tempo } from 'viem/chains'
286
- * import { Actions } from 'tempo.ts/wagmi'
287
- *
288
- * const config = createConfig({
289
- * chains: [tempoTestnet],
290
- * transports: {
291
- * [tempo.id]: http(),
292
- * },
293
- * })
294
- *
295
- * const result = await Actions.reward.startSync(config, {
296
- * amount: 100000000000000000000n,
297
- * seconds: 86400,
298
- * token: '0x20c0000000000000000000000000000000000001',
299
- * })
300
- * ```
301
- *
302
- * @param config - Config.
303
- * @param parameters - Parameters.
304
- * @returns The transaction receipt and event data.
305
- */
306
- export async function startSync(config, parameters) {
307
- const { account, chainId, connector } = parameters;
308
- const client = await getConnectorClient(config, {
309
- account,
310
- assertChainId: false,
311
- chainId,
312
- connector,
313
- });
314
- return Actions.reward.startSync(client, parameters);
315
- }
316
- /**
317
- * Watches for reward scheduled events.
318
- *
319
- * @example
320
- * ```ts
321
- * import { createConfig, http } from '@wagmi/core'
322
- * import { tempo } from 'viem/chains'
323
- * import { Actions } from 'tempo.ts/wagmi'
324
- *
325
- * const config = createConfig({
326
- * chains: [tempoTestnet],
327
- * transports: {
328
- * [tempo.id]: http(),
329
- * },
330
- * })
331
- *
332
- * const unwatch = Actions.reward.watchRewardScheduled(config, {
333
- * token: '0x20c0000000000000000000000000000000000001',
334
- * onRewardScheduled: (args, log) => {
335
- * console.log('Reward scheduled:', args)
336
- * },
337
- * })
338
- * ```
339
- *
340
- * @param config - Config.
341
- * @param parameters - Parameters.
342
- * @returns A function to unsubscribe from the event.
343
- */
344
- export function watchRewardScheduled(config, parameters) {
345
- const { chainId, ...rest } = parameters;
346
- const client = config.getClient({ chainId });
347
- return Actions.reward.watchRewardScheduled(client, rest);
348
- }
349
- /**
350
- * Watches for reward recipient set events.
351
- *
352
- * @example
353
- * ```ts
354
- * import { createConfig, http } from '@wagmi/core'
355
- * import { tempo } from 'viem/chains'
356
- * import { Actions } from 'tempo.ts/wagmi'
357
- *
358
- * const config = createConfig({
359
- * chains: [tempoTestnet],
360
- * transports: {
361
- * [tempo.id]: http(),
362
- * },
363
- * })
364
- *
365
- * const unwatch = Actions.reward.watchRewardRecipientSet(config, {
366
- * token: '0x20c0000000000000000000000000000000000001',
367
- * onRewardRecipientSet: (args, log) => {
368
- * console.log('Reward recipient set:', args)
369
- * },
370
- * })
371
- * ```
372
- *
373
- * @param config - Config.
374
- * @param parameters - Parameters.
375
- * @returns A function to unsubscribe from the event.
376
- */
377
- export function watchRewardRecipientSet(config, parameters) {
378
- const { chainId, ...rest } = parameters;
379
- const client = config.getClient({ chainId });
380
- return Actions.reward.watchRewardRecipientSet(client, rest);
381
- }
382
- //# sourceMappingURL=reward.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reward.js","sourceRoot":"","sources":["../../../src/wagmi/Actions/reward.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAG7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAGpC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,CAAC,KAAK,UAAU,KAAK,CACzB,MAAc,EACd,UAAoC;IAEpC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,UAAU,CAAA;IAElD,M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