@swapkit/toolboxes 4.3.9 → 4.13.1

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 (266) hide show
  1. package/dist/LICENSE +246 -0
  2. package/dist/src/aptos/index.cjs +1 -0
  3. package/dist/src/aptos/index.js +1 -0
  4. package/dist/src/cardano/index.cjs +1 -4
  5. package/dist/src/cardano/index.js +1 -4
  6. package/dist/src/cosmos/index.cjs +1 -4
  7. package/dist/src/cosmos/index.js +1 -4
  8. package/dist/src/evm/index.cjs +1 -4
  9. package/dist/src/evm/index.js +1 -4
  10. package/dist/src/index.cjs +1 -5
  11. package/dist/src/index.js +1 -5
  12. package/dist/src/near/index.cjs +1 -4
  13. package/dist/src/near/index.js +1 -4
  14. package/dist/src/radix/index.cjs +1 -4
  15. package/dist/src/radix/index.js +1 -4
  16. package/dist/src/ripple/index.cjs +1 -4
  17. package/dist/src/ripple/index.js +1 -4
  18. package/dist/src/solana/index.cjs +1 -4
  19. package/dist/src/solana/index.js +1 -4
  20. package/dist/src/starknet/index.cjs +1 -0
  21. package/dist/src/starknet/index.js +1 -0
  22. package/dist/src/stellar/index.cjs +1 -0
  23. package/dist/src/stellar/index.js +1 -0
  24. package/dist/src/substrate/index.cjs +1 -4
  25. package/dist/src/substrate/index.js +1 -4
  26. package/dist/src/sui/index.cjs +1 -4
  27. package/dist/src/sui/index.js +1 -4
  28. package/dist/src/ton/index.cjs +1 -4
  29. package/dist/src/ton/index.js +1 -4
  30. package/dist/src/tron/index.cjs +1 -4
  31. package/dist/src/tron/index.js +1 -4
  32. package/dist/src/utxo/index.cjs +1 -5
  33. package/dist/src/utxo/index.js +1 -5
  34. package/dist/types/aptos/index.d.ts +3 -0
  35. package/dist/types/aptos/index.d.ts.map +1 -0
  36. package/dist/types/aptos/toolbox.d.ts +21 -0
  37. package/dist/types/aptos/toolbox.d.ts.map +1 -0
  38. package/dist/types/aptos/types.d.ts +27 -0
  39. package/dist/types/aptos/types.d.ts.map +1 -0
  40. package/dist/types/cardano/toolbox.d.ts +19 -22
  41. package/dist/types/cardano/toolbox.d.ts.map +1 -1
  42. package/dist/types/cardano/types.d.ts +8 -3
  43. package/dist/types/cardano/types.d.ts.map +1 -1
  44. package/dist/types/cosmos/thorchainUtils/addressFormat.d.ts.map +1 -1
  45. package/dist/types/cosmos/thorchainUtils/messages.d.ts +3 -3
  46. package/dist/types/cosmos/thorchainUtils/messages.d.ts.map +1 -1
  47. package/dist/types/cosmos/toolbox/cosmos.d.ts +11 -9
  48. package/dist/types/cosmos/toolbox/cosmos.d.ts.map +1 -1
  49. package/dist/types/cosmos/toolbox/thorchain.d.ts +6 -51
  50. package/dist/types/cosmos/toolbox/thorchain.d.ts.map +1 -1
  51. package/dist/types/cosmos/types.d.ts +2 -2
  52. package/dist/types/cosmos/types.d.ts.map +1 -1
  53. package/dist/types/evm/helpers.d.ts +34 -1
  54. package/dist/types/evm/helpers.d.ts.map +1 -1
  55. package/dist/types/evm/toolbox/baseEVMToolbox.d.ts +14 -7
  56. package/dist/types/evm/toolbox/baseEVMToolbox.d.ts.map +1 -1
  57. package/dist/types/evm/toolbox/evm.d.ts +236 -96
  58. package/dist/types/evm/toolbox/evm.d.ts.map +1 -1
  59. package/dist/types/evm/toolbox/index.d.ts +3 -2
  60. package/dist/types/evm/toolbox/index.d.ts.map +1 -1
  61. package/dist/types/evm/toolbox/op.d.ts +13 -8
  62. package/dist/types/evm/toolbox/op.d.ts.map +1 -1
  63. package/dist/types/evm/types.d.ts +49 -27
  64. package/dist/types/evm/types.d.ts.map +1 -1
  65. package/dist/types/index.d.ts +31 -25
  66. package/dist/types/index.d.ts.map +1 -1
  67. package/dist/types/near/helpers/core.d.ts +1 -1
  68. package/dist/types/near/helpers/core.d.ts.map +1 -1
  69. package/dist/types/near/index.d.ts +1 -1
  70. package/dist/types/near/index.d.ts.map +1 -1
  71. package/dist/types/near/toolbox.d.ts +13 -10
  72. package/dist/types/near/toolbox.d.ts.map +1 -1
  73. package/dist/types/near/types/index.d.ts +4 -0
  74. package/dist/types/near/types/index.d.ts.map +1 -0
  75. package/dist/types/near/types/toolbox.d.ts +2 -0
  76. package/dist/types/near/types/toolbox.d.ts.map +1 -1
  77. package/dist/types/radix/index.d.ts +7 -7
  78. package/dist/types/radix/index.d.ts.map +1 -1
  79. package/dist/types/ripple/currency.d.ts +5 -0
  80. package/dist/types/ripple/currency.d.ts.map +1 -0
  81. package/dist/types/ripple/index.d.ts +60 -17
  82. package/dist/types/ripple/index.d.ts.map +1 -1
  83. package/dist/types/ripple/tokens.d.ts +15 -0
  84. package/dist/types/ripple/tokens.d.ts.map +1 -0
  85. package/dist/types/solana/index.d.ts +1 -1
  86. package/dist/types/solana/index.d.ts.map +1 -1
  87. package/dist/types/solana/toolbox.d.ts +12 -10
  88. package/dist/types/solana/toolbox.d.ts.map +1 -1
  89. package/dist/types/starknet/index.d.ts +5 -0
  90. package/dist/types/starknet/index.d.ts.map +1 -0
  91. package/dist/types/starknet/toolbox.d.ts +34 -0
  92. package/dist/types/starknet/toolbox.d.ts.map +1 -0
  93. package/dist/types/starknet/types.d.ts +26 -0
  94. package/dist/types/starknet/types.d.ts.map +1 -0
  95. package/dist/types/stellar/index.d.ts +3 -0
  96. package/dist/types/stellar/index.d.ts.map +1 -0
  97. package/dist/types/stellar/toolbox.d.ts +21 -0
  98. package/dist/types/stellar/toolbox.d.ts.map +1 -0
  99. package/dist/types/stellar/types.d.ts +10 -0
  100. package/dist/types/stellar/types.d.ts.map +1 -0
  101. package/dist/types/substrate/balance.d.ts +3 -3
  102. package/dist/types/substrate/balance.d.ts.map +1 -1
  103. package/dist/types/substrate/substrate.d.ts +22 -97
  104. package/dist/types/substrate/substrate.d.ts.map +1 -1
  105. package/dist/types/substrate/types.d.ts +2 -2
  106. package/dist/types/substrate/types.d.ts.map +1 -1
  107. package/dist/types/sui/toolbox.d.ts +17 -8
  108. package/dist/types/sui/toolbox.d.ts.map +1 -1
  109. package/dist/types/sui/types.d.ts +11 -3
  110. package/dist/types/sui/types.d.ts.map +1 -1
  111. package/dist/types/ton/toolbox.d.ts +23 -13
  112. package/dist/types/ton/toolbox.d.ts.map +1 -1
  113. package/dist/types/ton/types.d.ts +9 -8
  114. package/dist/types/ton/types.d.ts.map +1 -1
  115. package/dist/types/tron/helpers/proto.d.ts +9 -0
  116. package/dist/types/tron/helpers/proto.d.ts.map +1 -0
  117. package/dist/types/tron/helpers/trongrid.d.ts +43 -3
  118. package/dist/types/tron/helpers/trongrid.d.ts.map +1 -1
  119. package/dist/types/tron/helpers/utils.d.ts +17 -0
  120. package/dist/types/tron/helpers/utils.d.ts.map +1 -0
  121. package/dist/types/tron/index.d.ts +4 -5
  122. package/dist/types/tron/index.d.ts.map +1 -1
  123. package/dist/types/tron/toolbox.d.ts +20 -18
  124. package/dist/types/tron/toolbox.d.ts.map +1 -1
  125. package/dist/types/tron/types.d.ts +31 -57
  126. package/dist/types/tron/types.d.ts.map +1 -1
  127. package/dist/types/types.d.ts +6 -0
  128. package/dist/types/types.d.ts.map +1 -1
  129. package/dist/types/utxo/hdWallet.d.ts +33 -0
  130. package/dist/types/utxo/hdWallet.d.ts.map +1 -0
  131. package/dist/types/utxo/helpers/api.d.ts +49 -1
  132. package/dist/types/utxo/helpers/api.d.ts.map +1 -1
  133. package/dist/types/utxo/helpers/bchaddrjs.d.ts.map +1 -1
  134. package/dist/types/utxo/helpers/cashaddr.d.ts +13 -0
  135. package/dist/types/utxo/helpers/cashaddr.d.ts.map +1 -0
  136. package/dist/types/utxo/helpers/coinselect.d.ts +9 -5
  137. package/dist/types/utxo/helpers/coinselect.d.ts.map +1 -1
  138. package/dist/types/utxo/helpers/txSize.d.ts +4 -3
  139. package/dist/types/utxo/helpers/txSize.d.ts.map +1 -1
  140. package/dist/types/utxo/index.d.ts +2 -1
  141. package/dist/types/utxo/index.d.ts.map +1 -1
  142. package/dist/types/utxo/toolbox/bitcoinCash.d.ts +75 -15
  143. package/dist/types/utxo/toolbox/bitcoinCash.d.ts.map +1 -1
  144. package/dist/types/utxo/toolbox/index.d.ts +6 -5
  145. package/dist/types/utxo/toolbox/index.d.ts.map +1 -1
  146. package/dist/types/utxo/toolbox/params.d.ts +8 -16
  147. package/dist/types/utxo/toolbox/params.d.ts.map +1 -1
  148. package/dist/types/utxo/toolbox/utxo.d.ts +135 -46
  149. package/dist/types/utxo/toolbox/utxo.d.ts.map +1 -1
  150. package/dist/types/utxo/toolbox/validators.d.ts +1 -1
  151. package/dist/types/utxo/toolbox/validators.d.ts.map +1 -1
  152. package/dist/types/utxo/toolbox/zcash.d.ts +63 -10
  153. package/dist/types/utxo/toolbox/zcash.d.ts.map +1 -1
  154. package/dist/types/utxo/types.d.ts +78 -15
  155. package/dist/types/utxo/types.d.ts.map +1 -1
  156. package/package.json +43 -53
  157. package/dist/src/cardano/index.cjs.map +0 -11
  158. package/dist/src/cardano/index.js.map +0 -11
  159. package/dist/src/cosmos/index.cjs.map +0 -20
  160. package/dist/src/cosmos/index.js.map +0 -20
  161. package/dist/src/evm/index.cjs.map +0 -20
  162. package/dist/src/evm/index.js.map +0 -20
  163. package/dist/src/index.cjs.map +0 -67
  164. package/dist/src/index.js.map +0 -67
  165. package/dist/src/near/index.cjs.map +0 -16
  166. package/dist/src/near/index.js.map +0 -16
  167. package/dist/src/radix/index.cjs.map +0 -10
  168. package/dist/src/radix/index.js.map +0 -10
  169. package/dist/src/ripple/index.cjs.map +0 -10
  170. package/dist/src/ripple/index.js.map +0 -10
  171. package/dist/src/solana/index.cjs.map +0 -11
  172. package/dist/src/solana/index.js.map +0 -11
  173. package/dist/src/substrate/index.cjs.map +0 -13
  174. package/dist/src/substrate/index.js.map +0 -13
  175. package/dist/src/sui/index.cjs.map +0 -11
  176. package/dist/src/sui/index.js.map +0 -11
  177. package/dist/src/ton/index.cjs.map +0 -11
  178. package/dist/src/ton/index.js.map +0 -11
  179. package/dist/src/tron/index.cjs.map +0 -13
  180. package/dist/src/tron/index.js.map +0 -13
  181. package/dist/src/utxo/index.cjs.map +0 -21
  182. package/dist/src/utxo/index.js.map +0 -21
  183. package/dist/types/tron/helpers/trc20.abi.d.ts +0 -156
  184. package/dist/types/tron/helpers/trc20.abi.d.ts.map +0 -1
  185. package/src/__tests__/address-validation-all-chains.test.ts +0 -162
  186. package/src/__tests__/addressValidator.test.ts +0 -162
  187. package/src/cardano/__tests__/toolbox.test.ts +0 -48
  188. package/src/cardano/index.ts +0 -2
  189. package/src/cardano/toolbox.ts +0 -168
  190. package/src/cardano/types.ts +0 -10
  191. package/src/cosmos/__tests__/toolbox.test.ts +0 -95
  192. package/src/cosmos/index.ts +0 -4
  193. package/src/cosmos/thorchainUtils/addressFormat.ts +0 -22
  194. package/src/cosmos/thorchainUtils/index.ts +0 -4
  195. package/src/cosmos/thorchainUtils/messages.ts +0 -212
  196. package/src/cosmos/thorchainUtils/registry.ts +0 -43
  197. package/src/cosmos/thorchainUtils/types/MsgCompiled.ts +0 -2800
  198. package/src/cosmos/thorchainUtils/types/client-types.ts +0 -54
  199. package/src/cosmos/thorchainUtils/types/index.ts +0 -1
  200. package/src/cosmos/toolbox/cosmos.ts +0 -345
  201. package/src/cosmos/toolbox/index.ts +0 -35
  202. package/src/cosmos/toolbox/thorchain.ts +0 -249
  203. package/src/cosmos/types.ts +0 -48
  204. package/src/cosmos/util.ts +0 -214
  205. package/src/evm/__tests__/address-validation.test.ts +0 -84
  206. package/src/evm/__tests__/ethereum.test.ts +0 -137
  207. package/src/evm/__tests__/signMessage.test.ts +0 -60
  208. package/src/evm/api.ts +0 -10
  209. package/src/evm/contracts/eth/multicall.ts +0 -165
  210. package/src/evm/contracts/op/gasOracle.ts +0 -145
  211. package/src/evm/helpers.ts +0 -71
  212. package/src/evm/index.ts +0 -4
  213. package/src/evm/toolbox/baseEVMToolbox.ts +0 -698
  214. package/src/evm/toolbox/evm.ts +0 -66
  215. package/src/evm/toolbox/index.ts +0 -44
  216. package/src/evm/toolbox/op.ts +0 -143
  217. package/src/evm/types.ts +0 -146
  218. package/src/index.ts +0 -260
  219. package/src/near/__tests__/core.test.ts +0 -70
  220. package/src/near/helpers/core.ts +0 -85
  221. package/src/near/helpers/gasEstimation.ts +0 -96
  222. package/src/near/helpers/nep141.ts +0 -50
  223. package/src/near/index.ts +0 -21
  224. package/src/near/toolbox.ts +0 -421
  225. package/src/near/types/contract.ts +0 -32
  226. package/src/near/types/nep141.ts +0 -34
  227. package/src/near/types/toolbox.ts +0 -55
  228. package/src/near/types.ts +0 -44
  229. package/src/radix/index.ts +0 -138
  230. package/src/ripple/index.ts +0 -179
  231. package/src/solana/index.ts +0 -36
  232. package/src/solana/toolbox.ts +0 -409
  233. package/src/substrate/balance.ts +0 -88
  234. package/src/substrate/index.ts +0 -2
  235. package/src/substrate/substrate.ts +0 -281
  236. package/src/substrate/types.ts +0 -115
  237. package/src/sui/__tests__/toolbox.test.ts +0 -86
  238. package/src/sui/index.ts +0 -2
  239. package/src/sui/toolbox.ts +0 -166
  240. package/src/sui/types.ts +0 -11
  241. package/src/ton/__tests__/toolbox.test.ts +0 -67
  242. package/src/ton/index.ts +0 -2
  243. package/src/ton/toolbox.ts +0 -136
  244. package/src/ton/types.ts +0 -13
  245. package/src/tron/__tests__/toolbox.test.ts +0 -221
  246. package/src/tron/helpers/trc20.abi.ts +0 -107
  247. package/src/tron/helpers/trongrid.ts +0 -53
  248. package/src/tron/index.ts +0 -21
  249. package/src/tron/toolbox.ts +0 -585
  250. package/src/tron/types.ts +0 -83
  251. package/src/types.ts +0 -28
  252. package/src/utils.ts +0 -34
  253. package/src/utxo/__tests__/zcash-integration.test.ts +0 -97
  254. package/src/utxo/helpers/api.ts +0 -471
  255. package/src/utxo/helpers/bchaddrjs.ts +0 -166
  256. package/src/utxo/helpers/coinselect.ts +0 -92
  257. package/src/utxo/helpers/index.ts +0 -4
  258. package/src/utxo/helpers/txSize.ts +0 -137
  259. package/src/utxo/index.ts +0 -6
  260. package/src/utxo/toolbox/bitcoinCash.ts +0 -243
  261. package/src/utxo/toolbox/index.ts +0 -59
  262. package/src/utxo/toolbox/params.ts +0 -18
  263. package/src/utxo/toolbox/utxo.ts +0 -439
  264. package/src/utxo/toolbox/validators.ts +0 -36
  265. package/src/utxo/toolbox/zcash.ts +0 -242
  266. package/src/utxo/types.ts +0 -39
