tempo.ts 0.1.5 → 0.2.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 (276) hide show
  1. package/README.md +33 -2
  2. package/dist/chains.d.ts +509 -115
  3. package/dist/chains.d.ts.map +1 -1
  4. package/dist/chains.js +18 -9
  5. package/dist/chains.js.map +1 -1
  6. package/dist/ox/Order.d.ts +92 -0
  7. package/dist/ox/Order.d.ts.map +1 -0
  8. package/dist/ox/Order.js +88 -0
  9. package/dist/ox/Order.js.map +1 -0
  10. package/dist/ox/OrdersFilters.d.ts +72 -0
  11. package/dist/ox/OrdersFilters.d.ts.map +1 -0
  12. package/dist/ox/OrdersFilters.js +100 -0
  13. package/dist/ox/OrdersFilters.js.map +1 -0
  14. package/dist/ox/Pagination.d.ts +128 -0
  15. package/dist/ox/Pagination.d.ts.map +1 -0
  16. package/dist/ox/Pagination.js +78 -0
  17. package/dist/ox/Pagination.js.map +1 -0
  18. package/dist/ox/PoolId.d.ts +18 -0
  19. package/dist/ox/PoolId.d.ts.map +1 -0
  20. package/dist/ox/PoolId.js +13 -0
  21. package/dist/ox/PoolId.js.map +1 -0
  22. package/dist/ox/RpcSchema.d.ts +32 -0
  23. package/dist/ox/RpcSchema.d.ts.map +1 -0
  24. package/dist/ox/RpcSchema.js +2 -0
  25. package/dist/ox/RpcSchema.js.map +1 -0
  26. package/dist/ox/SignatureEnvelope.d.ts +1 -1
  27. package/dist/ox/SignatureEnvelope.d.ts.map +1 -1
  28. package/dist/ox/SignatureEnvelope.js.map +1 -1
  29. package/dist/{viem → ox}/Tick.d.ts +4 -0
  30. package/dist/ox/Tick.d.ts.map +1 -0
  31. package/dist/ox/Tick.js.map +1 -0
  32. package/dist/ox/Transaction.d.ts.map +1 -1
  33. package/dist/ox/Transaction.js +2 -1
  34. package/dist/ox/Transaction.js.map +1 -1
  35. package/dist/ox/TransactionEnvelopeAA.d.ts +6 -6
  36. package/dist/ox/TransactionEnvelopeAA.d.ts.map +1 -1
  37. package/dist/ox/TransactionEnvelopeAA.js +4 -2
  38. package/dist/ox/TransactionEnvelopeAA.js.map +1 -1
  39. package/dist/ox/TransactionRequest.d.ts +4 -0
  40. package/dist/ox/TransactionRequest.d.ts.map +1 -1
  41. package/dist/ox/TransactionRequest.js.map +1 -1
  42. package/dist/ox/index.d.ts +6 -0
  43. package/dist/ox/index.d.ts.map +1 -1
  44. package/dist/ox/index.js +6 -0
  45. package/dist/ox/index.js.map +1 -1
  46. package/dist/prool/Instance.d.ts.map +1 -1
  47. package/dist/prool/Instance.js +20 -4
  48. package/dist/prool/Instance.js.map +1 -1
  49. package/dist/viem/Abis.d.ts +1469 -1082
  50. package/dist/viem/Abis.d.ts.map +1 -1
  51. package/dist/viem/Abis.js +932 -671
  52. package/dist/viem/Abis.js.map +1 -1
  53. package/dist/viem/Account.d.ts +150 -0
  54. package/dist/viem/Account.d.ts.map +1 -0
  55. package/dist/viem/Account.js +221 -0
  56. package/dist/viem/Account.js.map +1 -0
  57. package/dist/viem/Actions/amm.d.ts +80 -118
  58. package/dist/viem/Actions/amm.d.ts.map +1 -1
  59. package/dist/viem/Actions/amm.js +47 -116
  60. package/dist/viem/Actions/amm.js.map +1 -1
  61. package/dist/viem/Actions/dex.d.ts +889 -633
  62. package/dist/viem/Actions/dex.d.ts.map +1 -1
  63. package/dist/viem/Actions/dex.js +99 -0
  64. package/dist/viem/Actions/dex.js.map +1 -1
  65. package/dist/viem/Actions/fee.d.ts +3 -17
  66. package/dist/viem/Actions/fee.d.ts.map +1 -1
  67. package/dist/viem/Actions/fee.js.map +1 -1
  68. package/dist/viem/Actions/index.d.ts +1 -0
  69. package/dist/viem/Actions/index.d.ts.map +1 -1
  70. package/dist/viem/Actions/index.js +1 -0
  71. package/dist/viem/Actions/index.js.map +1 -1
  72. package/dist/viem/Actions/reward.d.ts +3236 -0
  73. package/dist/viem/Actions/reward.d.ts.map +1 -0
  74. package/dist/viem/Actions/reward.js +725 -0
  75. package/dist/viem/Actions/reward.js.map +1 -0
  76. package/dist/viem/Actions/token.d.ts +4295 -2646
  77. package/dist/viem/Actions/token.d.ts.map +1 -1
  78. package/dist/viem/Actions/token.js +214 -335
  79. package/dist/viem/Actions/token.js.map +1 -1
  80. package/dist/viem/Addresses.d.ts +1 -2
  81. package/dist/viem/Addresses.d.ts.map +1 -1
  82. package/dist/viem/Addresses.js +1 -2
  83. package/dist/viem/Addresses.js.map +1 -1
  84. package/dist/viem/Chain.d.ts +38 -12
  85. package/dist/viem/Chain.d.ts.map +1 -1
  86. package/dist/viem/Chain.js +27 -18
  87. package/dist/viem/Chain.js.map +1 -1
  88. package/dist/viem/Decorator.d.ts +959 -405
  89. package/dist/viem/Decorator.d.ts.map +1 -1
  90. package/dist/viem/Decorator.js +13 -5
  91. package/dist/viem/Decorator.js.map +1 -1
  92. package/dist/viem/Formatters.d.ts +8 -1
  93. package/dist/viem/Formatters.d.ts.map +1 -1
  94. package/dist/viem/Formatters.js +17 -0
  95. package/dist/viem/Formatters.js.map +1 -1
  96. package/dist/viem/P256.d.ts +2 -0
  97. package/dist/viem/P256.d.ts.map +1 -0
  98. package/dist/viem/P256.js +2 -0
  99. package/dist/viem/P256.js.map +1 -0
  100. package/dist/viem/Secp256k1.d.ts +2 -0
  101. package/dist/viem/Secp256k1.d.ts.map +1 -0
  102. package/dist/viem/Secp256k1.js +2 -0
  103. package/dist/viem/Secp256k1.js.map +1 -0
  104. package/dist/viem/TokenIds.d.ts +1 -2
  105. package/dist/viem/TokenIds.d.ts.map +1 -1
  106. package/dist/viem/TokenIds.js +1 -2
  107. package/dist/viem/TokenIds.js.map +1 -1
  108. package/dist/viem/Transaction.d.ts +1 -1
  109. package/dist/viem/Transaction.d.ts.map +1 -1
  110. package/dist/viem/Transaction.js +46 -5
  111. package/dist/viem/Transaction.js.map +1 -1
  112. package/dist/viem/WebAuthnP256.d.ts +79 -0
  113. package/dist/viem/WebAuthnP256.d.ts.map +1 -0
  114. package/dist/viem/WebAuthnP256.js +95 -0
  115. package/dist/viem/WebAuthnP256.js.map +1 -0
  116. package/dist/viem/WebCryptoP256.d.ts +2 -0
  117. package/dist/viem/WebCryptoP256.d.ts.map +1 -0
  118. package/dist/viem/WebCryptoP256.js +2 -0
  119. package/dist/viem/WebCryptoP256.js.map +1 -0
  120. package/dist/viem/index.d.ts +6 -3
  121. package/dist/viem/index.d.ts.map +1 -1
  122. package/dist/viem/index.js +6 -3
  123. package/dist/viem/index.js.map +1 -1
  124. package/dist/viem/internal/account.d.ts +24 -0
  125. package/dist/viem/internal/account.d.ts.map +1 -0
  126. package/dist/viem/internal/account.js +68 -0
  127. package/dist/viem/internal/account.js.map +1 -0
  128. package/dist/viem/internal/types.d.ts +10 -0
  129. package/dist/viem/internal/types.d.ts.map +1 -1
  130. package/dist/wagmi/Actions/amm.d.ts +428 -0
  131. package/dist/wagmi/Actions/amm.d.ts.map +1 -0
  132. package/dist/wagmi/Actions/amm.js +472 -0
  133. package/dist/wagmi/Actions/amm.js.map +1 -0
  134. package/dist/wagmi/Actions/dex.d.ts +908 -0
  135. package/dist/wagmi/Actions/dex.d.ts.map +1 -0
  136. package/dist/wagmi/Actions/dex.js +1023 -0
  137. package/dist/wagmi/Actions/dex.js.map +1 -0
  138. package/dist/wagmi/Actions/fee.d.ts +111 -0
  139. package/dist/wagmi/Actions/fee.d.ts.map +1 -0
  140. package/dist/wagmi/Actions/fee.js +126 -0
  141. package/dist/wagmi/Actions/fee.js.map +1 -0
  142. package/dist/wagmi/Actions/index.d.ts +6 -0
  143. package/dist/wagmi/Actions/index.d.ts.map +1 -0
  144. package/dist/wagmi/Actions/index.js +6 -0
  145. package/dist/wagmi/Actions/index.js.map +1 -0
  146. package/dist/wagmi/Actions/reward.d.ts +348 -0
  147. package/dist/wagmi/Actions/reward.d.ts.map +1 -0
  148. package/dist/wagmi/Actions/reward.js +388 -0
  149. package/dist/wagmi/Actions/reward.js.map +1 -0
  150. package/dist/wagmi/Actions/token.d.ts +1546 -0
  151. package/dist/wagmi/Actions/token.d.ts.map +1 -0
  152. package/dist/wagmi/Actions/token.js +1712 -0
  153. package/dist/wagmi/Actions/token.js.map +1 -0
  154. package/dist/wagmi/Connector.d.ts +73 -0
  155. package/dist/wagmi/Connector.d.ts.map +1 -0
  156. package/dist/wagmi/Connector.js +249 -0
  157. package/dist/wagmi/Connector.js.map +1 -0
  158. package/dist/wagmi/Hooks/amm.d.ts +421 -0
  159. package/dist/wagmi/Hooks/amm.d.ts.map +1 -0
  160. package/dist/wagmi/Hooks/amm.js +504 -0
  161. package/dist/wagmi/Hooks/amm.js.map +1 -0
  162. package/dist/wagmi/Hooks/dex.d.ts +816 -0
  163. package/dist/wagmi/Hooks/dex.d.ts.map +1 -0
  164. package/dist/wagmi/Hooks/dex.js +973 -0
  165. package/dist/wagmi/Hooks/dex.js.map +1 -0
  166. package/dist/wagmi/Hooks/fee.d.ts +97 -0
  167. package/dist/wagmi/Hooks/fee.d.ts.map +1 -0
  168. package/dist/wagmi/Hooks/fee.js +109 -0
  169. package/dist/wagmi/Hooks/fee.js.map +1 -0
  170. package/dist/wagmi/Hooks/index.d.ts +6 -0
  171. package/dist/wagmi/Hooks/index.d.ts.map +1 -0
  172. package/dist/wagmi/Hooks/index.js +6 -0
  173. package/dist/wagmi/Hooks/index.js.map +1 -0
  174. package/dist/wagmi/Hooks/reward.d.ts +307 -0
  175. package/dist/wagmi/Hooks/reward.d.ts.map +1 -0
  176. package/dist/wagmi/Hooks/reward.js +349 -0
  177. package/dist/wagmi/Hooks/reward.js.map +1 -0
  178. package/dist/wagmi/Hooks/token.d.ts +1388 -0
  179. package/dist/wagmi/Hooks/token.d.ts.map +1 -0
  180. package/dist/wagmi/Hooks/token.js +1657 -0
  181. package/dist/wagmi/Hooks/token.js.map +1 -0
  182. package/dist/wagmi/index.d.ts +4 -0
  183. package/dist/wagmi/index.d.ts.map +1 -0
  184. package/dist/wagmi/index.js +4 -0
  185. package/dist/wagmi/index.js.map +1 -0
  186. package/package.json +54 -10
  187. package/src/chains.ts +19 -9
  188. package/src/ox/Order.test.ts +78 -0
  189. package/src/ox/Order.ts +125 -0
  190. package/src/ox/OrdersFilters.test.ts +182 -0
  191. package/src/ox/OrdersFilters.ts +125 -0
  192. package/src/ox/Pagination.test.ts +162 -0
  193. package/src/ox/Pagination.ts +164 -0
  194. package/src/ox/PoolId.test.ts +33 -0
  195. package/src/ox/PoolId.ts +27 -0
  196. package/src/ox/RpcSchema.ts +35 -0
  197. package/src/ox/SignatureEnvelope.ts +3 -1
  198. package/src/{viem → ox}/Tick.test.ts +1 -1
  199. package/src/{viem → ox}/Tick.ts +5 -0
  200. package/src/ox/Transaction.test.ts +1 -1
  201. package/src/ox/Transaction.ts +2 -1
  202. package/src/ox/TransactionEnvelopeAA.test.ts +239 -96
  203. package/src/ox/TransactionEnvelopeAA.ts +9 -7
  204. package/src/ox/TransactionRequest.ts +4 -0
  205. package/src/ox/index.ts +6 -0
  206. package/src/prool/Instance.ts +51 -37
  207. package/src/prool/internal/chain.json +104 -52
  208. package/src/tsconfig.json +9 -0
  209. package/src/viem/Abis.ts +972 -710
  210. package/src/viem/Account.ts +279 -0
  211. package/src/viem/Actions/__snapshots__/dex.test.ts.snap +850 -0
  212. package/src/viem/Actions/amm.test.ts +98 -169
  213. package/src/viem/Actions/amm.ts +68 -155
  214. package/src/viem/Actions/dex.test.ts +563 -484
  215. package/src/viem/Actions/dex.ts +173 -0
  216. package/src/viem/Actions/fee.test.ts +23 -34
  217. package/src/viem/Actions/fee.ts +7 -0
  218. package/src/viem/Actions/index.ts +1 -0
  219. package/src/viem/Actions/policy.test.ts +19 -33
  220. package/src/viem/Actions/reward.test.ts +457 -0
  221. package/src/viem/Actions/reward.ts +999 -0
  222. package/src/viem/Actions/token.test.ts +453 -287
  223. package/src/viem/Actions/token.ts +452 -540
  224. package/src/viem/Addresses.ts +1 -2
  225. package/src/viem/Chain.ts +70 -20
  226. package/src/viem/Decorator.test.ts +2 -1
  227. package/src/viem/Decorator.ts +996 -421
  228. package/src/viem/Formatters.ts +31 -5
  229. package/src/viem/P256.ts +1 -0
  230. package/src/viem/Secp256k1.ts +1 -0
  231. package/src/viem/TokenIds.ts +1 -2
  232. package/src/viem/Transaction.ts +53 -7
  233. package/src/viem/WebAuthnP256.ts +140 -0
  234. package/src/viem/WebCryptoP256.ts +1 -0
  235. package/src/viem/e2e.test.ts +1126 -297
  236. package/src/viem/index.ts +6 -3
  237. package/src/viem/internal/account.ts +107 -0
  238. package/src/viem/internal/types.ts +9 -0
  239. package/src/wagmi/Actions/__snapshots__/dex.test.ts.snap +310 -0
  240. package/src/wagmi/Actions/amm.test.ts +198 -0
  241. package/src/wagmi/Actions/amm.ts +691 -0
  242. package/src/wagmi/Actions/dex.test.ts +1507 -0
  243. package/src/wagmi/Actions/dex.ts +1640 -0
  244. package/src/wagmi/Actions/fee.test.ts +63 -0
  245. package/src/wagmi/Actions/fee.ts +208 -0
  246. package/src/wagmi/Actions/index.ts +5 -0
  247. package/src/wagmi/Actions/reward.test.ts +210 -0
  248. package/src/wagmi/Actions/reward.ts +632 -0
  249. package/src/wagmi/Actions/token.test.ts +1308 -0
  250. package/src/wagmi/Actions/token.ts +2613 -0
  251. package/src/wagmi/Connector.test.ts +53 -0
  252. package/src/wagmi/Connector.ts +367 -0
  253. package/src/wagmi/Hooks/__snapshots__/dex.test.ts.snap +457 -0
  254. package/src/wagmi/Hooks/amm.test.ts +424 -0
  255. package/src/wagmi/Hooks/amm.ts +806 -0
  256. package/src/wagmi/Hooks/dex.test.ts +1017 -0
  257. package/src/wagmi/Hooks/dex.ts +1685 -0
  258. package/src/wagmi/Hooks/fee.test.ts +166 -0
  259. package/src/wagmi/Hooks/fee.ts +206 -0
  260. package/src/wagmi/Hooks/index.ts +5 -0
  261. package/src/wagmi/Hooks/reward.test.ts +219 -0
  262. package/src/wagmi/Hooks/reward.ts +672 -0
  263. package/src/wagmi/Hooks/token.test.ts +1670 -0
  264. package/src/wagmi/Hooks/token.ts +2906 -0
  265. package/src/wagmi/index.ts +3 -0
  266. package/src/wagmi/internal/types.ts +16 -0
  267. package/dist/viem/Client.d.ts +0 -27
  268. package/dist/viem/Client.d.ts.map +0 -1
  269. package/dist/viem/Client.js +0 -28
  270. package/dist/viem/Client.js.map +0 -1
  271. package/dist/viem/Tick.d.ts.map +0 -1
  272. package/dist/viem/Tick.js.map +0 -1
  273. package/src/viem/Client.bench-d.ts +0 -8
  274. package/src/viem/Client.test.ts +0 -178
  275. package/src/viem/Client.ts +0 -91
  276. /package/dist/{viem → ox}/Tick.js +0 -0
