tempo.ts 0.11.0 → 0.12.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.
Files changed (196) hide show
  1. package/CHANGELOG.md +67 -4
  2. package/README.md +3 -34
  3. package/dist/server/Handler.d.ts +14 -14
  4. package/dist/server/Handler.d.ts.map +1 -1
  5. package/dist/server/Handler.js +16 -17
  6. package/dist/server/Handler.js.map +1 -1
  7. package/dist/wagmi/Actions/amm.d.ts +51 -51
  8. package/dist/wagmi/Actions/amm.d.ts.map +1 -1
  9. package/dist/wagmi/Actions/amm.js +37 -37
  10. package/dist/wagmi/Actions/amm.js.map +1 -1
  11. package/dist/wagmi/Actions/dex.d.ts +129 -129
  12. package/dist/wagmi/Actions/dex.d.ts.map +1 -1
  13. package/dist/wagmi/Actions/dex.js +73 -73
  14. package/dist/wagmi/Actions/dex.js.map +1 -1
  15. package/dist/wagmi/Actions/faucet.d.ts +9 -9
  16. package/dist/wagmi/Actions/faucet.d.ts.map +1 -1
  17. package/dist/wagmi/Actions/faucet.js +7 -7
  18. package/dist/wagmi/Actions/faucet.js.map +1 -1
  19. package/dist/wagmi/Actions/fee.d.ts +17 -17
  20. package/dist/wagmi/Actions/fee.d.ts.map +1 -1
  21. package/dist/wagmi/Actions/fee.js +10 -10
  22. package/dist/wagmi/Actions/fee.js.map +1 -1
  23. package/dist/wagmi/Actions/nonce.d.ts +9 -79
  24. package/dist/wagmi/Actions/nonce.d.ts.map +1 -1
  25. package/dist/wagmi/Actions/nonce.js +7 -89
  26. package/dist/wagmi/Actions/nonce.js.map +1 -1
  27. package/dist/wagmi/Actions/policy.d.ts +69 -70
  28. package/dist/wagmi/Actions/policy.d.ts.map +1 -1
  29. package/dist/wagmi/Actions/policy.js +43 -43
  30. package/dist/wagmi/Actions/policy.js.map +1 -1
  31. package/dist/wagmi/Actions/reward.d.ts +51 -51
  32. package/dist/wagmi/Actions/reward.d.ts.map +1 -1
  33. package/dist/wagmi/Actions/reward.js +31 -31
  34. package/dist/wagmi/Actions/reward.js.map +1 -1
  35. package/dist/wagmi/Actions/token.d.ts +238 -238
  36. package/dist/wagmi/Actions/token.d.ts.map +1 -1
  37. package/dist/wagmi/Actions/token.js +136 -136
  38. package/dist/wagmi/Actions/token.js.map +1 -1
  39. package/dist/wagmi/Connector.d.ts +2 -1
  40. package/dist/wagmi/Connector.d.ts.map +1 -1
  41. package/dist/wagmi/Connector.js +83 -22
  42. package/dist/wagmi/Connector.js.map +1 -1
  43. package/dist/wagmi/Hooks/nonce.d.ts +1 -52
  44. package/dist/wagmi/Hooks/nonce.d.ts.map +1 -1
  45. package/dist/wagmi/Hooks/nonce.js +1 -70
  46. package/dist/wagmi/Hooks/nonce.js.map +1 -1
  47. package/dist/wagmi/Hooks/policy.d.ts +0 -1
  48. package/dist/wagmi/Hooks/policy.d.ts.map +1 -1
  49. package/dist/wagmi/Hooks/policy.js.map +1 -1
  50. package/dist/wagmi/KeyManager.d.ts +6 -3
  51. package/dist/wagmi/KeyManager.d.ts.map +1 -1
  52. package/dist/wagmi/KeyManager.js +9 -4
  53. package/dist/wagmi/KeyManager.js.map +1 -1
  54. package/package.json +2 -2
  55. package/src/server/Handler.test.ts +2 -2
  56. package/src/server/Handler.ts +16 -17
  57. package/src/wagmi/Actions/amm.ts +63 -63
  58. package/src/wagmi/Actions/dex.test.ts +1 -1
  59. package/src/wagmi/Actions/dex.ts +153 -153
  60. package/src/wagmi/Actions/faucet.ts +11 -11
  61. package/src/wagmi/Actions/fee.ts +20 -20
  62. package/src/wagmi/Actions/nonce.test.ts +1 -64
  63. package/src/wagmi/Actions/nonce.ts +10 -142
  64. package/src/wagmi/Actions/policy.ts +83 -85
  65. package/src/wagmi/Actions/reward.ts +64 -61
  66. package/src/wagmi/Actions/token.ts +287 -283
  67. package/src/wagmi/Connector.ts +105 -31
  68. package/src/wagmi/Hooks/dex.test.ts +1 -1
  69. package/src/wagmi/Hooks/fee.test.ts +0 -6
  70. package/src/wagmi/Hooks/nonce.test.ts +1 -66
  71. package/src/wagmi/Hooks/nonce.ts +1 -114
  72. package/src/wagmi/Hooks/policy.ts +0 -2
  73. package/src/wagmi/KeyManager.ts +18 -5
  74. package/dist/viem/Abis.d.ts +0 -2649
  75. package/dist/viem/Abis.d.ts.map +0 -1
  76. package/dist/viem/Abis.js +0 -1677
  77. package/dist/viem/Abis.js.map +0 -1
  78. package/dist/viem/Account.d.ts +0 -244
  79. package/dist/viem/Account.d.ts.map +0 -1
  80. package/dist/viem/Account.js +0 -382
  81. package/dist/viem/Account.js.map +0 -1
  82. package/dist/viem/Actions/amm.d.ts +0 -1991
  83. package/dist/viem/Actions/amm.d.ts.map +0 -1
  84. package/dist/viem/Actions/amm.js +0 -814
  85. package/dist/viem/Actions/amm.js.map +0 -1
  86. package/dist/viem/Actions/dex.d.ts +0 -3900
  87. package/dist/viem/Actions/dex.d.ts.map +0 -1
  88. package/dist/viem/Actions/dex.js +0 -1414
  89. package/dist/viem/Actions/dex.js.map +0 -1
  90. package/dist/viem/Actions/faucet.d.ts +0 -69
  91. package/dist/viem/Actions/faucet.d.ts.map +0 -1
  92. package/dist/viem/Actions/faucet.js +0 -73
  93. package/dist/viem/Actions/faucet.js.map +0 -1
  94. package/dist/viem/Actions/fee.d.ts +0 -360
  95. package/dist/viem/Actions/fee.d.ts.map +0 -1
  96. package/dist/viem/Actions/fee.js +0 -237
  97. package/dist/viem/Actions/fee.js.map +0 -1
  98. package/dist/viem/Actions/nonce.d.ts +0 -257
  99. package/dist/viem/Actions/nonce.d.ts.map +0 -1
  100. package/dist/viem/Actions/nonce.js +0 -228
  101. package/dist/viem/Actions/nonce.js.map +0 -1
  102. package/dist/viem/Actions/policy.d.ts +0 -1680
  103. package/dist/viem/Actions/policy.d.ts.map +0 -1
  104. package/dist/viem/Actions/policy.js +0 -875
  105. package/dist/viem/Actions/policy.js.map +0 -1
  106. package/dist/viem/Actions/reward.d.ts +0 -2422
  107. package/dist/viem/Actions/reward.d.ts.map +0 -1
  108. package/dist/viem/Actions/reward.js +0 -651
  109. package/dist/viem/Actions/reward.js.map +0 -1
  110. package/dist/viem/Actions/token.d.ts +0 -16007
  111. package/dist/viem/Actions/token.d.ts.map +0 -1
  112. package/dist/viem/Actions/token.js +0 -2936
  113. package/dist/viem/Actions/token.js.map +0 -1
  114. package/dist/viem/Addresses.d.ts +0 -9
  115. package/dist/viem/Addresses.d.ts.map +0 -1
  116. package/dist/viem/Addresses.js +0 -9
  117. package/dist/viem/Addresses.js.map +0 -1
  118. package/dist/viem/Chain.d.ts +0 -451
  119. package/dist/viem/Chain.d.ts.map +0 -1
  120. package/dist/viem/Chain.js +0 -96
  121. package/dist/viem/Chain.js.map +0 -1
  122. package/dist/viem/Formatters.d.ts +0 -10
  123. package/dist/viem/Formatters.d.ts.map +0 -1
  124. package/dist/viem/Formatters.js +0 -104
  125. package/dist/viem/Formatters.js.map +0 -1
  126. package/dist/viem/Storage.d.ts +0 -24
  127. package/dist/viem/Storage.d.ts.map +0 -1
  128. package/dist/viem/Storage.js +0 -68
  129. package/dist/viem/Storage.js.map +0 -1
  130. package/dist/viem/Transaction.d.ts +0 -76
  131. package/dist/viem/Transaction.d.ts.map +0 -1
  132. package/dist/viem/Transaction.js +0 -176
  133. package/dist/viem/Transaction.js.map +0 -1
  134. package/dist/viem/Transport.d.ts +0 -33
  135. package/dist/viem/Transport.d.ts.map +0 -1
  136. package/dist/viem/Transport.js +0 -138
  137. package/dist/viem/Transport.js.map +0 -1
  138. package/dist/viem/WebAuthnP256.d.ts +0 -82
  139. package/dist/viem/WebAuthnP256.d.ts.map +0 -1
  140. package/dist/viem/WebAuthnP256.js +0 -97
  141. package/dist/viem/WebAuthnP256.js.map +0 -1
  142. package/dist/viem/WebCryptoP256.d.ts +0 -2
  143. package/dist/viem/WebCryptoP256.d.ts.map +0 -1
  144. package/dist/viem/WebCryptoP256.js +0 -2
  145. package/dist/viem/WebCryptoP256.js.map +0 -1
  146. package/dist/viem/internal/types.d.ts +0 -20
  147. package/dist/viem/internal/types.d.ts.map +0 -1
  148. package/dist/viem/internal/types.js +0 -2
  149. package/dist/viem/internal/types.js.map +0 -1
  150. package/dist/viem/internal/utils.d.ts +0 -14
  151. package/dist/viem/internal/utils.d.ts.map +0 -1
  152. package/dist/viem/internal/utils.js +0 -33
  153. package/dist/viem/internal/utils.js.map +0 -1
  154. package/src/chains.ts +0 -54
  155. package/src/viem/Abis.ts +0 -1688
  156. package/src/viem/Account.test.ts +0 -444
  157. package/src/viem/Account.ts +0 -601
  158. package/src/viem/Actions/account.test.ts +0 -414
  159. package/src/viem/Actions/account.ts +0 -106
  160. package/src/viem/Actions/amm.test.ts +0 -381
  161. package/src/viem/Actions/amm.ts +0 -1227
  162. package/src/viem/Actions/dex.test.ts +0 -1549
  163. package/src/viem/Actions/dex.ts +0 -2150
  164. package/src/viem/Actions/faucet.ts +0 -121
  165. package/src/viem/Actions/fee.test.ts +0 -259
  166. package/src/viem/Actions/fee.ts +0 -372
  167. package/src/viem/Actions/index.ts +0 -9
  168. package/src/viem/Actions/nonce.test.ts +0 -206
  169. package/src/viem/Actions/nonce.ts +0 -347
  170. package/src/viem/Actions/policy.test.ts +0 -534
  171. package/src/viem/Actions/policy.ts +0 -1335
  172. package/src/viem/Actions/reward.test.ts +0 -434
  173. package/src/viem/Actions/reward.ts +0 -944
  174. package/src/viem/Actions/token.test.ts +0 -3029
  175. package/src/viem/Actions/token.ts +0 -4458
  176. package/src/viem/Addresses.ts +0 -9
  177. package/src/viem/Chain.bench-d.ts +0 -12
  178. package/src/viem/Chain.test.ts +0 -168
  179. package/src/viem/Chain.ts +0 -157
  180. package/src/viem/Decorator.bench-d.ts +0 -11
  181. package/src/viem/Decorator.test.ts +0 -39
  182. package/src/viem/Decorator.ts +0 -3179
  183. package/src/viem/Formatters.ts +0 -164
  184. package/src/viem/P256.ts +0 -1
  185. package/src/viem/Secp256k1.ts +0 -1
  186. package/src/viem/Storage.ts +0 -110
  187. package/src/viem/TokenIds.ts +0 -1
  188. package/src/viem/Transaction.ts +0 -382
  189. package/src/viem/Transport.ts +0 -191
  190. package/src/viem/WebAuthnP256.ts +0 -146
  191. package/src/viem/WebCryptoP256.ts +0 -1
  192. package/src/viem/e2e.test.ts +0 -1602
  193. package/src/viem/index.ts +0 -30
  194. package/src/viem/internal/types.ts +0 -69
  195. package/src/viem/internal/utils.ts +0 -58
  196. package/src/wagmi/internal/types.ts +0 -16
