@uswap/toolboxes 4.3.6

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 (275) hide show
  1. package/dist/src/cardano/index.cjs +4 -0
  2. package/dist/src/cardano/index.cjs.map +11 -0
  3. package/dist/src/cardano/index.js +4 -0
  4. package/dist/src/cardano/index.js.map +11 -0
  5. package/dist/src/cosmos/index.cjs +4 -0
  6. package/dist/src/cosmos/index.cjs.map +20 -0
  7. package/dist/src/cosmos/index.js +4 -0
  8. package/dist/src/cosmos/index.js.map +20 -0
  9. package/dist/src/evm/index.cjs +4 -0
  10. package/dist/src/evm/index.cjs.map +20 -0
  11. package/dist/src/evm/index.js +4 -0
  12. package/dist/src/evm/index.js.map +20 -0
  13. package/dist/src/index.cjs +5 -0
  14. package/dist/src/index.cjs.map +67 -0
  15. package/dist/src/index.js +5 -0
  16. package/dist/src/index.js.map +67 -0
  17. package/dist/src/near/index.cjs +4 -0
  18. package/dist/src/near/index.cjs.map +16 -0
  19. package/dist/src/near/index.js +4 -0
  20. package/dist/src/near/index.js.map +16 -0
  21. package/dist/src/radix/index.cjs +4 -0
  22. package/dist/src/radix/index.cjs.map +10 -0
  23. package/dist/src/radix/index.js +4 -0
  24. package/dist/src/radix/index.js.map +10 -0
  25. package/dist/src/ripple/index.cjs +4 -0
  26. package/dist/src/ripple/index.cjs.map +10 -0
  27. package/dist/src/ripple/index.js +4 -0
  28. package/dist/src/ripple/index.js.map +10 -0
  29. package/dist/src/solana/index.cjs +4 -0
  30. package/dist/src/solana/index.cjs.map +11 -0
  31. package/dist/src/solana/index.js +4 -0
  32. package/dist/src/solana/index.js.map +11 -0
  33. package/dist/src/substrate/index.cjs +4 -0
  34. package/dist/src/substrate/index.cjs.map +13 -0
  35. package/dist/src/substrate/index.js +4 -0
  36. package/dist/src/substrate/index.js.map +13 -0
  37. package/dist/src/sui/index.cjs +4 -0
  38. package/dist/src/sui/index.cjs.map +11 -0
  39. package/dist/src/sui/index.js +4 -0
  40. package/dist/src/sui/index.js.map +11 -0
  41. package/dist/src/ton/index.cjs +4 -0
  42. package/dist/src/ton/index.cjs.map +11 -0
  43. package/dist/src/ton/index.js +4 -0
  44. package/dist/src/ton/index.js.map +11 -0
  45. package/dist/src/tron/index.cjs +4 -0
  46. package/dist/src/tron/index.cjs.map +13 -0
  47. package/dist/src/tron/index.js +4 -0
  48. package/dist/src/tron/index.js.map +13 -0
  49. package/dist/src/utxo/index.cjs +5 -0
  50. package/dist/src/utxo/index.cjs.map +21 -0
  51. package/dist/src/utxo/index.js +5 -0
  52. package/dist/src/utxo/index.js.map +21 -0
  53. package/dist/types/cardano/index.d.ts +3 -0
  54. package/dist/types/cardano/index.d.ts.map +1 -0
  55. package/dist/types/cardano/toolbox.d.ts +34 -0
  56. package/dist/types/cardano/toolbox.d.ts.map +1 -0
  57. package/dist/types/cardano/types.d.ts +11 -0
  58. package/dist/types/cardano/types.d.ts.map +1 -0
  59. package/dist/types/cosmos/index.d.ts +5 -0
  60. package/dist/types/cosmos/index.d.ts.map +1 -0
  61. package/dist/types/cosmos/thorchainUtils/addressFormat.d.ts +5 -0
  62. package/dist/types/cosmos/thorchainUtils/addressFormat.d.ts.map +1 -0
  63. package/dist/types/cosmos/thorchainUtils/index.d.ts +5 -0
  64. package/dist/types/cosmos/thorchainUtils/index.d.ts.map +1 -0
  65. package/dist/types/cosmos/thorchainUtils/messages.d.ts +208 -0
  66. package/dist/types/cosmos/thorchainUtils/messages.d.ts.map +1 -0
  67. package/dist/types/cosmos/thorchainUtils/registry.d.ts +4 -0
  68. package/dist/types/cosmos/thorchainUtils/registry.d.ts.map +1 -0
  69. package/dist/types/cosmos/thorchainUtils/types/MsgCompiled.d.ts +2 -0
  70. package/dist/types/cosmos/thorchainUtils/types/MsgCompiled.d.ts.map +1 -0
  71. package/dist/types/cosmos/thorchainUtils/types/client-types.d.ts +63 -0
  72. package/dist/types/cosmos/thorchainUtils/types/client-types.d.ts.map +1 -0
  73. package/dist/types/cosmos/thorchainUtils/types/index.d.ts +2 -0
  74. package/dist/types/cosmos/thorchainUtils/types/index.d.ts.map +1 -0
  75. package/dist/types/cosmos/toolbox/cosmos.d.ts +62 -0
  76. package/dist/types/cosmos/toolbox/cosmos.d.ts.map +1 -0
  77. package/dist/types/cosmos/toolbox/index.d.ts +15 -0
  78. package/dist/types/cosmos/toolbox/index.d.ts.map +1 -0
  79. package/dist/types/cosmos/toolbox/thorchain.d.ts +158 -0
  80. package/dist/types/cosmos/toolbox/thorchain.d.ts.map +1 -0
  81. package/dist/types/cosmos/types.d.ts +49 -0
  82. package/dist/types/cosmos/types.d.ts.map +1 -0
  83. package/dist/types/cosmos/util.d.ts +74 -0
  84. package/dist/types/cosmos/util.d.ts.map +1 -0
  85. package/dist/types/evm/api.d.ts +8 -0
  86. package/dist/types/evm/api.d.ts.map +1 -0
  87. package/dist/types/evm/contracts/eth/multicall.d.ts +36 -0
  88. package/dist/types/evm/contracts/eth/multicall.d.ts.map +1 -0
  89. package/dist/types/evm/contracts/op/gasOracle.d.ts +40 -0
  90. package/dist/types/evm/contracts/op/gasOracle.d.ts.map +1 -0
  91. package/dist/types/evm/helpers.d.ts +6 -0
  92. package/dist/types/evm/helpers.d.ts.map +1 -0
  93. package/dist/types/evm/index.d.ts +5 -0
  94. package/dist/types/evm/index.d.ts.map +1 -0
  95. package/dist/types/evm/toolbox/baseEVMToolbox.d.ts +83 -0
  96. package/dist/types/evm/toolbox/baseEVMToolbox.d.ts.map +1 -0
  97. package/dist/types/evm/toolbox/evm.d.ts +767 -0
  98. package/dist/types/evm/toolbox/evm.d.ts.map +1 -0
  99. package/dist/types/evm/toolbox/index.d.ts +7 -0
  100. package/dist/types/evm/toolbox/index.d.ts.map +1 -0
  101. package/dist/types/evm/toolbox/op.d.ts +76 -0
  102. package/dist/types/evm/toolbox/op.d.ts.map +1 -0
  103. package/dist/types/evm/types.d.ts +108 -0
  104. package/dist/types/evm/types.d.ts.map +1 -0
  105. package/dist/types/index.d.ts +75 -0
  106. package/dist/types/index.d.ts.map +1 -0
  107. package/dist/types/near/helpers/core.d.ts +15 -0
  108. package/dist/types/near/helpers/core.d.ts.map +1 -0
  109. package/dist/types/near/helpers/gasEstimation.d.ts +41 -0
  110. package/dist/types/near/helpers/gasEstimation.d.ts.map +1 -0
  111. package/dist/types/near/helpers/nep141.d.ts +36 -0
  112. package/dist/types/near/helpers/nep141.d.ts.map +1 -0
  113. package/dist/types/near/index.d.ts +10 -0
  114. package/dist/types/near/index.d.ts.map +1 -0
  115. package/dist/types/near/toolbox.d.ts +32 -0
  116. package/dist/types/near/toolbox.d.ts.map +1 -0
  117. package/dist/types/near/types/contract.d.ts +38 -0
  118. package/dist/types/near/types/contract.d.ts.map +1 -0
  119. package/dist/types/near/types/nep141.d.ts +29 -0
  120. package/dist/types/near/types/nep141.d.ts.map +1 -0
  121. package/dist/types/near/types/toolbox.d.ts +51 -0
  122. package/dist/types/near/types/toolbox.d.ts.map +1 -0
  123. package/dist/types/near/types.d.ts +47 -0
  124. package/dist/types/near/types.d.ts.map +1 -0
  125. package/dist/types/radix/index.d.ts +14 -0
  126. package/dist/types/radix/index.d.ts.map +1 -0
  127. package/dist/types/ripple/index.d.ts +46 -0
  128. package/dist/types/ripple/index.d.ts.map +1 -0
  129. package/dist/types/solana/index.d.ts +23 -0
  130. package/dist/types/solana/index.d.ts.map +1 -0
  131. package/dist/types/solana/toolbox.d.ts +51 -0
  132. package/dist/types/solana/toolbox.d.ts.map +1 -0
  133. package/dist/types/substrate/balance.d.ts +17 -0
  134. package/dist/types/substrate/balance.d.ts.map +1 -0
  135. package/dist/types/substrate/index.d.ts +3 -0
  136. package/dist/types/substrate/index.d.ts.map +1 -0
  137. package/dist/types/substrate/substrate.d.ts +148 -0
  138. package/dist/types/substrate/substrate.d.ts.map +1 -0
  139. package/dist/types/substrate/types.d.ts +100 -0
  140. package/dist/types/substrate/types.d.ts.map +1 -0
  141. package/dist/types/sui/index.d.ts +3 -0
  142. package/dist/types/sui/index.d.ts.map +1 -0
  143. package/dist/types/sui/toolbox.d.ts +19 -0
  144. package/dist/types/sui/toolbox.d.ts.map +1 -0
  145. package/dist/types/sui/types.d.ts +16 -0
  146. package/dist/types/sui/types.d.ts.map +1 -0
  147. package/dist/types/ton/index.d.ts +3 -0
  148. package/dist/types/ton/index.d.ts.map +1 -0
  149. package/dist/types/ton/toolbox.d.ts +14 -0
  150. package/dist/types/ton/toolbox.d.ts.map +1 -0
  151. package/dist/types/ton/types.d.ts +22 -0
  152. package/dist/types/ton/types.d.ts.map +1 -0
  153. package/dist/types/tron/helpers/trc20.abi.d.ts +156 -0
  154. package/dist/types/tron/helpers/trc20.abi.d.ts.map +1 -0
  155. package/dist/types/tron/helpers/trongrid.d.ts +8 -0
  156. package/dist/types/tron/helpers/trongrid.d.ts.map +1 -0
  157. package/dist/types/tron/index.d.ts +6 -0
  158. package/dist/types/tron/index.d.ts.map +1 -0
  159. package/dist/types/tron/toolbox.d.ts +26 -0
  160. package/dist/types/tron/toolbox.d.ts.map +1 -0
  161. package/dist/types/tron/types.d.ts +103 -0
  162. package/dist/types/tron/types.d.ts.map +1 -0
  163. package/dist/types/types.d.ts +26 -0
  164. package/dist/types/types.d.ts.map +1 -0
  165. package/dist/types/utils.d.ts +4 -0
  166. package/dist/types/utils.d.ts.map +1 -0
  167. package/dist/types/utxo/helpers/api.d.ts +101 -0
  168. package/dist/types/utxo/helpers/api.d.ts.map +1 -0
  169. package/dist/types/utxo/helpers/bchaddrjs.d.ts +10 -0
  170. package/dist/types/utxo/helpers/bchaddrjs.d.ts.map +1 -0
  171. package/dist/types/utxo/helpers/coinselect.d.ts +17 -0
  172. package/dist/types/utxo/helpers/coinselect.d.ts.map +1 -0
  173. package/dist/types/utxo/helpers/index.d.ts +5 -0
  174. package/dist/types/utxo/helpers/index.d.ts.map +1 -0
  175. package/dist/types/utxo/helpers/txSize.d.ts +21 -0
  176. package/dist/types/utxo/helpers/txSize.d.ts.map +1 -0
  177. package/dist/types/utxo/index.d.ts +7 -0
  178. package/dist/types/utxo/index.d.ts.map +1 -0
  179. package/dist/types/utxo/toolbox/bitcoinCash.d.ts +93 -0
  180. package/dist/types/utxo/toolbox/bitcoinCash.d.ts.map +1 -0
  181. package/dist/types/utxo/toolbox/index.d.ts +28 -0
  182. package/dist/types/utxo/toolbox/index.d.ts.map +1 -0
  183. package/dist/types/utxo/toolbox/params.d.ts +32 -0
  184. package/dist/types/utxo/toolbox/params.d.ts.map +1 -0
  185. package/dist/types/utxo/toolbox/utxo.d.ts +103 -0
  186. package/dist/types/utxo/toolbox/utxo.d.ts.map +1 -0
  187. package/dist/types/utxo/toolbox/validators.d.ts +4 -0
  188. package/dist/types/utxo/toolbox/validators.d.ts.map +1 -0
  189. package/dist/types/utxo/toolbox/zcash.d.ts +72 -0
  190. package/dist/types/utxo/toolbox/zcash.d.ts.map +1 -0
  191. package/dist/types/utxo/types.d.ts +46 -0
  192. package/dist/types/utxo/types.d.ts.map +1 -0
  193. package/package.json +205 -0
  194. package/src/__tests__/address-validation-all-chains.test.ts +162 -0
  195. package/src/__tests__/addressValidator.test.ts +162 -0
  196. package/src/cardano/__tests__/toolbox.test.ts +48 -0
  197. package/src/cardano/index.ts +2 -0
  198. package/src/cardano/toolbox.ts +168 -0
  199. package/src/cardano/types.ts +10 -0
  200. package/src/cosmos/__tests__/toolbox.test.ts +91 -0
  201. package/src/cosmos/index.ts +4 -0
  202. package/src/cosmos/thorchainUtils/addressFormat.ts +22 -0
  203. package/src/cosmos/thorchainUtils/index.ts +4 -0
  204. package/src/cosmos/thorchainUtils/messages.ts +212 -0
  205. package/src/cosmos/thorchainUtils/registry.ts +43 -0
  206. package/src/cosmos/thorchainUtils/types/MsgCompiled.ts +2800 -0
  207. package/src/cosmos/thorchainUtils/types/client-types.ts +54 -0
  208. package/src/cosmos/thorchainUtils/types/index.ts +1 -0
  209. package/src/cosmos/toolbox/cosmos.ts +345 -0
  210. package/src/cosmos/toolbox/index.ts +35 -0
  211. package/src/cosmos/toolbox/thorchain.ts +249 -0
  212. package/src/cosmos/types.ts +48 -0
  213. package/src/cosmos/util.ts +214 -0
  214. package/src/evm/__tests__/address-validation.test.ts +84 -0
  215. package/src/evm/__tests__/ethereum.test.ts +137 -0
  216. package/src/evm/__tests__/signMessage.test.ts +60 -0
  217. package/src/evm/api.ts +10 -0
  218. package/src/evm/contracts/eth/multicall.ts +165 -0
  219. package/src/evm/contracts/op/gasOracle.ts +145 -0
  220. package/src/evm/helpers.ts +73 -0
  221. package/src/evm/index.ts +4 -0
  222. package/src/evm/toolbox/baseEVMToolbox.ts +695 -0
  223. package/src/evm/toolbox/evm.ts +67 -0
  224. package/src/evm/toolbox/index.ts +44 -0
  225. package/src/evm/toolbox/op.ts +156 -0
  226. package/src/evm/types.ts +146 -0
  227. package/src/index.ts +260 -0
  228. package/src/near/__tests__/core.test.ts +70 -0
  229. package/src/near/helpers/core.ts +85 -0
  230. package/src/near/helpers/gasEstimation.ts +96 -0
  231. package/src/near/helpers/nep141.ts +50 -0
  232. package/src/near/index.ts +21 -0
  233. package/src/near/toolbox.ts +421 -0
  234. package/src/near/types/contract.ts +32 -0
  235. package/src/near/types/nep141.ts +34 -0
  236. package/src/near/types/toolbox.ts +55 -0
  237. package/src/near/types.ts +44 -0
  238. package/src/radix/index.ts +132 -0
  239. package/src/ripple/index.ts +179 -0
  240. package/src/solana/index.ts +36 -0
  241. package/src/solana/toolbox.ts +415 -0
  242. package/src/substrate/balance.ts +88 -0
  243. package/src/substrate/index.ts +2 -0
  244. package/src/substrate/substrate.ts +281 -0
  245. package/src/substrate/types.ts +115 -0
  246. package/src/sui/__tests__/toolbox.test.ts +82 -0
  247. package/src/sui/index.ts +2 -0
  248. package/src/sui/toolbox.ts +165 -0
  249. package/src/sui/types.ts +11 -0
  250. package/src/ton/__tests__/toolbox.test.ts +63 -0
  251. package/src/ton/index.ts +2 -0
  252. package/src/ton/toolbox.ts +136 -0
  253. package/src/ton/types.ts +13 -0
  254. package/src/tron/__tests__/toolbox.test.ts +221 -0
  255. package/src/tron/helpers/trc20.abi.ts +107 -0
  256. package/src/tron/helpers/trongrid.ts +53 -0
  257. package/src/tron/index.ts +21 -0
  258. package/src/tron/toolbox.ts +585 -0
  259. package/src/tron/types.ts +83 -0
  260. package/src/types.ts +28 -0
  261. package/src/utils.ts +27 -0
  262. package/src/utxo/__tests__/zcash-integration.test.ts +97 -0
  263. package/src/utxo/helpers/api.ts +471 -0
  264. package/src/utxo/helpers/bchaddrjs.ts +166 -0
  265. package/src/utxo/helpers/coinselect.ts +92 -0
  266. package/src/utxo/helpers/index.ts +4 -0
  267. package/src/utxo/helpers/txSize.ts +137 -0
  268. package/src/utxo/index.ts +6 -0
  269. package/src/utxo/toolbox/bitcoinCash.ts +243 -0
  270. package/src/utxo/toolbox/index.ts +59 -0
  271. package/src/utxo/toolbox/params.ts +18 -0
  272. package/src/utxo/toolbox/utxo.ts +439 -0
  273. package/src/utxo/toolbox/validators.ts +36 -0
  274. package/src/utxo/toolbox/zcash.ts +245 -0
  275. package/src/utxo/types.ts +39 -0