@@ -1,6 +1,6 @@
1
- import { type EVMChain, FeeOption } from "@swapkit/helpers";
1
+ import { FeeOption } from "@swapkit/helpers";
2
2
  import type { EVMToolboxParams } from "../types";
3
- export declare function ETHToolbox({ provider, ...signer }: EVMToolboxParams): Promise<{
3
+ export declare function ETHToolbox(params: EVMToolboxParams): {
4
4
  multicall: (callTuples: {
5
5
  address: string;
6
6
  data: string;
@@ -29,9 +29,8 @@ export declare function ETHToolbox({ provider, ...signer }: EVMToolboxParams): P
29
29
  maxFeePerGas?: bigint;
30
30
  maxPriorityFeePerGas?: bigint;
31
31
  }; }>;
32
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
32
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
33
33
  feeOption: FeeOption;
34
- chain: EVMChain;
35
34
  }) => Promise<import("@swapkit/helpers").AssetValue>;
36
35
  getAddress: () => string | Promise<string> | undefined;
37
36
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -40,11 +39,17 @@ export declare function ETHToolbox({ provider, ...signer }: EVMToolboxParams): P
40
39
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
41
40
  feeOptionKey?: FeeOption;
42
41
  }) => Promise<string>;
42
+ signAuthorization: ((params: {
43
+ address: string;
44
+ nonce?: number | bigint;
45
+ chainId?: bigint;
46
+ }) => Promise<import("ethers").Authorization>) | undefined;
43
47
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
48
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
44
49
  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<{
50
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
51
+ };
52
+ export declare const ADIToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
48
53
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
49
54
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
50
55
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -69,9 +74,8 @@ export declare const ARBToolbox: ({ provider: providerParam, ...toolboxSignerPar
69
74
  maxFeePerGas?: bigint;
70
75
  maxPriorityFeePerGas?: bigint;
71
76
  }; }>;
