tempo.ts 0.4.0 → 0.4.2
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/viem/internal/types.d.ts +1 -1
- package/dist/viem/internal/types.d.ts.map +1 -1
- package/dist/wagmi/Actions/amm.d.ts +7 -7
- package/dist/wagmi/Actions/amm.d.ts.map +1 -1
- package/dist/wagmi/Actions/amm.js.map +1 -1
- package/dist/wagmi/Actions/dex.d.ts +15 -15
- package/dist/wagmi/Actions/dex.d.ts.map +1 -1
- package/dist/wagmi/Actions/dex.js.map +1 -1
- package/dist/wagmi/Actions/fee.d.ts +3 -3
- package/dist/wagmi/Actions/fee.d.ts.map +1 -1
- package/dist/wagmi/Actions/fee.js.map +1 -1
- package/dist/wagmi/Actions/reward.d.ts +9 -9
- package/dist/wagmi/Actions/reward.d.ts.map +1 -1
- package/dist/wagmi/Actions/reward.js.map +1 -1
- package/dist/wagmi/Actions/token.d.ts +38 -38
- package/dist/wagmi/Actions/token.d.ts.map +1 -1
- package/dist/wagmi/Actions/token.js.map +1 -1
- package/dist/wagmi/Connector.d.ts +2 -0
- package/dist/wagmi/Connector.d.ts.map +1 -1
- package/dist/wagmi/Connector.js +2 -0
- package/dist/wagmi/Connector.js.map +1 -1
- package/dist/wagmi/Hooks/amm.js.map +1 -1
- package/dist/wagmi/Hooks/dex.js.map +1 -1
- package/dist/wagmi/Hooks/fee.js.map +1 -1
- package/dist/wagmi/Hooks/reward.js.map +1 -1
- package/dist/wagmi/Hooks/token.js.map +1 -1
- package/package.json +1 -1
- package/src/viem/internal/types.ts +2 -1
- package/src/wagmi/Actions/amm.ts +34 -25
- package/src/wagmi/Actions/dex.ts +71 -61
- package/src/wagmi/Actions/fee.ts +14 -11
- package/src/wagmi/Actions/reward.ts +42 -36
- package/src/wagmi/Actions/token.ts +189 -162
- package/src/wagmi/Connector.ts +4 -0
- package/src/wagmi/Hooks/amm.ts +12 -12
- package/src/wagmi/Hooks/dex.ts +28 -28
- package/src/wagmi/Hooks/fee.ts +4 -4
- package/src/wagmi/Hooks/reward.ts +16 -16
- package/src/wagmi/Hooks/token.ts +64 -64
|
@@ -2,7 +2,7 @@ import type * as Query from '@tanstack/query-core'
|
|
|
2
2
|
import { type Config, getConnectorClient } from '@wagmi/core'
|
|
3
3
|
import type { ChainIdParameter, ConnectorParameter } from '@wagmi/core/internal'
|
|
4
4
|
import type { Account } from 'viem'
|
|
5
|
-
import type { RequiredBy } from '../../internal/types.js'
|
|
5
|
+
import type { RequiredBy, UnionOmit } from '../../internal/types.js'
|
|
6
6
|
import * as viem_Actions from '../../viem/Actions/token.js'
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -44,16 +44,16 @@ export async function approve<config extends Config>(
|
|
|
44
44
|
connector,
|
|
45
45
|
})
|
|
46
46
|
|
|
47
|
-
return viem_Actions.approve(
|
|
48
|
-
client,
|
|
49
|
-
parameters as viem_Actions.approve.Parameters,
|
|
50
|
-
)
|
|
47
|
+
return viem_Actions.approve(client, parameters as never)
|
|
51
48
|
}
|
|
52
49
|
|
|
53
50
|
export declare namespace approve {
|
|
54
51
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
55
52
|
ConnectorParameter &
|
|
56
|
-
|
|
53
|
+
UnionOmit<
|
|
54
|
+
viem_Actions.approve.Parameters<config['chains'][number], Account>,
|
|
55
|
+
'chain'
|
|
56
|
+
>
|
|
57
57
|
|
|
58
58
|
export type ReturnValue = viem_Actions.approve.ReturnValue
|
|
59
59
|
|
|
@@ -102,16 +102,16 @@ export async function approveSync<config extends Config>(
|
|
|
102
102
|
connector,
|
|
103
103
|
})
|
|
104
104
|
|
|
105
|
-
return viem_Actions.approveSync(
|
|
106
|
-
client,
|
|
107
|
-
parameters as viem_Actions.approveSync.Parameters,
|
|
108
|
-
)
|
|
105
|
+
return viem_Actions.approveSync(client, parameters as never)
|
|
109
106
|
}
|
|
110
107
|
|
|
111
108
|
export declare namespace approveSync {
|
|
112
109
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
113
110
|
ConnectorParameter &
|
|
114
|
-
|
|
111
|
+
UnionOmit<
|
|
112
|
+
viem_Actions.approveSync.Parameters<config['chains'][number], Account>,
|
|
113
|
+
'chain'
|
|
114
|
+
>
|
|
115
115
|
|
|
116
116
|
export type ReturnValue = viem_Actions.approveSync.ReturnValue
|
|
117
117
|
|
|
@@ -157,13 +157,16 @@ export async function burn<config extends Config>(
|
|
|
157
157
|
connector,
|
|
158
158
|
})
|
|
159
159
|
|
|
160
|
-
return viem_Actions.burn(client, parameters as
|
|
160
|
+
return viem_Actions.burn(client, parameters as never)
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
export declare namespace burn {
|
|
164
164
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
165
165
|
ConnectorParameter &
|
|
166
|
-
|
|
166
|
+
UnionOmit<
|
|
167
|
+
viem_Actions.burn.Parameters<config['chains'][number], Account>,
|
|
168
|
+
'chain'
|
|
169
|
+
>
|
|
167
170
|
|
|
168
171
|
export type ReturnValue = viem_Actions.burn.ReturnValue
|
|
169
172
|
|
|
@@ -210,16 +213,16 @@ export async function burnBlocked<config extends Config>(
|
|
|
210
213
|
connector,
|
|
211
214
|
})
|
|
212
215
|
|
|
213
|
-
return await viem_Actions.burnBlocked(
|
|
214
|
-
client,
|
|
215
|
-
parameters as viem_Actions.burnBlocked.Parameters,
|
|
216
|
-
)
|
|
216
|
+
return await viem_Actions.burnBlocked(client, parameters as never)
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
export declare namespace burnBlocked {
|
|
220
220
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
221
221
|
ConnectorParameter &
|
|
222
|
-
|
|
222
|
+
UnionOmit<
|
|
223
|
+
viem_Actions.burnBlocked.Parameters<config['chains'][number], Account>,
|
|
224
|
+
'chain'
|
|
225
|
+
>
|
|
223
226
|
|
|
224
227
|
export type ReturnValue = viem_Actions.burnBlocked.ReturnValue
|
|
225
228
|
|
|
@@ -269,16 +272,19 @@ export async function burnBlockedSync<config extends Config>(
|
|
|
269
272
|
connector,
|
|
270
273
|
})
|
|
271
274
|
|
|
272
|
-
return viem_Actions.burnBlockedSync(
|
|
273
|
-
client,
|
|
274
|
-
parameters as viem_Actions.burnBlockedSync.Parameters,
|
|
275
|
-
)
|
|
275
|
+
return viem_Actions.burnBlockedSync(client, parameters as never)
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
export declare namespace burnBlockedSync {
|
|
279
279
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
280
280
|
ConnectorParameter &
|
|
281
|
-
|
|
281
|
+
UnionOmit<
|
|
282
|
+
viem_Actions.burnBlockedSync.Parameters<
|
|
283
|
+
config['chains'][number],
|
|
284
|
+
Account
|
|
285
|
+
>,
|
|
286
|
+
'chain'
|
|
287
|
+
>
|
|
282
288
|
|
|
283
289
|
export type ReturnValue = viem_Actions.burnBlockedSync.ReturnValue
|
|
284
290
|
|
|
@@ -327,16 +333,16 @@ export async function burnSync<config extends Config>(
|
|
|
327
333
|
connector,
|
|
328
334
|
})
|
|
329
335
|
|
|
330
|
-
return viem_Actions.burnSync(
|
|
331
|
-
client,
|
|
332
|
-
parameters as viem_Actions.burnSync.Parameters,
|
|
333
|
-
)
|
|
336
|
+
return viem_Actions.burnSync(client, parameters as never)
|
|
334
337
|
}
|
|
335
338
|
|
|
336
339
|
export declare namespace burnSync {
|
|
337
340
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
338
341
|
ConnectorParameter &
|
|
339
|
-
|
|
342
|
+
UnionOmit<
|
|
343
|
+
viem_Actions.burnSync.Parameters<config['chains'][number], Account>,
|
|
344
|
+
'chain'
|
|
345
|
+
>
|
|
340
346
|
|
|
341
347
|
export type ReturnValue = viem_Actions.burnSync.ReturnValue
|
|
342
348
|
|
|
@@ -382,17 +388,17 @@ export async function changeTransferPolicy<config extends Config>(
|
|
|
382
388
|
connector,
|
|
383
389
|
})
|
|
384
390
|
|
|
385
|
-
return viem_Actions.changeTransferPolicy(
|
|
386
|
-
client,
|
|
387
|
-
parameters as viem_Actions.changeTransferPolicy.Parameters,
|
|
388
|
-
)
|
|
391
|
+
return viem_Actions.changeTransferPolicy(client, parameters as never)
|
|
389
392
|
}
|
|
390
393
|
|
|
391
394
|
export declare namespace changeTransferPolicy {
|
|
392
395
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
393
396
|
ConnectorParameter &
|
|
394
|
-
|
|
395
|
-
viem_Actions.changeTransferPolicy.Parameters<
|
|
397
|
+
UnionOmit<
|
|
398
|
+
viem_Actions.changeTransferPolicy.Parameters<
|
|
399
|
+
config['chains'][number],
|
|
400
|
+
Account
|
|
401
|
+
>,
|
|
396
402
|
'chain'
|
|
397
403
|
>
|
|
398
404
|
|
|
@@ -443,17 +449,17 @@ export async function changeTransferPolicySync<config extends Config>(
|
|
|
443
449
|
connector,
|
|
444
450
|
})
|
|
445
451
|
|
|
446
|
-
return viem_Actions.changeTransferPolicySync(
|
|
447
|
-
client,
|
|
448
|
-
parameters as viem_Actions.changeTransferPolicySync.Parameters,
|
|
449
|
-
)
|
|
452
|
+
return viem_Actions.changeTransferPolicySync(client, parameters as never)
|
|
450
453
|
}
|
|
451
454
|
|
|
452
455
|
export declare namespace changeTransferPolicySync {
|
|
453
456
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
454
457
|
ConnectorParameter &
|
|
455
|
-
|
|
456
|
-
viem_Actions.changeTransferPolicySync.Parameters<
|
|
458
|
+
UnionOmit<
|
|
459
|
+
viem_Actions.changeTransferPolicySync.Parameters<
|
|
460
|
+
config['chains'][number],
|
|
461
|
+
Account
|
|
462
|
+
>,
|
|
457
463
|
'chain'
|
|
458
464
|
>
|
|
459
465
|
|
|
@@ -502,16 +508,16 @@ export async function create<config extends Config>(
|
|
|
502
508
|
connector,
|
|
503
509
|
})
|
|
504
510
|
|
|
505
|
-
return viem_Actions.create(
|
|
506
|
-
client,
|
|
507
|
-
parameters as viem_Actions.create.Parameters,
|
|
508
|
-
)
|
|
511
|
+
return viem_Actions.create(client, parameters as never)
|
|
509
512
|
}
|
|
510
513
|
|
|
511
514
|
export declare namespace create {
|
|
512
515
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
513
516
|
ConnectorParameter &
|
|
514
|
-
|
|
517
|
+
UnionOmit<
|
|
518
|
+
viem_Actions.create.Parameters<config['chains'][number], Account>,
|
|
519
|
+
'chain'
|
|
520
|
+
>
|
|
515
521
|
|
|
516
522
|
export type ReturnValue = viem_Actions.create.ReturnValue
|
|
517
523
|
|
|
@@ -561,16 +567,16 @@ export async function createSync<config extends Config>(
|
|
|
561
567
|
connector,
|
|
562
568
|
})
|
|
563
569
|
|
|
564
|
-
return viem_Actions.createSync(
|
|
565
|
-
client,
|
|
566
|
-
parameters as viem_Actions.createSync.Parameters,
|
|
567
|
-
)
|
|
570
|
+
return viem_Actions.createSync(client, parameters as never)
|
|
568
571
|
}
|
|
569
572
|
|
|
570
573
|
export declare namespace createSync {
|
|
571
574
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
572
575
|
ConnectorParameter &
|
|
573
|
-
|
|
576
|
+
UnionOmit<
|
|
577
|
+
viem_Actions.createSync.Parameters<config['chains'][number], Account>,
|
|
578
|
+
'chain'
|
|
579
|
+
>
|
|
574
580
|
|
|
575
581
|
export type ReturnValue = viem_Actions.createSync.ReturnValue
|
|
576
582
|
|
|
@@ -615,16 +621,19 @@ export async function updateQuoteToken<config extends Config>(
|
|
|
615
621
|
connector,
|
|
616
622
|
})
|
|
617
623
|
|
|
618
|
-
return viem_Actions.updateQuoteToken(
|
|
619
|
-
client,
|
|
620
|
-
parameters as viem_Actions.updateQuoteToken.Parameters,
|
|
621
|
-
)
|
|
624
|
+
return viem_Actions.updateQuoteToken(client, parameters as never)
|
|
622
625
|
}
|
|
623
626
|
|
|
624
627
|
export declare namespace updateQuoteToken {
|
|
625
628
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
626
629
|
ConnectorParameter &
|
|
627
|
-
|
|
630
|
+
UnionOmit<
|
|
631
|
+
viem_Actions.updateQuoteToken.Parameters<
|
|
632
|
+
config['chains'][number],
|
|
633
|
+
Account
|
|
634
|
+
>,
|
|
635
|
+
'chain'
|
|
636
|
+
>
|
|
628
637
|
|
|
629
638
|
export type ReturnValue = viem_Actions.updateQuoteToken.ReturnValue
|
|
630
639
|
|
|
@@ -672,17 +681,17 @@ export async function updateQuoteTokenSync<config extends Config>(
|
|
|
672
681
|
connector,
|
|
673
682
|
})
|
|
674
683
|
|
|
675
|
-
return viem_Actions.updateQuoteTokenSync(
|
|
676
|
-
client,
|
|
677
|
-
parameters as viem_Actions.updateQuoteTokenSync.Parameters,
|
|
678
|
-
)
|
|
684
|
+
return viem_Actions.updateQuoteTokenSync(client, parameters as never)
|
|
679
685
|
}
|
|
680
686
|
|
|
681
687
|
export declare namespace updateQuoteTokenSync {
|
|
682
688
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
683
689
|
ConnectorParameter &
|
|
684
|
-
|
|
685
|
-
viem_Actions.updateQuoteTokenSync.Parameters<
|
|
690
|
+
UnionOmit<
|
|
691
|
+
viem_Actions.updateQuoteTokenSync.Parameters<
|
|
692
|
+
config['chains'][number],
|
|
693
|
+
Account
|
|
694
|
+
>,
|
|
686
695
|
'chain'
|
|
687
696
|
>
|
|
688
697
|
|
|
@@ -763,7 +772,7 @@ export namespace getAllowance {
|
|
|
763
772
|
selectData = getAllowance.ReturnValue,
|
|
764
773
|
> = getAllowance.Parameters<config> & {
|
|
765
774
|
query?:
|
|
766
|
-
|
|
|
775
|
+
| UnionOmit<ReturnValue<config, selectData>, 'queryKey' | 'queryFn'>
|
|
767
776
|
| undefined
|
|
768
777
|
}
|
|
769
778
|
|
|
@@ -853,7 +862,7 @@ export namespace getBalance {
|
|
|
853
862
|
selectData = getBalance.ReturnValue,
|
|
854
863
|
> = getBalance.Parameters<config> & {
|
|
855
864
|
query?:
|
|
856
|
-
|
|
|
865
|
+
| UnionOmit<ReturnValue<config, selectData>, 'queryKey' | 'queryFn'>
|
|
857
866
|
| undefined
|
|
858
867
|
}
|
|
859
868
|
|
|
@@ -943,7 +952,7 @@ export namespace getMetadata {
|
|
|
943
952
|
selectData = getMetadata.ReturnValue,
|
|
944
953
|
> = getMetadata.Parameters<config> & {
|
|
945
954
|
query?:
|
|
946
|
-
|
|
|
955
|
+
| UnionOmit<ReturnValue<config, selectData>, 'queryKey' | 'queryFn'>
|
|
947
956
|
| undefined
|
|
948
957
|
}
|
|
949
958
|
|
|
@@ -1034,7 +1043,7 @@ export namespace getRoleAdmin {
|
|
|
1034
1043
|
selectData = getRoleAdmin.ReturnValue,
|
|
1035
1044
|
> = getRoleAdmin.Parameters<config> & {
|
|
1036
1045
|
query?:
|
|
1037
|
-
|
|
|
1046
|
+
| UnionOmit<ReturnValue<config, selectData>, 'queryKey' | 'queryFn'>
|
|
1038
1047
|
| undefined
|
|
1039
1048
|
}
|
|
1040
1049
|
|
|
@@ -1093,16 +1102,16 @@ export async function grantRoles<config extends Config>(
|
|
|
1093
1102
|
connector,
|
|
1094
1103
|
})
|
|
1095
1104
|
|
|
1096
|
-
return viem_Actions.grantRoles(
|
|
1097
|
-
client,
|
|
1098
|
-
parameters as viem_Actions.grantRoles.Parameters,
|
|
1099
|
-
)
|
|
1105
|
+
return viem_Actions.grantRoles(client, parameters as never)
|
|
1100
1106
|
}
|
|
1101
1107
|
|
|
1102
1108
|
export declare namespace grantRoles {
|
|
1103
1109
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1104
1110
|
ConnectorParameter &
|
|
1105
|
-
|
|
1111
|
+
UnionOmit<
|
|
1112
|
+
viem_Actions.grantRoles.Parameters<config['chains'][number], Account>,
|
|
1113
|
+
'chain'
|
|
1114
|
+
>
|
|
1106
1115
|
|
|
1107
1116
|
export type ReturnValue = viem_Actions.grantRoles.ReturnValue
|
|
1108
1117
|
|
|
@@ -1152,16 +1161,16 @@ export async function grantRolesSync<config extends Config>(
|
|
|
1152
1161
|
connector,
|
|
1153
1162
|
})
|
|
1154
1163
|
|
|
1155
|
-
return viem_Actions.grantRolesSync(
|
|
1156
|
-
client,
|
|
1157
|
-
parameters as viem_Actions.grantRolesSync.Parameters,
|
|
1158
|
-
)
|
|
1164
|
+
return viem_Actions.grantRolesSync(client, parameters as never)
|
|
1159
1165
|
}
|
|
1160
1166
|
|
|
1161
1167
|
export declare namespace grantRolesSync {
|
|
1162
1168
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1163
1169
|
ConnectorParameter &
|
|
1164
|
-
|
|
1170
|
+
UnionOmit<
|
|
1171
|
+
viem_Actions.grantRolesSync.Parameters<config['chains'][number], Account>,
|
|
1172
|
+
'chain'
|
|
1173
|
+
>
|
|
1165
1174
|
|
|
1166
1175
|
export type ReturnValue = viem_Actions.grantRolesSync.ReturnValue
|
|
1167
1176
|
|
|
@@ -1241,7 +1250,7 @@ export namespace hasRole {
|
|
|
1241
1250
|
selectData = hasRole.ReturnValue,
|
|
1242
1251
|
> = hasRole.Parameters<config> & {
|
|
1243
1252
|
query?:
|
|
1244
|
-
|
|
|
1253
|
+
| UnionOmit<ReturnValue<config, selectData>, 'queryKey' | 'queryFn'>
|
|
1245
1254
|
| undefined
|
|
1246
1255
|
}
|
|
1247
1256
|
|
|
@@ -1300,13 +1309,16 @@ export async function mint<config extends Config>(
|
|
|
1300
1309
|
connector,
|
|
1301
1310
|
})
|
|
1302
1311
|
|
|
1303
|
-
return viem_Actions.mint(client, parameters as
|
|
1312
|
+
return viem_Actions.mint(client, parameters as never)
|
|
1304
1313
|
}
|
|
1305
1314
|
|
|
1306
1315
|
export declare namespace mint {
|
|
1307
1316
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1308
1317
|
ConnectorParameter &
|
|
1309
|
-
|
|
1318
|
+
UnionOmit<
|
|
1319
|
+
viem_Actions.mint.Parameters<config['chains'][number], Account>,
|
|
1320
|
+
'chain'
|
|
1321
|
+
>
|
|
1310
1322
|
|
|
1311
1323
|
export type ReturnValue = viem_Actions.mint.ReturnValue
|
|
1312
1324
|
|
|
@@ -1356,16 +1368,16 @@ export async function mintSync<config extends Config>(
|
|
|
1356
1368
|
connector,
|
|
1357
1369
|
})
|
|
1358
1370
|
|
|
1359
|
-
return viem_Actions.mintSync(
|
|
1360
|
-
client,
|
|
1361
|
-
parameters as viem_Actions.mintSync.Parameters,
|
|
1362
|
-
)
|
|
1371
|
+
return viem_Actions.mintSync(client, parameters as never)
|
|
1363
1372
|
}
|
|
1364
1373
|
|
|
1365
1374
|
export declare namespace mintSync {
|
|
1366
1375
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1367
1376
|
ConnectorParameter &
|
|
1368
|
-
|
|
1377
|
+
UnionOmit<
|
|
1378
|
+
viem_Actions.mintSync.Parameters<config['chains'][number], Account>,
|
|
1379
|
+
'chain'
|
|
1380
|
+
>
|
|
1369
1381
|
|
|
1370
1382
|
export type ReturnValue = viem_Actions.mintSync.ReturnValue
|
|
1371
1383
|
|
|
@@ -1410,13 +1422,16 @@ export async function pause<config extends Config>(
|
|
|
1410
1422
|
connector,
|
|
1411
1423
|
})
|
|
1412
1424
|
|
|
1413
|
-
return viem_Actions.pause(client, parameters as
|
|
1425
|
+
return viem_Actions.pause(client, parameters as never)
|
|
1414
1426
|
}
|
|
1415
1427
|
|
|
1416
1428
|
export declare namespace pause {
|
|
1417
1429
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1418
1430
|
ConnectorParameter &
|
|
1419
|
-
|
|
1431
|
+
UnionOmit<
|
|
1432
|
+
viem_Actions.pause.Parameters<config['chains'][number], Account>,
|
|
1433
|
+
'chain'
|
|
1434
|
+
>
|
|
1420
1435
|
|
|
1421
1436
|
export type ReturnValue = viem_Actions.pause.ReturnValue
|
|
1422
1437
|
|
|
@@ -1464,16 +1479,16 @@ export async function pauseSync<config extends Config>(
|
|
|
1464
1479
|
connector,
|
|
1465
1480
|
})
|
|
1466
1481
|
|
|
1467
|
-
return viem_Actions.pauseSync(
|
|
1468
|
-
client,
|
|
1469
|
-
parameters as viem_Actions.pauseSync.Parameters,
|
|
1470
|
-
)
|
|
1482
|
+
return viem_Actions.pauseSync(client, parameters as never)
|
|
1471
1483
|
}
|
|
1472
1484
|
|
|
1473
1485
|
export declare namespace pauseSync {
|
|
1474
1486
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1475
1487
|
ConnectorParameter &
|
|
1476
|
-
|
|
1488
|
+
UnionOmit<
|
|
1489
|
+
viem_Actions.pauseSync.Parameters<config['chains'][number], Account>,
|
|
1490
|
+
'chain'
|
|
1491
|
+
>
|
|
1477
1492
|
|
|
1478
1493
|
export type ReturnValue = viem_Actions.pauseSync.ReturnValue
|
|
1479
1494
|
|
|
@@ -1519,16 +1534,16 @@ export async function renounceRoles<config extends Config>(
|
|
|
1519
1534
|
connector,
|
|
1520
1535
|
})
|
|
1521
1536
|
|
|
1522
|
-
return viem_Actions.renounceRoles(
|
|
1523
|
-
client,
|
|
1524
|
-
parameters as viem_Actions.renounceRoles.Parameters,
|
|
1525
|
-
)
|
|
1537
|
+
return viem_Actions.renounceRoles(client, parameters as never)
|
|
1526
1538
|
}
|
|
1527
1539
|
|
|
1528
1540
|
export declare namespace renounceRoles {
|
|
1529
1541
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1530
1542
|
ConnectorParameter &
|
|
1531
|
-
|
|
1543
|
+
UnionOmit<
|
|
1544
|
+
viem_Actions.renounceRoles.Parameters<config['chains'][number], Account>,
|
|
1545
|
+
'chain'
|
|
1546
|
+
>
|
|
1532
1547
|
|
|
1533
1548
|
export type ReturnValue = viem_Actions.renounceRoles.ReturnValue
|
|
1534
1549
|
|
|
@@ -1577,16 +1592,19 @@ export async function renounceRolesSync<config extends Config>(
|
|
|
1577
1592
|
connector,
|
|
1578
1593
|
})
|
|
1579
1594
|
|
|
1580
|
-
return viem_Actions.renounceRolesSync(
|
|
1581
|
-
client,
|
|
1582
|
-
parameters as viem_Actions.renounceRolesSync.Parameters,
|
|
1583
|
-
)
|
|
1595
|
+
return viem_Actions.renounceRolesSync(client, parameters as never)
|
|
1584
1596
|
}
|
|
1585
1597
|
|
|
1586
1598
|
export declare namespace renounceRolesSync {
|
|
1587
1599
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1588
1600
|
ConnectorParameter &
|
|
1589
|
-
|
|
1601
|
+
UnionOmit<
|
|
1602
|
+
viem_Actions.renounceRolesSync.Parameters<
|
|
1603
|
+
config['chains'][number],
|
|
1604
|
+
Account
|
|
1605
|
+
>,
|
|
1606
|
+
'chain'
|
|
1607
|
+
>
|
|
1590
1608
|
|
|
1591
1609
|
export type ReturnValue = viem_Actions.renounceRolesSync.ReturnValue
|
|
1592
1610
|
|
|
@@ -1633,16 +1651,16 @@ export async function revokeRoles<config extends Config>(
|
|
|
1633
1651
|
connector,
|
|
1634
1652
|
})
|
|
1635
1653
|
|
|
1636
|
-
return viem_Actions.revokeRoles(
|
|
1637
|
-
client,
|
|
1638
|
-
parameters as viem_Actions.revokeRoles.Parameters,
|
|
1639
|
-
)
|
|
1654
|
+
return viem_Actions.revokeRoles(client, parameters as never)
|
|
1640
1655
|
}
|
|
1641
1656
|
|
|
1642
1657
|
export declare namespace revokeRoles {
|
|
1643
1658
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1644
1659
|
ConnectorParameter &
|
|
1645
|
-
|
|
1660
|
+
UnionOmit<
|
|
1661
|
+
viem_Actions.revokeRoles.Parameters<config['chains'][number], Account>,
|
|
1662
|
+
'chain'
|
|
1663
|
+
>
|
|
1646
1664
|
|
|
1647
1665
|
export type ReturnValue = viem_Actions.revokeRoles.ReturnValue
|
|
1648
1666
|
|
|
@@ -1692,16 +1710,19 @@ export async function revokeRolesSync<config extends Config>(
|
|
|
1692
1710
|
connector,
|
|
1693
1711
|
})
|
|
1694
1712
|
|
|
1695
|
-
return viem_Actions.revokeRolesSync(
|
|
1696
|
-
client,
|
|
1697
|
-
parameters as viem_Actions.revokeRolesSync.Parameters,
|
|
1698
|
-
)
|
|
1713
|
+
return viem_Actions.revokeRolesSync(client, parameters as never)
|
|
1699
1714
|
}
|
|
1700
1715
|
|
|
1701
1716
|
export declare namespace revokeRolesSync {
|
|
1702
1717
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1703
1718
|
ConnectorParameter &
|
|
1704
|
-
|
|
1719
|
+
UnionOmit<
|
|
1720
|
+
viem_Actions.revokeRolesSync.Parameters<
|
|
1721
|
+
config['chains'][number],
|
|
1722
|
+
Account
|
|
1723
|
+
>,
|
|
1724
|
+
'chain'
|
|
1725
|
+
>
|
|
1705
1726
|
|
|
1706
1727
|
export type ReturnValue = viem_Actions.revokeRolesSync.ReturnValue
|
|
1707
1728
|
|
|
@@ -1748,16 +1769,16 @@ export async function setRoleAdmin<config extends Config>(
|
|
|
1748
1769
|
connector,
|
|
1749
1770
|
})
|
|
1750
1771
|
|
|
1751
|
-
return viem_Actions.setRoleAdmin(
|
|
1752
|
-
client,
|
|
1753
|
-
parameters as viem_Actions.setRoleAdmin.Parameters,
|
|
1754
|
-
)
|
|
1772
|
+
return viem_Actions.setRoleAdmin(client, parameters as never)
|
|
1755
1773
|
}
|
|
1756
1774
|
|
|
1757
1775
|
export declare namespace setRoleAdmin {
|
|
1758
1776
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1759
1777
|
ConnectorParameter &
|
|
1760
|
-
|
|
1778
|
+
UnionOmit<
|
|
1779
|
+
viem_Actions.setRoleAdmin.Parameters<config['chains'][number], Account>,
|
|
1780
|
+
'chain'
|
|
1781
|
+
>
|
|
1761
1782
|
|
|
1762
1783
|
export type ReturnValue = viem_Actions.setRoleAdmin.ReturnValue
|
|
1763
1784
|
|
|
@@ -1807,16 +1828,19 @@ export async function setRoleAdminSync<config extends Config>(
|
|
|
1807
1828
|
connector,
|
|
1808
1829
|
})
|
|
1809
1830
|
|
|
1810
|
-
return viem_Actions.setRoleAdminSync(
|
|
1811
|
-
client,
|
|
1812
|
-
parameters as viem_Actions.setRoleAdminSync.Parameters,
|
|
1813
|
-
)
|
|
1831
|
+
return viem_Actions.setRoleAdminSync(client, parameters as never)
|
|
1814
1832
|
}
|
|
1815
1833
|
|
|
1816
1834
|
export declare namespace setRoleAdminSync {
|
|
1817
1835
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1818
1836
|
ConnectorParameter &
|
|
1819
|
-
|
|
1837
|
+
UnionOmit<
|
|
1838
|
+
viem_Actions.setRoleAdminSync.Parameters<
|
|
1839
|
+
config['chains'][number],
|
|
1840
|
+
Account
|
|
1841
|
+
>,
|
|
1842
|
+
'chain'
|
|
1843
|
+
>
|
|
1820
1844
|
|
|
1821
1845
|
export type ReturnValue = viem_Actions.setRoleAdminSync.ReturnValue
|
|
1822
1846
|
|
|
@@ -1862,16 +1886,16 @@ export async function setSupplyCap<config extends Config>(
|
|
|
1862
1886
|
connector,
|
|
1863
1887
|
})
|
|
1864
1888
|
|
|
1865
|
-
return viem_Actions.setSupplyCap(
|
|
1866
|
-
client,
|
|
1867
|
-
parameters as viem_Actions.setSupplyCap.Parameters,
|
|
1868
|
-
)
|
|
1889
|
+
return viem_Actions.setSupplyCap(client, parameters as never)
|
|
1869
1890
|
}
|
|
1870
1891
|
|
|
1871
1892
|
export declare namespace setSupplyCap {
|
|
1872
1893
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1873
1894
|
ConnectorParameter &
|
|
1874
|
-
|
|
1895
|
+
UnionOmit<
|
|
1896
|
+
viem_Actions.setSupplyCap.Parameters<config['chains'][number], Account>,
|
|
1897
|
+
'chain'
|
|
1898
|
+
>
|
|
1875
1899
|
|
|
1876
1900
|
export type ReturnValue = viem_Actions.setSupplyCap.ReturnValue
|
|
1877
1901
|
|
|
@@ -1920,16 +1944,19 @@ export async function setSupplyCapSync<config extends Config>(
|
|
|
1920
1944
|
connector,
|
|
1921
1945
|
})
|
|
1922
1946
|
|
|
1923
|
-
return viem_Actions.setSupplyCapSync(
|
|
1924
|
-
client,
|
|
1925
|
-
parameters as viem_Actions.setSupplyCapSync.Parameters,
|
|
1926
|
-
)
|
|
1947
|
+
return viem_Actions.setSupplyCapSync(client, parameters as never)
|
|
1927
1948
|
}
|
|
1928
1949
|
|
|
1929
1950
|
export declare namespace setSupplyCapSync {
|
|
1930
1951
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1931
1952
|
ConnectorParameter &
|
|
1932
|
-
|
|
1953
|
+
UnionOmit<
|
|
1954
|
+
viem_Actions.setSupplyCapSync.Parameters<
|
|
1955
|
+
config['chains'][number],
|
|
1956
|
+
Account
|
|
1957
|
+
>,
|
|
1958
|
+
'chain'
|
|
1959
|
+
>
|
|
1933
1960
|
|
|
1934
1961
|
export type ReturnValue = viem_Actions.setSupplyCapSync.ReturnValue
|
|
1935
1962
|
|
|
@@ -1975,16 +2002,16 @@ export async function transfer<config extends Config>(
|
|
|
1975
2002
|
connector,
|
|
1976
2003
|
})
|
|
1977
2004
|
|
|
1978
|
-
return viem_Actions.transfer(
|
|
1979
|
-
client,
|
|
1980
|
-
parameters as viem_Actions.transfer.Parameters,
|
|
1981
|
-
)
|
|
2005
|
+
return viem_Actions.transfer(client, parameters as never)
|
|
1982
2006
|
}
|
|
1983
2007
|
|
|
1984
2008
|
export declare namespace transfer {
|
|
1985
2009
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1986
2010
|
ConnectorParameter &
|
|
1987
|
-
|
|
2011
|
+
UnionOmit<
|
|
2012
|
+
viem_Actions.transfer.Parameters<config['chains'][number], Account>,
|
|
2013
|
+
'chain'
|
|
2014
|
+
>
|
|
1988
2015
|
|
|
1989
2016
|
export type ReturnValue = viem_Actions.transfer.ReturnValue
|
|
1990
2017
|
|
|
@@ -2033,16 +2060,16 @@ export async function transferSync<config extends Config>(
|
|
|
2033
2060
|
connector,
|
|
2034
2061
|
})
|
|
2035
2062
|
|
|
2036
|
-
return viem_Actions.transferSync(
|
|
2037
|
-
client,
|
|
2038
|
-
parameters as viem_Actions.transferSync.Parameters,
|
|
2039
|
-
)
|
|
2063
|
+
return viem_Actions.transferSync(client, parameters as never)
|
|
2040
2064
|
}
|
|
2041
2065
|
|
|
2042
2066
|
export declare namespace transferSync {
|
|
2043
2067
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
2044
2068
|
ConnectorParameter &
|
|
2045
|
-
|
|
2069
|
+
UnionOmit<
|
|
2070
|
+
viem_Actions.transferSync.Parameters<config['chains'][number], Account>,
|
|
2071
|
+
'chain'
|
|
2072
|
+
>
|
|
2046
2073
|
|
|
2047
2074
|
export type ReturnValue = viem_Actions.transferSync.ReturnValue
|
|
2048
2075
|
|
|
@@ -2087,16 +2114,16 @@ export async function unpause<config extends Config>(
|
|
|
2087
2114
|
connector,
|
|
2088
2115
|
})
|
|
2089
2116
|
|
|
2090
|
-
return viem_Actions.unpause(
|
|
2091
|
-
client,
|
|
2092
|
-
parameters as viem_Actions.unpause.Parameters,
|
|
2093
|
-
)
|
|
2117
|
+
return viem_Actions.unpause(client, parameters as never)
|
|
2094
2118
|
}
|
|
2095
2119
|
|
|
2096
2120
|
export declare namespace unpause {
|
|
2097
2121
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
2098
2122
|
ConnectorParameter &
|
|
2099
|
-
|
|
2123
|
+
UnionOmit<
|
|
2124
|
+
viem_Actions.unpause.Parameters<config['chains'][number], Account>,
|
|
2125
|
+
'chain'
|
|
2126
|
+
>
|
|
2100
2127
|
|
|
2101
2128
|
export type ReturnValue = viem_Actions.unpause.ReturnValue
|
|
2102
2129
|
|
|
@@ -2144,16 +2171,16 @@ export async function unpauseSync<config extends Config>(
|
|
|
2144
2171
|
connector,
|
|
2145
2172
|
})
|
|
2146
2173
|
|
|
2147
|
-
return viem_Actions.unpauseSync(
|
|
2148
|
-
client,
|
|
2149
|
-
parameters as viem_Actions.unpauseSync.Parameters,
|
|
2150
|
-
)
|
|
2174
|
+
return viem_Actions.unpauseSync(client, parameters as never)
|
|
2151
2175
|
}
|
|
2152
2176
|
|
|
2153
2177
|
export declare namespace unpauseSync {
|
|
2154
2178
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
2155
2179
|
ConnectorParameter &
|
|
2156
|
-
|
|
2180
|
+
UnionOmit<
|
|
2181
|
+
viem_Actions.unpauseSync.Parameters<config['chains'][number], Account>,
|
|
2182
|
+
'chain'
|
|
2183
|
+
>
|
|
2157
2184
|
|
|
2158
2185
|
export type ReturnValue = viem_Actions.unpauseSync.ReturnValue
|
|
2159
2186
|
|
|
@@ -2199,17 +2226,17 @@ export async function prepareUpdateQuoteToken<config extends Config>(
|
|
|
2199
2226
|
connector,
|
|
2200
2227
|
})
|
|
2201
2228
|
|
|
2202
|
-
return viem_Actions.prepareUpdateQuoteToken(
|
|
2203
|
-
client,
|
|
2204
|
-
parameters as viem_Actions.prepareUpdateQuoteToken.Parameters,
|
|
2205
|
-
)
|
|
2229
|
+
return viem_Actions.prepareUpdateQuoteToken(client, parameters as never)
|
|
2206
2230
|
}
|
|
2207
2231
|
|
|
2208
2232
|
export declare namespace prepareUpdateQuoteToken {
|
|
2209
2233
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
2210
2234
|
ConnectorParameter &
|
|
2211
|
-
|
|
2212
|
-
viem_Actions.prepareUpdateQuoteToken.Parameters<
|
|
2235
|
+
UnionOmit<
|
|
2236
|
+
viem_Actions.prepareUpdateQuoteToken.Parameters<
|
|
2237
|
+
config['chains'][number],
|
|
2238
|
+
Account
|
|
2239
|
+
>,
|
|
2213
2240
|
'chain'
|
|
2214
2241
|
>
|
|
2215
2242
|
|
|
@@ -2260,17 +2287,17 @@ export async function prepareUpdateQuoteTokenSync<config extends Config>(
|
|
|
2260
2287
|
connector,
|
|
2261
2288
|
})
|
|
2262
2289
|
|
|
2263
|
-
return viem_Actions.prepareUpdateQuoteTokenSync(
|
|
2264
|
-
client,
|
|
2265
|
-
parameters as viem_Actions.prepareUpdateQuoteTokenSync.Parameters,
|
|
2266
|
-
)
|
|
2290
|
+
return viem_Actions.prepareUpdateQuoteTokenSync(client, parameters as never)
|
|
2267
2291
|
}
|
|
2268
2292
|
|
|
2269
2293
|
export declare namespace prepareUpdateQuoteTokenSync {
|
|
2270
2294
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
2271
2295
|
ConnectorParameter &
|
|
2272
|
-
|
|
2273
|
-
viem_Actions.prepareUpdateQuoteTokenSync.Parameters<
|
|
2296
|
+
UnionOmit<
|
|
2297
|
+
viem_Actions.prepareUpdateQuoteTokenSync.Parameters<
|
|
2298
|
+
config['chains'][number],
|
|
2299
|
+
Account
|
|
2300
|
+
>,
|
|
2274
2301
|
'chain'
|
|
2275
2302
|
>
|
|
2276
2303
|
|