@@ -2,19 +2,19 @@ import type * as Query from '@tanstack/query-core';
2
2
  import { type Config } from '@wagmi/core';
3
3
  import type { ChainIdParameter, ConnectorParameter } from '@wagmi/core/internal';
4
4
  import type { Account } from 'viem';
5
+ import { Actions } from 'viem/tempo';
5
6
  import type { PartialBy, RequiredBy, UnionOmit } from '../../internal/types.js';
6
- import * as viem_Actions from '../../viem/Actions/dex.js';
7
7
  /**
8
8
  * Buys a specific amount of tokens.
9
9
  *
10
10
  * @example
11
11
  * ```ts
12
12
  * import { createConfig, http } from '@wagmi/core'
13
- * import { tempo } from 'tempo.ts/chains'
13
+ * import { tempo } from 'viem/chains'
14
14
  * import { Actions } from 'tempo.ts/wagmi'
15
15
  *
16
16
  * const config = createConfig({
17
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
17
+ * chains: [tempoTestnet],
18
18
  * transports: {
19
19
  * [tempo.id]: http(),
20
20
  * },
@@ -32,11 +32,11 @@ import * as viem_Actions from '../../viem/Actions/dex.js';
32
32
  * @param parameters - Parameters.
33
33
  * @returns The transaction hash.
34
34
  */