72
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
77
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
73
78
  feeOption: FeeOption;
74
- chain: EVMChain;
75
79
  }) => Promise<import("@swapkit/helpers").AssetValue>;
76
80
  getAddress: () => string | Promise<string> | undefined;
77
81
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -80,11 +84,17 @@ export declare const ARBToolbox: ({ provider: providerParam, ...toolboxSignerPar
80
84
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
81
85
  feeOptionKey?: FeeOption;
82
86
  }) => Promise<string>;
87
+ signAuthorization: ((params: {
88
+ address: string;
89
+ nonce?: number | bigint;
90
+ chainId?: bigint;
91
+ }) => Promise<import("ethers").Authorization>) | undefined;
83
92
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
93
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
84
94
  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<{
95
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
96
+ };
97
+ export declare const ARBToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
88
98
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
89
99
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
90
100
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -109,9 +119,8 @@ export declare const AURORAToolbox: ({ provider: providerParam, ...toolboxSigner
109
119
  maxFeePerGas?: bigint;
110
120
  maxPriorityFeePerGas?: bigint;
111
121
  }; }>;
112
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
122
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
113
123
  feeOption: FeeOption;
114
- chain: EVMChain;
115
124
  }) => Promise<import("@swapkit/helpers").AssetValue>;
116
125
  getAddress: () => string | Promise<string> | undefined;
