tempo.ts 0.2.0 → 0.2.1
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/chains.d.ts.map +1 -1
- package/dist/chains.js +3 -1
- package/dist/chains.js.map +1 -1
- package/dist/viem/Actions/amm.d.ts +64 -43
- package/dist/viem/Actions/amm.d.ts.map +1 -1
- package/dist/viem/Actions/amm.js +62 -47
- package/dist/viem/Actions/amm.js.map +1 -1
- package/dist/viem/Actions/dex.d.ts +32 -32
- package/dist/viem/Actions/dex.js +32 -32
- package/dist/viem/Actions/faucet.d.ts +34 -0
- package/dist/viem/Actions/faucet.d.ts.map +1 -0
- package/dist/viem/Actions/faucet.js +33 -0
- package/dist/viem/Actions/faucet.js.map +1 -0
- package/dist/viem/Actions/fee.d.ts +13 -13
- package/dist/viem/Actions/fee.js +13 -13
- package/dist/viem/Actions/index.d.ts +1 -0
- package/dist/viem/Actions/index.d.ts.map +1 -1
- package/dist/viem/Actions/index.js +1 -0
- package/dist/viem/Actions/index.js.map +1 -1
- package/dist/viem/Actions/policy.d.ts +46 -46
- package/dist/viem/Actions/policy.js +46 -46
- package/dist/viem/Actions/reward.d.ts +38 -38
- package/dist/viem/Actions/reward.js +38 -38
- package/dist/viem/Actions/token.d.ts +159 -159
- package/dist/viem/Actions/token.js +159 -159
- package/dist/viem/Decorator.d.ts +128 -101
- package/dist/viem/Decorator.d.ts.map +1 -1
- package/dist/viem/Decorator.js +4 -0
- package/dist/viem/Decorator.js.map +1 -1
- package/dist/wagmi/Actions/amm.d.ts +12 -12
- package/dist/wagmi/Actions/amm.js +12 -12
- package/dist/wagmi/Actions/dex.d.ts +25 -25
- package/dist/wagmi/Actions/dex.js +25 -25
- package/dist/wagmi/Actions/faucet.d.ts +35 -0
- package/dist/wagmi/Actions/faucet.d.ts.map +1 -0
- package/dist/wagmi/Actions/faucet.js +33 -0
- package/dist/wagmi/Actions/faucet.js.map +1 -0
- package/dist/wagmi/Actions/fee.d.ts +3 -3
- package/dist/wagmi/Actions/fee.js +3 -3
- package/dist/wagmi/Actions/index.d.ts +1 -0
- package/dist/wagmi/Actions/index.d.ts.map +1 -1
- package/dist/wagmi/Actions/index.js +1 -0
- package/dist/wagmi/Actions/index.js.map +1 -1
- package/dist/wagmi/Actions/reward.d.ts +10 -10
- package/dist/wagmi/Actions/reward.js +10 -10
- package/dist/wagmi/Actions/token.d.ts +45 -45
- package/dist/wagmi/Actions/token.js +46 -46
- package/dist/wagmi/Actions/token.js.map +1 -1
- package/dist/wagmi/Connector.d.ts +11 -3
- package/dist/wagmi/Connector.d.ts.map +1 -1
- package/dist/wagmi/Connector.js +16 -4
- package/dist/wagmi/Connector.js.map +1 -1
- package/dist/wagmi/Hooks/faucet.d.ts +39 -0
- package/dist/wagmi/Hooks/faucet.d.ts.map +1 -0
- package/dist/wagmi/Hooks/faucet.js +40 -0
- package/dist/wagmi/Hooks/faucet.js.map +1 -0
- package/dist/wagmi/Hooks/index.d.ts +1 -0
- package/dist/wagmi/Hooks/index.d.ts.map +1 -1
- package/dist/wagmi/Hooks/index.js +1 -0
- package/dist/wagmi/Hooks/index.js.map +1 -1
- package/package.json +1 -1
- package/src/chains.ts +3 -1
- package/src/viem/Actions/amm.test.ts +75 -0
- package/src/viem/Actions/amm.ts +63 -48
- package/src/viem/Actions/dex.ts +32 -32
- package/src/viem/Actions/faucet.ts +50 -0
- package/src/viem/Actions/fee.ts +13 -13
- package/src/viem/Actions/index.ts +1 -0
- package/src/viem/Actions/policy.ts +46 -46
- package/src/viem/Actions/reward.ts +38 -38
- package/src/viem/Actions/token.ts +159 -159
- package/src/viem/Chain.bench-d.ts +12 -0
- package/src/viem/Decorator.bench-d.ts +1 -1
- package/src/viem/Decorator.test.ts +1 -0
- package/src/viem/Decorator.ts +133 -101
- package/src/wagmi/Actions/amm.ts +12 -12
- package/src/wagmi/Actions/dex.ts +25 -25
- package/src/wagmi/Actions/faucet.ts +46 -0
- package/src/wagmi/Actions/fee.ts +3 -3
- package/src/wagmi/Actions/index.ts +1 -0
- package/src/wagmi/Actions/reward.ts +10 -10
- package/src/wagmi/Actions/token.ts +46 -46
- package/src/wagmi/Connector.ts +31 -8
- package/src/wagmi/Hooks/faucet.ts +76 -0
- package/src/wagmi/Hooks/index.ts +1 -0
package/dist/viem/Decorator.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Account, Chain, Client, Transport } from 'viem';
|
|
2
2
|
import * as ammActions from './Actions/amm.js';
|
|
3
3
|
import * as dexActions from './Actions/dex.js';
|
|
4
|
+
import * as faucetActions from './Actions/faucet.js';
|
|
4
5
|
import * as feeActions from './Actions/fee.js';
|
|
5
6
|
import * as policyActions from './Actions/policy.js';
|
|
6
7
|
import * as rewardActions from './Actions/reward.js';
|
|
@@ -41,7 +42,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
41
42
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
42
43
|
*
|
|
43
44
|
* const client = createClient({
|
|
44
|
-
* chain: tempo
|
|
45
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
45
46
|
* transport: http(),
|
|
46
47
|
* }).extend(tempoActions())
|
|
47
48
|
*
|
|
@@ -72,7 +73,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
72
73
|
*
|
|
73
74
|
* const client = createClient({
|
|
74
75
|
* account: privateKeyToAccount('0x...'),
|
|
75
|
-
* chain: tempo
|
|
76
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
76
77
|
* transport: http(),
|
|
77
78
|
* }).extend(tempoActions())
|
|
78
79
|
*
|
|
@@ -100,7 +101,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
100
101
|
*
|
|
101
102
|
* const client = createClient({
|
|
102
103
|
* account: privateKeyToAccount('0x...'),
|
|
103
|
-
* chain: tempo
|
|
104
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
104
105
|
* transport: http(),
|
|
105
106
|
* }).extend(tempoActions())
|
|
106
107
|
*
|
|
@@ -128,7 +129,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
128
129
|
*
|
|
129
130
|
* const client = createClient({
|
|
130
131
|
* account: privateKeyToAccount('0x...'),
|
|
131
|
-
* chain: tempo
|
|
132
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
132
133
|
* transport: http(),
|
|
133
134
|
* }).extend(tempoActions())
|
|
134
135
|
*
|
|
@@ -161,7 +162,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
161
162
|
*
|
|
162
163
|
* const client = createClient({
|
|
163
164
|
* account: privateKeyToAccount('0x...'),
|
|
164
|
-
* chain: tempo
|
|
165
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
165
166
|
* transport: http(),
|
|
166
167
|
* }).extend(tempoActions())
|
|
167
168
|
*
|
|
@@ -194,7 +195,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
194
195
|
*
|
|
195
196
|
* const client = createClient({
|
|
196
197
|
* account: privateKeyToAccount('0x...'),
|
|
197
|
-
* chain: tempo
|
|
198
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
198
199
|
* transport: http(),
|
|
199
200
|
* }).extend(tempoActions())
|
|
200
201
|
*
|
|
@@ -222,7 +223,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
222
223
|
*
|
|
223
224
|
* const client = createClient({
|
|
224
225
|
* account: privateKeyToAccount('0x...'),
|
|
225
|
-
* chain: tempo
|
|
226
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
226
227
|
* transport: http(),
|
|
227
228
|
* }).extend(tempoActions())
|
|
228
229
|
*
|
|
@@ -248,7 +249,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
248
249
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
249
250
|
*
|
|
250
251
|
* const client = createClient({
|
|
251
|
-
* chain: tempo
|
|
252
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
252
253
|
* transport: http(),
|
|
253
254
|
* }).extend(tempoActions())
|
|
254
255
|
*
|
|
@@ -273,7 +274,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
273
274
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
274
275
|
*
|
|
275
276
|
* const client = createClient({
|
|
276
|
-
* chain: tempo
|
|
277
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
277
278
|
* transport: http(),
|
|
278
279
|
* }).extend(tempoActions())
|
|
279
280
|
*
|
|
@@ -298,7 +299,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
298
299
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
299
300
|
*
|
|
300
301
|
* const client = createClient({
|
|
301
|
-
* chain: tempo
|
|
302
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
302
303
|
* transport: http(),
|
|
303
304
|
* }).extend(tempoActions())
|
|
304
305
|
*
|
|
@@ -323,7 +324,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
323
324
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
324
325
|
*
|
|
325
326
|
* const client = createClient({
|
|
326
|
-
* chain: tempo
|
|
327
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
327
328
|
* transport: http(),
|
|
328
329
|
* }).extend(tempoActions())
|
|
329
330
|
*
|
|
@@ -352,7 +353,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
352
353
|
*
|
|
353
354
|
* const client = createClient({
|
|
354
355
|
* account: privateKeyToAccount('0x...'),
|
|
355
|
-
* chain: tempo
|
|
356
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
356
357
|
* transport: http(),
|
|
357
358
|
* }).extend(tempoActions())
|
|
358
359
|
*
|
|
@@ -380,7 +381,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
380
381
|
*
|
|
381
382
|
* const client = createClient({
|
|
382
383
|
* account: privateKeyToAccount('0x...'),
|
|
383
|
-
* chain: tempo
|
|
384
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
384
385
|
* transport: http(),
|
|
385
386
|
* }).extend(tempoActions())
|
|
386
387
|
*
|
|
@@ -408,7 +409,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
408
409
|
*
|
|
409
410
|
* const client = createClient({
|
|
410
411
|
* account: privateKeyToAccount('0x...'),
|
|
411
|
-
* chain: tempo
|
|
412
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
412
413
|
* transport: http(),
|
|
413
414
|
* }).extend(tempoActions())
|
|
414
415
|
*
|
|
@@ -433,7 +434,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
433
434
|
*
|
|
434
435
|
* const client = createClient({
|
|
435
436
|
* account: privateKeyToAccount('0x...'),
|
|
436
|
-
* chain: tempo
|
|
437
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
437
438
|
* transport: http(),
|
|
438
439
|
* }).extend(tempoActions())
|
|
439
440
|
*
|
|
@@ -458,7 +459,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
458
459
|
*
|
|
459
460
|
* const client = createClient({
|
|
460
461
|
* account: privateKeyToAccount('0x...'),
|
|
461
|
-
* chain: tempo
|
|
462
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
462
463
|
* transport: http(),
|
|
463
464
|
* }).extend(tempoActions())
|
|
464
465
|
*
|
|
@@ -483,7 +484,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
483
484
|
*
|
|
484
485
|
* const client = createClient({
|
|
485
486
|
* account: privateKeyToAccount('0x...'),
|
|
486
|
-
* chain: tempo
|
|
487
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
487
488
|
* transport: http(),
|
|
488
489
|
* }).extend(tempoActions())
|
|
489
490
|
*
|
|
@@ -506,7 +507,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
506
507
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
507
508
|
*
|
|
508
509
|
* const client = createClient({
|
|
509
|
-
* chain: tempo
|
|
510
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
510
511
|
* transport: http(),
|
|
511
512
|
* }).extend(tempoActions())
|
|
512
513
|
*
|
|
@@ -530,7 +531,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
530
531
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
531
532
|
*
|
|
532
533
|
* const client = createClient({
|
|
533
|
-
* chain: tempo
|
|
534
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
534
535
|
* transport: http(),
|
|
535
536
|
* }).extend(tempoActions())
|
|
536
537
|
*
|
|
@@ -555,7 +556,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
555
556
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
556
557
|
*
|
|
557
558
|
* const client = createClient({
|
|
558
|
-
* chain: tempo
|
|
559
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
559
560
|
* transport: http(),
|
|
560
561
|
* }).extend(tempoActions())
|
|
561
562
|
*
|
|
@@ -578,7 +579,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
578
579
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
579
580
|
*
|
|
580
581
|
* const client = createClient({
|
|
581
|
-
* chain: tempo
|
|
582
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
582
583
|
* transport: http(),
|
|
583
584
|
* }).extend(tempoActions())
|
|
584
585
|
*
|
|
@@ -605,7 +606,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
605
606
|
* import { tempoActions, Tick } from 'tempo.ts/viem'
|
|
606
607
|
*
|
|
607
608
|
* const client = createClient({
|
|
608
|
-
* chain: tempo
|
|
609
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
609
610
|
* transport: http(),
|
|
610
611
|
* }).extend(tempoActions())
|
|
611
612
|
*
|
|
@@ -630,7 +631,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
630
631
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
631
632
|
*
|
|
632
633
|
* const client = createClient({
|
|
633
|
-
* chain: tempo
|
|
634
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
634
635
|
* transport: http(),
|
|
635
636
|
* }).extend(tempoActions())
|
|
636
637
|
*
|
|
@@ -657,7 +658,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
657
658
|
*
|
|
658
659
|
* const client = createClient({
|
|
659
660
|
* account: privateKeyToAccount('0x...'),
|
|
660
|
-
* chain: tempo
|
|
661
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
661
662
|
* transport: http(),
|
|
662
663
|
* }).extend(tempoActions())
|
|
663
664
|
*
|
|
@@ -685,7 +686,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
685
686
|
*
|
|
686
687
|
* const client = createClient({
|
|
687
688
|
* account: privateKeyToAccount('0x...'),
|
|
688
|
-
* chain: tempo
|
|
689
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
689
690
|
* transport: http(),
|
|
690
691
|
* }).extend(tempoActions())
|
|
691
692
|
*
|
|
@@ -713,7 +714,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
713
714
|
*
|
|
714
715
|
* const client = createClient({
|
|
715
716
|
* account: privateKeyToAccount('0x...'),
|
|
716
|
-
* chain: tempo
|
|
717
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
717
718
|
* transport: http(),
|
|
718
719
|
* }).extend(tempoActions())
|
|
719
720
|
*
|
|
@@ -742,7 +743,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
742
743
|
*
|
|
743
744
|
* const client = createClient({
|
|
744
745
|
* account: privateKeyToAccount('0x...'),
|
|
745
|
-
* chain: tempo
|
|
746
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
746
747
|
* transport: http(),
|
|
747
748
|
* }).extend(tempoActions())
|
|
748
749
|
*
|
|
@@ -771,7 +772,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
771
772
|
*
|
|
772
773
|
* const client = createClient({
|
|
773
774
|
* account: privateKeyToAccount('0x...'),
|
|
774
|
-
* chain: tempo
|
|
775
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
775
776
|
* transport: http(),
|
|
776
777
|
* }).extend(tempoActions())
|
|
777
778
|
*
|
|
@@ -799,7 +800,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
799
800
|
*
|
|
800
801
|
* const client = createClient({
|
|
801
802
|
* account: privateKeyToAccount('0x...'),
|
|
802
|
-
* chain: tempo
|
|
803
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
803
804
|
* transport: http(),
|
|
804
805
|
* }).extend(tempoActions())
|
|
805
806
|
*
|
|
@@ -827,7 +828,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
827
828
|
*
|
|
828
829
|
* const client = createClient({
|
|
829
830
|
* account: privateKeyToAccount('0x...'),
|
|
830
|
-
* chain: tempo
|
|
831
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
831
832
|
* transport: http(),
|
|
832
833
|
* }).extend(tempoActions())
|
|
833
834
|
*
|
|
@@ -853,7 +854,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
853
854
|
*
|
|
854
855
|
* const client = createClient({
|
|
855
856
|
* account: privateKeyToAccount('0x...'),
|
|
856
|
-
* chain: tempo
|
|
857
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
857
858
|
* transport: http(),
|
|
858
859
|
* }).extend(tempoActions())
|
|
859
860
|
*
|
|
@@ -877,7 +878,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
877
878
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
878
879
|
*
|
|
879
880
|
* const client = createClient({
|
|
880
|
-
* chain: tempo
|
|
881
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
881
882
|
* transport: http(),
|
|
882
883
|
* }).extend(tempoActions())
|
|
883
884
|
*
|
|
@@ -902,7 +903,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
902
903
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
903
904
|
*
|
|
904
905
|
* const client = createClient({
|
|
905
|
-
* chain: tempo
|
|
906
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
906
907
|
* transport: http(),
|
|
907
908
|
* }).extend(tempoActions())
|
|
908
909
|
*
|
|
@@ -927,7 +928,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
927
928
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
928
929
|
*
|
|
929
930
|
* const client = createClient({
|
|
930
|
-
* chain: tempo
|
|
931
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
931
932
|
* transport: http(),
|
|
932
933
|
* }).extend(tempoActions())
|
|
933
934
|
*
|
|
@@ -952,7 +953,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
952
953
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
953
954
|
*
|
|
954
955
|
* const client = createClient({
|
|
955
|
-
* chain: tempo
|
|
956
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
956
957
|
* transport: http(),
|
|
957
958
|
* }).extend(tempoActions())
|
|
958
959
|
*
|
|
@@ -968,6 +969,32 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
968
969
|
*/
|
|
969
970
|
watchOrderPlaced: (parameters: dexActions.watchOrderPlaced.Parameters) => () => void;
|
|
970
971
|
};
|
|
972
|
+
faucet: {
|
|
973
|
+
/**
|
|
974
|
+
* Funds an account with an initial amount of set token(s)
|
|
975
|
+
* on Tempo's testnet.
|
|
976
|
+
*
|
|
977
|
+
* @example
|
|
978
|
+
* ```ts
|
|
979
|
+
* import { createClient, http } from 'viem'
|
|
980
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
981
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
982
|
+
*
|
|
983
|
+
* const client = createClient({
|
|
984
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
985
|
+
* transport: http(),
|
|
986
|
+
* }).extend(tempoActions())
|
|
987
|
+
*
|
|
988
|
+
* const hashes = await client.faucet.fund({
|
|
989
|
+
* account: '0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef',
|
|
990
|
+
* })
|
|
991
|
+
* ```
|
|
992
|
+
*
|
|
993
|
+
* @param parameters - Parameters.
|
|
994
|
+
* @returns The transaction hashes.
|
|
995
|
+
*/
|
|
996
|
+
fund: (parameters: faucetActions.fund.Parameters) => Promise<faucetActions.fund.ReturnValue>;
|
|
997
|
+
};
|
|
971
998
|
fee: {
|
|
972
999
|
/**
|
|
973
1000
|
* Gets the user's default fee token.
|
|
@@ -981,7 +1008,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
981
1008
|
*
|
|
982
1009
|
* const client = createClient({
|
|
983
1010
|
* account: privateKeyToAccount('0x...'),
|
|
984
|
-
* chain: tempo
|
|
1011
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
985
1012
|
* transport: http(),
|
|
986
1013
|
* }).extend(tempoActions())
|
|
987
1014
|
*
|
|
@@ -1005,7 +1032,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1005
1032
|
*
|
|
1006
1033
|
* const client = createClient({
|
|
1007
1034
|
* account: privateKeyToAccount('0x...'),
|
|
1008
|
-
* chain: tempo
|
|
1035
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1009
1036
|
* transport: http(),
|
|
1010
1037
|
* }).extend(tempoActions())
|
|
1011
1038
|
*
|
|
@@ -1031,7 +1058,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1031
1058
|
*
|
|
1032
1059
|
* const client = createClient({
|
|
1033
1060
|
* account: privateKeyToAccount('0x...'),
|
|
1034
|
-
* chain: tempo
|
|
1061
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1035
1062
|
* transport: http(),
|
|
1036
1063
|
* }).extend(tempoActions())
|
|
1037
1064
|
*
|
|
@@ -1054,7 +1081,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1054
1081
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1055
1082
|
*
|
|
1056
1083
|
* const client = createClient({
|
|
1057
|
-
* chain: tempo
|
|
1084
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1058
1085
|
* transport: http(),
|
|
1059
1086
|
* }).extend(tempoActions())
|
|
1060
1087
|
*
|
|
@@ -1084,7 +1111,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1084
1111
|
*
|
|
1085
1112
|
* const client = createClient({
|
|
1086
1113
|
* account: privateKeyToAccount('0x...'),
|
|
1087
|
-
* chain: tempo
|
|
1114
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1088
1115
|
* transport: http(),
|
|
1089
1116
|
* }).extend(tempoActions())
|
|
1090
1117
|
*
|
|
@@ -1110,7 +1137,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1110
1137
|
*
|
|
1111
1138
|
* const client = createClient({
|
|
1112
1139
|
* account: privateKeyToAccount('0x...'),
|
|
1113
|
-
* chain: tempo
|
|
1140
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1114
1141
|
* transport: http(),
|
|
1115
1142
|
* }).extend(tempoActions())
|
|
1116
1143
|
*
|
|
@@ -1136,7 +1163,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1136
1163
|
*
|
|
1137
1164
|
* const client = createClient({
|
|
1138
1165
|
* account: privateKeyToAccount('0x...'),
|
|
1139
|
-
* chain: tempo
|
|
1166
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1140
1167
|
* transport: http(),
|
|
1141
1168
|
* }).extend(tempoActions())
|
|
1142
1169
|
*
|
|
@@ -1162,7 +1189,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1162
1189
|
*
|
|
1163
1190
|
* const client = createClient({
|
|
1164
1191
|
* account: privateKeyToAccount('0x...'),
|
|
1165
|
-
* chain: tempo
|
|
1192
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1166
1193
|
* transport: http(),
|
|
1167
1194
|
* }).extend(tempoActions())
|
|
1168
1195
|
*
|
|
@@ -1188,7 +1215,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1188
1215
|
*
|
|
1189
1216
|
* const client = createClient({
|
|
1190
1217
|
* account: privateKeyToAccount('0x...'),
|
|
1191
|
-
* chain: tempo
|
|
1218
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1192
1219
|
* transport: http(),
|
|
1193
1220
|
* }).extend(tempoActions())
|
|
1194
1221
|
*
|
|
@@ -1215,7 +1242,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1215
1242
|
*
|
|
1216
1243
|
* const client = createClient({
|
|
1217
1244
|
* account: privateKeyToAccount('0x...'),
|
|
1218
|
-
* chain: tempo
|
|
1245
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1219
1246
|
* transport: http(),
|
|
1220
1247
|
* }).extend(tempoActions())
|
|
1221
1248
|
*
|
|
@@ -1242,7 +1269,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1242
1269
|
*
|
|
1243
1270
|
* const client = createClient({
|
|
1244
1271
|
* account: privateKeyToAccount('0x...'),
|
|
1245
|
-
* chain: tempo
|
|
1272
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1246
1273
|
* transport: http(),
|
|
1247
1274
|
* }).extend(tempoActions())
|
|
1248
1275
|
*
|
|
@@ -1269,7 +1296,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1269
1296
|
*
|
|
1270
1297
|
* const client = createClient({
|
|
1271
1298
|
* account: privateKeyToAccount('0x...'),
|
|
1272
|
-
* chain: tempo
|
|
1299
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1273
1300
|
* transport: http(),
|
|
1274
1301
|
* }).extend(tempoActions())
|
|
1275
1302
|
*
|
|
@@ -1294,7 +1321,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1294
1321
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1295
1322
|
*
|
|
1296
1323
|
* const client = createClient({
|
|
1297
|
-
* chain: tempo
|
|
1324
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1298
1325
|
* transport: http(),
|
|
1299
1326
|
* }).extend(tempoActions())
|
|
1300
1327
|
*
|
|
@@ -1317,7 +1344,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1317
1344
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1318
1345
|
*
|
|
1319
1346
|
* const client = createClient({
|
|
1320
|
-
* chain: tempo
|
|
1347
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1321
1348
|
* transport: http(),
|
|
1322
1349
|
* }).extend(tempoActions())
|
|
1323
1350
|
*
|
|
@@ -1341,7 +1368,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1341
1368
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1342
1369
|
*
|
|
1343
1370
|
* const client = createClient({
|
|
1344
|
-
* chain: tempo
|
|
1371
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1345
1372
|
* transport: http(),
|
|
1346
1373
|
* }).extend(tempoActions())
|
|
1347
1374
|
*
|
|
@@ -1366,7 +1393,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1366
1393
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1367
1394
|
*
|
|
1368
1395
|
* const client = createClient({
|
|
1369
|
-
* chain: tempo
|
|
1396
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1370
1397
|
* transport: http(),
|
|
1371
1398
|
* }).extend(tempoActions())
|
|
1372
1399
|
*
|
|
@@ -1391,7 +1418,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1391
1418
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1392
1419
|
*
|
|
1393
1420
|
* const client = createClient({
|
|
1394
|
-
* chain: tempo
|
|
1421
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1395
1422
|
* transport: http(),
|
|
1396
1423
|
* }).extend(tempoActions())
|
|
1397
1424
|
*
|
|
@@ -1416,7 +1443,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1416
1443
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1417
1444
|
*
|
|
1418
1445
|
* const client = createClient({
|
|
1419
|
-
* chain: tempo
|
|
1446
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1420
1447
|
* transport: http(),
|
|
1421
1448
|
* }).extend(tempoActions())
|
|
1422
1449
|
*
|
|
@@ -1445,7 +1472,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1445
1472
|
*
|
|
1446
1473
|
* const client = createClient({
|
|
1447
1474
|
* account: privateKeyToAccount('0x...'),
|
|
1448
|
-
* chain: tempo
|
|
1475
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1449
1476
|
* transport: http(),
|
|
1450
1477
|
* }).extend(tempoActions())
|
|
1451
1478
|
*
|
|
@@ -1471,7 +1498,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1471
1498
|
*
|
|
1472
1499
|
* const client = createClient({
|
|
1473
1500
|
* account: privateKeyToAccount('0x...'),
|
|
1474
|
-
* chain: tempo
|
|
1501
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1475
1502
|
* transport: http(),
|
|
1476
1503
|
* }).extend(tempoActions())
|
|
1477
1504
|
*
|
|
@@ -1495,7 +1522,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1495
1522
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1496
1523
|
*
|
|
1497
1524
|
* const client = createClient({
|
|
1498
|
-
* chain: tempo
|
|
1525
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1499
1526
|
* transport: http(),
|
|
1500
1527
|
* }).extend(tempoActions())
|
|
1501
1528
|
*
|
|
@@ -1519,7 +1546,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1519
1546
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1520
1547
|
*
|
|
1521
1548
|
* const client = createClient({
|
|
1522
|
-
* chain: tempo
|
|
1549
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1523
1550
|
* transport: http(),
|
|
1524
1551
|
* }).extend(tempoActions())
|
|
1525
1552
|
*
|
|
@@ -1544,7 +1571,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1544
1571
|
*
|
|
1545
1572
|
* const client = createClient({
|
|
1546
1573
|
* account: privateKeyToAccount('0x...'),
|
|
1547
|
-
* chain: tempo
|
|
1574
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1548
1575
|
* transport: http(),
|
|
1549
1576
|
* }).extend(tempoActions())
|
|
1550
1577
|
*
|
|
@@ -1570,7 +1597,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1570
1597
|
*
|
|
1571
1598
|
* const client = createClient({
|
|
1572
1599
|
* account: privateKeyToAccount('0x...'),
|
|
1573
|
-
* chain: tempo
|
|
1600
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1574
1601
|
* transport: http(),
|
|
1575
1602
|
* }).extend(tempoActions())
|
|
1576
1603
|
*
|
|
@@ -1596,7 +1623,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1596
1623
|
*
|
|
1597
1624
|
* const client = createClient({
|
|
1598
1625
|
* account: privateKeyToAccount('0x...'),
|
|
1599
|
-
* chain: tempo
|
|
1626
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1600
1627
|
* transport: http(),
|
|
1601
1628
|
* }).extend(tempoActions())
|
|
1602
1629
|
*
|
|
@@ -1623,7 +1650,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1623
1650
|
*
|
|
1624
1651
|
* const client = createClient({
|
|
1625
1652
|
* account: privateKeyToAccount('0x...'),
|
|
1626
|
-
* chain: tempo
|
|
1653
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1627
1654
|
* transport: http(),
|
|
1628
1655
|
* }).extend(tempoActions())
|
|
1629
1656
|
*
|
|
@@ -1652,7 +1679,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1652
1679
|
*
|
|
1653
1680
|
* const client = createClient({
|
|
1654
1681
|
* account: privateKeyToAccount('0x...'),
|
|
1655
|
-
* chain: tempo
|
|
1682
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1656
1683
|
* transport: http(),
|
|
1657
1684
|
* }).extend(tempoActions())
|
|
1658
1685
|
*
|
|
@@ -1679,7 +1706,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1679
1706
|
*
|
|
1680
1707
|
* const client = createClient({
|
|
1681
1708
|
* account: privateKeyToAccount('0x...'),
|
|
1682
|
-
* chain: tempo
|
|
1709
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1683
1710
|
* transport: http(),
|
|
1684
1711
|
* }).extend(tempoActions())
|
|
1685
1712
|
*
|
|
@@ -1706,7 +1733,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1706
1733
|
*
|
|
1707
1734
|
* const client = createClient({
|
|
1708
1735
|
* account: privateKeyToAccount('0x...'),
|
|
1709
|
-
* chain: tempo
|
|
1736
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1710
1737
|
* transport: http(),
|
|
1711
1738
|
* }).extend(tempoActions())
|
|
1712
1739
|
*
|
|
@@ -1734,7 +1761,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1734
1761
|
*
|
|
1735
1762
|
* const client = createClient({
|
|
1736
1763
|
* account: privateKeyToAccount('0x...'),
|
|
1737
|
-
* chain: tempo
|
|
1764
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1738
1765
|
* transport: http(),
|
|
1739
1766
|
* }).extend(tempoActions())
|
|
1740
1767
|
*
|
|
@@ -1762,7 +1789,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1762
1789
|
*
|
|
1763
1790
|
* const client = createClient({
|
|
1764
1791
|
* account: privateKeyToAccount('0x...'),
|
|
1765
|
-
* chain: tempo
|
|
1792
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1766
1793
|
* transport: http(),
|
|
1767
1794
|
* }).extend(tempoActions())
|
|
1768
1795
|
*
|
|
@@ -1789,7 +1816,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1789
1816
|
*
|
|
1790
1817
|
* const client = createClient({
|
|
1791
1818
|
* account: privateKeyToAccount('0x...'),
|
|
1792
|
-
* chain: tempo
|
|
1819
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1793
1820
|
* transport: http(),
|
|
1794
1821
|
* }).extend(tempoActions())
|
|
1795
1822
|
*
|
|
@@ -1816,7 +1843,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1816
1843
|
*
|
|
1817
1844
|
* const client = createClient({
|
|
1818
1845
|
* account: privateKeyToAccount('0x...'),
|
|
1819
|
-
* chain: tempo
|
|
1846
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1820
1847
|
* transport: http(),
|
|
1821
1848
|
* }).extend(tempoActions())
|
|
1822
1849
|
*
|
|
@@ -1843,7 +1870,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1843
1870
|
*
|
|
1844
1871
|
* const client = createClient({
|
|
1845
1872
|
* account: privateKeyToAccount('0x...'),
|
|
1846
|
-
* chain: tempo
|
|
1873
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1847
1874
|
* transport: http(),
|
|
1848
1875
|
* }).extend(tempoActions())
|
|
1849
1876
|
*
|
|
@@ -1870,7 +1897,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1870
1897
|
*
|
|
1871
1898
|
* const client = createClient({
|
|
1872
1899
|
* account: privateKeyToAccount('0x...'),
|
|
1873
|
-
* chain: tempo
|
|
1900
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1874
1901
|
* transport: http(),
|
|
1875
1902
|
* }).extend(tempoActions())
|
|
1876
1903
|
*
|
|
@@ -1898,7 +1925,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1898
1925
|
*
|
|
1899
1926
|
* const client = createClient({
|
|
1900
1927
|
* account: privateKeyToAccount('0x...'),
|
|
1901
|
-
* chain: tempo
|
|
1928
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1902
1929
|
* transport: http(),
|
|
1903
1930
|
* }).extend(tempoActions())
|
|
1904
1931
|
*
|
|
@@ -1926,7 +1953,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1926
1953
|
*
|
|
1927
1954
|
* const client = createClient({
|
|
1928
1955
|
* account: privateKeyToAccount('0x...'),
|
|
1929
|
-
* chain: tempo
|
|
1956
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1930
1957
|
* transport: http(),
|
|
1931
1958
|
* }).extend(tempoActions())
|
|
1932
1959
|
*
|
|
@@ -1952,7 +1979,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1952
1979
|
*
|
|
1953
1980
|
* const client = createClient({
|
|
1954
1981
|
* account: privateKeyToAccount('0x...'),
|
|
1955
|
-
* chain: tempo
|
|
1982
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1956
1983
|
* transport: http(),
|
|
1957
1984
|
* }).extend(tempoActions())
|
|
1958
1985
|
*
|
|
@@ -1974,7 +2001,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1974
2001
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1975
2002
|
*
|
|
1976
2003
|
* const client = createClient({
|
|
1977
|
-
* chain: tempo
|
|
2004
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1978
2005
|
* transport: http(),
|
|
1979
2006
|
* }).extend(tempoActions())
|
|
1980
2007
|
*
|
|
@@ -1998,7 +2025,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
1998
2025
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1999
2026
|
*
|
|
2000
2027
|
* const client = createClient({
|
|
2001
|
-
* chain: tempo
|
|
2028
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2002
2029
|
* transport: http(),
|
|
2003
2030
|
* }).extend(tempoActions())
|
|
2004
2031
|
*
|
|
@@ -2025,7 +2052,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2025
2052
|
*
|
|
2026
2053
|
* const client = createClient({
|
|
2027
2054
|
* account: privateKeyToAccount('0x...'),
|
|
2028
|
-
* chain: tempo
|
|
2055
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2029
2056
|
* transport: http(),
|
|
2030
2057
|
* }).extend(tempoActions())
|
|
2031
2058
|
*
|
|
@@ -2052,7 +2079,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2052
2079
|
*
|
|
2053
2080
|
* const client = createClient({
|
|
2054
2081
|
* account: privateKeyToAccount('0x...'),
|
|
2055
|
-
* chain: tempo
|
|
2082
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2056
2083
|
* transport: http(),
|
|
2057
2084
|
* }).extend(tempoActions())
|
|
2058
2085
|
*
|
|
@@ -2080,7 +2107,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2080
2107
|
*
|
|
2081
2108
|
* const client = createClient({
|
|
2082
2109
|
* account: privateKeyToAccount('0x...'),
|
|
2083
|
-
* chain: tempo
|
|
2110
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2084
2111
|
* transport: http(),
|
|
2085
2112
|
* }).extend(tempoActions())
|
|
2086
2113
|
*
|
|
@@ -2107,7 +2134,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2107
2134
|
*
|
|
2108
2135
|
* const client = createClient({
|
|
2109
2136
|
* account: privateKeyToAccount('0x...'),
|
|
2110
|
-
* chain: tempo
|
|
2137
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2111
2138
|
* transport: http(),
|
|
2112
2139
|
* }).extend(tempoActions())
|
|
2113
2140
|
*
|
|
@@ -2135,7 +2162,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2135
2162
|
*
|
|
2136
2163
|
* const client = createClient({
|
|
2137
2164
|
* account: privateKeyToAccount('0x...'),
|
|
2138
|
-
* chain: tempo
|
|
2165
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2139
2166
|
* transport: http(),
|
|
2140
2167
|
* }).extend(tempoActions())
|
|
2141
2168
|
*
|
|
@@ -2163,7 +2190,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2163
2190
|
*
|
|
2164
2191
|
* const client = createClient({
|
|
2165
2192
|
* account: privateKeyToAccount('0x...'),
|
|
2166
|
-
* chain: tempo
|
|
2193
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2167
2194
|
* transport: http(),
|
|
2168
2195
|
* }).extend(tempoActions())
|
|
2169
2196
|
*
|
|
@@ -2189,7 +2216,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2189
2216
|
*
|
|
2190
2217
|
* const client = createClient({
|
|
2191
2218
|
* account: privateKeyToAccount('0x...'),
|
|
2192
|
-
* chain: tempo
|
|
2219
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2193
2220
|
* transport: http(),
|
|
2194
2221
|
* }).extend(tempoActions())
|
|
2195
2222
|
*
|
|
@@ -2215,7 +2242,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2215
2242
|
*
|
|
2216
2243
|
* const client = createClient({
|
|
2217
2244
|
* account: privateKeyToAccount('0x...'),
|
|
2218
|
-
* chain: tempo
|
|
2245
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2219
2246
|
* transport: http(),
|
|
2220
2247
|
* }).extend(tempoActions())
|
|
2221
2248
|
*
|
|
@@ -2242,7 +2269,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2242
2269
|
*
|
|
2243
2270
|
* const client = createClient({
|
|
2244
2271
|
* account: privateKeyToAccount('0x...'),
|
|
2245
|
-
* chain: tempo
|
|
2272
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2246
2273
|
* transport: http(),
|
|
2247
2274
|
* }).extend(tempoActions())
|
|
2248
2275
|
*
|
|
@@ -2268,7 +2295,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2268
2295
|
*
|
|
2269
2296
|
* const client = createClient({
|
|
2270
2297
|
* account: privateKeyToAccount('0x...'),
|
|
2271
|
-
* chain: tempo
|
|
2298
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2272
2299
|
* transport: http(),
|
|
2273
2300
|
* }).extend(tempoActions())
|
|
2274
2301
|
*
|
|
@@ -2296,7 +2323,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2296
2323
|
*
|
|
2297
2324
|
* const client = createClient({
|
|
2298
2325
|
* account: privateKeyToAccount('0x...'),
|
|
2299
|
-
* chain: tempo
|
|
2326
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2300
2327
|
* transport: http(),
|
|
2301
2328
|
* }).extend(tempoActions())
|
|
2302
2329
|
*
|
|
@@ -2323,7 +2350,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2323
2350
|
*
|
|
2324
2351
|
* const client = createClient({
|
|
2325
2352
|
* account: privateKeyToAccount('0x...'),
|
|
2326
|
-
* chain: tempo
|
|
2353
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2327
2354
|
* transport: http(),
|
|
2328
2355
|
* }).extend(tempoActions())
|
|
2329
2356
|
*
|
|
@@ -2350,7 +2377,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2350
2377
|
*
|
|
2351
2378
|
* const client = createClient({
|
|
2352
2379
|
* account: privateKeyToAccount('0x...'),
|
|
2353
|
-
* chain: tempo
|
|
2380
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2354
2381
|
* transport: http(),
|
|
2355
2382
|
* }).extend(tempoActions())
|
|
2356
2383
|
*
|
|
@@ -2377,7 +2404,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2377
2404
|
*
|
|
2378
2405
|
* const client = createClient({
|
|
2379
2406
|
* account: privateKeyToAccount('0x...'),
|
|
2380
|
-
* chain: tempo
|
|
2407
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2381
2408
|
* transport: http(),
|
|
2382
2409
|
* }).extend(tempoActions())
|
|
2383
2410
|
*
|
|
@@ -2405,7 +2432,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2405
2432
|
*
|
|
2406
2433
|
* const client = createClient({
|
|
2407
2434
|
* account: privateKeyToAccount('0x...'),
|
|
2408
|
-
* chain: tempo
|
|
2435
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2409
2436
|
* transport: http(),
|
|
2410
2437
|
* }).extend(tempoActions())
|
|
2411
2438
|
*
|
|
@@ -2433,7 +2460,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2433
2460
|
*
|
|
2434
2461
|
* const client = createClient({
|
|
2435
2462
|
* account: privateKeyToAccount('0x...'),
|
|
2436
|
-
* chain: tempo
|
|
2463
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2437
2464
|
* transport: http(),
|
|
2438
2465
|
* }).extend(tempoActions())
|
|
2439
2466
|
*
|
|
@@ -2460,7 +2487,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2460
2487
|
*
|
|
2461
2488
|
* const client = createClient({
|
|
2462
2489
|
* account: privateKeyToAccount('0x...'),
|
|
2463
|
-
* chain: tempo
|
|
2490
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2464
2491
|
* transport: http(),
|
|
2465
2492
|
* }).extend(tempoActions())
|
|
2466
2493
|
*
|
|
@@ -2487,7 +2514,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2487
2514
|
*
|
|
2488
2515
|
* const client = createClient({
|
|
2489
2516
|
* account: privateKeyToAccount('0x...'),
|
|
2490
|
-
* chain: tempo
|
|
2517
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2491
2518
|
* transport: http(),
|
|
2492
2519
|
* }).extend(tempoActions())
|
|
2493
2520
|
*
|
|
@@ -2513,7 +2540,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2513
2540
|
*
|
|
2514
2541
|
* const client = createClient({
|
|
2515
2542
|
* account: privateKeyToAccount('0x...'),
|
|
2516
|
-
* chain: tempo
|
|
2543
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2517
2544
|
* transport: http(),
|
|
2518
2545
|
* }).extend(tempoActions())
|
|
2519
2546
|
*
|
|
@@ -2537,7 +2564,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2537
2564
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2538
2565
|
*
|
|
2539
2566
|
* const client = createClient({
|
|
2540
|
-
* chain: tempo
|
|
2567
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2541
2568
|
* transport: http(),
|
|
2542
2569
|
* }).extend(tempoActions())
|
|
2543
2570
|
*
|
|
@@ -2563,7 +2590,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2563
2590
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2564
2591
|
*
|
|
2565
2592
|
* const client = createClient({
|
|
2566
|
-
* chain: tempo
|
|
2593
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2567
2594
|
* transport: http(),
|
|
2568
2595
|
* }).extend(tempoActions())
|
|
2569
2596
|
*
|
|
@@ -2589,7 +2616,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2589
2616
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2590
2617
|
*
|
|
2591
2618
|
* const client = createClient({
|
|
2592
|
-
* chain: tempo
|
|
2619
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2593
2620
|
* transport: http(),
|
|
2594
2621
|
* }).extend(tempoActions())
|
|
2595
2622
|
*
|
|
@@ -2615,7 +2642,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2615
2642
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2616
2643
|
*
|
|
2617
2644
|
* const client = createClient({
|
|
2618
|
-
* chain: tempo
|
|
2645
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2619
2646
|
* transport: http(),
|
|
2620
2647
|
* }).extend(tempoActions())
|
|
2621
2648
|
*
|
|
@@ -2641,7 +2668,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2641
2668
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2642
2669
|
*
|
|
2643
2670
|
* const client = createClient({
|
|
2644
|
-
* chain: tempo
|
|
2671
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2645
2672
|
* transport: http(),
|
|
2646
2673
|
* }).extend(tempoActions())
|
|
2647
2674
|
*
|
|
@@ -2667,7 +2694,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2667
2694
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2668
2695
|
*
|
|
2669
2696
|
* const client = createClient({
|
|
2670
|
-
* chain: tempo
|
|
2697
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2671
2698
|
* transport: http(),
|
|
2672
2699
|
* }).extend(tempoActions())
|
|
2673
2700
|
*
|
|
@@ -2693,7 +2720,7 @@ export type Decorator<chain extends Chain | undefined = Chain | undefined, accou
|
|
|
2693
2720
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2694
2721
|
*
|
|
2695
2722
|
* const client = createClient({
|
|
2696
|
-
* chain: tempo
|
|
2723
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2697
2724
|
* transport: http(),
|
|
2698
2725
|
* }).extend(tempoActions())
|
|
2699
2726
|
*
|