@swapkit/toolboxes 4.3.10 → 4.13.2
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.
- package/dist/LICENSE +246 -0
- package/dist/src/aptos/index.cjs +1 -0
- package/dist/src/aptos/index.js +1 -0
- package/dist/src/cardano/index.cjs +1 -4
- package/dist/src/cardano/index.js +1 -4
- package/dist/src/cosmos/index.cjs +1 -4
- package/dist/src/cosmos/index.js +1 -4
- package/dist/src/evm/index.cjs +1 -4
- package/dist/src/evm/index.js +1 -4
- package/dist/src/index.cjs +1 -5
- package/dist/src/index.js +1 -5
- package/dist/src/near/index.cjs +1 -4
- package/dist/src/near/index.js +1 -4
- package/dist/src/radix/index.cjs +1 -4
- package/dist/src/radix/index.js +1 -4
- package/dist/src/ripple/index.cjs +1 -4
- package/dist/src/ripple/index.js +1 -4
- package/dist/src/solana/index.cjs +1 -4
- package/dist/src/solana/index.js +1 -4
- package/dist/src/starknet/index.cjs +1 -0
- package/dist/src/starknet/index.js +1 -0
- package/dist/src/stellar/index.cjs +1 -0
- package/dist/src/stellar/index.js +1 -0
- package/dist/src/substrate/index.cjs +1 -4
- package/dist/src/substrate/index.js +1 -4
- package/dist/src/sui/index.cjs +1 -4
- package/dist/src/sui/index.js +1 -4
- package/dist/src/ton/index.cjs +1 -4
- package/dist/src/ton/index.js +1 -4
- package/dist/src/tron/index.cjs +1 -4
- package/dist/src/tron/index.js +1 -4
- package/dist/src/utxo/index.cjs +1 -5
- package/dist/src/utxo/index.js +1 -5
- package/dist/types/aptos/index.d.ts +3 -0
- package/dist/types/aptos/index.d.ts.map +1 -0
- package/dist/types/aptos/toolbox.d.ts +21 -0
- package/dist/types/aptos/toolbox.d.ts.map +1 -0
- package/dist/types/aptos/types.d.ts +27 -0
- package/dist/types/aptos/types.d.ts.map +1 -0
- package/dist/types/cardano/toolbox.d.ts +19 -22
- package/dist/types/cardano/toolbox.d.ts.map +1 -1
- package/dist/types/cardano/types.d.ts +8 -3
- package/dist/types/cardano/types.d.ts.map +1 -1
- package/dist/types/cosmos/thorchainUtils/addressFormat.d.ts.map +1 -1
- package/dist/types/cosmos/thorchainUtils/messages.d.ts +3 -3
- package/dist/types/cosmos/thorchainUtils/messages.d.ts.map +1 -1
- package/dist/types/cosmos/toolbox/cosmos.d.ts +11 -9
- package/dist/types/cosmos/toolbox/cosmos.d.ts.map +1 -1
- package/dist/types/cosmos/toolbox/thorchain.d.ts +6 -51
- package/dist/types/cosmos/toolbox/thorchain.d.ts.map +1 -1
- package/dist/types/cosmos/types.d.ts +2 -2
- package/dist/types/cosmos/types.d.ts.map +1 -1
- package/dist/types/evm/helpers.d.ts +34 -1
- package/dist/types/evm/helpers.d.ts.map +1 -1
- package/dist/types/evm/toolbox/baseEVMToolbox.d.ts +14 -7
- package/dist/types/evm/toolbox/baseEVMToolbox.d.ts.map +1 -1
- package/dist/types/evm/toolbox/evm.d.ts +236 -96
- package/dist/types/evm/toolbox/evm.d.ts.map +1 -1
- package/dist/types/evm/toolbox/index.d.ts +3 -2
- package/dist/types/evm/toolbox/index.d.ts.map +1 -1
- package/dist/types/evm/toolbox/op.d.ts +13 -8
- package/dist/types/evm/toolbox/op.d.ts.map +1 -1
- package/dist/types/evm/types.d.ts +49 -27
- package/dist/types/evm/types.d.ts.map +1 -1
- package/dist/types/index.d.ts +31 -25
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/near/helpers/core.d.ts +1 -1
- package/dist/types/near/helpers/core.d.ts.map +1 -1
- package/dist/types/near/index.d.ts +1 -1
- package/dist/types/near/index.d.ts.map +1 -1
- package/dist/types/near/toolbox.d.ts +13 -10
- package/dist/types/near/toolbox.d.ts.map +1 -1
- package/dist/types/near/types/index.d.ts +4 -0
- package/dist/types/near/types/index.d.ts.map +1 -0
- package/dist/types/near/types/toolbox.d.ts +2 -0
- package/dist/types/near/types/toolbox.d.ts.map +1 -1
- package/dist/types/radix/index.d.ts +7 -7
- package/dist/types/radix/index.d.ts.map +1 -1
- package/dist/types/ripple/currency.d.ts +5 -0
- package/dist/types/ripple/currency.d.ts.map +1 -0
- package/dist/types/ripple/index.d.ts +60 -17
- package/dist/types/ripple/index.d.ts.map +1 -1
- package/dist/types/ripple/tokens.d.ts +15 -0
- package/dist/types/ripple/tokens.d.ts.map +1 -0
- package/dist/types/solana/index.d.ts +1 -1
- package/dist/types/solana/index.d.ts.map +1 -1
- package/dist/types/solana/toolbox.d.ts +12 -10
- package/dist/types/solana/toolbox.d.ts.map +1 -1
- package/dist/types/starknet/index.d.ts +5 -0
- package/dist/types/starknet/index.d.ts.map +1 -0
- package/dist/types/starknet/toolbox.d.ts +34 -0
- package/dist/types/starknet/toolbox.d.ts.map +1 -0
- package/dist/types/starknet/types.d.ts +26 -0
- package/dist/types/starknet/types.d.ts.map +1 -0
- package/dist/types/stellar/index.d.ts +3 -0
- package/dist/types/stellar/index.d.ts.map +1 -0
- package/dist/types/stellar/toolbox.d.ts +21 -0
- package/dist/types/stellar/toolbox.d.ts.map +1 -0
- package/dist/types/stellar/types.d.ts +10 -0
- package/dist/types/stellar/types.d.ts.map +1 -0
- package/dist/types/substrate/balance.d.ts +3 -3
- package/dist/types/substrate/balance.d.ts.map +1 -1
- package/dist/types/substrate/substrate.d.ts +22 -97
- package/dist/types/substrate/substrate.d.ts.map +1 -1
- package/dist/types/substrate/types.d.ts +2 -2
- package/dist/types/substrate/types.d.ts.map +1 -1
- package/dist/types/sui/toolbox.d.ts +17 -8
- package/dist/types/sui/toolbox.d.ts.map +1 -1
- package/dist/types/sui/types.d.ts +11 -3
- package/dist/types/sui/types.d.ts.map +1 -1
- package/dist/types/ton/toolbox.d.ts +23 -13
- package/dist/types/ton/toolbox.d.ts.map +1 -1
- package/dist/types/ton/types.d.ts +9 -8
- package/dist/types/ton/types.d.ts.map +1 -1
- package/dist/types/tron/helpers/proto.d.ts +9 -0
- package/dist/types/tron/helpers/proto.d.ts.map +1 -0
- package/dist/types/tron/helpers/trongrid.d.ts +43 -3
- package/dist/types/tron/helpers/trongrid.d.ts.map +1 -1
- package/dist/types/tron/helpers/utils.d.ts +17 -0
- package/dist/types/tron/helpers/utils.d.ts.map +1 -0
- package/dist/types/tron/index.d.ts +4 -5
- package/dist/types/tron/index.d.ts.map +1 -1
- package/dist/types/tron/toolbox.d.ts +20 -18
- package/dist/types/tron/toolbox.d.ts.map +1 -1
- package/dist/types/tron/types.d.ts +31 -57
- package/dist/types/tron/types.d.ts.map +1 -1
- package/dist/types/types.d.ts +6 -0
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utxo/hdWallet.d.ts +33 -0
- package/dist/types/utxo/hdWallet.d.ts.map +1 -0
- package/dist/types/utxo/helpers/api.d.ts +49 -1
- package/dist/types/utxo/helpers/api.d.ts.map +1 -1
- package/dist/types/utxo/helpers/bchaddrjs.d.ts.map +1 -1
- package/dist/types/utxo/helpers/cashaddr.d.ts +13 -0
- package/dist/types/utxo/helpers/cashaddr.d.ts.map +1 -0
- package/dist/types/utxo/helpers/coinselect.d.ts +9 -5
- package/dist/types/utxo/helpers/coinselect.d.ts.map +1 -1
- package/dist/types/utxo/helpers/txSize.d.ts +4 -3
- package/dist/types/utxo/helpers/txSize.d.ts.map +1 -1
- package/dist/types/utxo/index.d.ts +2 -1
- package/dist/types/utxo/index.d.ts.map +1 -1
- package/dist/types/utxo/toolbox/bitcoinCash.d.ts +75 -15
- package/dist/types/utxo/toolbox/bitcoinCash.d.ts.map +1 -1
- package/dist/types/utxo/toolbox/index.d.ts +6 -5
- package/dist/types/utxo/toolbox/index.d.ts.map +1 -1
- package/dist/types/utxo/toolbox/params.d.ts +8 -16
- package/dist/types/utxo/toolbox/params.d.ts.map +1 -1
- package/dist/types/utxo/toolbox/utxo.d.ts +135 -46
- package/dist/types/utxo/toolbox/utxo.d.ts.map +1 -1
- package/dist/types/utxo/toolbox/validators.d.ts +1 -1
- package/dist/types/utxo/toolbox/validators.d.ts.map +1 -1
- package/dist/types/utxo/toolbox/zcash.d.ts +63 -10
- package/dist/types/utxo/toolbox/zcash.d.ts.map +1 -1
- package/dist/types/utxo/types.d.ts +78 -15
- package/dist/types/utxo/types.d.ts.map +1 -1
- package/package.json +43 -53
- package/dist/src/cardano/index.cjs.map +0 -11
- package/dist/src/cardano/index.js.map +0 -11
- package/dist/src/cosmos/index.cjs.map +0 -20
- package/dist/src/cosmos/index.js.map +0 -20
- package/dist/src/evm/index.cjs.map +0 -20
- package/dist/src/evm/index.js.map +0 -20
- package/dist/src/index.cjs.map +0 -67
- package/dist/src/index.js.map +0 -67
- package/dist/src/near/index.cjs.map +0 -16
- package/dist/src/near/index.js.map +0 -16
- package/dist/src/radix/index.cjs.map +0 -10
- package/dist/src/radix/index.js.map +0 -10
- package/dist/src/ripple/index.cjs.map +0 -10
- package/dist/src/ripple/index.js.map +0 -10
- package/dist/src/solana/index.cjs.map +0 -11
- package/dist/src/solana/index.js.map +0 -11
- package/dist/src/substrate/index.cjs.map +0 -13
- package/dist/src/substrate/index.js.map +0 -13
- package/dist/src/sui/index.cjs.map +0 -11
- package/dist/src/sui/index.js.map +0 -11
- package/dist/src/ton/index.cjs.map +0 -11
- package/dist/src/ton/index.js.map +0 -11
- package/dist/src/tron/index.cjs.map +0 -13
- package/dist/src/tron/index.js.map +0 -13
- package/dist/src/utxo/index.cjs.map +0 -21
- package/dist/src/utxo/index.js.map +0 -21
- package/dist/types/tron/helpers/trc20.abi.d.ts +0 -156
- package/dist/types/tron/helpers/trc20.abi.d.ts.map +0 -1
- package/src/__tests__/address-validation-all-chains.test.ts +0 -162
- package/src/__tests__/addressValidator.test.ts +0 -162
- package/src/cardano/__tests__/toolbox.test.ts +0 -48
- package/src/cardano/index.ts +0 -2
- package/src/cardano/toolbox.ts +0 -168
- package/src/cardano/types.ts +0 -10
- package/src/cosmos/__tests__/toolbox.test.ts +0 -95
- package/src/cosmos/index.ts +0 -4
- package/src/cosmos/thorchainUtils/addressFormat.ts +0 -22
- package/src/cosmos/thorchainUtils/index.ts +0 -4
- package/src/cosmos/thorchainUtils/messages.ts +0 -212
- package/src/cosmos/thorchainUtils/registry.ts +0 -43
- package/src/cosmos/thorchainUtils/types/MsgCompiled.ts +0 -2800
- package/src/cosmos/thorchainUtils/types/client-types.ts +0 -54
- package/src/cosmos/thorchainUtils/types/index.ts +0 -1
- package/src/cosmos/toolbox/cosmos.ts +0 -350
- package/src/cosmos/toolbox/index.ts +0 -35
- package/src/cosmos/toolbox/thorchain.ts +0 -249
- package/src/cosmos/types.ts +0 -48
- package/src/cosmos/util.ts +0 -214
- package/src/evm/__tests__/address-validation.test.ts +0 -84
- package/src/evm/__tests__/ethereum.test.ts +0 -137
- package/src/evm/__tests__/signMessage.test.ts +0 -60
- package/src/evm/api.ts +0 -10
- package/src/evm/contracts/eth/multicall.ts +0 -165
- package/src/evm/contracts/op/gasOracle.ts +0 -145
- package/src/evm/helpers.ts +0 -71
- package/src/evm/index.ts +0 -4
- package/src/evm/toolbox/baseEVMToolbox.ts +0 -698
- package/src/evm/toolbox/evm.ts +0 -66
- package/src/evm/toolbox/index.ts +0 -44
- package/src/evm/toolbox/op.ts +0 -143
- package/src/evm/types.ts +0 -146
- package/src/index.ts +0 -260
- package/src/near/__tests__/core.test.ts +0 -70
- package/src/near/helpers/core.ts +0 -85
- package/src/near/helpers/gasEstimation.ts +0 -96
- package/src/near/helpers/nep141.ts +0 -50
- package/src/near/index.ts +0 -21
- package/src/near/toolbox.ts +0 -421
- package/src/near/types/contract.ts +0 -32
- package/src/near/types/nep141.ts +0 -34
- package/src/near/types/toolbox.ts +0 -55
- package/src/near/types.ts +0 -44
- package/src/radix/index.ts +0 -138
- package/src/ripple/index.ts +0 -179
- package/src/solana/index.ts +0 -36
- package/src/solana/toolbox.ts +0 -409
- package/src/substrate/balance.ts +0 -88
- package/src/substrate/index.ts +0 -2
- package/src/substrate/substrate.ts +0 -281
- package/src/substrate/types.ts +0 -115
- package/src/sui/__tests__/toolbox.test.ts +0 -86
- package/src/sui/index.ts +0 -2
- package/src/sui/toolbox.ts +0 -166
- package/src/sui/types.ts +0 -11
- package/src/ton/__tests__/toolbox.test.ts +0 -67
- package/src/ton/index.ts +0 -2
- package/src/ton/toolbox.ts +0 -136
- package/src/ton/types.ts +0 -13
- package/src/tron/__tests__/toolbox.test.ts +0 -221
- package/src/tron/helpers/trc20.abi.ts +0 -107
- package/src/tron/helpers/trongrid.ts +0 -53
- package/src/tron/index.ts +0 -21
- package/src/tron/toolbox.ts +0 -585
- package/src/tron/types.ts +0 -83
- package/src/types.ts +0 -28
- package/src/utils.ts +0 -34
- package/src/utxo/__tests__/zcash-integration.test.ts +0 -97
- package/src/utxo/helpers/api.ts +0 -471
- package/src/utxo/helpers/bchaddrjs.ts +0 -166
- package/src/utxo/helpers/coinselect.ts +0 -92
- package/src/utxo/helpers/index.ts +0 -4
- package/src/utxo/helpers/txSize.ts +0 -137
- package/src/utxo/index.ts +0 -6
- package/src/utxo/toolbox/bitcoinCash.ts +0 -243
- package/src/utxo/toolbox/index.ts +0 -59
- package/src/utxo/toolbox/params.ts +0 -18
- package/src/utxo/toolbox/utxo.ts +0 -439
- package/src/utxo/toolbox/validators.ts +0 -36
- package/src/utxo/toolbox/zcash.ts +0 -242
- package/src/utxo/types.ts +0 -39
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FeeOption } from "@swapkit/helpers";
|
|
2
2
|
import type { EVMToolboxParams } from "../types";
|
|
3
|
-
export declare function ETHToolbox(
|
|
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,
|
|
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: (
|
|
46
|
-
}
|
|
47
|
-
export declare const
|
|
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,
|
|
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: (
|
|
86
|
-
}
|
|
87
|
-
export declare const
|
|
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,
|
|
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: (
|
|
126
|
-
}
|
|
127
|
-
export declare const
|
|
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,
|
|
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: (
|
|
166
|
-
}
|
|
167
|
-
export declare const
|
|
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,
|
|
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: (
|
|
206
|
-
}
|
|
207
|
-
export declare const
|
|
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,
|
|
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: (
|
|
246
|
-
}
|
|
247
|
-
export declare const
|
|
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,
|
|
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: (
|
|
286
|
-
}
|
|
287
|
-
export declare const
|
|
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,
|
|
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: (
|
|
326
|
-
}
|
|
327
|
-
export declare const
|
|
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,
|
|
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: (
|
|
366
|
-
}
|
|
367
|
-
export declare const
|
|
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,
|
|
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: (
|
|
406
|
-
}
|
|
407
|
-
export declare const
|
|
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,
|
|
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: (
|
|
446
|
-
}
|
|
447
|
-
export declare const
|
|
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,
|
|
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: (
|
|
486
|
-
}
|
|
487
|
-
export declare const
|
|
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,
|
|
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: (
|
|
526
|
-
}
|
|
527
|
-
export declare const
|
|
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,
|
|
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: (
|
|
566
|
-
}
|
|
567
|
-
export declare const
|
|
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,
|
|
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: (
|
|
606
|
-
}
|
|
607
|
-
export declare const
|
|
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,
|
|
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: (
|
|
646
|
-
}
|
|
647
|
-
export declare const
|
|
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,
|
|
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: (
|
|
686
|
-
}
|
|
687
|
-
export declare const
|
|
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,
|
|
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: (
|
|
726
|
-
}
|
|
727
|
-
export declare const
|
|
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,
|
|
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: (
|
|
766
|
-
}
|
|
905
|
+
validateAddress: typeof import("./baseEVMToolbox").validateEVMAddress;
|
|
906
|
+
};
|
|
767
907
|
//# sourceMappingURL=evm.d.ts.map
|