117
126
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -120,11 +129,17 @@ export declare const AURORAToolbox: ({ provider: providerParam, ...toolboxSigner
120
129
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
121
130
  feeOptionKey?: FeeOption;
122
131
  }) => Promise<string>;
132
+ signAuthorization: ((params: {
133
+ address: string;
134
+ nonce?: number | bigint;
135
+ chainId?: bigint;
136
+ }) => Promise<import("ethers").Authorization>) | undefined;
123
137
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
138
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
124
139
  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<{
140
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
141
+ };
142
+ export declare const AURORAToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
128
143
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
129
144
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
130
145
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -149,9 +164,8 @@ export declare const AVAXToolbox: ({ provider: providerParam, ...toolboxSignerPa
149
164
  maxFeePerGas?: bigint;
150
165
  maxPriorityFeePerGas?: bigint;
151
166
  }; }>;
152
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
167
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
153
168
  feeOption: FeeOption;
154
- chain: EVMChain;
155
169
  }) => Promise<import("@swapkit/helpers").AssetValue>;
156
170
  getAddress: () => string | Promise<string> | undefined;
157
171
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -160,11 +174,17 @@ export declare const AVAXToolbox: ({ provider: providerParam, ...toolboxSignerPa
160
174
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
161
175
  feeOptionKey?: FeeOption;
162
176
  }) => Promise<string>;