package/dist/chains.d.ts CHANGED
@@ -1,43 +1,407 @@
1
- export declare const tempoAndante: {
2
- blockExplorers?: {
3
- [key: string]: {
4
- name: string;
5
- url: string;
6
- apiUrl?: string | undefined;
1
+ import * as Chain from './viem/Chain.js';
2
+ export declare const tempoAndantino: (<properties_1 extends Chain.define.Properties | undefined>(properties?: properties_1) => {
3
+ readonly blockTime: 1000;
4
+ readonly contracts: {
5
+ readonly multicall3: {
6
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
7
+ readonly blockCreated: 0;
7
8
  };
8
- default: {
9
- name: string;
10
- url: string;
11
- apiUrl?: string | undefined;
9
+ };
10
+ readonly formatters: {
11
+ readonly transaction: {
12
+ exclude: [] | undefined;
13
+ format: (args: import("./viem/Transaction.js").TransactionRpc, action?: string | undefined) => ({
14
+ r: import("viem").Hex;
15
+ s: import("viem").Hex;
16
+ v: bigint;
17
+ nonce: number;
18
+ from: import("viem").Address;
19
+ gas: bigint;
20
+ to: import("viem").Address | null;
21
+ value: bigint;
22
+ input: import("viem").Hex;
23
+ blockHash: `0x${string}` | null;
24
+ blockNumber: bigint | null;
25
+ hash: import("viem").Hash;
26
+ transactionIndex: number | null;
27
+ typeHex: import("viem").Hex | null;
28
+ accessList?: undefined | undefined;
29
+ authorizationList?: undefined | undefined;
30
+ blobVersionedHashes?: undefined | undefined;
31
+ chainId?: number | undefined;
32
+ yParity?: undefined | undefined;
33
+ type: "legacy";
34
+ gasPrice: bigint;
35
+ maxFeePerBlobGas?: undefined | undefined;
36
+ maxFeePerGas?: undefined | undefined;
37
+ maxPriorityFeePerGas?: undefined | undefined;
38
+ calls?: undefined;
39
+ feePayerSignature?: undefined;
40
+ feeToken?: undefined;
41
+ nonceKey?: undefined;
42
+ validBefore?: undefined;
43
+ validAfter?: undefined;
44
+ feePayer?: undefined;
45
+ } | {
46
+ blockHash: `0x${string}` | null;
47
+ blockNumber: bigint | null;
48
+ from: import("viem").Address;
49
+ gas: bigint;
50
+ hash: import("viem").Hash;
51
+ input: import("viem").Hex;
52
+ nonce: number;
53
+ r: import("viem").Hex;
54
+ s: import("viem").Hex;
55
+ to: import("viem").Address | null;
56
+ transactionIndex: number | null;
57
+ typeHex: import("viem").Hex | null;
58
+ v: bigint;
59
+ value: bigint;
60
+ yParity: number;
61
+ accessList: import("viem").AccessList;
62
+ authorizationList?: undefined | undefined;
63
+ blobVersionedHashes?: undefined | undefined;
64
+ chainId: number;
65
+ type: "eip2930";
66
+ gasPrice: bigint;
67
+ maxFeePerBlobGas?: undefined | undefined;
68
+ maxFeePerGas?: undefined | undefined;
69
+ maxPriorityFeePerGas?: undefined | undefined;
70
+ calls?: undefined;
71
+ feePayerSignature?: undefined;
72
+ feeToken?: undefined;
73
+ nonceKey?: undefined;
74
+ validBefore?: undefined;
75
+ validAfter?: undefined;
76
+ feePayer?: undefined;
77
+ } | {
78
+ blockHash: `0x${string}` | null;
79
+ blockNumber: bigint | null;
80
+ from: import("viem").Address;
81
+ gas: bigint;
82
+ hash: import("viem").Hash;
83
+ input: import("viem").Hex;
84
+ nonce: number;
85
+ r: import("viem").Hex;
86
+ s: import("viem").Hex;
87
+ to: import("viem").Address | null;
88
+ transactionIndex: number | null;
89
+ typeHex: import("viem").Hex | null;
90
+ v: bigint;
91
+ value: bigint;
92
+ yParity: number;
93
+ accessList: import("viem").AccessList;
94
+ authorizationList?: undefined | undefined;
95
+ blobVersionedHashes?: undefined | undefined;
96
+ chainId: number;
97
+ type: "eip1559";
98
+ gasPrice?: undefined | undefined;
99
+ maxFeePerBlobGas?: undefined | undefined;
100
+ maxFeePerGas: bigint;
101
+ maxPriorityFeePerGas: bigint;
102
+ calls?: undefined;
103
+ feePayerSignature?: undefined;
104
+ feeToken?: undefined;
105
+ nonceKey?: undefined;
106
+ validBefore?: undefined;
107
+ validAfter?: undefined;
108
+ feePayer?: undefined;
109
+ } | {
110
+ blockHash: `0x${string}` | null;
111
+ blockNumber: bigint | null;
112
+ from: import("viem").Address;
113
+ gas: bigint;
114
+ hash: import("viem").Hash;
115
+ input: import("viem").Hex;
116
+ nonce: number;
117
+ r: import("viem").Hex;
118
+ s: import("viem").Hex;
119
+ to: import("viem").Address | null;
120
+ transactionIndex: number | null;
121
+ typeHex: import("viem").Hex | null;
122
+ v: bigint;
123
+ value: bigint;
124
+ yParity: number;
125
+ accessList: import("viem").AccessList;
126
+ authorizationList?: undefined | undefined;
127
+ blobVersionedHashes: readonly import("viem").Hex[];
128
+ chainId: number;
129
+ type: "eip4844";
130
+ gasPrice?: undefined | undefined;
131
+ maxFeePerBlobGas: bigint;
132
+ maxFeePerGas: bigint;
133
+ maxPriorityFeePerGas: bigint;
134
+ calls?: undefined;
135
+ feePayerSignature?: undefined;
136
+ feeToken?: undefined;
137
+ nonceKey?: undefined;
138
+ validBefore?: undefined;
139
+ validAfter?: undefined;
140
+ feePayer?: undefined;
141
+ } | {
142
+ blockHash: `0x${string}` | null;
143
+ blockNumber: bigint | null;
144
+ from: import("viem").Address;
145
+ gas: bigint;
146
+ hash: import("viem").Hash;
147
+ input: import("viem").Hex;
148
+ nonce: number;
149
+ r: import("viem").Hex;
150
+ s: import("viem").Hex;
151
+ to: import("viem").Address | null;
152
+ transactionIndex: number | null;
153
+ typeHex: import("viem").Hex | null;
154
+ v: bigint;
155
+ value: bigint;
156
+ yParity: number;
157
+ accessList: import("viem").AccessList;
158
+ authorizationList: import("viem").SignedAuthorizationList;
159
+ blobVersionedHashes?: undefined | undefined;
160
+ chainId: number;
161
+ type: "eip7702";
162
+ gasPrice?: undefined | undefined;
163
+ maxFeePerBlobGas?: undefined | undefined;
164
+ maxFeePerGas: bigint;
165
+ maxPriorityFeePerGas: bigint;
166
+ calls?: undefined;
167
+ feePayerSignature?: undefined;
168
+ feeToken?: undefined;
169
+ nonceKey?: undefined;
170
+ validBefore?: undefined;
171
+ validAfter?: undefined;
172
+ feePayer?: undefined;
173
+ } | {
174
+ nonce: number;
175
+ from: import("viem").Address;
176
+ gas: bigint;
177
+ blockHash: `0x${string}` | null;
178
+ blockNumber: bigint | null;
179
+ hash: import("viem").Hash;
180
+ transactionIndex: number | null;
181
+ typeHex: import("viem").Hex | null;
182
+ r?: `0x${string}` | undefined;
183
+ s?: `0x${string}` | undefined;
184
+ yParity?: number | undefined;
185
+ v?: bigint | undefined;
186
+ accessList: import("viem").AccessList;
187
+ authorizationList?: import("viem").SignedAuthorizationList | undefined;
188
+ calls: readonly import("./ox/TransactionEnvelopeAA.js").Call<bigint>[];
189
+ chainId: number;
190
+ feeToken?: `0x${string}` | undefined;
191
+ feePayer?: `0x${string}` | undefined;
192
+ feePayerSignature?: import("viem").Signature | undefined;
193
+ nonceKey?: bigint | undefined;
194
+ type: "aa";
195
+ validBefore?: number | undefined;
196
+ validAfter?: number | undefined;
197
+ gasPrice?: undefined | undefined;
198
+ maxFeePerBlobGas?: undefined | undefined;
199
+ maxFeePerGas: bigint;
200
+ maxPriorityFeePerGas: bigint;
201
+ to?: undefined;
202
+ value?: undefined;
203
+ input?: undefined;
204
+ blobVersionedHashes?: undefined;
205
+ }) & {};
206
+ type: "transaction";
12
207
  };
13
- } | undefined | undefined;
14
- blockTime: number;
15
- contracts: {
16
- multicall3: {
17
- address: "0xca11bde05977b3631167028862be2a173976ca11";
18
- blockCreated: number;
208
+ readonly transactionRequest: {
209
+ exclude: [] | undefined;
210
+ format: (args: import("./internal/types.js").UnionOmit<import("./viem/Transaction.js").TransactionRequest, "feeToken"> & import("./viem/internal/types.js").GetFeeTokenParameter<{
211
+ id: number;
212
+ name: string;
213
+ nativeCurrency: {
214
+ name: string;
215
+ symbol: string;
216
+ decimals: number;
217
+ };
218
+ rpcUrls: {
219
+ default: {
220
+ http: string[];
221
+ };
222
+ };
223
+ } & properties_1> & {
224
+ account?: import("viem").Account | undefined;
225
+ }, action?: string | undefined) => ({
226
+ data?: `0x${string}` | undefined;
227
+ from?: `0x${string}` | undefined;
228
+ gas?: `0x${string}` | undefined;
229
+ nonce?: `0x${string}` | undefined;
230
+ to?: `0x${string}` | null | undefined;
231
+ type?: "0x0" | undefined;
232
+ value?: `0x${string}` | undefined;
233
+ gasPrice?: `0x${string}` | undefined;
234
+ maxFeePerBlobGas?: undefined | undefined;
235
+ maxFeePerGas?: undefined | undefined;
236
+ maxPriorityFeePerGas?: undefined | undefined;
237
+ accessList?: undefined;
238
+ authorizationList?: undefined;
239
+ blobVersionedHashes?: undefined;
240
+ blobs?: undefined;
241
+ kzg?: undefined;
242
+ sidecars?: undefined;
243
+ calls?: undefined;
244
+ feeToken?: undefined;
245
+ feePayer?: undefined;
246
+ } | {
247
+ data?: `0x${string}` | undefined;
248
+ from?: `0x${string}` | undefined;
249
+ gas?: `0x${string}` | undefined;
250
+ nonce?: `0x${string}` | undefined;
251
+ to?: `0x${string}` | null | undefined;
252
+ type?: "0x1" | undefined;
253
+ value?: `0x${string}` | undefined;
254
+ gasPrice?: `0x${string}` | undefined;
255
+ maxFeePerBlobGas?: undefined | undefined;
256
+ maxFeePerGas?: undefined | undefined;
257
+ maxPriorityFeePerGas?: undefined | undefined;
258
+ accessList?: import("viem").AccessList | undefined;
259
+ authorizationList?: undefined;
260
+ blobVersionedHashes?: undefined;
261
+ blobs?: undefined;
262
+ kzg?: undefined;
263
+ sidecars?: undefined;
264
+ calls?: undefined;
265
+ feeToken?: undefined;
266
+ feePayer?: undefined;
267
+ } | {
268
+ data?: `0x${string}` | undefined;
269
+ from?: `0x${string}` | undefined;
270
+ gas?: `0x${string}` | undefined;
271
+ nonce?: `0x${string}` | undefined;
272
+ to?: `0x${string}` | null | undefined;
273
+ type?: "0x2" | undefined;
274
+ value?: `0x${string}` | undefined;
275
+ gasPrice?: undefined | undefined;
276
+ maxFeePerBlobGas?: undefined | undefined;
277
+ maxFeePerGas?: `0x${string}` | undefined;
278
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
279
+ accessList?: import("viem").AccessList | undefined;
280
+ authorizationList?: undefined;
281
+ blobVersionedHashes?: undefined;
282
+ blobs?: undefined;
283
+ kzg?: undefined;
284
+ sidecars?: undefined;
285
+ calls?: undefined;
286
+ feeToken?: undefined;
287
+ feePayer?: undefined;
288
+ } | {
289
+ type?: "0x3" | undefined;
290
+ nonce?: `0x${string}` | undefined;
291
+ from?: `0x${string}` | undefined;
292
+ gas?: `0x${string}` | undefined;
293
+ value?: `0x${string}` | undefined;
294
+ data?: `0x${string}` | undefined;
295
+ to: `0x${string}` | null;
296
+ gasPrice?: undefined | undefined;
297
+ maxFeePerBlobGas?: `0x${string}` | undefined;
298
+ maxFeePerGas?: `0x${string}` | undefined;
299
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
300
+ accessList?: import("viem").AccessList | undefined;
301
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
302
+ blobs?: readonly `0x${string}`[] | readonly import("viem").ByteArray[] | undefined;
303
+ blobVersionedHashes: readonly import("viem").Hex[];
304
+ kzg?: undefined;
305
+ authorizationList?: undefined;
306
+ calls?: undefined;
307
+ feeToken?: undefined;
308
+ feePayer?: undefined;
309
+ } | {
310
+ type?: "0x3" | undefined;
311
+ nonce?: `0x${string}` | undefined;
312
+ from?: `0x${string}` | undefined;
313
+ gas?: `0x${string}` | undefined;
314
+ value?: `0x${string}` | undefined;
315
+ data?: `0x${string}` | undefined;
316
+ to: `0x${string}` | null;
317
+ gasPrice?: undefined | undefined;
318
+ maxFeePerBlobGas?: `0x${string}` | undefined;
319
+ maxFeePerGas?: `0x${string}` | undefined;
320
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
321
+ accessList?: import("viem").AccessList | undefined;
322
+ sidecars?: readonly import("viem").BlobSidecar<`0x${string}`>[] | undefined;
323
+ blobs: readonly import("viem").Hex[] | readonly import("viem").ByteArray[];
324
+ blobVersionedHashes?: readonly `0x${string}`[] | undefined;
325
+ kzg?: import("viem").Kzg | undefined;
326
+ authorizationList?: undefined;
327
+ calls?: undefined;
328
+ feeToken?: undefined;
329
+ feePayer?: undefined;
330
+ } | {
331
+ type?: "0x4" | undefined;
332
+ nonce?: `0x${string}` | undefined;
333
+ accessList?: import("viem").AccessList | undefined;
334
+ from?: `0x${string}` | undefined;
335
+ gas?: `0x${string}` | undefined;
336
+ maxFeePerGas?: `0x${string}` | undefined;
337
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
338
+ to?: `0x${string}` | null | undefined;
339
+ value?: `0x${string}` | undefined;
340
+ data?: `0x${string}` | undefined;
341
+ gasPrice?: undefined | undefined;
342
+ maxFeePerBlobGas?: undefined | undefined;
343
+ authorizationList?: import("viem").RpcAuthorizationList | undefined;
344
+ blobVersionedHashes?: undefined;
345
+ blobs?: undefined;
346
+ kzg?: undefined;
347
+ sidecars?: undefined;
348
+ calls?: undefined;
349
+ feeToken?: undefined;
350
+ feePayer?: undefined;
351
+ } | {
352
+ data?: `0x${string}` | undefined;
353
+ from?: `0x${string}` | undefined;
354
+ gas?: `0x${string}` | undefined;
355
+ nonce?: `0x${string}` | undefined;
356
+ to?: `0x${string}` | null | undefined;
357
+ type?: "0x76" | undefined;
358
+ value?: `0x${string}` | undefined;
359
+ gasPrice?: undefined | undefined;
360
+ maxFeePerBlobGas?: undefined | undefined;
361
+ maxFeePerGas?: `0x${string}` | undefined;
362
+ maxPriorityFeePerGas?: `0x${string}` | undefined;
363
+ accessList?: import("viem").AccessList | undefined;
364
+ authorizationList?: import("viem").AuthorizationList<`0x${string}`, boolean> | undefined;
365
+ calls?: readonly import("./ox/TransactionEnvelopeAA.js").Call<`0x${string}`>[] | undefined;
366
+ feePayer?: true | import("viem").Account | undefined;
367
+ feeToken?: bigint | `0x${string}` | undefined;
368
+ blobVersionedHashes?: undefined;
369
+ blobs?: undefined;
370
+ kzg?: undefined;
371
+ sidecars?: undefined;
372
+ }) & {};
373
+ type: "transactionRequest";
19
374
  };
20
375
  };
21
- ensTlds?: readonly string[] | undefined;
22
- id: 42427;
23
- name: "Tempo Andante";
376
+ readonly serializers: {
377
+ readonly transaction: import("viem").SerializeTransactionFn;
378
+ };
379
+ } & {
380
+ id: number;
381
+ name: string;
24
382
  nativeCurrency: {
25
- readonly name: "USD";
26
- readonly symbol: "USD";
27
- readonly decimals: 6;
383
+ name: string;
384
+ symbol: string;
385
+ decimals: number;
28
386
  };
29
- experimental_preconfirmationTime?: number | undefined | undefined;
30
387
  rpcUrls: {
31
- readonly default: {
32
- readonly http: readonly ["https://rpc-andante.tempoxyz.dev"];
388
+ default: {
389
+ http: string[];
33
390
  };
34
391
  };
35
- sourceId?: number | undefined | undefined;
36
- testnet?: boolean | undefined | undefined;
37
- custom?: Record<string, unknown> | undefined;
38
- fees?: import("viem").ChainFees<undefined> | undefined;
39
- formatters: {
40
- transaction: {
392
+ } & properties_1) & {
393
+ id: number;
394
+ };
395
+ export declare const tempoDev: (<properties_1 extends Chain.define.Properties | undefined>(properties?: properties_1) => {
396
+ readonly blockTime: 1000;
397
+ readonly contracts: {
398
+ readonly multicall3: {
399
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
400
+ readonly blockCreated: 0;
401
+ };
402
+ };
403
+ readonly formatters: {
404
+ readonly transaction: {
41
405
  exclude: [] | undefined;
42
406
  format: (args: import("./viem/Transaction.js").TransactionRpc, action?: string | undefined) => ({
43
407
  r: import("viem").Hex;
@@ -234,9 +598,24 @@ export declare const tempoAndante: {
234
598
  }) & {};
235
599
  type: "transaction";
236
600
  };
237
- transactionRequest: {
601
+ readonly transactionRequest: {
238
602
  exclude: [] | undefined;
239
- format: (args: import("./viem/Transaction.js").TransactionRequest, action?: string | undefined) => ({
603
+ format: (args: import("./internal/types.js").UnionOmit<import("./viem/Transaction.js").TransactionRequest, "feeToken"> & import("./viem/internal/types.js").GetFeeTokenParameter<{
604
+ id: number;
605
+ name: string;
606
+ nativeCurrency: {
607
+ name: string;
608
+ symbol: string;
609
+ decimals: number;
610
+ };
611
+ rpcUrls: {
612
+ default: {
613
+ http: string[];
614
+ };
615
+ };
616
+ } & properties_1> & {
617
+ account?: import("viem").Account | undefined;
618
+ }, action?: string | undefined) => ({
240
619
  data?: `0x${string}` | undefined;
241
620
  from?: `0x${string}` | undefined;
242
621
  gas?: `0x${string}` | undefined;
@@ -387,50 +766,35 @@ export declare const tempoAndante: {
387
766
  type: "transactionRequest";
388
767
  };
389
768
  };
390
- serializers: {
391
- transaction: typeof import("./viem/Transaction.js").serialize;
769
+ readonly serializers: {
770
+ readonly transaction: import("viem").SerializeTransactionFn;
392
771
  };
393
- };
394
- export declare const tempoLocal: {
395
- blockExplorers?: {
396
- [key: string]: {
397
- name: string;
398
- url: string;
399
- apiUrl?: string | undefined;
400
- };
401
- default: {
402
- name: string;
403
- url: string;
404
- apiUrl?: string | undefined;
405
- };
406
- } | undefined | undefined;
407
- blockTime: number;
408
- contracts: {
409
- multicall3: {
410
- address: "0xca11bde05977b3631167028862be2a173976ca11";
411
- blockCreated: number;
412
- };
413
- };
414
- ensTlds?: readonly string[] | undefined;
415
- id: 1337;
416
- name: "Tempo";
772
+ } & {
773
+ id: number;
774
+ name: string;
417
775
  nativeCurrency: {
418
- readonly name: "USD";
419
- readonly symbol: "USD";
420
- readonly decimals: 6;
776
+ name: string;
777
+ symbol: string;
778
+ decimals: number;
421
779
  };
422
- experimental_preconfirmationTime?: number | undefined | undefined;
423
780
  rpcUrls: {
424
- readonly default: {
425
- readonly http: readonly ["http://localhost:8545"];
781
+ default: {
782
+ http: string[];
783
+ };
784
+ };
785
+ } & properties_1) & {
786
+ id: number;
787
+ };
788
+ export declare const tempoLocal: (<properties_1 extends Chain.define.Properties | undefined>(properties?: properties_1) => {
789
+ readonly blockTime: 1000;
790
+ readonly contracts: {
791
+ readonly multicall3: {
792
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
793
+ readonly blockCreated: 0;
426
794
  };
427
795
  };
428
- sourceId?: number | undefined | undefined;
429
- testnet?: boolean | undefined | undefined;
430
- custom?: Record<string, unknown> | undefined;
431
- fees?: import("viem").ChainFees<undefined> | undefined;
432
- formatters: {
433
- transaction: {
796
+ readonly formatters: {
797
+ readonly transaction: {
434
798
  exclude: [] | undefined;
435
799
  format: (args: import("./viem/Transaction.js").TransactionRpc, action?: string | undefined) => ({
436
800
  r: import("viem").Hex;
@@ -627,9 +991,24 @@ export declare const tempoLocal: {
627
991
  }) & {};
628
992
  type: "transaction";
629
993
  };
630
- transactionRequest: {
994
+ readonly transactionRequest: {
631
995
  exclude: [] | undefined;
632
- format: (args: import("./viem/Transaction.js").TransactionRequest, action?: string | undefined) => ({
996
+ format: (args: import("./internal/types.js").UnionOmit<import("./viem/Transaction.js").TransactionRequest, "feeToken"> & import("./viem/internal/types.js").GetFeeTokenParameter<{
997
+ id: number;
998
+ name: string;
999
+ nativeCurrency: {
1000
+ name: string;
1001
+ symbol: string;
1002
+ decimals: number;
1003
+ };
1004
+ rpcUrls: {
1005
+ default: {
1006
+ http: string[];
1007
+ };
1008
+ };
1009
+ } & properties_1> & {
1010
+ account?: import("viem").Account | undefined;
1011
+ }, action?: string | undefined) => ({
633
1012
  data?: `0x${string}` | undefined;
634
1013
  from?: `0x${string}` | undefined;
635
1014
  gas?: `0x${string}` | undefined;
@@ -780,50 +1159,35 @@ export declare const tempoLocal: {
780
1159
  type: "transactionRequest";
781
1160
  };
782
1161
  };
783
- serializers: {
784
- transaction: typeof import("./viem/Transaction.js").serialize;
1162
+ readonly serializers: {
1163
+ readonly transaction: import("viem").SerializeTransactionFn;
785
1164
  };
786
- };
787
- export declare const tempo: {
788
- blockExplorers?: {
789
- [key: string]: {
790
- name: string;
791
- url: string;
792
- apiUrl?: string | undefined;
793
- };
794
- default: {
795
- name: string;
796
- url: string;
797
- apiUrl?: string | undefined;
798
- };
799
- } | undefined | undefined;
800
- blockTime: number;
801
- contracts: {
802
- multicall3: {
803
- address: "0xca11bde05977b3631167028862be2a173976ca11";
804
- blockCreated: number;
805
- };
806
- };
807
- ensTlds?: readonly string[] | undefined;
808
- id: 42427;
809
- name: "Tempo Andante";
1165
+ } & {
1166
+ id: number;
1167
+ name: string;
810
1168
  nativeCurrency: {
811
- readonly name: "USD";
812
- readonly symbol: "USD";
813
- readonly decimals: 6;
1169
+ name: string;
1170
+ symbol: string;
1171
+ decimals: number;
814
1172
  };
815
- experimental_preconfirmationTime?: number | undefined | undefined;
816
1173
  rpcUrls: {
817
- readonly default: {
818
- readonly http: readonly ["https://rpc-andante.tempoxyz.dev"];
1174
+ default: {
1175
+ http: string[];
1176
+ };
1177
+ };
1178
+ } & properties_1) & {
1179
+ id: number;
1180
+ };
1181
+ export declare const tempo: (<properties_1 extends Chain.define.Properties | undefined>(properties?: properties_1) => {
1182
+ readonly blockTime: 1000;
1183
+ readonly contracts: {
1184
+ readonly multicall3: {
1185
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1186
+ readonly blockCreated: 0;
819
1187
  };
820
1188
  };
821
- sourceId?: number | undefined | undefined;
822
- testnet?: boolean | undefined | undefined;
823
- custom?: Record<string, unknown> | undefined;
824
- fees?: import("viem").ChainFees<undefined> | undefined;
825
- formatters: {
826
- transaction: {
1189
+ readonly formatters: {
1190
+ readonly transaction: {
827
1191
  exclude: [] | undefined;
828
1192
  format: (args: import("./viem/Transaction.js").TransactionRpc, action?: string | undefined) => ({
829
1193
  r: import("viem").Hex;
@@ -1020,9 +1384,24 @@ export declare const tempo: {
1020
1384
  }) & {};
1021
1385
  type: "transaction";
1022
1386
  };
1023
- transactionRequest: {
1387
+ readonly transactionRequest: {
1024
1388
  exclude: [] | undefined;
1025
- format: (args: import("./viem/Transaction.js").TransactionRequest, action?: string | undefined) => ({
1389
+ format: (args: import("./internal/types.js").UnionOmit<import("./viem/Transaction.js").TransactionRequest, "feeToken"> & import("./viem/internal/types.js").GetFeeTokenParameter<{
1390
+ id: number;
1391
+ name: string;
1392
+ nativeCurrency: {
1393
+ name: string;
1394
+ symbol: string;
1395
+ decimals: number;
1396
+ };
1397
+ rpcUrls: {
1398
+ default: {
1399
+ http: string[];
1400
+ };
1401
+ };
1402
+ } & properties_1> & {
1403
+ account?: import("viem").Account | undefined;
1404
+ }, action?: string | undefined) => ({
1026
1405
  data?: `0x${string}` | undefined;
1027
1406
  from?: `0x${string}` | undefined;
1028
1407
  gas?: `0x${string}` | undefined;
@@ -1173,8 +1552,23 @@ export declare const tempo: {
1173
1552
  type: "transactionRequest";
1174
1553
  };
1175
1554
  };
1176
- serializers: {
1177
- transaction: typeof import("./viem/Transaction.js").serialize;
1555
+ readonly serializers: {
1556
+ readonly transaction: import("viem").SerializeTransactionFn;
1557
+ };
1558
+ } & {
1559
+ id: number;
1560
+ name: string;
1561
+ nativeCurrency: {
1562
+ name: string;
1563
+ symbol: string;
1564
+ decimals: number;
1565
+ };
1566
+ rpcUrls: {
1567
+ default: {
1568
+ http: string[];
1569
+ };
1178
1570
  };
1571
+ } & properties_1) & {
1572
+ id: number;
1179
1573
  };
1180
1574
  //# sourceMappingURL=chains.d.ts.map