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
package/src/wagmi/Actions/dex.ts
CHANGED
|
@@ -6,6 +6,7 @@ import type { Account } from 'viem'
|
|
|
6
6
|
import type {
|
|
7
7
|
PartialBy,
|
|
8
8
|
RequiredBy,
|
|
9
|
+
UnionOmit,
|
|
9
10
|
UnionRequiredBy,
|
|
10
11
|
} from '../../internal/types.js'
|
|
11
12
|
import * as viem_Actions from '../../viem/Actions/dex.js'
|
|
@@ -51,13 +52,16 @@ export async function buy<config extends Config>(
|
|
|
51
52
|
connector,
|
|
52
53
|
})
|
|
53
54
|
|
|
54
|
-
return viem_Actions.buy(client, parameters as
|
|
55
|
+
return viem_Actions.buy(client, parameters as never)
|
|
55
56
|
}
|
|
56
57
|
|
|
57
58
|
export declare namespace buy {
|
|
58
59
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
59
60
|
ConnectorParameter &
|
|
60
|
-
|
|
61
|
+
UnionOmit<
|
|
62
|
+
viem_Actions.buy.Parameters<config['chains'][number], Account>,
|
|
63
|
+
'chain'
|
|
64
|
+
>
|
|
61
65
|
|
|
62
66
|
export type ReturnValue = viem_Actions.buy.ReturnValue
|
|
63
67
|
|
|
@@ -108,16 +112,16 @@ export async function buySync<config extends Config>(
|
|
|
108
112
|
connector,
|
|
109
113
|
})
|
|
110
114
|
|
|
111
|
-
return viem_Actions.buySync(
|
|
112
|
-
client,
|
|
113
|
-
parameters as viem_Actions.buySync.Parameters,
|
|
114
|
-
)
|
|
115
|
+
return viem_Actions.buySync(client, parameters as never)
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
export declare namespace buySync {
|
|
118
119
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
119
120
|
ConnectorParameter &
|
|
120
|
-
|
|
121
|
+
UnionOmit<
|
|
122
|
+
viem_Actions.buySync.Parameters<config['chains'][number], Account>,
|
|
123
|
+
'chain'
|
|
124
|
+
>
|
|
121
125
|
|
|
122
126
|
export type ReturnValue = viem_Actions.buySync.ReturnValue
|
|
123
127
|
|
|
@@ -162,16 +166,16 @@ export async function cancel<config extends Config>(
|
|
|
162
166
|
connector,
|
|
163
167
|
})
|
|
164
168
|
|
|
165
|
-
return viem_Actions.cancel(
|
|
166
|
-
client,
|
|
167
|
-
parameters as viem_Actions.cancel.Parameters,
|
|
168
|
-
)
|
|
169
|
+
return viem_Actions.cancel(client, parameters as never)
|
|
169
170
|
}
|
|
170
171
|
|
|
171
172
|
export declare namespace cancel {
|
|
172
173
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
173
174
|
ConnectorParameter &
|
|
174
|
-
|
|
175
|
+
UnionOmit<
|
|
176
|
+
viem_Actions.cancel.Parameters<config['chains'][number], Account>,
|
|
177
|
+
'chain'
|
|
178
|
+
>
|
|
175
179
|
|
|
176
180
|
export type ReturnValue = viem_Actions.cancel.ReturnValue
|
|
177
181
|
|
|
@@ -219,16 +223,16 @@ export async function cancelSync<config extends Config>(
|
|
|
219
223
|
connector,
|
|
220
224
|
})
|
|
221
225
|
|
|
222
|
-
return viem_Actions.cancelSync(
|
|
223
|
-
client,
|
|
224
|
-
parameters as viem_Actions.cancelSync.Parameters,
|
|
225
|
-
)
|
|
226
|
+
return viem_Actions.cancelSync(client, parameters as never)
|
|
226
227
|
}
|
|
227
228
|
|
|
228
229
|
export declare namespace cancelSync {
|
|
229
230
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
230
231
|
ConnectorParameter &
|
|
231
|
-
|
|
232
|
+
UnionOmit<
|
|
233
|
+
viem_Actions.cancelSync.Parameters<config['chains'][number], Account>,
|
|
234
|
+
'chain'
|
|
235
|
+
>
|
|
232
236
|
|
|
233
237
|
export type ReturnValue = viem_Actions.cancelSync.ReturnValue
|
|
234
238
|
|
|
@@ -273,16 +277,16 @@ export async function createPair<config extends Config>(
|
|
|
273
277
|
connector,
|
|
274
278
|
})
|
|
275
279
|
|
|
276
|
-
return viem_Actions.createPair(
|
|
277
|
-
client,
|
|
278
|
-
parameters as viem_Actions.createPair.Parameters,
|
|
279
|
-
)
|
|
280
|
+
return viem_Actions.createPair(client, parameters as never)
|
|
280
281
|
}
|
|
281
282
|
|
|
282
283
|
export declare namespace createPair {
|
|
283
284
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
284
285
|
ConnectorParameter &
|
|
285
|
-
|
|
286
|
+
UnionOmit<
|
|
287
|
+
viem_Actions.createPair.Parameters<config['chains'][number], Account>,
|
|
288
|
+
'chain'
|
|
289
|
+
>
|
|
286
290
|
|
|
287
291
|
export type ReturnValue = viem_Actions.createPair.ReturnValue
|
|
288
292
|
|
|
@@ -330,16 +334,16 @@ export async function createPairSync<config extends Config>(
|
|
|
330
334
|
connector,
|
|
331
335
|
})
|
|
332
336
|
|
|
333
|
-
return viem_Actions.createPairSync(
|
|
334
|
-
client,
|
|
335
|
-
parameters as viem_Actions.createPairSync.Parameters,
|
|
336
|
-
)
|
|
337
|
+
return viem_Actions.createPairSync(client, parameters as never)
|
|
337
338
|
}
|
|
338
339
|
|
|
339
340
|
export declare namespace createPairSync {
|
|
340
341
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
341
342
|
ConnectorParameter &
|
|
342
|
-
|
|
343
|
+
UnionOmit<
|
|
344
|
+
viem_Actions.createPairSync.Parameters<config['chains'][number], Account>,
|
|
345
|
+
'chain'
|
|
346
|
+
>
|
|
343
347
|
|
|
344
348
|
export type ReturnValue = viem_Actions.createPairSync.ReturnValue
|
|
345
349
|
|
|
@@ -1040,13 +1044,16 @@ export async function place<config extends Config>(
|
|
|
1040
1044
|
connector,
|
|
1041
1045
|
})
|
|
1042
1046
|
|
|
1043
|
-
return viem_Actions.place(client, parameters as
|
|
1047
|
+
return viem_Actions.place(client, parameters as never)
|
|
1044
1048
|
}
|
|
1045
1049
|
|
|
1046
1050
|
export declare namespace place {
|
|
1047
1051
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1048
1052
|
ConnectorParameter &
|
|
1049
|
-
|
|
1053
|
+
UnionOmit<
|
|
1054
|
+
viem_Actions.place.Parameters<config['chains'][number], Account>,
|
|
1055
|
+
'chain'
|
|
1056
|
+
>
|
|
1050
1057
|
|
|
1051
1058
|
export type ReturnValue = viem_Actions.place.ReturnValue
|
|
1052
1059
|
|
|
@@ -1095,16 +1102,16 @@ export async function placeFlip<config extends Config>(
|
|
|
1095
1102
|
connector,
|
|
1096
1103
|
})
|
|
1097
1104
|
|
|
1098
|
-
return viem_Actions.placeFlip(
|
|
1099
|
-
client,
|
|
1100
|
-
parameters as viem_Actions.placeFlip.Parameters,
|
|
1101
|
-
)
|
|
1105
|
+
return viem_Actions.placeFlip(client, parameters as never)
|
|
1102
1106
|
}
|
|
1103
1107
|
|
|
1104
1108
|
export declare namespace placeFlip {
|
|
1105
1109
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1106
1110
|
ConnectorParameter &
|
|
1107
|
-
|
|
1111
|
+
UnionOmit<
|
|
1112
|
+
viem_Actions.placeFlip.Parameters<config['chains'][number], Account>,
|
|
1113
|
+
'chain'
|
|
1114
|
+
>
|
|
1108
1115
|
|
|
1109
1116
|
export type ReturnValue = viem_Actions.placeFlip.ReturnValue
|
|
1110
1117
|
|
|
@@ -1156,16 +1163,16 @@ export async function placeFlipSync<config extends Config>(
|
|
|
1156
1163
|
connector,
|
|
1157
1164
|
})
|
|
1158
1165
|
|
|
1159
|
-
return viem_Actions.placeFlipSync(
|
|
1160
|
-
client,
|
|
1161
|
-
parameters as viem_Actions.placeFlipSync.Parameters,
|
|
1162
|
-
)
|
|
1166
|
+
return viem_Actions.placeFlipSync(client, parameters as never)
|
|
1163
1167
|
}
|
|
1164
1168
|
|
|
1165
1169
|
export declare namespace placeFlipSync {
|
|
1166
1170
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1167
1171
|
ConnectorParameter &
|
|
1168
|
-
|
|
1172
|
+
UnionOmit<
|
|
1173
|
+
viem_Actions.placeFlipSync.Parameters<config['chains'][number], Account>,
|
|
1174
|
+
'chain'
|
|
1175
|
+
>
|
|
1169
1176
|
|
|
1170
1177
|
export type ReturnValue = viem_Actions.placeFlipSync.ReturnValue
|
|
1171
1178
|
|
|
@@ -1216,16 +1223,16 @@ export async function placeSync<config extends Config>(
|
|
|
1216
1223
|
connector,
|
|
1217
1224
|
})
|
|
1218
1225
|
|
|
1219
|
-
return viem_Actions.placeSync(
|
|
1220
|
-
client,
|
|
1221
|
-
parameters as viem_Actions.placeSync.Parameters,
|
|
1222
|
-
)
|
|
1226
|
+
return viem_Actions.placeSync(client, parameters as never)
|
|
1223
1227
|
}
|
|
1224
1228
|
|
|
1225
1229
|
export declare namespace placeSync {
|
|
1226
1230
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1227
1231
|
ConnectorParameter &
|
|
1228
|
-
|
|
1232
|
+
UnionOmit<
|
|
1233
|
+
viem_Actions.placeSync.Parameters<config['chains'][number], Account>,
|
|
1234
|
+
'chain'
|
|
1235
|
+
>
|
|
1229
1236
|
|
|
1230
1237
|
export type ReturnValue = viem_Actions.placeSync.ReturnValue
|
|
1231
1238
|
|
|
@@ -1273,13 +1280,16 @@ export async function sell<config extends Config>(
|
|
|
1273
1280
|
connector,
|
|
1274
1281
|
})
|
|
1275
1282
|
|
|
1276
|
-
return viem_Actions.sell(client, parameters as
|
|
1283
|
+
return viem_Actions.sell(client, parameters as never)
|
|
1277
1284
|
}
|
|
1278
1285
|
|
|
1279
1286
|
export declare namespace sell {
|
|
1280
1287
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1281
1288
|
ConnectorParameter &
|
|
1282
|
-
|
|
1289
|
+
UnionOmit<
|
|
1290
|
+
viem_Actions.sell.Parameters<config['chains'][number], Account>,
|
|
1291
|
+
'chain'
|
|
1292
|
+
>
|
|
1283
1293
|
|
|
1284
1294
|
export type ReturnValue = viem_Actions.sell.ReturnValue
|
|
1285
1295
|
|
|
@@ -1330,16 +1340,16 @@ export async function sellSync<config extends Config>(
|
|
|
1330
1340
|
connector,
|
|
1331
1341
|
})
|
|
1332
1342
|
|
|
1333
|
-
return viem_Actions.sellSync(
|
|
1334
|
-
client,
|
|
1335
|
-
parameters as viem_Actions.sellSync.Parameters,
|
|
1336
|
-
)
|
|
1343
|
+
return viem_Actions.sellSync(client, parameters as never)
|
|
1337
1344
|
}
|
|
1338
1345
|
|
|
1339
1346
|
export declare namespace sellSync {
|
|
1340
1347
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1341
1348
|
ConnectorParameter &
|
|
1342
|
-
|
|
1349
|
+
UnionOmit<
|
|
1350
|
+
viem_Actions.sellSync.Parameters<config['chains'][number], Account>,
|
|
1351
|
+
'chain'
|
|
1352
|
+
>
|
|
1343
1353
|
|
|
1344
1354
|
export type ReturnValue = viem_Actions.sellSync.ReturnValue
|
|
1345
1355
|
|
|
@@ -1565,16 +1575,16 @@ export async function withdraw<config extends Config>(
|
|
|
1565
1575
|
connector,
|
|
1566
1576
|
})
|
|
1567
1577
|
|
|
1568
|
-
return viem_Actions.withdraw(
|
|
1569
|
-
client,
|
|
1570
|
-
parameters as viem_Actions.withdraw.Parameters,
|
|
1571
|
-
)
|
|
1578
|
+
return viem_Actions.withdraw(client, parameters as never)
|
|
1572
1579
|
}
|
|
1573
1580
|
|
|
1574
1581
|
export declare namespace withdraw {
|
|
1575
1582
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1576
1583
|
ConnectorParameter &
|
|
1577
|
-
|
|
1584
|
+
UnionOmit<
|
|
1585
|
+
viem_Actions.withdraw.Parameters<config['chains'][number], Account>,
|
|
1586
|
+
'chain'
|
|
1587
|
+
>
|
|
1578
1588
|
|
|
1579
1589
|
export type ReturnValue = viem_Actions.withdraw.ReturnValue
|
|
1580
1590
|
|
|
@@ -1623,16 +1633,16 @@ export async function withdrawSync<config extends Config>(
|
|
|
1623
1633
|
connector,
|
|
1624
1634
|
})
|
|
1625
1635
|
|
|
1626
|
-
return viem_Actions.withdrawSync(
|
|
1627
|
-
client,
|
|
1628
|
-
parameters as viem_Actions.withdrawSync.Parameters,
|
|
1629
|
-
)
|
|
1636
|
+
return viem_Actions.withdrawSync(client, parameters as never)
|
|
1630
1637
|
}
|
|
1631
1638
|
|
|
1632
1639
|
export declare namespace withdrawSync {
|
|
1633
1640
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
1634
1641
|
ConnectorParameter &
|
|
1635
|
-
|
|
1642
|
+
UnionOmit<
|
|
1643
|
+
viem_Actions.withdrawSync.Parameters<config['chains'][number], Account>,
|
|
1644
|
+
'chain'
|
|
1645
|
+
>
|
|
1636
1646
|
|
|
1637
1647
|
export type ReturnValue = viem_Actions.withdrawSync.ReturnValue
|
|
1638
1648
|
|
package/src/wagmi/Actions/fee.ts
CHANGED
|
@@ -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 { PartialBy, RequiredBy } from '../../internal/types.js'
|
|
5
|
+
import type { PartialBy, RequiredBy, UnionOmit } from '../../internal/types.js'
|
|
6
6
|
import * as viem_Actions from '../../viem/Actions/fee.js'
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -134,16 +134,16 @@ export async function setUserToken<config extends Config>(
|
|
|
134
134
|
connector,
|
|
135
135
|
})
|
|
136
136
|
|
|
137
|
-
return viem_Actions.setUserToken(
|
|
138
|
-
client,
|
|
139
|
-
parameters as viem_Actions.setUserToken.Parameters,
|
|
140
|
-
)
|
|
137
|
+
return viem_Actions.setUserToken(client, parameters as never)
|
|
141
138
|
}
|
|
142
139
|
|
|
143
140
|
export declare namespace setUserToken {
|
|
144
141
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
145
142
|
ConnectorParameter &
|
|
146
|
-
|
|
143
|
+
UnionOmit<
|
|
144
|
+
viem_Actions.setUserToken.Parameters<config['chains'][number], Account>,
|
|
145
|
+
'chain'
|
|
146
|
+
>
|
|
147
147
|
|
|
148
148
|
export type ReturnValue = viem_Actions.setUserToken.ReturnValue
|
|
149
149
|
|
|
@@ -191,16 +191,19 @@ export async function setUserTokenSync<config extends Config>(
|
|
|
191
191
|
connector,
|
|
192
192
|
})
|
|
193
193
|
|
|
194
|
-
return viem_Actions.setUserTokenSync(
|
|
195
|
-
client,
|
|
196
|
-
parameters as viem_Actions.setUserTokenSync.Parameters,
|
|
197
|
-
)
|
|
194
|
+
return viem_Actions.setUserTokenSync(client, parameters as never)
|
|
198
195
|
}
|
|
199
196
|
|
|
200
197
|
export declare namespace setUserTokenSync {
|
|
201
198
|
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
202
199
|
ConnectorParameter &
|
|
203
|
-
|
|
200
|
+
UnionOmit<
|
|
201
|
+
viem_Actions.setUserTokenSync.Parameters<
|
|
202
|
+
config['chains'][number],
|
|
203
|
+
Account
|
|
204
|
+
>,
|
|
205
|
+
'chain'
|
|
206
|
+
>
|
|
204
207
|
|
|
205
208
|
export type ReturnValue = viem_Actions.setUserTokenSync.ReturnValue
|
|
206
209
|
|
|
@@ -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/reward.js'
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -44,17 +44,17 @@ export async function cancel<config extends Config>(
|
|
|
44
44
|
connector,
|
|
45
45
|
})
|
|
46
46
|
|
|
47
|
-
return viem_Actions.cancel(
|
|
48
|
-
client,
|
|
49
|
-
parameters as viem_Actions.cancel.Parameters,
|
|
50
|
-
)
|
|
47
|
+
return viem_Actions.cancel(client, parameters as never)
|
|
51
48
|
}
|
|
52
49
|
|
|
53
50
|
export declare namespace cancel {
|
|
54
51
|
export type Parameters<config extends Config = Config> =
|
|
55
52
|
ChainIdParameter<config> &
|
|
56
53
|
ConnectorParameter &
|
|
57
|
-
|
|
54
|
+
UnionOmit<
|
|
55
|
+
viem_Actions.cancel.Parameters<config['chains'][number], Account>,
|
|
56
|
+
'chain'
|
|
57
|
+
>
|
|
58
58
|
|
|
59
59
|
export type ReturnValue = viem_Actions.cancel.ReturnValue
|
|
60
60
|
|
|
@@ -100,17 +100,17 @@ export async function cancelSync<config extends Config>(
|
|
|
100
100
|
connector,
|
|
101
101
|
})
|
|
102
102
|
|
|
103
|
-
return viem_Actions.cancelSync(
|
|
104
|
-
client,
|
|
105
|
-
parameters as viem_Actions.cancelSync.Parameters,
|
|
106
|
-
)
|
|
103
|
+
return viem_Actions.cancelSync(client, parameters as never)
|
|
107
104
|
}
|
|
108
105
|
|
|
109
106
|
export declare namespace cancelSync {
|
|
110
107
|
export type Parameters<config extends Config = Config> =
|
|
111
108
|
ChainIdParameter<config> &
|
|
112
109
|
ConnectorParameter &
|
|
113
|
-
|
|
110
|
+
UnionOmit<
|
|
111
|
+
viem_Actions.cancelSync.Parameters<config['chains'][number], Account>,
|
|
112
|
+
'chain'
|
|
113
|
+
>
|
|
114
114
|
|
|
115
115
|
export type ReturnValue = viem_Actions.cancelSync.ReturnValue
|
|
116
116
|
|
|
@@ -155,14 +155,17 @@ export async function claim<config extends Config>(
|
|
|
155
155
|
connector,
|
|
156
156
|
})
|
|
157
157
|
|
|
158
|
-
return viem_Actions.claim(client, parameters as
|
|
158
|
+
return viem_Actions.claim(client, parameters as never)
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
export declare namespace claim {
|
|
162
162
|
export type Parameters<config extends Config = Config> =
|
|
163
163
|
ChainIdParameter<config> &
|
|
164
164
|
ConnectorParameter &
|
|
165
|
-
|
|
165
|
+
UnionOmit<
|
|
166
|
+
viem_Actions.claim.Parameters<config['chains'][number], Account>,
|
|
167
|
+
'chain'
|
|
168
|
+
>
|
|
166
169
|
|
|
167
170
|
export type ReturnValue = viem_Actions.claim.ReturnValue
|
|
168
171
|
|
|
@@ -207,17 +210,17 @@ export async function claimSync<config extends Config>(
|
|
|
207
210
|
connector,
|
|
208
211
|
})
|
|
209
212
|
|
|
210
|
-
return viem_Actions.claimSync(
|
|
211
|
-
client,
|
|
212
|
-
parameters as viem_Actions.claimSync.Parameters,
|
|
213
|
-
)
|
|
213
|
+
return viem_Actions.claimSync(client, parameters as never)
|
|
214
214
|
}
|
|
215
215
|
|
|
216
216
|
export declare namespace claimSync {
|
|
217
217
|
export type Parameters<config extends Config = Config> =
|
|
218
218
|
ChainIdParameter<config> &
|
|
219
219
|
ConnectorParameter &
|
|
220
|
-
|
|
220
|
+
UnionOmit<
|
|
221
|
+
viem_Actions.claimSync.Parameters<config['chains'][number], Account>,
|
|
222
|
+
'chain'
|
|
223
|
+
>
|
|
221
224
|
|
|
222
225
|
export type ReturnValue = viem_Actions.claimSync.ReturnValue
|
|
223
226
|
|
|
@@ -444,17 +447,17 @@ export async function setRecipient<config extends Config>(
|
|
|
444
447
|
connector,
|
|
445
448
|
})
|
|
446
449
|
|
|
447
|
-
return viem_Actions.setRecipient(
|
|
448
|
-
client,
|
|
449
|
-
parameters as viem_Actions.setRecipient.Parameters,
|
|
450
|
-
)
|
|
450
|
+
return viem_Actions.setRecipient(client, parameters as never)
|
|
451
451
|
}
|
|
452
452
|
|
|
453
453
|
export declare namespace setRecipient {
|
|
454
454
|
export type Parameters<config extends Config = Config> =
|
|
455
455
|
ChainIdParameter<config> &
|
|
456
456
|
ConnectorParameter &
|
|
457
|
-
|
|
457
|
+
UnionOmit<
|
|
458
|
+
viem_Actions.setRecipient.Parameters<config['chains'][number], Account>,
|
|
459
|
+
'chain'
|
|
460
|
+
>
|
|
458
461
|
|
|
459
462
|
export type ReturnValue = viem_Actions.setRecipient.ReturnValue
|
|
460
463
|
|
|
@@ -500,18 +503,18 @@ export async function setRecipientSync<config extends Config>(
|
|
|
500
503
|
connector,
|
|
501
504
|
})
|
|
502
505
|
|
|
503
|
-
return viem_Actions.setRecipientSync(
|
|
504
|
-
client,
|
|
505
|
-
parameters as viem_Actions.setRecipientSync.Parameters,
|
|
506
|
-
)
|
|
506
|
+
return viem_Actions.setRecipientSync(client, parameters as never)
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
export declare namespace setRecipientSync {
|
|
510
510
|
export type Parameters<config extends Config = Config> =
|
|
511
511
|
ChainIdParameter<config> &
|
|
512
512
|
ConnectorParameter &
|
|
513
|
-
|
|
514
|
-
viem_Actions.setRecipientSync.Parameters<
|
|
513
|
+
UnionOmit<
|
|
514
|
+
viem_Actions.setRecipientSync.Parameters<
|
|
515
|
+
config['chains'][number],
|
|
516
|
+
Account
|
|
517
|
+
>,
|
|
515
518
|
'chain'
|
|
516
519
|
>
|
|
517
520
|
|
|
@@ -560,14 +563,17 @@ export async function start<config extends Config>(
|
|
|
560
563
|
connector,
|
|
561
564
|
})
|
|
562
565
|
|
|
563
|
-
return viem_Actions.start(client, parameters as
|
|
566
|
+
return viem_Actions.start(client, parameters as never)
|
|
564
567
|
}
|
|
565
568
|
|
|
566
569
|
export declare namespace start {
|
|
567
570
|
export type Parameters<config extends Config = Config> =
|
|
568
571
|
ChainIdParameter<config> &
|
|
569
572
|
ConnectorParameter &
|
|
570
|
-
|
|
573
|
+
UnionOmit<
|
|
574
|
+
viem_Actions.start.Parameters<config['chains'][number], Account>,
|
|
575
|
+
'chain'
|
|
576
|
+
>
|
|
571
577
|
|
|
572
578
|
export type ReturnValue = viem_Actions.start.ReturnValue
|
|
573
579
|
|
|
@@ -614,17 +620,17 @@ export async function startSync<config extends Config>(
|
|
|
614
620
|
connector,
|
|
615
621
|
})
|
|
616
622
|
|
|
617
|
-
return viem_Actions.startSync(
|
|
618
|
-
client,
|
|
619
|
-
parameters as viem_Actions.startSync.Parameters,
|
|
620
|
-
)
|
|
623
|
+
return viem_Actions.startSync(client, parameters as never)
|
|
621
624
|
}
|
|
622
625
|
|
|
623
626
|
export declare namespace startSync {
|
|
624
627
|
export type Parameters<config extends Config = Config> =
|
|
625
628
|
ChainIdParameter<config> &
|
|
626
629
|
ConnectorParameter &
|
|
627
|
-
|
|
630
|
+
UnionOmit<
|
|
631
|
+
viem_Actions.startSync.Parameters<config['chains'][number], Account>,
|
|
632
|
+
'chain'
|
|
633
|
+
>
|
|
628
634
|
|
|
629
635
|
export type ReturnValue = viem_Actions.startSync.ReturnValue
|
|
630
636
|
|