177
+ signAuthorization: ((params: {
178
+ address: string;
179
+ nonce?: number | bigint;
180
+ chainId?: bigint;
181
+ }) => Promise<import("ethers").Authorization>) | undefined;
163
182
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
183
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
164
184
  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<{
185
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
186
+ };
187
+ export declare const AVAXToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
168
188
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
169
189
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
170
190
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -189,9 +209,8 @@ export declare const BASEToolbox: ({ provider: providerParam, ...toolboxSignerPa
189
209
  maxFeePerGas?: bigint;
190
210
  maxPriorityFeePerGas?: bigint;
191
211
  }; }>;
192
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
212
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
193
213
  feeOption: FeeOption;
194
- chain: EVMChain;
195
214
  }) => Promise<import("@swapkit/helpers").AssetValue>;
196
215
  getAddress: () => string | Promise<string> | undefined;
197
216
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -200,11 +219,17 @@ export declare const BASEToolbox: ({ provider: providerParam, ...toolboxSignerPa
200
219
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
201
220
  feeOptionKey?: FeeOption;
202
221
  }) => Promise<string>;
222
+ signAuthorization: ((params: {
223
+ address: string;
224
+ nonce?: number | bigint;
225
+ chainId?: bigint;
226
+ }) => Promise<import("ethers").Authorization>) | undefined;
203
227
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
228
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
204
229
  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<{
230
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
231
+ };
232
+ export declare const BASEToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
208
233
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
209
234
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
210
235
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -229,9 +254,8 @@ export declare const BERAToolbox: ({ provider: providerParam, ...toolboxSignerPa
229
254
  maxFeePerGas?: bigint;
230
255
  maxPriorityFeePerGas?: bigint;
231
256
  }; }>;
232
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
257
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
233
258
  feeOption: FeeOption;
234
- chain: EVMChain;
235
259
  }) => Promise<import("@swapkit/helpers").AssetValue>;
236
260
  getAddress: () => string | Promise<string> | undefined;
237
261
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -240,11 +264,17 @@ export declare const BERAToolbox: ({ provider: providerParam, ...toolboxSignerPa
240
264
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
241
265
  feeOptionKey?: FeeOption;
242
266
  }) => Promise<string>;
267
+ signAuthorization: ((params: {
268
+ address: string;
269
+ nonce?: number | bigint;
270
+ chainId?: bigint;
271
+ }) => Promise<import("ethers").Authorization>) | undefined;
243
272
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
273
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
244
274
  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<{
275
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
276
+ };
277
+ export declare const BERAToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
248
278
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
249
279
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
250
280
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -269,9 +299,8 @@ export declare const BSCToolbox: ({ provider: providerParam, ...toolboxSignerPar
269
299
  maxFeePerGas?: bigint;
270
300
  maxPriorityFeePerGas?: bigint;
271
301
  }; }>;
272
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
302
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
273
303
  feeOption: FeeOption;
274
- chain: EVMChain;
275
304
  }) => Promise<import("@swapkit/helpers").AssetValue>;
276
305
  getAddress: () => string | Promise<string> | undefined;
277
306
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -280,11 +309,17 @@ export declare const BSCToolbox: ({ provider: providerParam, ...toolboxSignerPar
280
309
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
281
310
  feeOptionKey?: FeeOption;
282
311
  }) => Promise<string>;
312
+ signAuthorization: ((params: {
313
+ address: string;
314
+ nonce?: number | bigint;
315
+ chainId?: bigint;
316
+ }) => Promise<import("ethers").Authorization>) | undefined;
283
317
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
318
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
284
319
  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<{
320
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
321
+ };
322
+ export declare const BSCToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
288
323
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
289
324
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
290
325
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -309,9 +344,8 @@ export declare const BotanixToolbox: ({ provider: providerParam, ...toolboxSigne
309
344
  maxFeePerGas?: bigint;
310
345
  maxPriorityFeePerGas?: bigint;
311
346
  }; }>;
312
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
347
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
313
348
  feeOption: FeeOption;
314
- chain: EVMChain;
315
349
  }) => Promise<import("@swapkit/helpers").AssetValue>;
316
350
  getAddress: () => string | Promise<string> | undefined;
317
351
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -320,11 +354,17 @@ export declare const BotanixToolbox: ({ provider: providerParam, ...toolboxSigne
320
354
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
321
355
  feeOptionKey?: FeeOption;
322
356
  }) => Promise<string>;
