tempo.ts 0.2.0 → 0.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/README.md +24 -0
- package/dist/chains.d.ts +56 -1572
- 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 +14 -14
- package/dist/viem/Actions/fee.d.ts.map +1 -1
- package/dist/viem/Actions/fee.js +16 -14
- package/dist/viem/Actions/fee.js.map +1 -1
- 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/Chain.d.ts +8 -5
- package/dist/viem/Chain.d.ts.map +1 -1
- package/dist/viem/Chain.js +25 -25
- package/dist/viem/Chain.js.map +1 -1
- 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 -54
- 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 +16 -14
- 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/Chain.ts +36 -32
- 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/src/viem/Decorator.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'
|
|
@@ -47,7 +48,7 @@ export type Decorator<
|
|
|
47
48
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
48
49
|
*
|
|
49
50
|
* const client = createClient({
|
|
50
|
-
* chain: tempo
|
|
51
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
51
52
|
* transport: http(),
|
|
52
53
|
* }).extend(tempoActions())
|
|
53
54
|
*
|
|
@@ -80,7 +81,7 @@ export type Decorator<
|
|
|
80
81
|
*
|
|
81
82
|
* const client = createClient({
|
|
82
83
|
* account: privateKeyToAccount('0x...'),
|
|
83
|
-
* chain: tempo
|
|
84
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
84
85
|
* transport: http(),
|
|
85
86
|
* }).extend(tempoActions())
|
|
86
87
|
*
|
|
@@ -110,7 +111,7 @@ export type Decorator<
|
|
|
110
111
|
*
|
|
111
112
|
* const client = createClient({
|
|
112
113
|
* account: privateKeyToAccount('0x...'),
|
|
113
|
-
* chain: tempo
|
|
114
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
114
115
|
* transport: http(),
|
|
115
116
|
* }).extend(tempoActions())
|
|
116
117
|
*
|
|
@@ -140,7 +141,7 @@ export type Decorator<
|
|
|
140
141
|
*
|
|
141
142
|
* const client = createClient({
|
|
142
143
|
* account: privateKeyToAccount('0x...'),
|
|
143
|
-
* chain: tempo
|
|
144
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
144
145
|
* transport: http(),
|
|
145
146
|
* }).extend(tempoActions())
|
|
146
147
|
*
|
|
@@ -175,7 +176,7 @@ export type Decorator<
|
|
|
175
176
|
*
|
|
176
177
|
* const client = createClient({
|
|
177
178
|
* account: privateKeyToAccount('0x...'),
|
|
178
|
-
* chain: tempo
|
|
179
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
179
180
|
* transport: http(),
|
|
180
181
|
* }).extend(tempoActions())
|
|
181
182
|
*
|
|
@@ -210,7 +211,7 @@ export type Decorator<
|
|
|
210
211
|
*
|
|
211
212
|
* const client = createClient({
|
|
212
213
|
* account: privateKeyToAccount('0x...'),
|
|
213
|
-
* chain: tempo
|
|
214
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
214
215
|
* transport: http(),
|
|
215
216
|
* }).extend(tempoActions())
|
|
216
217
|
*
|
|
@@ -240,7 +241,7 @@ export type Decorator<
|
|
|
240
241
|
*
|
|
241
242
|
* const client = createClient({
|
|
242
243
|
* account: privateKeyToAccount('0x...'),
|
|
243
|
-
* chain: tempo
|
|
244
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
244
245
|
* transport: http(),
|
|
245
246
|
* }).extend(tempoActions())
|
|
246
247
|
*
|
|
@@ -268,7 +269,7 @@ export type Decorator<
|
|
|
268
269
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
269
270
|
*
|
|
270
271
|
* const client = createClient({
|
|
271
|
-
* chain: tempo
|
|
272
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
272
273
|
* transport: http(),
|
|
273
274
|
* }).extend(tempoActions())
|
|
274
275
|
*
|
|
@@ -295,7 +296,7 @@ export type Decorator<
|
|
|
295
296
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
296
297
|
*
|
|
297
298
|
* const client = createClient({
|
|
298
|
-
* chain: tempo
|
|
299
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
299
300
|
* transport: http(),
|
|
300
301
|
* }).extend(tempoActions())
|
|
301
302
|
*
|
|
@@ -320,7 +321,7 @@ export type Decorator<
|
|
|
320
321
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
321
322
|
*
|
|
322
323
|
* const client = createClient({
|
|
323
|
-
* chain: tempo
|
|
324
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
324
325
|
* transport: http(),
|
|
325
326
|
* }).extend(tempoActions())
|
|
326
327
|
*
|
|
@@ -345,7 +346,7 @@ export type Decorator<
|
|
|
345
346
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
346
347
|
*
|
|
347
348
|
* const client = createClient({
|
|
348
|
-
* chain: tempo
|
|
349
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
349
350
|
* transport: http(),
|
|
350
351
|
* }).extend(tempoActions())
|
|
351
352
|
*
|
|
@@ -374,7 +375,7 @@ export type Decorator<
|
|
|
374
375
|
*
|
|
375
376
|
* const client = createClient({
|
|
376
377
|
* account: privateKeyToAccount('0x...'),
|
|
377
|
-
* chain: tempo
|
|
378
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
378
379
|
* transport: http(),
|
|
379
380
|
* }).extend(tempoActions())
|
|
380
381
|
*
|
|
@@ -404,7 +405,7 @@ export type Decorator<
|
|
|
404
405
|
*
|
|
405
406
|
* const client = createClient({
|
|
406
407
|
* account: privateKeyToAccount('0x...'),
|
|
407
|
-
* chain: tempo
|
|
408
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
408
409
|
* transport: http(),
|
|
409
410
|
* }).extend(tempoActions())
|
|
410
411
|
*
|
|
@@ -434,7 +435,7 @@ export type Decorator<
|
|
|
434
435
|
*
|
|
435
436
|
* const client = createClient({
|
|
436
437
|
* account: privateKeyToAccount('0x...'),
|
|
437
|
-
* chain: tempo
|
|
438
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
438
439
|
* transport: http(),
|
|
439
440
|
* }).extend(tempoActions())
|
|
440
441
|
*
|
|
@@ -461,7 +462,7 @@ export type Decorator<
|
|
|
461
462
|
*
|
|
462
463
|
* const client = createClient({
|
|
463
464
|
* account: privateKeyToAccount('0x...'),
|
|
464
|
-
* chain: tempo
|
|
465
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
465
466
|
* transport: http(),
|
|
466
467
|
* }).extend(tempoActions())
|
|
467
468
|
*
|
|
@@ -488,7 +489,7 @@ export type Decorator<
|
|
|
488
489
|
*
|
|
489
490
|
* const client = createClient({
|
|
490
491
|
* account: privateKeyToAccount('0x...'),
|
|
491
|
-
* chain: tempo
|
|
492
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
492
493
|
* transport: http(),
|
|
493
494
|
* }).extend(tempoActions())
|
|
494
495
|
*
|
|
@@ -515,7 +516,7 @@ export type Decorator<
|
|
|
515
516
|
*
|
|
516
517
|
* const client = createClient({
|
|
517
518
|
* account: privateKeyToAccount('0x...'),
|
|
518
|
-
* chain: tempo
|
|
519
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
519
520
|
* transport: http(),
|
|
520
521
|
* }).extend(tempoActions())
|
|
521
522
|
*
|
|
@@ -540,7 +541,7 @@ export type Decorator<
|
|
|
540
541
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
541
542
|
*
|
|
542
543
|
* const client = createClient({
|
|
543
|
-
* chain: tempo
|
|
544
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
544
545
|
* transport: http(),
|
|
545
546
|
* }).extend(tempoActions())
|
|
546
547
|
*
|
|
@@ -566,7 +567,7 @@ export type Decorator<
|
|
|
566
567
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
567
568
|
*
|
|
568
569
|
* const client = createClient({
|
|
569
|
-
* chain: tempo
|
|
570
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
570
571
|
* transport: http(),
|
|
571
572
|
* }).extend(tempoActions())
|
|
572
573
|
*
|
|
@@ -593,7 +594,7 @@ export type Decorator<
|
|
|
593
594
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
594
595
|
*
|
|
595
596
|
* const client = createClient({
|
|
596
|
-
* chain: tempo
|
|
597
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
597
598
|
* transport: http(),
|
|
598
599
|
* }).extend(tempoActions())
|
|
599
600
|
*
|
|
@@ -618,7 +619,7 @@ export type Decorator<
|
|
|
618
619
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
619
620
|
*
|
|
620
621
|
* const client = createClient({
|
|
621
|
-
* chain: tempo
|
|
622
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
622
623
|
* transport: http(),
|
|
623
624
|
* }).extend(tempoActions())
|
|
624
625
|
*
|
|
@@ -647,7 +648,7 @@ export type Decorator<
|
|
|
647
648
|
* import { tempoActions, Tick } from 'tempo.ts/viem'
|
|
648
649
|
*
|
|
649
650
|
* const client = createClient({
|
|
650
|
-
* chain: tempo
|
|
651
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
651
652
|
* transport: http(),
|
|
652
653
|
* }).extend(tempoActions())
|
|
653
654
|
*
|
|
@@ -674,7 +675,7 @@ export type Decorator<
|
|
|
674
675
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
675
676
|
*
|
|
676
677
|
* const client = createClient({
|
|
677
|
-
* chain: tempo
|
|
678
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
678
679
|
* transport: http(),
|
|
679
680
|
* }).extend(tempoActions())
|
|
680
681
|
*
|
|
@@ -703,7 +704,7 @@ export type Decorator<
|
|
|
703
704
|
*
|
|
704
705
|
* const client = createClient({
|
|
705
706
|
* account: privateKeyToAccount('0x...'),
|
|
706
|
-
* chain: tempo
|
|
707
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
707
708
|
* transport: http(),
|
|
708
709
|
* }).extend(tempoActions())
|
|
709
710
|
*
|
|
@@ -733,7 +734,7 @@ export type Decorator<
|
|
|
733
734
|
*
|
|
734
735
|
* const client = createClient({
|
|
735
736
|
* account: privateKeyToAccount('0x...'),
|
|
736
|
-
* chain: tempo
|
|
737
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
737
738
|
* transport: http(),
|
|
738
739
|
* }).extend(tempoActions())
|
|
739
740
|
*
|
|
@@ -763,7 +764,7 @@ export type Decorator<
|
|
|
763
764
|
*
|
|
764
765
|
* const client = createClient({
|
|
765
766
|
* account: privateKeyToAccount('0x...'),
|
|
766
|
-
* chain: tempo
|
|
767
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
767
768
|
* transport: http(),
|
|
768
769
|
* }).extend(tempoActions())
|
|
769
770
|
*
|
|
@@ -794,7 +795,7 @@ export type Decorator<
|
|
|
794
795
|
*
|
|
795
796
|
* const client = createClient({
|
|
796
797
|
* account: privateKeyToAccount('0x...'),
|
|
797
|
-
* chain: tempo
|
|
798
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
798
799
|
* transport: http(),
|
|
799
800
|
* }).extend(tempoActions())
|
|
800
801
|
*
|
|
@@ -825,7 +826,7 @@ export type Decorator<
|
|
|
825
826
|
*
|
|
826
827
|
* const client = createClient({
|
|
827
828
|
* account: privateKeyToAccount('0x...'),
|
|
828
|
-
* chain: tempo
|
|
829
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
829
830
|
* transport: http(),
|
|
830
831
|
* }).extend(tempoActions())
|
|
831
832
|
*
|
|
@@ -855,7 +856,7 @@ export type Decorator<
|
|
|
855
856
|
*
|
|
856
857
|
* const client = createClient({
|
|
857
858
|
* account: privateKeyToAccount('0x...'),
|
|
858
|
-
* chain: tempo
|
|
859
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
859
860
|
* transport: http(),
|
|
860
861
|
* }).extend(tempoActions())
|
|
861
862
|
*
|
|
@@ -885,7 +886,7 @@ export type Decorator<
|
|
|
885
886
|
*
|
|
886
887
|
* const client = createClient({
|
|
887
888
|
* account: privateKeyToAccount('0x...'),
|
|
888
|
-
* chain: tempo
|
|
889
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
889
890
|
* transport: http(),
|
|
890
891
|
* }).extend(tempoActions())
|
|
891
892
|
*
|
|
@@ -913,7 +914,7 @@ export type Decorator<
|
|
|
913
914
|
*
|
|
914
915
|
* const client = createClient({
|
|
915
916
|
* account: privateKeyToAccount('0x...'),
|
|
916
|
-
* chain: tempo
|
|
917
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
917
918
|
* transport: http(),
|
|
918
919
|
* }).extend(tempoActions())
|
|
919
920
|
*
|
|
@@ -939,7 +940,7 @@ export type Decorator<
|
|
|
939
940
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
940
941
|
*
|
|
941
942
|
* const client = createClient({
|
|
942
|
-
* chain: tempo
|
|
943
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
943
944
|
* transport: http(),
|
|
944
945
|
* }).extend(tempoActions())
|
|
945
946
|
*
|
|
@@ -966,7 +967,7 @@ export type Decorator<
|
|
|
966
967
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
967
968
|
*
|
|
968
969
|
* const client = createClient({
|
|
969
|
-
* chain: tempo
|
|
970
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
970
971
|
* transport: http(),
|
|
971
972
|
* }).extend(tempoActions())
|
|
972
973
|
*
|
|
@@ -993,7 +994,7 @@ export type Decorator<
|
|
|
993
994
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
994
995
|
*
|
|
995
996
|
* const client = createClient({
|
|
996
|
-
* chain: tempo
|
|
997
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
997
998
|
* transport: http(),
|
|
998
999
|
* }).extend(tempoActions())
|
|
999
1000
|
*
|
|
@@ -1020,7 +1021,7 @@ export type Decorator<
|
|
|
1020
1021
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1021
1022
|
*
|
|
1022
1023
|
* const client = createClient({
|
|
1023
|
-
* chain: tempo
|
|
1024
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1024
1025
|
* transport: http(),
|
|
1025
1026
|
* }).extend(tempoActions())
|
|
1026
1027
|
*
|
|
@@ -1038,6 +1039,34 @@ export type Decorator<
|
|
|
1038
1039
|
parameters: dexActions.watchOrderPlaced.Parameters,
|
|
1039
1040
|
) => () => void
|
|
1040
1041
|
}
|
|
1042
|
+
faucet: {
|
|
1043
|
+
/**
|
|
1044
|
+
* Funds an account with an initial amount of set token(s)
|
|
1045
|
+
* on Tempo's testnet.
|
|
1046
|
+
*
|
|
1047
|
+
* @example
|
|
1048
|
+
* ```ts
|
|
1049
|
+
* import { createClient, http } from 'viem'
|
|
1050
|
+
* import { tempo } from 'tempo.ts/chains'
|
|
1051
|
+
* import { tempoActions } from 'tempo.ts/viem'
|
|
1052
|
+
*
|
|
1053
|
+
* const client = createClient({
|
|
1054
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1055
|
+
* transport: http(),
|
|
1056
|
+
* }).extend(tempoActions())
|
|
1057
|
+
*
|
|
1058
|
+
* const hashes = await client.faucet.fund({
|
|
1059
|
+
* account: '0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef',
|
|
1060
|
+
* })
|
|
1061
|
+
* ```
|
|
1062
|
+
*
|
|
1063
|
+
* @param parameters - Parameters.
|
|
1064
|
+
* @returns The transaction hashes.
|
|
1065
|
+
*/
|
|
1066
|
+
fund: (
|
|
1067
|
+
parameters: faucetActions.fund.Parameters,
|
|
1068
|
+
) => Promise<faucetActions.fund.ReturnValue>
|
|
1069
|
+
}
|
|
1041
1070
|
fee: {
|
|
1042
1071
|
/**
|
|
1043
1072
|
* Gets the user's default fee token.
|
|
@@ -1051,7 +1080,7 @@ export type Decorator<
|
|
|
1051
1080
|
*
|
|
1052
1081
|
* const client = createClient({
|
|
1053
1082
|
* account: privateKeyToAccount('0x...'),
|
|
1054
|
-
* chain: tempo
|
|
1083
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1055
1084
|
* transport: http(),
|
|
1056
1085
|
* }).extend(tempoActions())
|
|
1057
1086
|
*
|
|
@@ -1079,7 +1108,7 @@ export type Decorator<
|
|
|
1079
1108
|
*
|
|
1080
1109
|
* const client = createClient({
|
|
1081
1110
|
* account: privateKeyToAccount('0x...'),
|
|
1082
|
-
* chain: tempo
|
|
1111
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1083
1112
|
* transport: http(),
|
|
1084
1113
|
* }).extend(tempoActions())
|
|
1085
1114
|
*
|
|
@@ -1107,7 +1136,7 @@ export type Decorator<
|
|
|
1107
1136
|
*
|
|
1108
1137
|
* const client = createClient({
|
|
1109
1138
|
* account: privateKeyToAccount('0x...'),
|
|
1110
|
-
* chain: tempo
|
|
1139
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1111
1140
|
* transport: http(),
|
|
1112
1141
|
* }).extend(tempoActions())
|
|
1113
1142
|
*
|
|
@@ -1132,7 +1161,7 @@ export type Decorator<
|
|
|
1132
1161
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1133
1162
|
*
|
|
1134
1163
|
* const client = createClient({
|
|
1135
|
-
* chain: tempo
|
|
1164
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1136
1165
|
* transport: http(),
|
|
1137
1166
|
* }).extend(tempoActions())
|
|
1138
1167
|
*
|
|
@@ -1164,7 +1193,7 @@ export type Decorator<
|
|
|
1164
1193
|
*
|
|
1165
1194
|
* const client = createClient({
|
|
1166
1195
|
* account: privateKeyToAccount('0x...'),
|
|
1167
|
-
* chain: tempo
|
|
1196
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1168
1197
|
* transport: http(),
|
|
1169
1198
|
* }).extend(tempoActions())
|
|
1170
1199
|
*
|
|
@@ -1192,7 +1221,7 @@ export type Decorator<
|
|
|
1192
1221
|
*
|
|
1193
1222
|
* const client = createClient({
|
|
1194
1223
|
* account: privateKeyToAccount('0x...'),
|
|
1195
|
-
* chain: tempo
|
|
1224
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1196
1225
|
* transport: http(),
|
|
1197
1226
|
* }).extend(tempoActions())
|
|
1198
1227
|
*
|
|
@@ -1220,7 +1249,7 @@ export type Decorator<
|
|
|
1220
1249
|
*
|
|
1221
1250
|
* const client = createClient({
|
|
1222
1251
|
* account: privateKeyToAccount('0x...'),
|
|
1223
|
-
* chain: tempo
|
|
1252
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1224
1253
|
* transport: http(),
|
|
1225
1254
|
* }).extend(tempoActions())
|
|
1226
1255
|
*
|
|
@@ -1248,7 +1277,7 @@ export type Decorator<
|
|
|
1248
1277
|
*
|
|
1249
1278
|
* const client = createClient({
|
|
1250
1279
|
* account: privateKeyToAccount('0x...'),
|
|
1251
|
-
* chain: tempo
|
|
1280
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1252
1281
|
* transport: http(),
|
|
1253
1282
|
* }).extend(tempoActions())
|
|
1254
1283
|
*
|
|
@@ -1276,7 +1305,7 @@ export type Decorator<
|
|
|
1276
1305
|
*
|
|
1277
1306
|
* const client = createClient({
|
|
1278
1307
|
* account: privateKeyToAccount('0x...'),
|
|
1279
|
-
* chain: tempo
|
|
1308
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1280
1309
|
* transport: http(),
|
|
1281
1310
|
* }).extend(tempoActions())
|
|
1282
1311
|
*
|
|
@@ -1305,7 +1334,7 @@ export type Decorator<
|
|
|
1305
1334
|
*
|
|
1306
1335
|
* const client = createClient({
|
|
1307
1336
|
* account: privateKeyToAccount('0x...'),
|
|
1308
|
-
* chain: tempo
|
|
1337
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1309
1338
|
* transport: http(),
|
|
1310
1339
|
* }).extend(tempoActions())
|
|
1311
1340
|
*
|
|
@@ -1334,7 +1363,7 @@ export type Decorator<
|
|
|
1334
1363
|
*
|
|
1335
1364
|
* const client = createClient({
|
|
1336
1365
|
* account: privateKeyToAccount('0x...'),
|
|
1337
|
-
* chain: tempo
|
|
1366
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1338
1367
|
* transport: http(),
|
|
1339
1368
|
* }).extend(tempoActions())
|
|
1340
1369
|
*
|
|
@@ -1363,7 +1392,7 @@ export type Decorator<
|
|
|
1363
1392
|
*
|
|
1364
1393
|
* const client = createClient({
|
|
1365
1394
|
* account: privateKeyToAccount('0x...'),
|
|
1366
|
-
* chain: tempo
|
|
1395
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1367
1396
|
* transport: http(),
|
|
1368
1397
|
* }).extend(tempoActions())
|
|
1369
1398
|
*
|
|
@@ -1390,7 +1419,7 @@ export type Decorator<
|
|
|
1390
1419
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1391
1420
|
*
|
|
1392
1421
|
* const client = createClient({
|
|
1393
|
-
* chain: tempo
|
|
1422
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1394
1423
|
* transport: http(),
|
|
1395
1424
|
* }).extend(tempoActions())
|
|
1396
1425
|
*
|
|
@@ -1415,7 +1444,7 @@ export type Decorator<
|
|
|
1415
1444
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1416
1445
|
*
|
|
1417
1446
|
* const client = createClient({
|
|
1418
|
-
* chain: tempo
|
|
1447
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1419
1448
|
* transport: http(),
|
|
1420
1449
|
* }).extend(tempoActions())
|
|
1421
1450
|
*
|
|
@@ -1441,7 +1470,7 @@ export type Decorator<
|
|
|
1441
1470
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1442
1471
|
*
|
|
1443
1472
|
* const client = createClient({
|
|
1444
|
-
* chain: tempo
|
|
1473
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1445
1474
|
* transport: http(),
|
|
1446
1475
|
* }).extend(tempoActions())
|
|
1447
1476
|
*
|
|
@@ -1468,7 +1497,7 @@ export type Decorator<
|
|
|
1468
1497
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1469
1498
|
*
|
|
1470
1499
|
* const client = createClient({
|
|
1471
|
-
* chain: tempo
|
|
1500
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1472
1501
|
* transport: http(),
|
|
1473
1502
|
* }).extend(tempoActions())
|
|
1474
1503
|
*
|
|
@@ -1495,7 +1524,7 @@ export type Decorator<
|
|
|
1495
1524
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1496
1525
|
*
|
|
1497
1526
|
* const client = createClient({
|
|
1498
|
-
* chain: tempo
|
|
1527
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1499
1528
|
* transport: http(),
|
|
1500
1529
|
* }).extend(tempoActions())
|
|
1501
1530
|
*
|
|
@@ -1522,7 +1551,7 @@ export type Decorator<
|
|
|
1522
1551
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1523
1552
|
*
|
|
1524
1553
|
* const client = createClient({
|
|
1525
|
-
* chain: tempo
|
|
1554
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1526
1555
|
* transport: http(),
|
|
1527
1556
|
* }).extend(tempoActions())
|
|
1528
1557
|
*
|
|
@@ -1553,7 +1582,7 @@ export type Decorator<
|
|
|
1553
1582
|
*
|
|
1554
1583
|
* const client = createClient({
|
|
1555
1584
|
* account: privateKeyToAccount('0x...'),
|
|
1556
|
-
* chain: tempo
|
|
1585
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1557
1586
|
* transport: http(),
|
|
1558
1587
|
* }).extend(tempoActions())
|
|
1559
1588
|
*
|
|
@@ -1581,7 +1610,7 @@ export type Decorator<
|
|
|
1581
1610
|
*
|
|
1582
1611
|
* const client = createClient({
|
|
1583
1612
|
* account: privateKeyToAccount('0x...'),
|
|
1584
|
-
* chain: tempo
|
|
1613
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1585
1614
|
* transport: http(),
|
|
1586
1615
|
* }).extend(tempoActions())
|
|
1587
1616
|
*
|
|
@@ -1607,7 +1636,7 @@ export type Decorator<
|
|
|
1607
1636
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1608
1637
|
*
|
|
1609
1638
|
* const client = createClient({
|
|
1610
|
-
* chain: tempo
|
|
1639
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1611
1640
|
* transport: http(),
|
|
1612
1641
|
* }).extend(tempoActions())
|
|
1613
1642
|
*
|
|
@@ -1633,7 +1662,7 @@ export type Decorator<
|
|
|
1633
1662
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
1634
1663
|
*
|
|
1635
1664
|
* const client = createClient({
|
|
1636
|
-
* chain: tempo
|
|
1665
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1637
1666
|
* transport: http(),
|
|
1638
1667
|
* }).extend(tempoActions())
|
|
1639
1668
|
*
|
|
@@ -1660,7 +1689,7 @@ export type Decorator<
|
|
|
1660
1689
|
*
|
|
1661
1690
|
* const client = createClient({
|
|
1662
1691
|
* account: privateKeyToAccount('0x...'),
|
|
1663
|
-
* chain: tempo
|
|
1692
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1664
1693
|
* transport: http(),
|
|
1665
1694
|
* }).extend(tempoActions())
|
|
1666
1695
|
*
|
|
@@ -1688,7 +1717,7 @@ export type Decorator<
|
|
|
1688
1717
|
*
|
|
1689
1718
|
* const client = createClient({
|
|
1690
1719
|
* account: privateKeyToAccount('0x...'),
|
|
1691
|
-
* chain: tempo
|
|
1720
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1692
1721
|
* transport: http(),
|
|
1693
1722
|
* }).extend(tempoActions())
|
|
1694
1723
|
*
|
|
@@ -1716,7 +1745,7 @@ export type Decorator<
|
|
|
1716
1745
|
*
|
|
1717
1746
|
* const client = createClient({
|
|
1718
1747
|
* account: privateKeyToAccount('0x...'),
|
|
1719
|
-
* chain: tempo
|
|
1748
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1720
1749
|
* transport: http(),
|
|
1721
1750
|
* }).extend(tempoActions())
|
|
1722
1751
|
*
|
|
@@ -1745,7 +1774,7 @@ export type Decorator<
|
|
|
1745
1774
|
*
|
|
1746
1775
|
* const client = createClient({
|
|
1747
1776
|
* account: privateKeyToAccount('0x...'),
|
|
1748
|
-
* chain: tempo
|
|
1777
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1749
1778
|
* transport: http(),
|
|
1750
1779
|
* }).extend(tempoActions())
|
|
1751
1780
|
*
|
|
@@ -1776,7 +1805,7 @@ export type Decorator<
|
|
|
1776
1805
|
*
|
|
1777
1806
|
* const client = createClient({
|
|
1778
1807
|
* account: privateKeyToAccount('0x...'),
|
|
1779
|
-
* chain: tempo
|
|
1808
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1780
1809
|
* transport: http(),
|
|
1781
1810
|
* }).extend(tempoActions())
|
|
1782
1811
|
*
|
|
@@ -1805,7 +1834,7 @@ export type Decorator<
|
|
|
1805
1834
|
*
|
|
1806
1835
|
* const client = createClient({
|
|
1807
1836
|
* account: privateKeyToAccount('0x...'),
|
|
1808
|
-
* chain: tempo
|
|
1837
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1809
1838
|
* transport: http(),
|
|
1810
1839
|
* }).extend(tempoActions())
|
|
1811
1840
|
*
|
|
@@ -1834,7 +1863,7 @@ export type Decorator<
|
|
|
1834
1863
|
*
|
|
1835
1864
|
* const client = createClient({
|
|
1836
1865
|
* account: privateKeyToAccount('0x...'),
|
|
1837
|
-
* chain: tempo
|
|
1866
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1838
1867
|
* transport: http(),
|
|
1839
1868
|
* }).extend(tempoActions())
|
|
1840
1869
|
*
|
|
@@ -1864,7 +1893,7 @@ export type Decorator<
|
|
|
1864
1893
|
*
|
|
1865
1894
|
* const client = createClient({
|
|
1866
1895
|
* account: privateKeyToAccount('0x...'),
|
|
1867
|
-
* chain: tempo
|
|
1896
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1868
1897
|
* transport: http(),
|
|
1869
1898
|
* }).extend(tempoActions())
|
|
1870
1899
|
*
|
|
@@ -1894,7 +1923,7 @@ export type Decorator<
|
|
|
1894
1923
|
*
|
|
1895
1924
|
* const client = createClient({
|
|
1896
1925
|
* account: privateKeyToAccount('0x...'),
|
|
1897
|
-
* chain: tempo
|
|
1926
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1898
1927
|
* transport: http(),
|
|
1899
1928
|
* }).extend(tempoActions())
|
|
1900
1929
|
*
|
|
@@ -1923,7 +1952,7 @@ export type Decorator<
|
|
|
1923
1952
|
*
|
|
1924
1953
|
* const client = createClient({
|
|
1925
1954
|
* account: privateKeyToAccount('0x...'),
|
|
1926
|
-
* chain: tempo
|
|
1955
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1927
1956
|
* transport: http(),
|
|
1928
1957
|
* }).extend(tempoActions())
|
|
1929
1958
|
*
|
|
@@ -1952,7 +1981,7 @@ export type Decorator<
|
|
|
1952
1981
|
*
|
|
1953
1982
|
* const client = createClient({
|
|
1954
1983
|
* account: privateKeyToAccount('0x...'),
|
|
1955
|
-
* chain: tempo
|
|
1984
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1956
1985
|
* transport: http(),
|
|
1957
1986
|
* }).extend(tempoActions())
|
|
1958
1987
|
*
|
|
@@ -1981,7 +2010,7 @@ export type Decorator<
|
|
|
1981
2010
|
*
|
|
1982
2011
|
* const client = createClient({
|
|
1983
2012
|
* account: privateKeyToAccount('0x...'),
|
|
1984
|
-
* chain: tempo
|
|
2013
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1985
2014
|
* transport: http(),
|
|
1986
2015
|
* }).extend(tempoActions())
|
|
1987
2016
|
*
|
|
@@ -2013,7 +2042,7 @@ export type Decorator<
|
|
|
2013
2042
|
*
|
|
2014
2043
|
* const client = createClient({
|
|
2015
2044
|
* account: privateKeyToAccount('0x...'),
|
|
2016
|
-
* chain: tempo
|
|
2045
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2017
2046
|
* transport: http(),
|
|
2018
2047
|
* }).extend(tempoActions())
|
|
2019
2048
|
*
|
|
@@ -2043,7 +2072,7 @@ export type Decorator<
|
|
|
2043
2072
|
*
|
|
2044
2073
|
* const client = createClient({
|
|
2045
2074
|
* account: privateKeyToAccount('0x...'),
|
|
2046
|
-
* chain: tempo
|
|
2075
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2047
2076
|
* transport: http(),
|
|
2048
2077
|
* }).extend(tempoActions())
|
|
2049
2078
|
*
|
|
@@ -2073,7 +2102,7 @@ export type Decorator<
|
|
|
2073
2102
|
*
|
|
2074
2103
|
* const client = createClient({
|
|
2075
2104
|
* account: privateKeyToAccount('0x...'),
|
|
2076
|
-
* chain: tempo
|
|
2105
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2077
2106
|
* transport: http(),
|
|
2078
2107
|
* }).extend(tempoActions())
|
|
2079
2108
|
*
|
|
@@ -2101,7 +2130,7 @@ export type Decorator<
|
|
|
2101
2130
|
*
|
|
2102
2131
|
* const client = createClient({
|
|
2103
2132
|
* account: privateKeyToAccount('0x...'),
|
|
2104
|
-
* chain: tempo
|
|
2133
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2105
2134
|
* transport: http(),
|
|
2106
2135
|
* }).extend(tempoActions())
|
|
2107
2136
|
*
|
|
@@ -2125,7 +2154,7 @@ export type Decorator<
|
|
|
2125
2154
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2126
2155
|
*
|
|
2127
2156
|
* const client = createClient({
|
|
2128
|
-
* chain: tempo
|
|
2157
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2129
2158
|
* transport: http(),
|
|
2130
2159
|
* }).extend(tempoActions())
|
|
2131
2160
|
*
|
|
@@ -2151,7 +2180,7 @@ export type Decorator<
|
|
|
2151
2180
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2152
2181
|
*
|
|
2153
2182
|
* const client = createClient({
|
|
2154
|
-
* chain: tempo
|
|
2183
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2155
2184
|
* transport: http(),
|
|
2156
2185
|
* }).extend(tempoActions())
|
|
2157
2186
|
*
|
|
@@ -2180,7 +2209,7 @@ export type Decorator<
|
|
|
2180
2209
|
*
|
|
2181
2210
|
* const client = createClient({
|
|
2182
2211
|
* account: privateKeyToAccount('0x...'),
|
|
2183
|
-
* chain: tempo
|
|
2212
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2184
2213
|
* transport: http(),
|
|
2185
2214
|
* }).extend(tempoActions())
|
|
2186
2215
|
*
|
|
@@ -2209,7 +2238,7 @@ export type Decorator<
|
|
|
2209
2238
|
*
|
|
2210
2239
|
* const client = createClient({
|
|
2211
2240
|
* account: privateKeyToAccount('0x...'),
|
|
2212
|
-
* chain: tempo
|
|
2241
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2213
2242
|
* transport: http(),
|
|
2214
2243
|
* }).extend(tempoActions())
|
|
2215
2244
|
*
|
|
@@ -2239,7 +2268,7 @@ export type Decorator<
|
|
|
2239
2268
|
*
|
|
2240
2269
|
* const client = createClient({
|
|
2241
2270
|
* account: privateKeyToAccount('0x...'),
|
|
2242
|
-
* chain: tempo
|
|
2271
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2243
2272
|
* transport: http(),
|
|
2244
2273
|
* }).extend(tempoActions())
|
|
2245
2274
|
*
|
|
@@ -2268,7 +2297,7 @@ export type Decorator<
|
|
|
2268
2297
|
*
|
|
2269
2298
|
* const client = createClient({
|
|
2270
2299
|
* account: privateKeyToAccount('0x...'),
|
|
2271
|
-
* chain: tempo
|
|
2300
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2272
2301
|
* transport: http(),
|
|
2273
2302
|
* }).extend(tempoActions())
|
|
2274
2303
|
*
|
|
@@ -2298,7 +2327,7 @@ export type Decorator<
|
|
|
2298
2327
|
*
|
|
2299
2328
|
* const client = createClient({
|
|
2300
2329
|
* account: privateKeyToAccount('0x...'),
|
|
2301
|
-
* chain: tempo
|
|
2330
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2302
2331
|
* transport: http(),
|
|
2303
2332
|
* }).extend(tempoActions())
|
|
2304
2333
|
*
|
|
@@ -2328,7 +2357,7 @@ export type Decorator<
|
|
|
2328
2357
|
*
|
|
2329
2358
|
* const client = createClient({
|
|
2330
2359
|
* account: privateKeyToAccount('0x...'),
|
|
2331
|
-
* chain: tempo
|
|
2360
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2332
2361
|
* transport: http(),
|
|
2333
2362
|
* }).extend(tempoActions())
|
|
2334
2363
|
*
|
|
@@ -2356,7 +2385,7 @@ export type Decorator<
|
|
|
2356
2385
|
*
|
|
2357
2386
|
* const client = createClient({
|
|
2358
2387
|
* account: privateKeyToAccount('0x...'),
|
|
2359
|
-
* chain: tempo
|
|
2388
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2360
2389
|
* transport: http(),
|
|
2361
2390
|
* }).extend(tempoActions())
|
|
2362
2391
|
*
|
|
@@ -2384,7 +2413,7 @@ export type Decorator<
|
|
|
2384
2413
|
*
|
|
2385
2414
|
* const client = createClient({
|
|
2386
2415
|
* account: privateKeyToAccount('0x...'),
|
|
2387
|
-
* chain: tempo
|
|
2416
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2388
2417
|
* transport: http(),
|
|
2389
2418
|
* }).extend(tempoActions())
|
|
2390
2419
|
*
|
|
@@ -2413,7 +2442,7 @@ export type Decorator<
|
|
|
2413
2442
|
*
|
|
2414
2443
|
* const client = createClient({
|
|
2415
2444
|
* account: privateKeyToAccount('0x...'),
|
|
2416
|
-
* chain: tempo
|
|
2445
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2417
2446
|
* transport: http(),
|
|
2418
2447
|
* }).extend(tempoActions())
|
|
2419
2448
|
*
|
|
@@ -2441,7 +2470,7 @@ export type Decorator<
|
|
|
2441
2470
|
*
|
|
2442
2471
|
* const client = createClient({
|
|
2443
2472
|
* account: privateKeyToAccount('0x...'),
|
|
2444
|
-
* chain: tempo
|
|
2473
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2445
2474
|
* transport: http(),
|
|
2446
2475
|
* }).extend(tempoActions())
|
|
2447
2476
|
*
|
|
@@ -2471,7 +2500,7 @@ export type Decorator<
|
|
|
2471
2500
|
*
|
|
2472
2501
|
* const client = createClient({
|
|
2473
2502
|
* account: privateKeyToAccount('0x...'),
|
|
2474
|
-
* chain: tempo
|
|
2503
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2475
2504
|
* transport: http(),
|
|
2476
2505
|
* }).extend(tempoActions())
|
|
2477
2506
|
*
|
|
@@ -2500,7 +2529,7 @@ export type Decorator<
|
|
|
2500
2529
|
*
|
|
2501
2530
|
* const client = createClient({
|
|
2502
2531
|
* account: privateKeyToAccount('0x...'),
|
|
2503
|
-
* chain: tempo
|
|
2532
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2504
2533
|
* transport: http(),
|
|
2505
2534
|
* }).extend(tempoActions())
|
|
2506
2535
|
*
|
|
@@ -2529,7 +2558,7 @@ export type Decorator<
|
|
|
2529
2558
|
*
|
|
2530
2559
|
* const client = createClient({
|
|
2531
2560
|
* account: privateKeyToAccount('0x...'),
|
|
2532
|
-
* chain: tempo
|
|
2561
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2533
2562
|
* transport: http(),
|
|
2534
2563
|
* }).extend(tempoActions())
|
|
2535
2564
|
*
|
|
@@ -2558,7 +2587,7 @@ export type Decorator<
|
|
|
2558
2587
|
*
|
|
2559
2588
|
* const client = createClient({
|
|
2560
2589
|
* account: privateKeyToAccount('0x...'),
|
|
2561
|
-
* chain: tempo
|
|
2590
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2562
2591
|
* transport: http(),
|
|
2563
2592
|
* }).extend(tempoActions())
|
|
2564
2593
|
*
|
|
@@ -2588,7 +2617,7 @@ export type Decorator<
|
|
|
2588
2617
|
*
|
|
2589
2618
|
* const client = createClient({
|
|
2590
2619
|
* account: privateKeyToAccount('0x...'),
|
|
2591
|
-
* chain: tempo
|
|
2620
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2592
2621
|
* transport: http(),
|
|
2593
2622
|
* }).extend(tempoActions())
|
|
2594
2623
|
*
|
|
@@ -2618,7 +2647,7 @@ export type Decorator<
|
|
|
2618
2647
|
*
|
|
2619
2648
|
* const client = createClient({
|
|
2620
2649
|
* account: privateKeyToAccount('0x...'),
|
|
2621
|
-
* chain: tempo
|
|
2650
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2622
2651
|
* transport: http(),
|
|
2623
2652
|
* }).extend(tempoActions())
|
|
2624
2653
|
*
|
|
@@ -2647,7 +2676,7 @@ export type Decorator<
|
|
|
2647
2676
|
*
|
|
2648
2677
|
* const client = createClient({
|
|
2649
2678
|
* account: privateKeyToAccount('0x...'),
|
|
2650
|
-
* chain: tempo
|
|
2679
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2651
2680
|
* transport: http(),
|
|
2652
2681
|
* }).extend(tempoActions())
|
|
2653
2682
|
*
|
|
@@ -2676,7 +2705,7 @@ export type Decorator<
|
|
|
2676
2705
|
*
|
|
2677
2706
|
* const client = createClient({
|
|
2678
2707
|
* account: privateKeyToAccount('0x...'),
|
|
2679
|
-
* chain: tempo
|
|
2708
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2680
2709
|
* transport: http(),
|
|
2681
2710
|
* }).extend(tempoActions())
|
|
2682
2711
|
*
|
|
@@ -2704,7 +2733,7 @@ export type Decorator<
|
|
|
2704
2733
|
*
|
|
2705
2734
|
* const client = createClient({
|
|
2706
2735
|
* account: privateKeyToAccount('0x...'),
|
|
2707
|
-
* chain: tempo
|
|
2736
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2708
2737
|
* transport: http(),
|
|
2709
2738
|
* }).extend(tempoActions())
|
|
2710
2739
|
*
|
|
@@ -2730,7 +2759,7 @@ export type Decorator<
|
|
|
2730
2759
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2731
2760
|
*
|
|
2732
2761
|
* const client = createClient({
|
|
2733
|
-
* chain: tempo
|
|
2762
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2734
2763
|
* transport: http(),
|
|
2735
2764
|
* }).extend(tempoActions())
|
|
2736
2765
|
*
|
|
@@ -2758,7 +2787,7 @@ export type Decorator<
|
|
|
2758
2787
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2759
2788
|
*
|
|
2760
2789
|
* const client = createClient({
|
|
2761
|
-
* chain: tempo
|
|
2790
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2762
2791
|
* transport: http(),
|
|
2763
2792
|
* }).extend(tempoActions())
|
|
2764
2793
|
*
|
|
@@ -2784,7 +2813,7 @@ export type Decorator<
|
|
|
2784
2813
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2785
2814
|
*
|
|
2786
2815
|
* const client = createClient({
|
|
2787
|
-
* chain: tempo
|
|
2816
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2788
2817
|
* transport: http(),
|
|
2789
2818
|
* }).extend(tempoActions())
|
|
2790
2819
|
*
|
|
@@ -2810,7 +2839,7 @@ export type Decorator<
|
|
|
2810
2839
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2811
2840
|
*
|
|
2812
2841
|
* const client = createClient({
|
|
2813
|
-
* chain: tempo
|
|
2842
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2814
2843
|
* transport: http(),
|
|
2815
2844
|
* }).extend(tempoActions())
|
|
2816
2845
|
*
|
|
@@ -2836,7 +2865,7 @@ export type Decorator<
|
|
|
2836
2865
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2837
2866
|
*
|
|
2838
2867
|
* const client = createClient({
|
|
2839
|
-
* chain: tempo
|
|
2868
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2840
2869
|
* transport: http(),
|
|
2841
2870
|
* }).extend(tempoActions())
|
|
2842
2871
|
*
|
|
@@ -2864,7 +2893,7 @@ export type Decorator<
|
|
|
2864
2893
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2865
2894
|
*
|
|
2866
2895
|
* const client = createClient({
|
|
2867
|
-
* chain: tempo
|
|
2896
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2868
2897
|
* transport: http(),
|
|
2869
2898
|
* }).extend(tempoActions())
|
|
2870
2899
|
*
|
|
@@ -2890,7 +2919,7 @@ export type Decorator<
|
|
|
2890
2919
|
* import { tempoActions } from 'tempo.ts/viem'
|
|
2891
2920
|
*
|
|
2892
2921
|
* const client = createClient({
|
|
2893
|
-
* chain: tempo
|
|
2922
|
+
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2894
2923
|
* transport: http(),
|
|
2895
2924
|
* }).extend(tempoActions())
|
|
2896
2925
|
*
|
|
@@ -2974,6 +3003,9 @@ export function decorator() {
|
|
|
2974
3003
|
watchOrderPlaced: (parameters) =>
|
|
2975
3004
|
dexActions.watchOrderPlaced(client, parameters),
|
|
2976
3005
|
},
|
|
3006
|
+
faucet: {
|
|
3007
|
+
fund: (parameters) => faucetActions.fund(client, parameters),
|
|
3008
|
+
},
|
|
2977
3009
|
fee: {
|
|
2978
3010
|
// @ts-expect-error
|
|
2979
3011
|
getUserToken: (parameters) =>
|