@@ -0,0 +1,767 @@
1
+ import { type EVMChain, FeeOption } from "@uswap/helpers";
2
+ import type { EVMToolboxParams } from "../types";
3
+ export declare function ETHToolbox({ provider, ...signer }: EVMToolboxParams): Promise<{
4
+ multicall: (callTuples: {
5
+ address: string;
6
+ data: string;
7
+ }[], multicallAddress?: string, funcName?: string, feeOptionKey?: FeeOption) => Promise<string>;
8
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
9
+ getNetworkParams: () => undefined;
10
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
11
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
12
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
13
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
14
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
15
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
16
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
17
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
18
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
19
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
20
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
21
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
22
+ assetValue: import("@uswap/helpers").AssetValue;
23
+ funcName?: string;
24
+ funcParams?: unknown[];
25
+ txOverrides?: import("..").EVMTxParams;
26
+ data?: string;
27
+ }) => Promise<bigint>;
28
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
29
+ l1GasPrice?: bigint;
30
+ gasPrice?: bigint;
31
+ maxFeePerGas?: bigint;
32
+ maxPriorityFeePerGas?: bigint;
33
+ }; }>;
34
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
35
+ feeOption: FeeOption;
36
+ chain: EVMChain;
37
+ }) => Promise<import("@uswap/helpers").AssetValue>;
38
+ getAddress: () => string | Promise<string> | undefined;
39
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
40
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
41
+ feeOptionKey?: FeeOption;
42
+ }) => Promise<string>;
43
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
44
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
45
+ validateAddress: (address: string) => boolean;
46
+ }>;
47
+ export declare const ARBToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
48
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
49
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
50
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
51
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
52
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
53
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
54
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
55
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
56
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
57
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
58
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
59
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
60
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
61
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
62
+ assetValue: import("@uswap/helpers").AssetValue;
63
+ funcName?: string;
64
+ funcParams?: unknown[];
65
+ txOverrides?: import("..").EVMTxParams;
66
+ data?: string;
67
+ }) => Promise<bigint>;
68
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
69
+ l1GasPrice?: bigint;
70
+ gasPrice?: bigint;
71
+ maxFeePerGas?: bigint;
72
+ maxPriorityFeePerGas?: bigint;
73
+ }; }>;
74
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
75
+ feeOption: FeeOption;
76
+ chain: EVMChain;
77
+ }) => Promise<import("@uswap/helpers").AssetValue>;
78
+ getAddress: () => string | Promise<string> | undefined;
79
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
80
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
81
+ feeOptionKey?: FeeOption;
82
+ }) => Promise<string>;
83
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
84
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
85
+ validateAddress: (address: string) => boolean;
86
+ }>;
87
+ export declare const AURORAToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
88
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
89
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
90
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
91
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
92
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
93
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
94
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
95
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
96
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
97
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
98
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
99
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
100
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
101
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
102
+ assetValue: import("@uswap/helpers").AssetValue;
103
+ funcName?: string;
104
+ funcParams?: unknown[];
105
+ txOverrides?: import("..").EVMTxParams;
106
+ data?: string;
107
+ }) => Promise<bigint>;
108
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
109
+ l1GasPrice?: bigint;
110
+ gasPrice?: bigint;
111
+ maxFeePerGas?: bigint;
112
+ maxPriorityFeePerGas?: bigint;
113
+ }; }>;
114
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
115
+ feeOption: FeeOption;
116
+ chain: EVMChain;
117
+ }) => Promise<import("@uswap/helpers").AssetValue>;
118
+ getAddress: () => string | Promise<string> | undefined;
119
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
120
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
121
+ feeOptionKey?: FeeOption;
122
+ }) => Promise<string>;
123
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
124
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
125
+ validateAddress: (address: string) => boolean;
126
+ }>;
127
+ export declare const AVAXToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
128
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
129
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
130
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
131
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
132
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
133
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
134
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
135
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
136
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
137
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
138
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
139
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
140
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
141
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
142
+ assetValue: import("@uswap/helpers").AssetValue;
143
+ funcName?: string;
144
+ funcParams?: unknown[];
145
+ txOverrides?: import("..").EVMTxParams;
146
+ data?: string;
147
+ }) => Promise<bigint>;
148
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
149
+ l1GasPrice?: bigint;
150
+ gasPrice?: bigint;
151
+ maxFeePerGas?: bigint;
152
+ maxPriorityFeePerGas?: bigint;
153
+ }; }>;
154
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
155
+ feeOption: FeeOption;
156
+ chain: EVMChain;
157
+ }) => Promise<import("@uswap/helpers").AssetValue>;
158
+ getAddress: () => string | Promise<string> | undefined;
159
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
160
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
161
+ feeOptionKey?: FeeOption;
162
+ }) => Promise<string>;
163
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
164
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
165
+ validateAddress: (address: string) => boolean;
166
+ }>;
167
+ export declare const BASEToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
168
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
169
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
170
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
171
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
172
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
173
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
174
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
175
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
176
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
177
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
178
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
179
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
180
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
181
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
182
+ assetValue: import("@uswap/helpers").AssetValue;
183
+ funcName?: string;
184
+ funcParams?: unknown[];
185
+ txOverrides?: import("..").EVMTxParams;
186
+ data?: string;
187
+ }) => Promise<bigint>;
188
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
189
+ l1GasPrice?: bigint;
190
+ gasPrice?: bigint;
191
+ maxFeePerGas?: bigint;
192
+ maxPriorityFeePerGas?: bigint;
193
+ }; }>;
194
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
195
+ feeOption: FeeOption;
196
+ chain: EVMChain;
197
+ }) => Promise<import("@uswap/helpers").AssetValue>;
198
+ getAddress: () => string | Promise<string> | undefined;
199
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
200
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
201
+ feeOptionKey?: FeeOption;
202
+ }) => Promise<string>;
203
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
204
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
205
+ validateAddress: (address: string) => boolean;
206
+ }>;
207
+ export declare const BERAToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
208
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
209
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
210
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
211
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
212
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
213
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
214
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
215
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
216
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
217
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
218
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
219
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
220
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
221
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
222
+ assetValue: import("@uswap/helpers").AssetValue;
223
+ funcName?: string;
224
+ funcParams?: unknown[];
225
+ txOverrides?: import("..").EVMTxParams;
226
+ data?: string;
227
+ }) => Promise<bigint>;
228
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
229
+ l1GasPrice?: bigint;
230
+ gasPrice?: bigint;
231
+ maxFeePerGas?: bigint;
232
+ maxPriorityFeePerGas?: bigint;
233
+ }; }>;
234
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
235
+ feeOption: FeeOption;
236
+ chain: EVMChain;
237
+ }) => Promise<import("@uswap/helpers").AssetValue>;
238
+ getAddress: () => string | Promise<string> | undefined;
239
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
240
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
241
+ feeOptionKey?: FeeOption;
242
+ }) => Promise<string>;
243
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
244
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
245
+ validateAddress: (address: string) => boolean;
246
+ }>;
247
+ export declare const BSCToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
248
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
249
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
250
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
251
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
252
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
253
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
254
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
255
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
256
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
257
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
258
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
259
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
260
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
261
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
262
+ assetValue: import("@uswap/helpers").AssetValue;
263
+ funcName?: string;
264
+ funcParams?: unknown[];
265
+ txOverrides?: import("..").EVMTxParams;
266
+ data?: string;
267
+ }) => Promise<bigint>;
268
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
269
+ l1GasPrice?: bigint;
270
+ gasPrice?: bigint;
271
+ maxFeePerGas?: bigint;
272
+ maxPriorityFeePerGas?: bigint;
273
+ }; }>;
274
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
275
+ feeOption: FeeOption;
276
+ chain: EVMChain;
277
+ }) => Promise<import("@uswap/helpers").AssetValue>;
278
+ getAddress: () => string | Promise<string> | undefined;
279
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
280
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
281
+ feeOptionKey?: FeeOption;
282
+ }) => Promise<string>;
283
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
284
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
285
+ validateAddress: (address: string) => boolean;
286
+ }>;
287
+ export declare const BotanixToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
288
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
289
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
290
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
291
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
292
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
293
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
294
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
295
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
296
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
297
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
298
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
299
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
300
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
301
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
302
+ assetValue: import("@uswap/helpers").AssetValue;
303
+ funcName?: string;
304
+ funcParams?: unknown[];
305
+ txOverrides?: import("..").EVMTxParams;
306
+ data?: string;
307
+ }) => Promise<bigint>;
308
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
309
+ l1GasPrice?: bigint;
310
+ gasPrice?: bigint;
311
+ maxFeePerGas?: bigint;
312
+ maxPriorityFeePerGas?: bigint;
313
+ }; }>;
314
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
315
+ feeOption: FeeOption;
316
+ chain: EVMChain;
317
+ }) => Promise<import("@uswap/helpers").AssetValue>;
318
+ getAddress: () => string | Promise<string> | undefined;
319
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
320
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
321
+ feeOptionKey?: FeeOption;
322
+ }) => Promise<string>;
323
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
324
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
325
+ validateAddress: (address: string) => boolean;
326
+ }>;
327
+ export declare const COREToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
328
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
329
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
330
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
331
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
332
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
333
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
334
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
335
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
336
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
337
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
338
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
339
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
340
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
341
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
342
+ assetValue: import("@uswap/helpers").AssetValue;
343
+ funcName?: string;
344
+ funcParams?: unknown[];
345
+ txOverrides?: import("..").EVMTxParams;
346
+ data?: string;
347
+ }) => Promise<bigint>;
348
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
349
+ l1GasPrice?: bigint;
350
+ gasPrice?: bigint;
351
+ maxFeePerGas?: bigint;
352
+ maxPriorityFeePerGas?: bigint;
353
+ }; }>;
354
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
355
+ feeOption: FeeOption;
356
+ chain: EVMChain;
357
+ }) => Promise<import("@uswap/helpers").AssetValue>;
358
+ getAddress: () => string | Promise<string> | undefined;
359
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
360
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
361
+ feeOptionKey?: FeeOption;
362
+ }) => Promise<string>;
363
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
364
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
365
+ validateAddress: (address: string) => boolean;
366
+ }>;
367
+ export declare const CORNToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
368
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
369
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
370
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
371
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
372
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
373
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
374
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
375
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
376
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
377
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
378
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
379
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
380
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
381
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
382
+ assetValue: import("@uswap/helpers").AssetValue;
383
+ funcName?: string;
384
+ funcParams?: unknown[];
385
+ txOverrides?: import("..").EVMTxParams;
386
+ data?: string;
387
+ }) => Promise<bigint>;
388
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
389
+ l1GasPrice?: bigint;
390
+ gasPrice?: bigint;
391
+ maxFeePerGas?: bigint;
392
+ maxPriorityFeePerGas?: bigint;
393
+ }; }>;
394
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
395
+ feeOption: FeeOption;
396
+ chain: EVMChain;
397
+ }) => Promise<import("@uswap/helpers").AssetValue>;
398
+ getAddress: () => string | Promise<string> | undefined;
399
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
400
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
401
+ feeOptionKey?: FeeOption;
402
+ }) => Promise<string>;
403
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
404
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
405
+ validateAddress: (address: string) => boolean;
406
+ }>;
407
+ export declare const CROToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
408
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
409
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
410
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
411
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
412
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
413
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
414
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
415
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
416
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
417
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
418
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
419
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
420
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
421
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
422
+ assetValue: import("@uswap/helpers").AssetValue;
423
+ funcName?: string;
424
+ funcParams?: unknown[];
425
+ txOverrides?: import("..").EVMTxParams;
426
+ data?: string;
427
+ }) => Promise<bigint>;
428
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
429
+ l1GasPrice?: bigint;
430
+ gasPrice?: bigint;
431
+ maxFeePerGas?: bigint;
432
+ maxPriorityFeePerGas?: bigint;
433
+ }; }>;
434
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
435
+ feeOption: FeeOption;
436
+ chain: EVMChain;
437
+ }) => Promise<import("@uswap/helpers").AssetValue>;
438
+ getAddress: () => string | Promise<string> | undefined;
439
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
440
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
441
+ feeOptionKey?: FeeOption;
442
+ }) => Promise<string>;
443
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
444
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
445
+ validateAddress: (address: string) => boolean;
446
+ }>;
447
+ export declare const GNOToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
448
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
449
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
450
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
451
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
452
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
453
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
454
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
455
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
456
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
457
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
458
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
459
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
460
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
461
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
462
+ assetValue: import("@uswap/helpers").AssetValue;
463
+ funcName?: string;
464
+ funcParams?: unknown[];
465
+ txOverrides?: import("..").EVMTxParams;
466
+ data?: string;
467
+ }) => Promise<bigint>;
468
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
469
+ l1GasPrice?: bigint;
470
+ gasPrice?: bigint;
471
+ maxFeePerGas?: bigint;
472
+ maxPriorityFeePerGas?: bigint;
473
+ }; }>;
474
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
475
+ feeOption: FeeOption;
476
+ chain: EVMChain;
477
+ }) => Promise<import("@uswap/helpers").AssetValue>;
478
+ getAddress: () => string | Promise<string> | undefined;
479
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
480
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
481
+ feeOptionKey?: FeeOption;
482
+ }) => Promise<string>;
483
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
484
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
485
+ validateAddress: (address: string) => boolean;
486
+ }>;
487
+ export declare const HYPEREVMToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
488
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
489
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
490
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
491
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
492
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
493
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
494
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
495
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
496
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
497
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
498
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
499
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
500
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
501
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
502
+ assetValue: import("@uswap/helpers").AssetValue;
503
+ funcName?: string;
504
+ funcParams?: unknown[];
505
+ txOverrides?: import("..").EVMTxParams;
506
+ data?: string;
507
+ }) => Promise<bigint>;
508
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
509
+ l1GasPrice?: bigint;
510
+ gasPrice?: bigint;
511
+ maxFeePerGas?: bigint;
512
+ maxPriorityFeePerGas?: bigint;
513
+ }; }>;
514
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
515
+ feeOption: FeeOption;
516
+ chain: EVMChain;
517
+ }) => Promise<import("@uswap/helpers").AssetValue>;
518
+ getAddress: () => string | Promise<string> | undefined;
519
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
520
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
521
+ feeOptionKey?: FeeOption;
522
+ }) => Promise<string>;
523
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
524
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
525
+ validateAddress: (address: string) => boolean;
526
+ }>;
527
+ export declare const MATICToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
528
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
529
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
530
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
531
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
532
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
533
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
534
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
535
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
536
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
537
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
538
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
539
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
540
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
541
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
542
+ assetValue: import("@uswap/helpers").AssetValue;
543
+ funcName?: string;
544
+ funcParams?: unknown[];
545
+ txOverrides?: import("..").EVMTxParams;
546
+ data?: string;
547
+ }) => Promise<bigint>;
548
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
549
+ l1GasPrice?: bigint;
550
+ gasPrice?: bigint;
551
+ maxFeePerGas?: bigint;
552
+ maxPriorityFeePerGas?: bigint;
553
+ }; }>;
554
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
555
+ feeOption: FeeOption;
556
+ chain: EVMChain;
557
+ }) => Promise<import("@uswap/helpers").AssetValue>;
558
+ getAddress: () => string | Promise<string> | undefined;
559
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
560
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
561
+ feeOptionKey?: FeeOption;
562
+ }) => Promise<string>;
563
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
564
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
565
+ validateAddress: (address: string) => boolean;
566
+ }>;
567
+ export declare const SONICToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
568
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
569
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
570
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
571
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
572
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
573
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
574
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
575
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
576
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
577
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
578
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
579
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
580
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
581
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
582
+ assetValue: import("@uswap/helpers").AssetValue;
583
+ funcName?: string;
584
+ funcParams?: unknown[];
585
+ txOverrides?: import("..").EVMTxParams;
586
+ data?: string;
587
+ }) => Promise<bigint>;
588
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
589
+ l1GasPrice?: bigint;
590
+ gasPrice?: bigint;
591
+ maxFeePerGas?: bigint;
592
+ maxPriorityFeePerGas?: bigint;
593
+ }; }>;
594
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
595
+ feeOption: FeeOption;
596
+ chain: EVMChain;
597
+ }) => Promise<import("@uswap/helpers").AssetValue>;
598
+ getAddress: () => string | Promise<string> | undefined;
599
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
600
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
601
+ feeOptionKey?: FeeOption;
602
+ }) => Promise<string>;
603
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
604
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
605
+ validateAddress: (address: string) => boolean;
606
+ }>;
607
+ export declare const UNIToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
608
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
609
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
610
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
611
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
612
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
613
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
614
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
615
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
616
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
617
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
618
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
619
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
620
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
621
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
622
+ assetValue: import("@uswap/helpers").AssetValue;
623
+ funcName?: string;
624
+ funcParams?: unknown[];
625
+ txOverrides?: import("..").EVMTxParams;
626
+ data?: string;
627
+ }) => Promise<bigint>;
628
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
629
+ l1GasPrice?: bigint;
630
+ gasPrice?: bigint;
631
+ maxFeePerGas?: bigint;
632
+ maxPriorityFeePerGas?: bigint;
633
+ }; }>;
634
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
635
+ feeOption: FeeOption;
636
+ chain: EVMChain;
637
+ }) => Promise<import("@uswap/helpers").AssetValue>;
638
+ getAddress: () => string | Promise<string> | undefined;
639
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
640
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
641
+ feeOptionKey?: FeeOption;
642
+ }) => Promise<string>;
643
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
644
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
645
+ validateAddress: (address: string) => boolean;
646
+ }>;
647
+ export declare const XLayerToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
648
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
649
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
650
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
651
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
652
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
653
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
654
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
655
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
656
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
657
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
658
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
659
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
660
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
661
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
662
+ assetValue: import("@uswap/helpers").AssetValue;
663
+ funcName?: string;
664
+ funcParams?: unknown[];
665
+ txOverrides?: import("..").EVMTxParams;
666
+ data?: string;
667
+ }) => Promise<bigint>;
668
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
669
+ l1GasPrice?: bigint;
670
+ gasPrice?: bigint;
671
+ maxFeePerGas?: bigint;
672
+ maxPriorityFeePerGas?: bigint;
673
+ }; }>;
674
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
675
+ feeOption: FeeOption;
676
+ chain: EVMChain;
677
+ }) => Promise<import("@uswap/helpers").AssetValue>;
678
+ getAddress: () => string | Promise<string> | undefined;
679
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
680
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
681
+ feeOptionKey?: FeeOption;
682
+ }) => Promise<string>;
683
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
684
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
685
+ validateAddress: (address: string) => boolean;
686
+ }>;
687
+ export declare const MONADToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
688
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
689
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams;
690
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
691
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
692
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
693
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
694
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
695
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
696
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
697
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
698
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
699
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
700
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
701
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
702
+ assetValue: import("@uswap/helpers").AssetValue;
703
+ funcName?: string;
704
+ funcParams?: unknown[];
705
+ txOverrides?: import("..").EVMTxParams;
706
+ data?: string;
707
+ }) => Promise<bigint>;
708
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
709
+ l1GasPrice?: bigint;
710
+ gasPrice?: bigint;
711
+ maxFeePerGas?: bigint;
712
+ maxPriorityFeePerGas?: bigint;
713
+ }; }>;
714
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
715
+ feeOption: FeeOption;
716
+ chain: EVMChain;
717
+ }) => Promise<import("@uswap/helpers").AssetValue>;
718
+ getAddress: () => string | Promise<string> | undefined;
719
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
720
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
721
+ feeOptionKey?: FeeOption;
722
+ }) => Promise<string>;
723
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
724
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
725
+ validateAddress: (address: string) => boolean;
726
+ }>;
727
+ export declare const MEGAETHToolbox: ({ provider: providerParam, ...toolboxSignerParams }: EVMToolboxParams) => Promise<{
728
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@uswap/helpers").AssetValue[]>;
729
+ getNetworkParams: () => import("@uswap/helpers").NetworkParams | undefined;
730
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
731
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
732
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
733
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
734
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
735
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
736
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
737
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
738
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
739
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
740
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
741
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
742
+ assetValue: import("@uswap/helpers").AssetValue;
743
+ funcName?: string;
744
+ funcParams?: unknown[];
745
+ txOverrides?: import("..").EVMTxParams;
746
+ data?: string;
747
+ }) => Promise<bigint>;
748
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
749
+ l1GasPrice?: bigint;
750
+ gasPrice?: bigint;
751
+ maxFeePerGas?: bigint;
752
+ maxPriorityFeePerGas?: bigint;
753
+ }; }>;
754
+ estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
755
+ feeOption: FeeOption;
756
+ chain: EVMChain;
757
+ }) => Promise<import("@uswap/helpers").AssetValue>;
758
+ getAddress: () => string | Promise<string> | undefined;
759
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
760
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
761
+ feeOptionKey?: FeeOption;
762
+ }) => Promise<string>;
763
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
764
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
765
+ validateAddress: (address: string) => boolean;
766
+ }>;
767
+ //# sourceMappingURL=evm.d.ts.map