357
+ signAuthorization: ((params: {
358
+ address: string;
359
+ nonce?: number | bigint;
360
+ chainId?: bigint;
361
+ }) => Promise<import("ethers").Authorization>) | undefined;
323
362
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
363
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
324
364
  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<{
365
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
366
+ };
367
+ export declare const BotanixToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
328
368
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
329
369
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
330
370
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -349,9 +389,8 @@ export declare const COREToolbox: ({ provider: providerParam, ...toolboxSignerPa
349
389
  maxFeePerGas?: bigint;
350
390
  maxPriorityFeePerGas?: bigint;
351
391
  }; }>;
352
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
392
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
353
393
  feeOption: FeeOption;
354
- chain: EVMChain;
355
394
  }) => Promise<import("@swapkit/helpers").AssetValue>;
356
395
  getAddress: () => string | Promise<string> | undefined;
357
396
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -360,11 +399,17 @@ export declare const COREToolbox: ({ provider: providerParam, ...toolboxSignerPa
360
399
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
361
400
  feeOptionKey?: FeeOption;
362
401
  }) => Promise<string>;
402
+ signAuthorization: ((params: {
403
+ address: string;
404
+ nonce?: number | bigint;
405
+ chainId?: bigint;
406
+ }) => Promise<import("ethers").Authorization>) | undefined;
363
407
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
408
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
364
409
  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<{
410
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
411
+ };
412
+ export declare const COREToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
368
413
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
369
414
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
370
415
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -389,9 +434,8 @@ export declare const CORNToolbox: ({ provider: providerParam, ...toolboxSignerPa
389
434
  maxFeePerGas?: bigint;
390
435
  maxPriorityFeePerGas?: bigint;
391
436
  }; }>;
392
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
437
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
393
438
  feeOption: FeeOption;
394
- chain: EVMChain;
395
439
  }) => Promise<import("@swapkit/helpers").AssetValue>;
396
440
  getAddress: () => string | Promise<string> | undefined;
397
441
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -400,11 +444,17 @@ export declare const CORNToolbox: ({ provider: providerParam, ...toolboxSignerPa
400
444
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
401
445
  feeOptionKey?: FeeOption;
402
446
  }) => Promise<string>;
447
+ signAuthorization: ((params: {
448
+ address: string;
449
+ nonce?: number | bigint;
450
+ chainId?: bigint;
451
+ }) => Promise<import("ethers").Authorization>) | undefined;
403
452
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
453
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
404
454
  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<{
455
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
456
+ };
457
+ export declare const CORNToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
408
458
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
409
459
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
410
460
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -429,9 +479,8 @@ export declare const CROToolbox: ({ provider: providerParam, ...toolboxSignerPar
429
479
  maxFeePerGas?: bigint;
430
480
  maxPriorityFeePerGas?: bigint;
431
481
  }; }>;
432
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
482
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
433
483
  feeOption: FeeOption;
434
- chain: EVMChain;
435
484
  }) => Promise<import("@swapkit/helpers").AssetValue>;
436
485
  getAddress: () => string | Promise<string> | undefined;
437
486
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -440,11 +489,17 @@ export declare const CROToolbox: ({ provider: providerParam, ...toolboxSignerPar
440
489
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
441
490
  feeOptionKey?: FeeOption;
442
491
  }) => Promise<string>;
492
+ signAuthorization: ((params: {
493
+ address: string;
494
+ nonce?: number | bigint;
495
+ chainId?: bigint;
496
+ }) => Promise<import("ethers").Authorization>) | undefined;
443
497
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
498
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
444
499
  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<{
500
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
501
+ };
502
+ export declare const CROToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
448
503
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
449
504
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
450
505
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -469,9 +524,8 @@ export declare const GNOToolbox: ({ provider: providerParam, ...toolboxSignerPar
469
524
  maxFeePerGas?: bigint;
470
525
  maxPriorityFeePerGas?: bigint;
471
526
  }; }>;
472
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
527
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
473
528
  feeOption: FeeOption;
474
- chain: EVMChain;
475
529
  }) => Promise<import("@swapkit/helpers").AssetValue>;
476
530
  getAddress: () => string | Promise<string> | undefined;
477
531
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -480,11 +534,17 @@ export declare const GNOToolbox: ({ provider: providerParam, ...toolboxSignerPar
480
534
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
481
535
  feeOptionKey?: FeeOption;
482
536
  }) => Promise<string>;
537
+ signAuthorization: ((params: {
538
+ address: string;
539
+ nonce?: number | bigint;
540
+ chainId?: bigint;
541
+ }) => Promise<import("ethers").Authorization>) | undefined;
483
542
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
543
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
484
544
  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<{
545
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
546
+ };
547
+ export declare const GNOToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
488
548
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
489
549
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
490
550
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -509,9 +569,8 @@ export declare const HYPEREVMToolbox: ({ provider: providerParam, ...toolboxSign
509
569
  maxFeePerGas?: bigint;
510
570
  maxPriorityFeePerGas?: bigint;
511
571
  }; }>;
512
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
572
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
513
573
  feeOption: FeeOption;
514
- chain: EVMChain;
515
574
  }) => Promise<import("@swapkit/helpers").AssetValue>;
516
575
  getAddress: () => string | Promise<string> | undefined;
517
576
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -520,11 +579,17 @@ export declare const HYPEREVMToolbox: ({ provider: providerParam, ...toolboxSign
520
579
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
521
580
  feeOptionKey?: FeeOption;
522
581
  }) => Promise<string>;
