@swapkit/toolboxes 4.0.25 → 4.0.26
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.
|
@@ -65,7 +65,7 @@ export declare const buildAminoMsg: ({ sender, recipient, assetValue, memo, }: {
|
|
|
65
65
|
export declare const convertToSignable: (msg: MsgSend | MsgDeposit, chain: TCLikeChain) => Promise<import("@cosmjs/proto-signing").EncodeObject>;
|
|
66
66
|
export declare function getCreateTransaction(rpcUrl: string): (params: ThorchainCreateTransactionParams) => Promise<{
|
|
67
67
|
accountNumber: number;
|
|
68
|
-
chainId: import("@swapkit/types").ChainId.
|
|
68
|
+
chainId: import("@swapkit/types").ChainId.Maya | import("@swapkit/types").ChainId.THORChain;
|
|
69
69
|
fee: {
|
|
70
70
|
amount: {
|
|
71
71
|
amount: string;
|
|
@@ -88,7 +88,7 @@ export declare function getCreateTransaction(rpcUrl: string): (params: Thorchain
|
|
|
88
88
|
sequence: number;
|
|
89
89
|
}> | Promise<{
|
|
90
90
|
accountNumber: number;
|
|
91
|
-
chainId: import("@swapkit/types").ChainId.
|
|
91
|
+
chainId: import("@swapkit/types").ChainId.Maya | import("@swapkit/types").ChainId.THORChain;
|
|
92
92
|
fee: {
|
|
93
93
|
amount: {
|
|
94
94
|
amount: string;
|
|
@@ -112,7 +112,7 @@ export declare function getCreateTransaction(rpcUrl: string): (params: Thorchain
|
|
|
112
112
|
}>;
|
|
113
113
|
export declare const buildTransferTx: (rpcUrl: string) => ({ sender, recipient, assetValue, memo, asSignable, asAminoMessage, sequence, accountNumber, }: ThorchainCreateTransactionParams) => Promise<{
|
|
114
114
|
accountNumber: number;
|
|
115
|
-
chainId: import("@swapkit/types").ChainId.
|
|
115
|
+
chainId: import("@swapkit/types").ChainId.Maya | import("@swapkit/types").ChainId.THORChain;
|
|
116
116
|
fee: {
|
|
117
117
|
amount: {
|
|
118
118
|
amount: string;
|
|
@@ -136,7 +136,7 @@ export declare const buildTransferTx: (rpcUrl: string) => ({ sender, recipient,
|
|
|
136
136
|
}>;
|
|
137
137
|
export declare const buildDepositTx: (rpcUrl: string) => ({ sender, assetValue, memo, asSignable, asAminoMessage, sequence, accountNumber, }: ThorchainCreateTransactionParams) => Promise<{
|
|
138
138
|
accountNumber: number;
|
|
139
|
-
chainId: import("@swapkit/types").ChainId.
|
|
139
|
+
chainId: import("@swapkit/types").ChainId.Maya | import("@swapkit/types").ChainId.THORChain;
|
|
140
140
|
fee: {
|
|
141
141
|
amount: {
|
|
142
142
|
amount: string;
|
|
@@ -63,7 +63,7 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
|
|
|
63
63
|
createMultisig: typeof createMultisig;
|
|
64
64
|
createTransaction: (params: import("..").ThorchainCreateTransactionParams) => Promise<{
|
|
65
65
|
accountNumber: number;
|
|
66
|
-
chainId: import("@swapkit/types").ChainId.
|
|
66
|
+
chainId: import("@swapkit/types").ChainId.Maya | import("@swapkit/types").ChainId.THORChain;
|
|
67
67
|
fee: {
|
|
68
68
|
amount: {
|
|
69
69
|
amount: string;
|
|
@@ -86,7 +86,7 @@ export declare function createThorchainToolbox({ chain, ...toolboxParams }: Cosm
|
|
|
86
86
|
sequence: number;
|
|
87
87
|
}> | Promise<{
|
|
88
88
|
accountNumber: number;
|
|
89
|
-
chainId: import("@swapkit/types").ChainId.
|
|
89
|
+
chainId: import("@swapkit/types").ChainId.Maya | import("@swapkit/types").ChainId.THORChain;
|
|
90
90
|
fee: {
|
|
91
91
|
amount: {
|
|
92
92
|
amount: string;
|
|
@@ -111,7 +111,7 @@ export declare function getEvmToolbox<T extends EVMChain>(chain: T, params?: EVM
|
|
|
111
111
|
getL1GasPrice: () => bigint | undefined;
|
|
112
112
|
getNetworkParams: () => {
|
|
113
113
|
blockExplorerUrls: "https://optimistic.etherscan.io"[];
|
|
114
|
-
chainId: import("@swapkit/types").ChainId.
|
|
114
|
+
chainId: import("@swapkit/types").ChainId.Optimism;
|
|
115
115
|
chainName: "Optimism";
|
|
116
116
|
nativeCurrency: {
|
|
117
117
|
decimals: 18;
|
|
@@ -4,7 +4,7 @@ import { Contract } from "ethers";
|
|
|
4
4
|
import type { EVMToolboxParams } from "../types";
|
|
5
5
|
declare function getNetworkParams(): {
|
|
6
6
|
blockExplorerUrls: "https://optimistic.etherscan.io"[];
|
|
7
|
-
chainId: import("@swapkit/types").ChainId.
|
|
7
|
+
chainId: import("@swapkit/types").ChainId.Optimism;
|
|
8
8
|
chainName: "Optimism";
|
|
9
9
|
nativeCurrency: {
|
|
10
10
|
decimals: 18;
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@solana/spl-memo": "~0.2.5",
|
|
21
21
|
"@solana/spl-token": "~0.4.13",
|
|
22
22
|
"@solana/web3.js": "~1.98.0",
|
|
23
|
-
"@swapkit/helpers": "4.0.
|
|
23
|
+
"@swapkit/helpers": "4.0.26",
|
|
24
24
|
"base64-js": "~1.5.1",
|
|
25
25
|
"bitcoinjs-lib": "~6.1.0",
|
|
26
26
|
"bs58check": "~4.0.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@solana/spl-memo": "0.2.5",
|
|
62
62
|
"@solana/spl-token": "0.4.13",
|
|
63
63
|
"@solana/web3.js": "1.98.4",
|
|
64
|
-
"@swapkit/helpers": "4.0.
|
|
64
|
+
"@swapkit/helpers": "4.0.26",
|
|
65
65
|
"@types/bn.js": "5.2.0",
|
|
66
66
|
"@types/crypto-js": "4.2.2",
|
|
67
67
|
"@types/elliptic": "6.4.18",
|
|
@@ -146,5 +146,5 @@
|
|
|
146
146
|
"type-check:go": "tsgo"
|
|
147
147
|
},
|
|
148
148
|
"type": "module",
|
|
149
|
-
"version": "4.0.
|
|
149
|
+
"version": "4.0.26"
|
|
150
150
|
}
|