35
- export declare function buy<config extends Config>(config: config, parameters: buy.Parameters<config>): Promise<viem_Actions.buy.ReturnValue>;
35
+ export declare function buy<config extends Config>(config: config, parameters: buy.Parameters<config>): Promise<Actions.dex.buy.ReturnValue>;
36
36
  export declare namespace buy {
37
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.buy.Parameters<config['chains'][number], Account>, 'chain'>;
38
- type ReturnValue = viem_Actions.buy.ReturnValue;
39
- type ErrorType = viem_Actions.buy.ErrorType;
37
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.buy.Parameters<config['chains'][number], Account>, 'chain'>;
38
+ type ReturnValue = Actions.dex.buy.ReturnValue;
39
+ type ErrorType = Actions.dex.buy.ErrorType;
40
40
  }
41
41
  /**
42
42
  * Buys a specific amount of tokens.
@@ -47,11 +47,11 @@ export declare namespace buy {
47
47
  * @example
48
48
  * ```ts
49
49
  * import { createConfig, http } from '@wagmi/core'
50
- * import { tempo } from 'tempo.ts/chains'
50
+ * import { tempo } from 'viem/chains'
51
51
  * import { Actions } from 'tempo.ts/wagmi'
52
52
  *
53
53
  * const config = createConfig({
54
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
54
+ * chains: [tempoTestnet],
55
55
  * transports: {
56
56
  * [tempo.id]: http(),
57
57
  * },
@@ -69,11 +69,11 @@ export declare namespace buy {
69
69
  * @param parameters - Parameters.
70
70
  * @returns The transaction receipt.
71
71
  */
72
- export declare function buySync<config extends Config>(config: config, parameters: buySync.Parameters<config>): Promise<viem_Actions.buySync.ReturnValue>;
72
+ export declare function buySync<config extends Config>(config: config, parameters: buySync.Parameters<config>): Promise<Actions.dex.buySync.ReturnValue>;
73
73
  export declare namespace buySync {
74
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.buySync.Parameters<config['chains'][number], Account>, 'chain'>;
75
- type ReturnValue = viem_Actions.buySync.ReturnValue;
76
- type ErrorType = viem_Actions.buySync.ErrorType;
74
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.buySync.Parameters<config['chains'][number], Account>, 'chain'>;
75
+ type ReturnValue = Actions.dex.buySync.ReturnValue;
76
+ type ErrorType = Actions.dex.buySync.ErrorType;
77
77
  }
78
78
  /**
79
79
  * Cancels an order from the orderbook.
@@ -81,11 +81,11 @@ export declare namespace buySync {
81
81
  * @example
82
82
  * ```ts
83
83
  * import { createConfig, http } from '@wagmi/core'
84
- * import { tempo } from 'tempo.ts/chains'
84
+ * import { tempo } from 'viem/chains'
85
85
  * import { Actions } from 'tempo.ts/wagmi'
86
86
  *
87
87
  * const config = createConfig({
88
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
88
+ * chains: [tempoTestnet],
89
89
  * transports: {
90
90
  * [tempo.id]: http(),
91
91
  * },
@@ -100,11 +100,11 @@ export declare namespace buySync {
100
100
  * @param parameters - Parameters.
101
101
  * @returns The transaction hash.
102
102
  */
103
- export declare function cancel<config extends Config>(config: config, parameters: cancel.Parameters<config>): Promise<viem_Actions.cancel.ReturnValue>;
103
+ export declare function cancel<config extends Config>(config: config, parameters: cancel.Parameters<config>): Promise<Actions.dex.cancel.ReturnValue>;
104
104
  export declare namespace cancel {
105
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.cancel.Parameters<config['chains'][number], Account>, 'chain'>;
106
- type ReturnValue = viem_Actions.cancel.ReturnValue;
107
- type ErrorType = viem_Actions.cancel.ErrorType;
105
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.cancel.Parameters<config['chains'][number], Account>, 'chain'>;
106
+ type ReturnValue = Actions.dex.cancel.ReturnValue;
107
+ type ErrorType = Actions.dex.cancel.ErrorType;
108
108
  }
109
109
  /**
110
110
  * Cancels an order from the orderbook.
@@ -115,11 +115,11 @@ export declare namespace cancel {
115
115
  * @example
116
116
  * ```ts
117
117
  * import { createConfig, http } from '@wagmi/core'
118
- * import { tempo } from 'tempo.ts/chains'
118
+ * import { tempo } from 'viem/chains'
119
119
  * import { Actions } from 'tempo.ts/wagmi'
120
120
  *
121
121
  * const config = createConfig({
122
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
122
+ * chains: [tempoTestnet],
123
123
  * transports: {
124
124
  * [tempo.id]: http(),
125
125
  * },
@@ -134,11 +134,11 @@ export declare namespace cancel {
134
134
  * @param parameters - Parameters.
135
135
  * @returns The transaction receipt and event data.
136
136
  */
