tempo.ts 0.10.1 → 0.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/chains.d.ts +1 -1
  3. package/dist/chains.js +1 -1
  4. package/dist/chains.js.map +1 -1
  5. package/dist/viem/Actions/index.d.ts +1 -0
  6. package/dist/viem/Actions/index.d.ts.map +1 -1
  7. package/dist/viem/Actions/index.js +1 -0
  8. package/dist/viem/Actions/index.js.map +1 -1
  9. package/dist/viem/Actions/nonce.d.ts +257 -0
  10. package/dist/viem/Actions/nonce.d.ts.map +1 -0
  11. package/dist/viem/Actions/nonce.js +226 -0
  12. package/dist/viem/Actions/nonce.js.map +1 -0
  13. package/dist/viem/Addresses.d.ts +1 -0
  14. package/dist/viem/Addresses.d.ts.map +1 -1
  15. package/dist/viem/Addresses.js +1 -0
  16. package/dist/viem/Addresses.js.map +1 -1
  17. package/dist/viem/Chain.d.ts.map +1 -1
  18. package/dist/viem/Chain.js +4 -1
  19. package/dist/viem/Chain.js.map +1 -1
  20. package/dist/viem/internal/types.d.ts +1 -1
  21. package/dist/viem/internal/types.d.ts.map +1 -1
  22. package/dist/wagmi/Actions/index.d.ts +1 -0
  23. package/dist/wagmi/Actions/index.d.ts.map +1 -1
  24. package/dist/wagmi/Actions/index.js +1 -0
  25. package/dist/wagmi/Actions/index.js.map +1 -1
  26. package/dist/wagmi/Actions/nonce.d.ts +147 -0
  27. package/dist/wagmi/Actions/nonce.d.ts.map +1 -0
  28. package/dist/wagmi/Actions/nonce.js +169 -0
  29. package/dist/wagmi/Actions/nonce.js.map +1 -0
  30. package/dist/wagmi/Hooks/index.d.ts +1 -0
  31. package/dist/wagmi/Hooks/index.d.ts.map +1 -1
  32. package/dist/wagmi/Hooks/index.js +1 -0
  33. package/dist/wagmi/Hooks/index.js.map +1 -1
  34. package/dist/wagmi/Hooks/nonce.d.ts +110 -0
  35. package/dist/wagmi/Hooks/nonce.d.ts.map +1 -0
  36. package/dist/wagmi/Hooks/nonce.js +144 -0
  37. package/dist/wagmi/Hooks/nonce.js.map +1 -0
  38. package/package.json +1 -1
  39. package/src/chains.ts +1 -1
  40. package/src/viem/Actions/index.ts +1 -0
  41. package/src/viem/Actions/nonce.test.ts +193 -0
  42. package/src/viem/Actions/nonce.ts +345 -0
  43. package/src/viem/Addresses.ts +1 -0
  44. package/src/viem/Chain.test.ts +9 -9
  45. package/src/viem/Chain.ts +3 -1
  46. package/src/viem/internal/types.ts +4 -1
  47. package/src/wagmi/Actions/index.ts +1 -0
  48. package/src/wagmi/Actions/nonce.test.ts +141 -0
  49. package/src/wagmi/Actions/nonce.ts +271 -0
  50. package/src/wagmi/Hooks/index.ts +1 -0
  51. package/src/wagmi/Hooks/nonce.test.ts +207 -0
  52. package/src/wagmi/Hooks/nonce.ts +230 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # tempo.ts
2
2
 