582
+ signAuthorization: ((params: {
583
+ address: string;
584
+ nonce?: number | bigint;
585
+ chainId?: bigint;
586
+ }) => Promise<import("ethers").Authorization>) | undefined;
523
587
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
588
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
524
589
  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<{
590
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
591
+ };
592
+ export declare const HYPEREVMToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
528
593
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
529
594
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
530
595
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -549,9 +614,8 @@ export declare const MATICToolbox: ({ provider: providerParam, ...toolboxSignerP
549
614
  maxFeePerGas?: bigint;
550
615
  maxPriorityFeePerGas?: bigint;
551
616
  }; }>;
552
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
617
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
553
618
  feeOption: FeeOption;
554
- chain: EVMChain;
555
619
  }) => Promise<import("@swapkit/helpers").AssetValue>;
556
620
  getAddress: () => string | Promise<string> | undefined;
557
621
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -560,11 +624,17 @@ export declare const MATICToolbox: ({ provider: providerParam, ...toolboxSignerP
560
624
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
561
625
  feeOptionKey?: FeeOption;
562
626
  }) => Promise<string>;
627
+ signAuthorization: ((params: {
628
+ address: string;
629
+ nonce?: number | bigint;
630
+ chainId?: bigint;
631
+ }) => Promise<import("ethers").Authorization>) | undefined;
563
632
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
633
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
564
634
  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<{
635
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
636
+ };
637
+ export declare const MATICToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
568
638
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
569
639
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
570
640
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -589,9 +659,8 @@ export declare const SONICToolbox: ({ provider: providerParam, ...toolboxSignerP
589
659
  maxFeePerGas?: bigint;
590
660
  maxPriorityFeePerGas?: bigint;
591
661
  }; }>;
592
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
662
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
593
663
  feeOption: FeeOption;
594
- chain: EVMChain;
595
664
  }) => Promise<import("@swapkit/helpers").AssetValue>;
596
665
  getAddress: () => string | Promise<string> | undefined;
597
666
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -600,11 +669,17 @@ export declare const SONICToolbox: ({ provider: providerParam, ...toolboxSignerP
600
669
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
601
670
  feeOptionKey?: FeeOption;
602
671
  }) => Promise<string>;
672
+ signAuthorization: ((params: {
673
+ address: string;
674
+ nonce?: number | bigint;
675
+ chainId?: bigint;
676
+ }) => Promise<import("ethers").Authorization>) | undefined;
603
677
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
678
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
604
679
  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<{
680
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
681
+ };
682
+ export declare const SONICToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
608
683
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
609
684
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
610
685
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -629,9 +704,8 @@ export declare const UNIToolbox: ({ provider: providerParam, ...toolboxSignerPar
629
704
  maxFeePerGas?: bigint;
630
705
  maxPriorityFeePerGas?: bigint;
631
706
  }; }>;
632
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
707
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
633
708
  feeOption: FeeOption;
634
- chain: EVMChain;
635
709
  }) => Promise<import("@swapkit/helpers").AssetValue>;
636
710
  getAddress: () => string | Promise<string> | undefined;
637
711
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -640,11 +714,17 @@ export declare const UNIToolbox: ({ provider: providerParam, ...toolboxSignerPar
640
714
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
641
715
  feeOptionKey?: FeeOption;
642
716
  }) => Promise<string>;
717
+ signAuthorization: ((params: {
718
+ address: string;
719
+ nonce?: number | bigint;
720
+ chainId?: bigint;
721
+ }) => Promise<import("ethers").Authorization>) | undefined;
643
722
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
723
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
644
724
  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<{
725
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
726
+ };
727
+ export declare const UNIToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
648
728
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
649
729
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
650
730
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -669,9 +749,8 @@ export declare const XLayerToolbox: ({ provider: providerParam, ...toolboxSigner
669
749
  maxFeePerGas?: bigint;
670
750
  maxPriorityFeePerGas?: bigint;
671
751
  }; }>;
672
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
752
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
673
753
  feeOption: FeeOption;
674
- chain: EVMChain;
675
754
  }) => Promise<import("@swapkit/helpers").AssetValue>;
676
755
  getAddress: () => string | Promise<string> | undefined;
677
756
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -680,11 +759,17 @@ export declare const XLayerToolbox: ({ provider: providerParam, ...toolboxSigner
680
759
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
681
760
  feeOptionKey?: FeeOption;
682
761
  }) => Promise<string>;
762
+ signAuthorization: ((params: {
763
+ address: string;
764
+ nonce?: number | bigint;
765
+ chainId?: bigint;
766
+ }) => Promise<import("ethers").Authorization>) | undefined;
683
767
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
768
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
684
769
  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<{
770
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
771
+ };
772
+ export declare const XLayerToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
688
773
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
689
774
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
690
775
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -709,9 +794,8 @@ export declare const MONADToolbox: ({ provider: providerParam, ...toolboxSignerP
709
794
  maxFeePerGas?: bigint;
710
795
  maxPriorityFeePerGas?: bigint;
711
796
  }; }>;
712
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
797
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
713
798
  feeOption: FeeOption;
714
- chain: EVMChain;
715
799
  }) => Promise<import("@swapkit/helpers").AssetValue>;
716
800
  getAddress: () => string | Promise<string> | undefined;
717
801
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -720,11 +804,17 @@ export declare const MONADToolbox: ({ provider: providerParam, ...toolboxSignerP
720
804
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
721
805
  feeOptionKey?: FeeOption;
722
806
  }) => Promise<string>;
807
+ signAuthorization: ((params: {
808
+ address: string;
809
+ nonce?: number | bigint;
810
+ chainId?: bigint;
811
+ }) => Promise<import("ethers").Authorization>) | undefined;
723
812
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
813
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
724
814
  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<{
815
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
816
+ };
817
+ export declare const MONADToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
728
818
  approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