137
- export declare function cancelSync<config extends Config>(config: config, parameters: cancelSync.Parameters<config>): Promise<viem_Actions.cancelSync.ReturnValue>;
137
+ export declare function cancelSync<config extends Config>(config: config, parameters: cancelSync.Parameters<config>): Promise<Actions.dex.cancelSync.ReturnValue>;
138
138
  export declare namespace cancelSync {
139
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.cancelSync.Parameters<config['chains'][number], Account>, 'chain'>;
140
- type ReturnValue = viem_Actions.cancelSync.ReturnValue;
141
- type ErrorType = viem_Actions.cancelSync.ErrorType;
139
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.cancelSync.Parameters<config['chains'][number], Account>, 'chain'>;
140
+ type ReturnValue = Actions.dex.cancelSync.ReturnValue;
141
+ type ErrorType = Actions.dex.cancelSync.ErrorType;
142
142
  }
143
143
  /**
144
144
  * Creates a new trading pair on the DEX.
@@ -146,11 +146,11 @@ export declare namespace cancelSync {
146
146
  * @example
147
147
  * ```ts
148
148
  * import { createConfig, http } from '@wagmi/core'
149
- * import { tempo } from 'tempo.ts/chains'
149
+ * import { tempo } from 'viem/chains'
150
150
  * import { Actions } from 'tempo.ts/wagmi'
151
151
  *
152
152
  * const config = createConfig({
153
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
153
+ * chains: [tempoTestnet],
154
154
  * transports: {
155
155
  * [tempo.id]: http(),
156
156
  * },
@@ -165,11 +165,11 @@ export declare namespace cancelSync {
165
165
  * @param parameters - Parameters.
166
166
  * @returns The transaction hash.
167
167
  */
168
- export declare function createPair<config extends Config>(config: config, parameters: createPair.Parameters<config>): Promise<viem_Actions.createPair.ReturnValue>;
168
+ export declare function createPair<config extends Config>(config: config, parameters: createPair.Parameters<config>): Promise<Actions.dex.createPair.ReturnValue>;
169
169
  export declare namespace createPair {
170
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.createPair.Parameters<config['chains'][number], Account>, 'chain'>;
171
- type ReturnValue = viem_Actions.createPair.ReturnValue;
172
- type ErrorType = viem_Actions.createPair.ErrorType;
170
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.createPair.Parameters<config['chains'][number], Account>, 'chain'>;
171
+ type ReturnValue = Actions.dex.createPair.ReturnValue;
172
+ type ErrorType = Actions.dex.createPair.ErrorType;
173
173
  }
174
174
  /**
175
175
  * Creates a new trading pair on the DEX.
@@ -180,11 +180,11 @@ export declare namespace createPair {
180
180
  * @example
181
181
  * ```ts
182
182
  * import { createConfig, http } from '@wagmi/core'
183
- * import { tempo } from 'tempo.ts/chains'
183
+ * import { tempo } from 'viem/chains'
184
184
  * import { Actions } from 'tempo.ts/wagmi'
185
185
  *
186
186
  * const config = createConfig({
187
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
187
+ * chains: [tempoTestnet],
188
188
  * transports: {
189
189
  * [tempo.id]: http(),
190
190
  * },
@@ -199,11 +199,11 @@ export declare namespace createPair {
199
199
  * @param parameters - Parameters.
200
200
  * @returns The transaction receipt and event data.
201
201
  */
202
- export declare function createPairSync<config extends Config>(config: config, parameters: createPairSync.Parameters<config>): Promise<viem_Actions.createPairSync.ReturnValue>;
202
+ export declare function createPairSync<config extends Config>(config: config, parameters: createPairSync.Parameters<config>): Promise<Actions.dex.createPairSync.ReturnValue>;
203
203
  export declare namespace createPairSync {
204
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.createPairSync.Parameters<config['chains'][number], Account>, 'chain'>;
205
- type ReturnValue = viem_Actions.createPairSync.ReturnValue;
206
- type ErrorType = viem_Actions.createPairSync.ErrorType;
204
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.createPairSync.Parameters<config['chains'][number], Account>, 'chain'>;
205
+ type ReturnValue = Actions.dex.createPairSync.ReturnValue;
206
+ type ErrorType = Actions.dex.createPairSync.ErrorType;
207
207
  }
208
208
  /**
209
209
  * Gets a user's token balance on the DEX.
@@ -211,11 +211,11 @@ export declare namespace createPairSync {
211
211
  * @example
212
212
  * ```ts
213
213
  * import { createConfig, http } from '@wagmi/core'
214
- * import { tempo } from 'tempo.ts/chains'
214
+ * import { tempo } from 'viem/chains'
215
215
  * import { Actions } from 'tempo.ts/wagmi'
216
216
  *
217
217
  * const config = createConfig({
218
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
218
+ * chains: [tempoTestnet],
219
219
  * transports: {
220
220
  * [tempo.id]: http(),
221
221
  * },
@@ -233,8 +233,8 @@ export declare namespace createPairSync {
233
233
  */
234
234
  export declare function getBalance<config extends Config>(config: config, parameters: getBalance.Parameters<config>): Promise<getBalance.ReturnValue>;