3
+ ## 0.10.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#112](https://github.com/tempoxyz/tempo-ts/pull/112) [`11a0ddd`](https://github.com/tempoxyz/tempo-ts/commit/11a0ddd97f8a923152415e3454e063647d9284fa) Thanks [@gorried](https://github.com/gorried)! - Added `nonce` Actions & Hooks.
8
+
9
+ ## 0.10.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`8204289`](https://github.com/tempoxyz/tempo-ts/commit/82042894c38404b0cd282d59819269adb4cd238d) Thanks [@jxom](https://github.com/jxom)! - Updated `tempoDev` chain id.
14
+
15
+ - [`a0e1745`](https://github.com/tempoxyz/tempo-ts/commit/a0e17454c3f8a36175b3131a3e06784b12f3d443) Thanks [@jxom](https://github.com/jxom)! - Added missing properties to actions.
16
+
17
+ - [`888f10b`](https://github.com/tempoxyz/tempo-ts/commit/888f10be87641444171572e5f2898b2e6b969402) Thanks [@jxom](https://github.com/jxom)! - Fixed issue where zeroish `nonceKey`s would not use protocol nonce. This is an issue to be fixed upstream in Tempo.
18
+
3
19
  ## 0.10.1
4
20
 
5
21
  ### Patch Changes
package/dist/chains.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as Chain from './viem/Chain.js';
2
2
  export declare const tempoDevnet: Chain.define.ReturnValue<{
3
- readonly id: 42429;
3
+ readonly id: 1337;
4
4
  readonly name: "Tempo Devnet";
5
5
  readonly nativeCurrency: {
6
6
  readonly name: "USD";
package/dist/chains.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as Chain from './viem/Chain.js';
2
2
  export const tempoDevnet = /*#__PURE__*/ Chain.define({
3
- id: 42429,
3
+ id: 1337,
4
4
  name: 'Tempo Devnet',
5
5
  nativeCurrency: {
6
6
  name: 'USD',
@@ -1 +1 @@
1
- {"version":3,"file":"chains.js","sourceRoot":"","sources":["../src/chains.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,iBAAiB,CAAA;AAExC,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC;IACpD,EAAE,EAAE,KAAK;IACT,IAAI,EAAE,cAAc;IACpB,cAAc,EAAE;QACd,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,CAAC;KACZ;IACD,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,8BAA8B,CAAC;SACvC;KACF;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC;IACnD,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,OAAO;IACb,cAAc,EAAE;QACd,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,CAAC;KACZ;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,uBAAuB,CAAC,EAAE;KAC7C;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,YA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K,CAAC,MAAM,CAAC;IACrD,EAAE,EAAE,KAAK;IACT,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,gBAAgB;YACtB,GAAG,EAAE,2BAA2B;SACjC;KACF;IACD,IAAI,EAAE,eAAe;IACrB,cAAc,EAAE;QACd,IAAI,EAAE,KAAK;QACX,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,CAAC;KACZ;IACD,OAAO,EAAE;QACP,OAAO,EAAE,EAAE,IAAI,EAAE,CAAC,+BAA+B,CAAC,EAAE;KACrD;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,KAAK,GAAG,aAAa,CAAC,YAAY,CAAA"}
@@ -3,6 +3,7 @@ export * as amm from './amm.js';
3
3
  export * as dex from './dex.js';
4
4
  export * as faucet from './faucet.js';
5
5
  export * as fee from './fee.js';
6
+ export * as nonce from './nonce.js';
6
7
  export * as policy from './policy.js';
7
8
  export * as reward from './reward.js';
8
9
  export * as token from './token.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/viem/Actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/viem/Actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA"}
@@ -3,6 +3,7 @@ export * as amm from './amm.js';
3
3
  export * as dex from './dex.js';
4
4
  export * as faucet from './faucet.js';
5
5
  export * as fee from './fee.js';
6
+ export * as nonce from './nonce.js';
6
7
  export * as policy from './policy.js';
7
8
  export * as reward from './reward.js';
8
9
  export * as token from './token.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/viem/Actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/viem/Actions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA"}
@@ -0,0 +1,257 @@
1
+ import type { Account, Address, Chain, Client, ExtractAbiItem, GetEventArgs, ReadContractReturnType, Transport, Log as viem_Log, WatchContractEventParameters } from 'viem';
2
+ import type { UnionOmit } from '../../internal/types.js';
3
+ import * as Abis from '../Abis.js';
4
+ import type { ReadParameters } from '../internal/types.js';
5
+ /**
6
+ * Gets the nonce for an account and nonce key.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * import { createClient, http } from 'viem'
11
+ * import { tempo } from 'tempo.ts/chains'
12
+ * import { Actions } from 'tempo.ts/viem'
13
+ *
14
+ * const client = createClient({
15
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
16
+ * transport: http(),
17
+ * })
18
+ *
19
+ * const nonce = await Actions.nonce.getNonce(client, {
20
+ * account: '0x...',
21
+ * nonceKey: 1n,
22
+ * })
23
+ * ```
24
+ *
25
+ * @param client - Client.
26
+ * @param parameters - Parameters.
27
+ * @returns The nonce value.
28
+ */
29
+ export declare function getNonce<chain extends Chain | undefined, account extends Account | undefined>(client: Client<Transport, chain, account>, parameters: getNonce.Parameters): Promise<getNonce.ReturnValue>;
30
+ export declare namespace getNonce {
31
+ type Parameters = ReadParameters & Args;
32
+ type Args = {
33
+ /** Account address. */
34
+ account: Address;
35
+ /** Nonce key (must be > 0, key 0 is reserved for protocol nonces). */
36
+ nonceKey: bigint;
37
+ };
38
+ type ReturnValue = ReadContractReturnType<typeof Abis.nonce, 'getNonce', never>;
39
+ /**
40
+ * Defines a call to the `getNonce` function.
41
+ *
42
+ * Can be passed as a parameter to:
43
+ * - [`estimateContractGas`](https://viem.sh/docs/contract/estimateContractGas): estimate the gas cost of the call
44
+ * - [`simulateContract`](https://viem.sh/docs/contract/simulateContract): simulate the call
45
+ * - [`multicall`](https://viem.sh/docs/contract/multicall): execute multiple calls in parallel
46
+ *
47
+ * @example
48
+ * ```ts
49
+ * import { createClient, http } from 'viem'
50
+ * import { tempo } from 'tempo.ts/chains'
51
+ * import { Actions } from 'tempo.ts/viem'
52
+ *
53
+ * const client = createClient({
54
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
55
+ * transport: http(),
56
+ * })
57
+ *
58
+ * const result = await client.multicall({
59
+ * contracts: [
60
+ * Actions.nonce.getNonce.call({ account: '0x...', nonceKey: 1n }),
61
+ * Actions.nonce.getNonce.call({ account: '0x...', nonceKey: 2n }),
62
+ * ],
63
+ * })
64
+ * ```
65
+ *
66
+ * @param args - Arguments.
67
+ * @returns The call.
68
+ */
69
+ function call(args: Args): {
70
+ abi: [{
71
+ readonly name: "getNonce";
72
+ readonly type: "function";
73
+ readonly stateMutability: "view";
74
+ readonly inputs: readonly [{
75
+ readonly type: "address";
76
+ readonly name: "account";
77
+ }, {
78
+ readonly type: "uint256";
79
+ readonly name: "nonceKey";
80
+ }];
81
+ readonly outputs: readonly [{
82
+ readonly type: "uint64";
83
+ readonly name: "nonce";
84
+ }];
85
+ }];
86
+ functionName: "getNonce";
87
+ args?: readonly [`0x${string}`, bigint] | undefined;
88
+ } & {
89
+ args: readonly [`0x${string}`, bigint];
90
+ } & {
91
+ address: Address;
92
+ } & {
93
+ data: import("viem").Hex;
94
+ to: Address;
95
+ };
96
+ }
97
+ /**
98
+ * Gets the number of active nonce keys for an account.
99
+ *
100
+ * @example
101
+ * ```ts
102
+ * import { createClient, http } from 'viem'
103
+ * import { tempo } from 'tempo.ts/chains'
104
+ * import { Actions } from 'tempo.ts/viem'
105
+ *
106
+ * const client = createClient({
107
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
108
+ * transport: http(),
109
+ * })
110
+ *
111
+ * const count = await Actions.nonce.getNonceKeyCount(client, {
112
+ * account: '0x...',
113
+ * })
114
+ * ```
115
+ *
116
+ * @param client - Client.
117
+ * @param parameters - Parameters.
118
+ * @returns The number of active nonce keys.
119
+ */
120
+ export declare function getNonceKeyCount<chain extends Chain | undefined, account extends Account | undefined>(client: Client<Transport, chain, account>, parameters: getNonceKeyCount.Parameters): Promise<getNonceKeyCount.ReturnValue>;
121
+ export declare namespace getNonceKeyCount {
122
+ type Parameters = ReadParameters & Args;
123
+ type Args = {
124
+ /** Account address. */
125
+ account: Address;
126
+ };
127
+ type ReturnValue = ReadContractReturnType<typeof Abis.nonce, 'getActiveNonceKeyCount', never>;
128
+ /**
129
+ * Defines a call to the `getNonceKeyCount` function.
130
+ *
131
+ * Can be passed as a parameter to:
132
+ * - [`estimateContractGas`](https://viem.sh/docs/contract/estimateContractGas): estimate the gas cost of the call
133
+ * - [`simulateContract`](https://viem.sh/docs/contract/simulateContract): simulate the call
134
+ * - [`multicall`](https://viem.sh/docs/contract/multicall): execute multiple calls in parallel
135
+ *
136
+ * @example
137
+ * ```ts
138
+ * import { createClient, http } from 'viem'
139
+ * import { tempo } from 'tempo.ts/chains'
140
+ * import { Actions } from 'tempo.ts/viem'
141
+ *
142
+ * const client = createClient({
143
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
144
+ * transport: http(),
145
+ * })
146
+ *
147
+ * const result = await client.multicall({
148
+ * contracts: [
149
+ * Actions.nonce.getNonceKeyCount.call({ account: '0x...' }),
150
+ * Actions.nonce.getNonceKeyCount.call({ account: '0x...' }),
151
+ * ],
152
+ * })
153
+ * ```
154
+ *
155
+ * @param args - Arguments.
156
+ * @returns The call.
157
+ */
158
+ function call(args: Args): {
159
+ abi: [{
160
+ readonly name: "getActiveNonceKeyCount";
161
+ readonly type: "function";
162
+ readonly stateMutability: "view";
163
+ readonly inputs: readonly [{
164
+ readonly type: "address";
165
+ readonly name: "account";
166
+ }];
167
+ readonly outputs: readonly [{
168
+ readonly type: "uint256";
169
+ readonly name: "count";
170
+ }];
171
+ }];
172
+ functionName: "getActiveNonceKeyCount";
173
+ args?: readonly [`0x${string}`] | undefined;
174
+ } & {
175
+ args: readonly [`0x${string}`];
176
+ } & {
177
+ address: Address;
178
+ } & {
179
+ data: import("viem").Hex;
180
+ to: Address;
181
+ };
182
+ }
183
+ /**
184
+ * Watches for nonce incremented events.
185
+ *
186
+ * @example
187
+ * ```ts
188
+ * import { createClient, http } from 'viem'
189
+ * import { tempo } from 'tempo.ts/chains'
190
+ * import { Actions } from 'tempo.ts/viem'
191
+ *
192
+ * const client = createClient({
193
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
194
+ * transport: http(),
195
+ * })
196
+ *
197
+ * const unwatch = Actions.nonce.watchNonceIncremented(client, {
198
+ * onNonceIncremented: (args, log) => {
199
+ * console.log('Nonce incremented:', args)
200
+ * },
201
+ * })
202
+ * ```
203
+ *
204
+ * @param client - Client.
205
+ * @param parameters - Parameters.
206
+ * @returns A function to unsubscribe from the event.
207
+ */
208
+ export declare function watchNonceIncremented<chain extends Chain | undefined, account extends Account | undefined>(client: Client<Transport, chain, account>, parameters: watchNonceIncremented.Parameters): import("viem").WatchContractEventReturnType;
209
+ export declare namespace watchNonceIncremented {
210
+ type Args = GetEventArgs<typeof Abis.nonce, 'NonceIncremented', {
211
+ IndexedOnly: false;
212
+ Required: true;
213
+ }>;
214
+ type Log = viem_Log<bigint, number, false, ExtractAbiItem<typeof Abis.nonce, 'NonceIncremented'>, true>;
215
+ type Parameters = UnionOmit<WatchContractEventParameters<typeof Abis.nonce, 'NonceIncremented', true>, 'abi' | 'address' | 'batch' | 'eventName' | 'onLogs' | 'strict'> & {
216
+ /** Callback to invoke when a nonce is incremented. */
217
+ onNonceIncremented: (args: Args, log: Log) => void;
218
+ };
219
+ }
220
+ /**
221
+ * Watches for active key count changed events.
222
+ *
223
+ * @example
224
+ * ```ts
225
+ * import { createClient, http } from 'viem'
226
+ * import { tempo } from 'tempo.ts/chains'
227
+ * import { Actions } from 'tempo.ts/viem'
228
+ *
229
+ * const client = createClient({
230
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
231
+ * transport: http(),
232
+ * })
233
+ *
234
+ * const unwatch = Actions.nonce.watchActiveKeyCountChanged(client, {
235
+ * onActiveKeyCountChanged: (args, log) => {
236
+ * console.log('Active key count changed:', args)
237
+ * },
238
+ * })
239
+ * ```
240
+ *
241
+ * @param client - Client.
242
+ * @param parameters - Parameters.
243
+ * @returns A function to unsubscribe from the event.
244
+ */
245
+ export declare function watchActiveKeyCountChanged<chain extends Chain | undefined, account extends Account | undefined>(client: Client<Transport, chain, account>, parameters: watchActiveKeyCountChanged.Parameters): import("viem").WatchContractEventReturnType;
246
+ export declare namespace watchActiveKeyCountChanged {
247
+ type Args = GetEventArgs<typeof Abis.nonce, 'ActiveKeyCountChanged', {
248
+ IndexedOnly: false;
249
+ Required: true;
250
+ }>;
251
+ type Log = viem_Log<bigint, number, false, ExtractAbiItem<typeof Abis.nonce, 'ActiveKeyCountChanged'>, true>;
252
+ type Parameters = UnionOmit<WatchContractEventParameters<typeof Abis.nonce, 'ActiveKeyCountChanged', true>, 'abi' | 'address' | 'batch' | 'eventName' | 'onLogs' | 'strict'> & {
253
+ /** Callback to invoke when the active key count changes. */
254
+ onActiveKeyCountChanged: (args: Args, log: Log) => void;
255
+ };
256
+ }
257
+ //# sourceMappingURL=nonce.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nonce.d.ts","sourceRoot":"","sources":["../../../src/viem/Actions/nonce.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EACP,OAAO,EACP,KAAK,EACL,MAAM,EACN,cAAc,EACd,YAAY,EACZ,sBAAsB,EACtB,SAAS,EACT,GAAG,IAAI,QAAQ,EACf,4BAA4B,EAC7B,MAAM,MAAM,CAAA;AAEb,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,IAAI,MAAM,YAAY,CAAA;AAElC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,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AAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,UAAU,EAAE,0BAA0B,CAAC,UAAU,+CAalD;AAED,MAAM,CAAC,OAAO,WAAW,0BAA0B,CAAC;IAClD,KAAY,IAAI,GAAG,YAAY,CAC7B,OAAO,IAAI,CAAC,KAAK,EACjB,uBAAuB,EACvB;QAAE,WAAW,EAAE,KAAK,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE,CACvC,CAAA;IAED,KAAY,GAAG,GAAG,QAAQ,CACxB,MAAM,EACN,MAAM,EACN,KAAK,EACL,cAAc,CAAC,OAAO,IAAI,CAAC,KAAK,EAAE,uBAAuB,CAAC,EAC1D,IAAI,CACL,CAAA;IAED,KAAY,UAAU,GAAG,SAAS,CAChC,4BAA4B,CAC1B,OAAO,IAAI,CAAC,KAAK,EACjB,uBAAuB,EACvB,IAAI,CACL,EACD,KAAK,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,GAAG,QAAQ,GAAG,QAAQ,CAChE,GAAG;QACF,4DAA4D;QAC5D,uBAAuB,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,KAAK,IAAI,CAAA;KACxD,CAAA;CACF"}
@@ -0,0 +1,226 @@
1
+ import { readContract, watchContractEvent } from 'viem/actions';
2
+ import * as Abis from '../Abis.js';
3
+ import * as Addresses from '../Addresses.js';
4
+ import { defineCall } from '../internal/utils.js';
5
+ /**
6
+ * Gets the nonce for an account and nonce key.
7
+ *
8
+ * @example
9
+ * ```ts
10
+ * import { createClient, http } from 'viem'
11
+ * import { tempo } from 'tempo.ts/chains'
12
+ * import { Actions } from 'tempo.ts/viem'
13
+ *
14
+ * const client = createClient({
15
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
16
+ * transport: http(),
17
+ * })
18
+ *
19
+ * const nonce = await Actions.nonce.getNonce(client, {
20
+ * account: '0x...',
21
+ * nonceKey: 1n,
22
+ * })
23
+ * ```
24
+ *
25
+ * @param client - Client.
26
+ * @param parameters - Parameters.
27
+ * @returns The nonce value.
28
+ */
29
+ export async function getNonce(client, parameters) {
30
+ return readContract(client, {
31
+ ...parameters,
32
+ ...getNonce.call(parameters),
33
+ });
34
+ }
35
+ (function (getNonce) {
36
+ /**
37
+ * Defines a call to the `getNonce` function.
38
+ *
39
+ * Can be passed as a parameter to:
40
+ * - [`estimateContractGas`](https://viem.sh/docs/contract/estimateContractGas): estimate the gas cost of the call
41
+ * - [`simulateContract`](https://viem.sh/docs/contract/simulateContract): simulate the call
42
+ * - [`multicall`](https://viem.sh/docs/contract/multicall): execute multiple calls in parallel
43
+ *
44
+ * @example
45
+ * ```ts
46
+ * import { createClient, http } from 'viem'
47
+ * import { tempo } from 'tempo.ts/chains'
48
+ * import { Actions } from 'tempo.ts/viem'
49
+ *
50
+ * const client = createClient({
51
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
52
+ * transport: http(),
53
+ * })
54
+ *
55
+ * const result = await client.multicall({
56
+ * contracts: [
57
+ * Actions.nonce.getNonce.call({ account: '0x...', nonceKey: 1n }),
58
+ * Actions.nonce.getNonce.call({ account: '0x...', nonceKey: 2n }),
59
+ * ],
60
+ * })
61
+ * ```
62
+ *
63
+ * @param args - Arguments.
64
+ * @returns The call.
65
+ */
66
+ function call(args) {
67
+ const { account, nonceKey } = args;
68
+ return defineCall({
69
+ address: Addresses.nonceManager,
70
+ abi: Abis.nonce,
71
+ args: [account, nonceKey],
72
+ functionName: 'getNonce',
73
+ });
74
+ }
75
+ getNonce.call = call;
76
+ })(getNonce || (getNonce = {}));
77
+ /**
78
+ * Gets the number of active nonce keys for an account.
79
+ *
80
+ * @example
81
+ * ```ts
82
+ * import { createClient, http } from 'viem'
83
+ * import { tempo } from 'tempo.ts/chains'
84
+ * import { Actions } from 'tempo.ts/viem'
85
+ *
86
+ * const client = createClient({
87
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
88
+ * transport: http(),
89
+ * })
90
+ *
91
+ * const count = await Actions.nonce.getNonceKeyCount(client, {
92
+ * account: '0x...',
93
+ * })
94
+ * ```
95
+ *
96
+ * @param client - Client.
97
+ * @param parameters - Parameters.
98
+ * @returns The number of active nonce keys.
99
+ */
100
+ export async function getNonceKeyCount(client, parameters) {
101
+ return readContract(client, {
102
+ ...parameters,
103
+ ...getNonceKeyCount.call(parameters),
104
+ });
105
+ }
106
+ (function (getNonceKeyCount) {
107
+ /**
108
+ * Defines a call to the `getNonceKeyCount` function.
109
+ *
110
+ * Can be passed as a parameter to:
111
+ * - [`estimateContractGas`](https://viem.sh/docs/contract/estimateContractGas): estimate the gas cost of the call
112
+ * - [`simulateContract`](https://viem.sh/docs/contract/simulateContract): simulate the call
113
+ * - [`multicall`](https://viem.sh/docs/contract/multicall): execute multiple calls in parallel
114
+ *
115
+ * @example
116
+ * ```ts
117
+ * import { createClient, http } from 'viem'
118
+ * import { tempo } from 'tempo.ts/chains'
119
+ * import { Actions } from 'tempo.ts/viem'
120
+ *
121
+ * const client = createClient({
122
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
123
+ * transport: http(),
124
+ * })
125
+ *
126
+ * const result = await client.multicall({
127
+ * contracts: [
128
+ * Actions.nonce.getNonceKeyCount.call({ account: '0x...' }),
129
+ * Actions.nonce.getNonceKeyCount.call({ account: '0x...' }),
130
+ * ],
131
+ * })
132
+ * ```
133
+ *
134
+ * @param args - Arguments.
135
+ * @returns The call.
136
+ */
137
+ function call(args) {
138
+ const { account } = args;
139
+ return defineCall({
140
+ address: Addresses.nonceManager,
141
+ abi: Abis.nonce,
142
+ args: [account],
143
+ functionName: 'getActiveNonceKeyCount',
144
+ });
145
+ }
146
+ getNonceKeyCount.call = call;
147
+ })(getNonceKeyCount || (getNonceKeyCount = {}));
148
+ /**
149
+ * Watches for nonce incremented events.
150
+ *
151
+ * @example
152
+ * ```ts
153
+ * import { createClient, http } from 'viem'
154
+ * import { tempo } from 'tempo.ts/chains'
155
+ * import { Actions } from 'tempo.ts/viem'
156
+ *
157
+ * const client = createClient({
158
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
159
+ * transport: http(),
160
+ * })
161
+ *
162
+ * const unwatch = Actions.nonce.watchNonceIncremented(client, {
163
+ * onNonceIncremented: (args, log) => {
164
+ * console.log('Nonce incremented:', args)
165
+ * },
166
+ * })
167
+ * ```
168
+ *
169
+ * @param client - Client.
170
+ * @param parameters - Parameters.
171
+ * @returns A function to unsubscribe from the event.
172
+ */
173
+ export function watchNonceIncremented(client, parameters) {
174
+ const { onNonceIncremented, ...rest } = parameters;
175
+ return watchContractEvent(client, {
176
+ ...rest,
177
+ address: Addresses.nonceManager,
178
+ abi: Abis.nonce,
179
+ eventName: 'NonceIncremented',
180
+ onLogs: (logs) => {
181
+ for (const log of logs)
182
+ onNonceIncremented(log.args, log);
183
+ },
184
+ strict: true,
185
+ });
186
+ }
187
+ /**
188
+ * Watches for active key count changed events.
189
+ *
190
+ * @example
191
+ * ```ts
192
+ * import { createClient, http } from 'viem'
193
+ * import { tempo } from 'tempo.ts/chains'
194
+ * import { Actions } from 'tempo.ts/viem'
195
+ *
196
+ * const client = createClient({
197
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
198
+ * transport: http(),
199
+ * })
200
+ *
201
+ * const unwatch = Actions.nonce.watchActiveKeyCountChanged(client, {
202
+ * onActiveKeyCountChanged: (args, log) => {
203
+ * console.log('Active key count changed:', args)
204
+ * },
205
+ * })
206
+ * ```
207
+ *
208
+ * @param client - Client.
209
+ * @param parameters - Parameters.
210
+ * @returns A function to unsubscribe from the event.
211
+ */
212
+ export function watchActiveKeyCountChanged(client, parameters) {
213
+ const { onActiveKeyCountChanged, ...rest } = parameters;
214
+ return watchContractEvent(client, {
215
+ ...rest,
216
+ address: Addresses.nonceManager,
217
+ abi: Abis.nonce,
218
+ eventName: 'ActiveKeyCountChanged',
219
+ onLogs: (logs) => {
220
+ for (const log of logs)
221
+ onActiveKeyCountChanged(log.args, log);
222
+ },
223
+ strict: true,
224
+ });
225
+ }
226
+ //# sourceMappingURL=nonce.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"nonce.js","sourceRoot":"","sources":["../../../src/viem/Actions/nonce.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAE/D,OAAO,KAAK,IAAI,MAAM,YAAY,CAAA;AAClC,OAAO,KAAK,SAAS,MAAM,iBAAiB,CAAA;AAE5C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAM,CAAC,KAAK,UAAU,QAAQ,CAI5B,MAAyC,EACzC,UAA+B;IAE/B,OAAO,YAAY,CAAC,MAAM,EAAE;QAC1B,GAAG,UAAU;QACb,GAAG,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC;KAC7B,CAAC,CAAA;AACJ,CAAC;AAED,WAAiB,QAAQ;IAgBvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,SAAgB,IAAI,CAAC,IAAU;QAC7B,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,IAAI,CAAA;QAClC,OAAO,UAAU,CAAC;YAChB,OAAO,EAAE,SAAS,CAAC,YAAY;YAC/B,GAAG,EAAE,IAAI,CAAC,KAAK;YACf,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC;YACzB,YAAY,EAAE,UAAU;SACzB,CAAC,CAAA;IACJ,CAAC;IARe,aAAI,OAQnB,CAAA;AACH,CAAC,EAvDgB,QAAQ,KAAR,QAAQ,QAuDxB;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,CAAC,KAAK,UAAU,gBAAgB,CAIpC,MAAyC,EACzC,UAAuC;IAEvC,OAAO,YAAY,CAAC,MAAM,EAAE;QAC1B,GAAG,UAAU;QACb,GAAG,gBA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AAE,SAAS,CAAC,YAAY;QAC/B,GAAG,EAAE,IAAI,CAAC,KAAK;QACf,SAAS,EAAE,uBAAuB;QAClC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;YACf,KAAK,MAAM,GAAG,IAAI,IAAI;gBAAE,uBAAuB,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,CAAA;QAChE,CAAC;QACD,MAAM,EAAE,IAAI;KACb,CAAC,CAAA;AACJ,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export declare const accountImplementation = "0x7702c00000000000000000000000000000000000";
2
2
  export declare const accountRegistrar = "0x7702ac0000000000000000000000000000000000";
3
3
  export declare const feeManager = "0xfeec000000000000000000000000000000000000";
4
+ export declare const nonceManager = "0x4e4F4E4345000000000000000000000000000000";
4
5
  export declare const pathUsd = "0x20c0000000000000000000000000000000000000";
5
6
  export declare const stablecoinExchange = "0xdec0000000000000000000000000000000000000";
6
7
  export declare const tip20Factory = "0x20fc000000000000000000000000000000000000";
@@ -1 +1 @@
1
- {"version":3,"file":"Addresses.d.ts","sourceRoot":"","sources":["../../src/viem/Addresses.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,+CACY,CAAA;AAC9C,eAAO,MAAM,gBAAgB,+CAA+C,CAAA;AAC5E,eAAO,MAAM,UAAU,+CAA+C,CAAA;AACtE,eAAO,MAAM,OAAO,+CAA+C,CAAA;AACnE,eAAO,MAAM,kBAAkB,+CAA+C,CAAA;AAC9E,eAAO,MAAM,YAAY,+CAA+C,CAAA;AACxE,eAAO,MAAM,cAAc,+CAA+C,CAAA"}
1
+ {"version":3,"file":"Addresses.d.ts","sourceRoot":"","sources":["../../src/viem/Addresses.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,+CACY,CAAA;AAC9C,eAAO,MAAM,gBAAgB,+CAA+C,CAAA;AAC5E,eAAO,MAAM,UAAU,+CAA+C,CAAA;AACtE,eAAO,MAAM,YAAY,+CAA+C,CAAA;AACxE,eAAO,MAAM,OAAO,+CAA+C,CAAA;AACnE,eAAO,MAAM,kBAAkB,+CAA+C,CAAA;AAC9E,eAAO,MAAM,YAAY,+CAA+C,CAAA;AACxE,eAAO,MAAM,cAAc,+CAA+C,CAAA"}
@@ -1,6 +1,7 @@
1
1
  export const accountImplementation = '0x7702c00000000000000000000000000000000000';
2
2
  export const accountRegistrar = '0x7702ac0000000000000000000000000000000000';
3
3
  export const feeManager = '0xfeec000000000000000000000000000000000000';
4
+ export const nonceManager = '0x4e4F4E4345000000000000000000000000000000';
4
5
  export const pathUsd = '0x20c0000000000000000000000000000000000000';
5
6
  export const stablecoinExchange = '0xdec0000000000000000000000000000000000000';
6
7
  export const tip20Factory = '0x20fc000000000000000000000000000000000000';
@@ -1 +1 @@
1
- {"version":3,"file":"Addresses.js","sourceRoot":"","sources":["../../src/viem/Addresses.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAChC,4CAA4C,CAAA;AAC9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,4CAA4C,CAAA;AAC5E,MAAM,CAAC,MAAM,UAAU,GAAG,4CAA4C,CAAA;AACtE,MAAM,CAAC,MAAM,OAAO,GAAG,4CAA4C,CAAA;AACnE,MAAM,CAAC,MAAM,kBAAkB,GAAG,4CAA4C,CAAA;AAC9E,MAAM,CAAC,MAAM,YAAY,GAAG,4CAA4C,CAAA;AACxE,MAAM,CAAC,MAAM,cAAc,GAAG,4CAA4C,CAAA"}
1
+ {"version":3,"file":"Addresses.js","sourceRoot":"","sources":["../../src/viem/Addresses.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,qBAAqB,GAChC,4CAA4C,CAAA;AAC9C,MAAM,CAAC,MAAM,gBAAgB,GAAG,4CAA4C,CAAA;AAC5E,MAAM,CAAC,MAAM,UAAU,GAAG,4CAA4C,CAAA;AACtE,MAAM,CAAC,MAAM,YAAY,GAAG,4CAA4C,CAAA;AACxE,MAAM,CAAC,MAAM,OAAO,GAAG,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S,EAEhD,UAAU,EAAE,UAAU,KACnB,UAAU,CAAC,OAAO,MAAM,CAAC,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG;QAAE,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,CAAA;KAAE,CAAA;CAC1E"}
@@ -60,7 +60,10 @@ function config(chain) {
60
60
  const nonceKey = (() => {
61
61
  if (typeof request.nonceKey !== 'undefined')
62
62
  return request.nonceKey;
63
- return nonceKeyManager.get();
63
+ const nonceKey = nonceKeyManager.get();
64
+ if (nonceKey === 0n)
65
+ return undefined;
66
+ return nonceKey;
64
67
  })();
65
68
  const nonce = (() => {
66
69
  if (typeof request.nonce === 'number')
@@ -1 +1 @@
1
- {"version":3,"file":"Chain.js","sourceRoot":"","sources":["../../src/viem/Chain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,QAAQ,CAAA;AAC7B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,wBAAwB,GAGzB,MAAM,MAAM,CAAA;AAGb,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAA;AAgB/C,SAAS,MAAM,CAA4B,KAAY;IACrD,MAAM,eAAe,GAAG;QACtB,OAAO,EAAE,CAAC;QACV,cAAc,EAAE,KAAK;QACrB,KAAK;YACH,IAAI,CAAC,OAAO,GAAG,CAAC,CAAA;YAChB,IAAI,CAAC,cAAc,GAAG,KAAK,CAAA;QAC7B,CAAC;QACD,GAAG;YACD,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;gBACzB,IAAI,CAAC,cAAc,GAAG,IAAI,CAAA;gBAC1B,cAAc,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAA;YACpC,CAAC;YACD,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAA;YAC1B,IAAI,CAAC,OAAO,EAAE,CAAA;YACd,IAAI,KAAK,KAAK,CAAC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W,CAAC,SAAS,CACnB;gBACE,GAAG,WAAW;gBACd,2DAA2D;gBAC3D,mEAAmE;gBACnE,gDAAgD;gBAChD,GAAG,CAAE,WAAsC,CAAC,QAAQ,KAAK,IAAI;oBAC3D,CAAC,CAAC;wBACE,QAAQ,EACL,WAAsC,CAAC,QAAQ;4BAChD,KAAK,CAAC,QAAQ;4BACd,SAAS;qBACZ;oBACH,CAAC,CAAC,EAAE,CAAC;aACC,EACV,SAAS,CACV,CAA2B;SAC/B;QACD,GAAG,KAAK;KACqB,CAAA;AACjC,CAAC;AAED,MAAM,UAAU,MAAM,CACpB,KAAY;IAEZ,OAAO,MAAM,CAAC,MAAM,CAClB,CAAC,UAAU,GAAG,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,UAAU,EAAE,CAAC,EACxD,EAAE,EAAE,EAAE,KAAK,CAAC,EAAE,EAAE,CACR,CAAA;AACZ,CAAC"}
@@ -16,5 +16,5 @@ export type GetFeeTokenParameter<chain extends Chain | undefined = Chain | undef
16
16
  };
17
17
  export type ReadParameters = Pick<viem_ReadContractParameters<never, never, never>, 'account' | 'blockNumber' | 'blockOverrides' | 'blockTag' | 'stateOverride'>;
18
18
  export type TokenIdOrAddress = bigint | Address;
19
- export type WriteParameters<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined> = UnionPick<viem_WriteContractSyncParameters<never, never, never, chain, account>, 'account' | 'chain' | 'gas' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'throwOnReceiptRevert'> & GetFeeTokenParameter<chain> & UnionPick<TransactionRequestTempo, 'feePayer'>;
19
+ export type WriteParameters<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined> = UnionPick<viem_WriteContractSyncParameters<never, never, never, chain, account>, 'account' | 'chain' | 'gas' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'throwOnReceiptRevert'> & GetFeeTokenParameter<chain> & UnionPick<TransactionRequestTempo, 'feePayer' | 'nonceKey' | 'validAfter' | 'validBefore'>;
20
20
  //# sourceMappingURL=types.d.ts.map