729
819
  approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
730
820
  broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
@@ -749,9 +839,8 @@ export declare const MEGAETHToolbox: ({ provider: providerParam, ...toolboxSigne
749
839
  maxFeePerGas?: bigint;
750
840
  maxPriorityFeePerGas?: bigint;
751
841
  }; }>;
752
- estimateTransactionFee: ({ feeOption, chain, ...txObject }: import("..").EIP1559TxParams & {
842
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
753
843
  feeOption: FeeOption;
754
- chain: EVMChain;
755
844
  }) => Promise<import("@swapkit/helpers").AssetValue>;
756
845
  getAddress: () => string | Promise<string> | undefined;
757
846
  getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
@@ -760,8 +849,59 @@ export declare const MEGAETHToolbox: ({ provider: providerParam, ...toolboxSigne
760
849
  sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
761
850
  feeOptionKey?: FeeOption;
762
851
  }) => Promise<string>;
852
+ signAuthorization: ((params: {
853
+ address: string;
854
+ nonce?: number | bigint;
855
+ chainId?: bigint;
856
+ }) => Promise<import("ethers").Authorization>) | undefined;
857
+ signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
858
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
859
+ transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
860
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
861
+ };
862
+ export declare const MEGAETHToolbox: ({ provider, ...toolboxParams }: EVMToolboxParams) => {
863
+ approve: ({ assetAddress, spenderAddress, feeOptionKey, amount, gasLimitFallback, from: fromParam, nonce, }: import("..").ApproveParams) => Promise<string>;
864
+ approvedAmount: ({ assetAddress, spenderAddress, from }: import("..").IsApprovedParams) => Promise<bigint>;
865
+ broadcastTransaction: ((signedTx: string) => Promise<import("ethers").TransactionResponse>) | ((signedTx: string) => Promise<import("ethers").TransactionResponse>);
866
+ call: <T>({ callProvider, contractAddress, abi, funcName, funcParams, txOverrides, feeOption, }: import("..").CallParams) => Promise<T>;
867
+ createApprovalTx: ({ assetAddress, spenderAddress, amount, from: fromParam }: import("..").ApproveParams) => Promise<import("ethers").ContractTransaction>;
868
+ createContract: (address: string, abi: readonly (import("ethers").JsonFragment | import("ethers").Fragment)[]) => import("ethers").Contract;
869
+ createContractTxObject: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").CallParams) => Promise<import("ethers").ContractTransaction>;
870
+ createTransaction: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
871
+ createTransferTx: ({ assetValue, memo, recipient, data, sender: fromOverride, maxFeePerGas, maxPriorityFeePerGas, gasPrice, ...tx }: import("..").EVMCreateTransactionParams) => Promise<import("ethers").ContractTransaction>;
872
+ EIP1193SendTransaction: ({ value, ...params }: import("..").EVMTxParams | import("ethers").ContractTransaction) => Promise<string>;
873
+ estimateCall: ({ contractAddress, abi, funcName, funcParams, txOverrides }: import("..").EstimateCallParams) => Promise<bigint>;
874
+ estimateGasLimit: ({ assetValue, recipient, memo, data, sender, funcName, funcParams, txOverrides, }: import("..").EVMTransferParams & {
875
+ assetValue: import("@swapkit/helpers").AssetValue;
876
+ funcName?: string;
877
+ funcParams?: unknown[];
878
+ txOverrides?: import("..").EVMTxParams;
879
+ data?: string;
880
+ }) => Promise<bigint>;
881
+ estimateGasPrices: () => Promise<{ [key in FeeOption]: {
882
+ l1GasPrice?: bigint;
883
+ gasPrice?: bigint;
884
+ maxFeePerGas?: bigint;
885
+ maxPriorityFeePerGas?: bigint;
886
+ }; }>;
887
+ estimateTransactionFee: ({ feeOption, ...txObject }: import("..").EIP1559TxParams & {
888
+ feeOption: FeeOption;
889
+ }) => Promise<import("@swapkit/helpers").AssetValue>;
890
+ getAddress: () => string | Promise<string> | undefined;
891
+ getBalance: (address: string, scamFilter?: boolean) => Promise<import("@swapkit/helpers").AssetValue[]>;
892
+ getNetworkParams: () => import("@swapkit/helpers").NetworkParams | undefined;
893
+ isApproved: ({ assetAddress, spenderAddress, from, amount }: import("..").IsApprovedParams) => Promise<boolean>;
894
+ sendTransaction: ({ feeOptionKey, ...tx }: import("..").EVMTxParams & {
895
+ feeOptionKey?: FeeOption;
896
+ }) => Promise<string>;
897
+ signAuthorization: ((params: {
898
+ address: string;
899
+ nonce?: number | bigint;
900
+ chainId?: bigint;
901
+ }) => Promise<import("ethers").Authorization>) | undefined;
763
902
  signMessage: ((message: string | Uint8Array) => Promise<string>) | undefined;
903
+ signTypedData: (({ domain, types, value }: import("..").SignTypedDataParams) => Promise<string>) | undefined;
764
904
  transfer: ({ assetValue, memo, recipient, feeOptionKey, sender, ...tx }: import("..").EVMTransferParams) => Promise<string>;
765
- validateAddress: (address: string) => boolean;
766
- }>;
905
+ validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
906
+ };
767
907
  //# sourceMappingURL=evm.d.ts.map