235
235
  export declare namespace getBalance {
236
- type Parameters<config extends Config> = ChainIdParameter<config> & viem_Actions.getBalance.Parameters;
237
- type ReturnValue = viem_Actions.getBalance.ReturnValue;
236
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.dex.getBalance.Parameters;
237
+ type ReturnValue = Actions.dex.getBalance.ReturnValue;
238
238
  function queryKey<config extends Config>(parameters: PartialBy<Parameters<config>, 'account'>): readonly ["getBalance", PartialBy<Parameters<config>, "account">];
239
239
  type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
240
240
  function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
@@ -251,11 +251,11 @@ export declare namespace getBalance {
251
251
  * @example
252
252
  * ```ts
253
253
  * import { createConfig, http } from '@wagmi/core'
254
- * import { tempo } from 'tempo.ts/chains'
254
+ * import { tempo } from 'viem/chains'
255
255
  * import { Actions } from 'tempo.ts/wagmi'
256
256
  *
257
257
  * const config = createConfig({
258
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
258
+ * chains: [tempoTestnet],
259
259
  * transports: {
260
260
  * [tempo.id]: http(),
261
261
  * },
@@ -274,8 +274,8 @@ export declare namespace getBalance {
274
274
  */
275
275
  export declare function getBuyQuote<config extends Config>(config: config, parameters: getBuyQuote.Parameters<config>): Promise<getBuyQuote.ReturnValue>;
276
276
  export declare namespace getBuyQuote {
277
- type Parameters<config extends Config> = ChainIdParameter<config> & viem_Actions.getBuyQuote.Parameters;
278
- type ReturnValue = viem_Actions.getBuyQuote.ReturnValue;
277
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.dex.getBuyQuote.Parameters;
278
+ type ReturnValue = Actions.dex.getBuyQuote.ReturnValue;
279
279
  function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getBuyQuote", Parameters<config>];
280
280
  type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
281
281
  function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
@@ -292,11 +292,11 @@ export declare namespace getBuyQuote {
292
292
  * @example
293
293
  * ```ts
294
294
  * import { createConfig, http } from '@wagmi/core'
295
- * import { tempo } from 'tempo.ts/chains'
295
+ * import { tempo } from 'viem/chains'
296
296
  * import { Actions } from 'tempo.ts/wagmi'
297
297
  *
298
298
  * const config = createConfig({
299
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
299
+ * chains: [tempoTestnet],
300
300
  * transports: {
301
301
  * [tempo.id]: http(),
302
302
  * },
@@ -313,8 +313,8 @@ export declare namespace getBuyQuote {
313
313
  */
314
314
  export declare function getOrder<config extends Config>(config: config, parameters: getOrder.Parameters<config>): Promise<getOrder.ReturnValue>;
315
315
  export declare namespace getOrder {
316
- type Parameters<config extends Config> = ChainIdParameter<config> & viem_Actions.getOrder.Parameters;
317
- type ReturnValue = viem_Actions.getOrder.ReturnValue;
316
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.dex.getOrder.Parameters;
317
+ type ReturnValue = Actions.dex.getOrder.ReturnValue;
318
318
  function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getOrder", Parameters<config>];
319
319
  type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
320
320
  function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
@@ -331,11 +331,11 @@ export declare namespace getOrder {
331
331
  * @example
332
332
  * ```ts
333
333
  * import { createConfig, http } from '@wagmi/core'
334
- * import { tempo } from 'tempo.ts/chains'
334
+ * import { tempo } from 'viem/chains'
335
335
  * import { Actions } from 'tempo.ts/wagmi'
336
336
  *
337
337
  * const config = createConfig({
338
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
338
+ * chains: [tempoTestnet],
339
339
  * transports: {
340
340
  * [tempo.id]: http(),
341
341
  * },
@@ -353,8 +353,8 @@ export declare namespace getOrder {
353
353
  */
354
354
  export declare function getOrderbook<config extends Config>(config: config, parameters: getOrderbook.Parameters<config>): Promise<getOrderbook.ReturnValue>;
355
355
  export declare namespace getOrderbook {
356
- type Parameters<config extends Config> = ChainIdParameter<config> & viem_Actions.getOrderbook.Parameters;
357
- type ReturnValue = viem_Actions.getOrderbook.ReturnValue;
356
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.dex.getOrderbook.Parameters;
357
+ type ReturnValue = Actions.dex.getOrderbook.ReturnValue;
358
358
  function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getOrderbook", Parameters<config>];
359
359
  type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
360
360
  function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
@@ -371,11 +371,11 @@ export declare namespace getOrderbook {
371
371
  * @example
372
372
  * ```ts
373
373
  * import { createConfig, http } from '@wagmi/core'
374
- * import { tempo } from 'tempo.ts/chains'
374
+ * import { tempo } from 'viem/chains'
375
375
  * import { Actions, Tick } from 'tempo.ts/wagmi'
376
376
  *
377
377
  * const config = createConfig({
378
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
378
+ * chains: [tempoTestnet],
379
379
  * transports: {
380
380
  * [tempo.id]: http(),
381
381
  * },
@@ -394,8 +394,8 @@ export declare namespace getOrderbook {
394
394
  */
395
395
  export declare function getTickLevel<config extends Config>(config: config, parameters: getTickLevel.Parameters<config>): Promise<getTickLevel.ReturnValue>;
396
396
  export declare namespace getTickLevel {
397
- type Parameters<config extends Config> = ChainIdParameter<config> & viem_Actions.getTickLevel.Parameters;
398
- type ReturnValue = viem_Actions.getTickLevel.ReturnValue;
397
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.dex.getTickLevel.Parameters;
398
+ type ReturnValue = Actions.dex.getTickLevel.ReturnValue;
399
399
  function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getTickLevel", Parameters<config>];
400
400
  type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
401
401
  function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
@@ -412,11 +412,11 @@ export declare namespace getTickLevel {
412
412
  * @example
413
413
  * ```ts
414
414
  * import { createConfig, http } from '@wagmi/core'
415
- * import { tempo } from 'tempo.ts/chains'
415
+ * import { tempo } from 'viem/chains'
416
416
  * import { Actions } from 'tempo.ts/wagmi'
417
417
  *
418
418
  * const config = createConfig({
419
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
419
+ * chains: [tempoTestnet],
420
420
  * transports: {
421
421
  * [tempo.id]: http(),
422
422
  * },
@@ -435,8 +435,8 @@ export declare namespace getTickLevel {
435
435
  */
436
436
  export declare function getSellQuote<config extends Config>(config: config, parameters: getSellQuote.Parameters<config>): Promise<getSellQuote.ReturnValue>;
437
437
  export declare namespace getSellQuote {
438
- type Parameters<config extends Config> = ChainIdParameter<config> & viem_Actions.getSellQuote.Parameters;
439
- type ReturnValue = viem_Actions.getSellQuote.ReturnValue;
438
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.dex.getSellQuote.Parameters;
439
+ type ReturnValue = Actions.dex.getSellQuote.ReturnValue;
440
440
  function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getSellQuote", Parameters<config>];
441
441
  type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
442
442
  function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
@@ -453,11 +453,11 @@ export declare namespace getSellQuote {
453
453
  * @example
454
454
  * ```ts
455
455
  * import { createConfig, http } from '@wagmi/core'
456
- * import { tempo } from 'tempo.ts/chains'
456
+ * import { tempo } from 'viem/chains'
457
457
  * import { Actions } from 'tempo.ts/wagmi'
458
458
  *
459
459
  * const config = createConfig({
460
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
460
+ * chains: [tempoTestnet],
461
461
  * transports: {
462
462
  * [tempo.id]: http(),
463
463
  * },
@@ -475,11 +475,11 @@ export declare namespace getSellQuote {
475
475
  * @param parameters - Parameters.
476
476
  * @returns The transaction hash.
477
477
  */
478
- export declare function place<config extends Config>(config: config, parameters: place.Parameters<config>): Promise<viem_Actions.place.ReturnValue>;
478
+ export declare function place<config extends Config>(config: config, parameters: place.Parameters<config>): Promise<Actions.dex.place.ReturnValue>;
479
479
  export declare namespace place {
480
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.place.Parameters<config['chains'][number], Account>, 'chain'>;
481
- type ReturnValue = viem_Actions.place.ReturnValue;
482
- type ErrorType = viem_Actions.place.ErrorType;
480
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.place.Parameters<config['chains'][number], Account>, 'chain'>;
481
+ type ReturnValue = Actions.dex.place.ReturnValue;
482
+ type ErrorType = Actions.dex.place.ErrorType;
483
483
  }
484
484
  /**
485
485
  * Places a flip order that automatically flips when filled.
@@ -487,11 +487,11 @@ export declare namespace place {
487
487
  * @example
488
488
  * ```ts
489
489
  * import { createConfig, http } from '@wagmi/core'
490
- * import { tempo } from 'tempo.ts/chains'
490
+ * import { tempo } from 'viem/chains'
491
491
  * import { Actions } from 'tempo.ts/wagmi'
492
492
  *
493
493
  * const config = createConfig({
494
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
494
+ * chains: [tempoTestnet],
495
495
  * transports: {
496
496
  * [tempo.id]: http(),
497
497
  * },
@@ -510,11 +510,11 @@ export declare namespace place {
510
510
  * @param parameters - Parameters.
511
511
  * @returns The transaction hash.
512
512
  */
513
- export declare function placeFlip<config extends Config>(config: config, parameters: placeFlip.Parameters<config>): Promise<viem_Actions.placeFlip.ReturnValue>;
513
+ export declare function placeFlip<config extends Config>(config: config, parameters: placeFlip.Parameters<config>): Promise<Actions.dex.placeFlip.ReturnValue>;
514
514
  export declare namespace placeFlip {
515
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.placeFlip.Parameters<config['chains'][number], Account>, 'chain'>;
516
- type ReturnValue = viem_Actions.placeFlip.ReturnValue;
517
- type ErrorType = viem_Actions.placeFlip.ErrorType;
515
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.placeFlip.Parameters<config['chains'][number], Account>, 'chain'>;
516
+ type ReturnValue = Actions.dex.placeFlip.ReturnValue;
517
+ type ErrorType = Actions.dex.placeFlip.ErrorType;
518
518
  }
519
519
  /**
520
520
  * Places a flip order that automatically flips when filled.
@@ -525,11 +525,11 @@ export declare namespace placeFlip {
525
525
  * @example
526
526
  * ```ts
527
527
  * import { createConfig, http } from '@wagmi/core'
528
- * import { tempo } from 'tempo.ts/chains'
528
+ * import { tempo } from 'viem/chains'
529
529
  * import { Actions } from 'tempo.ts/wagmi'
530
530
  *
531
531
  * const config = createConfig({
532
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
532
+ * chains: [tempoTestnet],
533
533
  * transports: {
534
534
  * [tempo.id]: http(),
535
535
  * },
@@ -548,11 +548,11 @@ export declare namespace placeFlip {
548
548
  * @param parameters - Parameters.
549
549
  * @returns The transaction receipt and event data.
550
550
  */
551
- export declare function placeFlipSync<config extends Config>(config: config, parameters: placeFlipSync.Parameters<config>): Promise<viem_Actions.placeFlipSync.ReturnValue>;
551
+ export declare function placeFlipSync<config extends Config>(config: config, parameters: placeFlipSync.Parameters<config>): Promise<Actions.dex.placeFlipSync.ReturnValue>;
552
552
  export declare namespace placeFlipSync {
553
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.placeFlipSync.Parameters<config['chains'][number], Account>, 'chain'>;
554
- type ReturnValue = viem_Actions.placeFlipSync.ReturnValue;
555
- type ErrorType = viem_Actions.placeFlipSync.ErrorType;
553
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.placeFlipSync.Parameters<config['chains'][number], Account>, 'chain'>;
554
+ type ReturnValue = Actions.dex.placeFlipSync.ReturnValue;
555
+ type ErrorType = Actions.dex.placeFlipSync.ErrorType;
556
556
  }
557
557
  /**
558
558
  * Places a limit order on the orderbook.
@@ -563,11 +563,11 @@ export declare namespace placeFlipSync {
563
563
  * @example
564
564
  * ```ts
565
565
  * import { createConfig, http } from '@wagmi/core'
566
- * import { tempo } from 'tempo.ts/chains'
566
+ * import { tempo } from 'viem/chains'
567
567
  * import { Actions } from 'tempo.ts/wagmi'
568
568
  *
569
569
  * const config = createConfig({
570
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
570
+ * chains: [tempoTestnet],
571
571
  * transports: {
572
572
  * [tempo.id]: http(),
573
573
  * },
@@ -585,11 +585,11 @@ export declare namespace placeFlipSync {
585
585
  * @param parameters - Parameters.
586
586
  * @returns The transaction receipt and event data.
587
587
  */
588
- export declare function placeSync<config extends Config>(config: config, parameters: placeSync.Parameters<config>): Promise<viem_Actions.placeSync.ReturnValue>;
588
+ export declare function placeSync<config extends Config>(config: config, parameters: placeSync.Parameters<config>): Promise<Actions.dex.placeSync.ReturnValue>;
589
589
  export declare namespace placeSync {
590
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.placeSync.Parameters<config['chains'][number], Account>, 'chain'>;
591
- type ReturnValue = viem_Actions.placeSync.ReturnValue;
592
- type ErrorType = viem_Actions.placeSync.ErrorType;
590
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.placeSync.Parameters<config['chains'][number], Account>, 'chain'>;
591
+ type ReturnValue = Actions.dex.placeSync.ReturnValue;
592
+ type ErrorType = Actions.dex.placeSync.ErrorType;
593
593
  }
594
594
  /**
595
595
  * Sells a specific amount of tokens.
@@ -597,11 +597,11 @@ export declare namespace placeSync {
597
597
  * @example
598
598
  * ```ts
599
599
  * import { createConfig, http } from '@wagmi/core'
600
- * import { tempo } from 'tempo.ts/chains'
600
+ * import { tempo } from 'viem/chains'
601
601
  * import { Actions } from 'tempo.ts/wagmi'
602
602
  *
603
603
  * const config = createConfig({
604
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
604
+ * chains: [tempoTestnet],
605
605
  * transports: {
606
606
  * [tempo.id]: http(),
607
607
  * },
@@ -619,11 +619,11 @@ export declare namespace placeSync {
619
619
  * @param parameters - Parameters.
620
620
  * @returns The transaction hash.
621
621
  */
622
- export declare function sell<config extends Config>(config: config, parameters: sell.Parameters<config>): Promise<viem_Actions.sell.ReturnValue>;
622
+ export declare function sell<config extends Config>(config: config, parameters: sell.Parameters<config>): Promise<Actions.dex.sell.ReturnValue>;
623
623
  export declare namespace sell {
624
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.sell.Parameters<config['chains'][number], Account>, 'chain'>;
625
- type ReturnValue = viem_Actions.sell.ReturnValue;
626
- type ErrorType = viem_Actions.sell.ErrorType;
624
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.sell.Parameters<config['chains'][number], Account>, 'chain'>;
625
+ type ReturnValue = Actions.dex.sell.ReturnValue;
626
+ type ErrorType = Actions.dex.sell.ErrorType;
627
627
  }
628
628
  /**
629
629
  * Sells a specific amount of tokens.
@@ -634,11 +634,11 @@ export declare namespace sell {
634
634
  * @example
635
635
  * ```ts
636
636
  * import { createConfig, http } from '@wagmi/core'
637
- * import { tempo } from 'tempo.ts/chains'
637
+ * import { tempo } from 'viem/chains'
638
638
  * import { Actions } from 'tempo.ts/wagmi'
639
639
  *
640
640
  * const config = createConfig({
641
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
641
+ * chains: [tempoTestnet],
642
642
  * transports: {
643
643
  * [tempo.id]: http(),
644
644
  * },
@@ -656,11 +656,11 @@ export declare namespace sell {
656
656
  * @param parameters - Parameters.
657
657
  * @returns The transaction receipt.
658
658
  */
659
- export declare function sellSync<config extends Config>(config: config, parameters: sellSync.Parameters<config>): Promise<viem_Actions.sellSync.ReturnValue>;
659
+ export declare function sellSync<config extends Config>(config: config, parameters: sellSync.Parameters<config>): Promise<Actions.dex.sellSync.ReturnValue>;
660
660
  export declare namespace sellSync {
661
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.sellSync.Parameters<config['chains'][number], Account>, 'chain'>;
662
- type ReturnValue = viem_Actions.sellSync.ReturnValue;
663
- type ErrorType = viem_Actions.sellSync.ErrorType;
661
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.sellSync.Parameters<config['chains'][number], Account>, 'chain'>;
662
+ type ReturnValue = Actions.dex.sellSync.ReturnValue;
663
+ type ErrorType = Actions.dex.sellSync.ErrorType;
664
664
  }
665
665
  /**
666
666
  * Watches for flip order placement events on the DEX.
@@ -668,11 +668,11 @@ export declare namespace sellSync {
668
668
  * @example
669
669
  * ```ts
670
670
  * import { createConfig, http } from '@wagmi/core'
671
- * import { tempo } from 'tempo.ts/chains'
671
+ * import { tempo } from 'viem/chains'
672
672
  * import { Actions } from 'tempo.ts/wagmi'
673
673
  *
674
674
  * const config = createConfig({
675
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
675
+ * chains: [tempoTestnet],
676
676
  * transports: {
677
677
  * [tempo.id]: http(),
678
678
  * },
@@ -691,9 +691,9 @@ export declare namespace sellSync {
691
691
  */
692
692
  export declare function watchFlipOrderPlaced<config extends Config>(config: config, parameters: watchFlipOrderPlaced.Parameters<config>): import("viem").WatchContractEventReturnType;
693
693
  export declare namespace watchFlipOrderPlaced {
694
- type Parameters<config extends Config> = ChainIdParameter<config> & viem_Actions.watchFlipOrderPlaced.Parameters;
695
- type Args = viem_Actions.watchFlipOrderPlaced.Args;
696
- type Log = viem_Actions.watchFlipOrderPlaced.Log;
694
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.dex.watchFlipOrderPlaced.Parameters;
695
+ type Args = Actions.dex.watchFlipOrderPlaced.Args;
696
+ type Log = Actions.dex.watchFlipOrderPlaced.Log;
697
697
  }
698
698
  /**
699
699
  * Watches for order cancellation events on the DEX.
@@ -701,11 +701,11 @@ export declare namespace watchFlipOrderPlaced {
701
701
  * @example
702
702
  * ```ts
703
703
  * import { createConfig, http } from '@wagmi/core'
704
- * import { tempo } from 'tempo.ts/chains'
704
+ * import { tempo } from 'viem/chains'
705
705
  * import { Actions } from 'tempo.ts/wagmi'
706
706
  *
707
707
  * const config = createConfig({
708
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
708
+ * chains: [tempoTestnet],
709
709
  * transports: {
710
710
  * [tempo.id]: http(),
711
711
  * },
@@ -724,9 +724,9 @@ export declare namespace watchFlipOrderPlaced {
724
724
  */
725
725
  export declare function watchOrderCancelled<config extends Config>(config: config, parameters: watchOrderCancelled.Parameters<config>): import("viem").WatchContractEventReturnType;
726
726
  export declare namespace watchOrderCancelled {
727
- type Parameters<config extends Config> = ChainIdParameter<config> & viem_Actions.watchOrderCancelled.Parameters;
728
- type Args = viem_Actions.watchOrderCancelled.Args;
729
- type Log = viem_Actions.watchOrderCancelled.Log;
727
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.dex.watchOrderCancelled.Parameters;
728
+ type Args = Actions.dex.watchOrderCancelled.Args;
729
+ type Log = Actions.dex.watchOrderCancelled.Log;
730
730
  }
731
731
  /**
732
732
  * Watches for order filled events on the DEX.
@@ -734,11 +734,11 @@ export declare namespace watchOrderCancelled {
734
734
  * @example
735
735
  * ```ts
736
736
  * import { createConfig, http } from '@wagmi/core'
737
- * import { tempo } from 'tempo.ts/chains'
737
+ * import { tempo } from 'viem/chains'
738
738
  * import { Actions } from 'tempo.ts/wagmi'
739
739
  *
740
740
  * const config = createConfig({
741
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
741
+ * chains: [tempoTestnet],
742
742
  * transports: {
743
743
  * [tempo.id]: http(),
744
744
  * },
@@ -757,9 +757,9 @@ export declare namespace watchOrderCancelled {
757
757
  */
758
758
  export declare function watchOrderFilled<config extends Config>(config: config, parameters: watchOrderFilled.Parameters<config>): import("viem").WatchContractEventReturnType;
759
759
  export declare namespace watchOrderFilled {
760
- type Parameters<config extends Config> = ChainIdParameter<config> & viem_Actions.watchOrderFilled.Parameters;
761
- type Args = viem_Actions.watchOrderFilled.Args;
762
- type Log = viem_Actions.watchOrderFilled.Log;
760
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.dex.watchOrderFilled.Parameters;
761
+ type Args = Actions.dex.watchOrderFilled.Args;
762
+ type Log = Actions.dex.watchOrderFilled.Log;
763
763
  }
764
764
  /**
765
765
  * Watches for order placement events on the DEX.
@@ -767,11 +767,11 @@ export declare namespace watchOrderFilled {
767
767
  * @example
768
768
  * ```ts
769
769
  * import { createConfig, http } from '@wagmi/core'
770
- * import { tempo } from 'tempo.ts/chains'
770
+ * import { tempo } from 'viem/chains'
771
771
  * import { Actions } from 'tempo.ts/wagmi'
772
772
  *
773
773
  * const config = createConfig({
774
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
774
+ * chains: [tempoTestnet],
775
775
  * transports: {
776
776
  * [tempo.id]: http(),
777
777
  * },
@@ -790,9 +790,9 @@ export declare namespace watchOrderFilled {
790
790
  */
791
791
  export declare function watchOrderPlaced<config extends Config>(config: config, parameters: watchOrderPlaced.Parameters<config>): import("viem").WatchContractEventReturnType;
792
792
  export declare namespace watchOrderPlaced {
793
- type Parameters<config extends Config> = ChainIdParameter<config> & viem_Actions.watchOrderPlaced.Parameters;
794
- type Args = viem_Actions.watchOrderPlaced.Args;
795
- type Log = viem_Actions.watchOrderPlaced.Log;
793
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.dex.watchOrderPlaced.Parameters;
794
+ type Args = Actions.dex.watchOrderPlaced.Args;
795
+ type Log = Actions.dex.watchOrderPlaced.Log;
796
796
  }
797
797
  /**
798
798
  * Withdraws tokens from the DEX to the caller's wallet.
@@ -800,11 +800,11 @@ export declare namespace watchOrderPlaced {
800
800
  * @example
801
801
  * ```ts
802
802
  * import { createConfig, http } from '@wagmi/core'
803
- * import { tempo } from 'tempo.ts/chains'
803
+ * import { tempo } from 'viem/chains'
804
804
  * import { Actions } from 'tempo.ts/wagmi'
805
805
  *
806
806
  * const config = createConfig({
807
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
807
+ * chains: [tempoTestnet],
808
808
  * transports: {
809
809
  * [tempo.id]: http(),
810
810
  * },
@@ -820,11 +820,11 @@ export declare namespace watchOrderPlaced {
820
820
  * @param parameters - Parameters.
821
821
  * @returns The transaction hash.
822
822
  */
823
- export declare function withdraw<config extends Config>(config: config, parameters: withdraw.Parameters<config>): Promise<viem_Actions.withdraw.ReturnValue>;
823
+ export declare function withdraw<config extends Config>(config: config, parameters: withdraw.Parameters<config>): Promise<Actions.dex.withdraw.ReturnValue>;
824
824
  export declare namespace withdraw {
825
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.withdraw.Parameters<config['chains'][number], Account>, 'chain'>;
826
- type ReturnValue = viem_Actions.withdraw.ReturnValue;
827
- type ErrorType = viem_Actions.withdraw.ErrorType;
825
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.withdraw.Parameters<config['chains'][number], Account>, 'chain'>;
826
+ type ReturnValue = Actions.dex.withdraw.ReturnValue;
827
+ type ErrorType = Actions.dex.withdraw.ErrorType;
828
828
  }
829
829
  /**
830
830
  * Withdraws tokens from the DEX to the caller's wallet.
@@ -835,11 +835,11 @@ export declare namespace withdraw {
835
835
  * @example
836
836
  * ```ts
837
837
  * import { createConfig, http } from '@wagmi/core'
838
- * import { tempo } from 'tempo.ts/chains'
838
+ * import { tempo } from 'viem/chains'
839
839
  * import { Actions } from 'tempo.ts/wagmi'
840
840
  *
841
841
  * const config = createConfig({
842
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
842
+ * chains: [tempoTestnet],
843
843
  * transports: {
844
844
  * [tempo.id]: http(),
845
845
  * },
@@ -855,10 +855,10 @@ export declare namespace withdraw {
855
855
  * @param parameters - Parameters.
856
856
  * @returns The transaction receipt and event data.
857
857
  */
858
- export declare function withdrawSync<config extends Config>(config: config, parameters: withdrawSync.Parameters<config>): Promise<viem_Actions.withdrawSync.ReturnValue>;
858
+ export declare function withdrawSync<config extends Config>(config: config, parameters: withdrawSync.Parameters<config>): Promise<Actions.dex.withdrawSync.ReturnValue>;
859
859
  export declare namespace withdrawSync {
860
- type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<viem_Actions.withdrawSync.Parameters<config['chains'][number], Account>, 'chain'>;
861
- type ReturnValue = viem_Actions.withdrawSync.ReturnValue;
862
- type ErrorType = viem_Actions.withdrawSync.ErrorType;
860
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionOmit<Actions.dex.withdrawSync.Parameters<config['chains'][number], Account>, 'chain'>;
861
+ type ReturnValue = Actions.dex.withdrawSync.ReturnValue;
862
+ type ErrorType = Actions.dex.withdrawSync.ErrorType;
863
863
  }
864
864
  //# sourceMappingURL=dex.d.ts.map