@xchainjs/xchain-thorchain-amm 0.3.21 → 0.3.22
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/lib/index.esm.js +2 -2
- package/lib/index.js +2 -2
- package/package.json +14 -14
package/lib/index.esm.js
CHANGED
|
@@ -97,7 +97,7 @@ class EthHelper {
|
|
|
97
97
|
expiry,
|
|
98
98
|
];
|
|
99
99
|
const routerContract = new ethers.Contract(inboundAsgard.router, abi.router);
|
|
100
|
-
const gasLimit = '
|
|
100
|
+
const gasLimit = '160000';
|
|
101
101
|
const unsignedTx = yield routerContract.populateTransaction.depositWithExpiry(...depositParams, {
|
|
102
102
|
from: address,
|
|
103
103
|
value: 0,
|
|
@@ -196,7 +196,7 @@ class EvmHelper {
|
|
|
196
196
|
expiry,
|
|
197
197
|
];
|
|
198
198
|
const routerContract = new ethers.Contract(inboundAsgard.router, abi$1.router);
|
|
199
|
-
const gasLimit = '
|
|
199
|
+
const gasLimit = '160000';
|
|
200
200
|
const unsignedTx = yield routerContract.populateTransaction.depositWithExpiry(...depositParams, {
|
|
201
201
|
from: address,
|
|
202
202
|
value: 0,
|
package/lib/index.js
CHANGED
|
@@ -101,7 +101,7 @@ class EthHelper {
|
|
|
101
101
|
expiry,
|
|
102
102
|
];
|
|
103
103
|
const routerContract = new ethers.ethers.Contract(inboundAsgard.router, xchainEthereum.abi.router);
|
|
104
|
-
const gasLimit = '
|
|
104
|
+
const gasLimit = '160000';
|
|
105
105
|
const unsignedTx = yield routerContract.populateTransaction.depositWithExpiry(...depositParams, {
|
|
106
106
|
from: address,
|
|
107
107
|
value: 0,
|
|
@@ -200,7 +200,7 @@ class EvmHelper {
|
|
|
200
200
|
expiry,
|
|
201
201
|
];
|
|
202
202
|
const routerContract = new ethers.ethers.Contract(inboundAsgard.router, xchainEvm.abi.router);
|
|
203
|
-
const gasLimit = '
|
|
203
|
+
const gasLimit = '160000';
|
|
204
204
|
const unsignedTx = yield routerContract.populateTransaction.depositWithExpiry(...depositParams, {
|
|
205
205
|
from: address,
|
|
206
206
|
value: 0,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xchainjs/xchain-thorchain-amm",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.22",
|
|
4
4
|
"description": "module that exposes estimating & swappping cryptocurrency assets on thorchain",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"THORChain",
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
"@binance-chain/javascript-sdk": "^4.2.0",
|
|
40
40
|
"@cosmos-client/core": "0.46.1",
|
|
41
41
|
"@psf/bitcoincashjs-lib": "^4.0.2",
|
|
42
|
-
"@xchainjs/xchain-avax": "^0.1.
|
|
43
|
-
"@xchainjs/xchain-bsc": "^0.1.
|
|
44
|
-
"@xchainjs/xchain-binance": "^5.6.
|
|
45
|
-
"@xchainjs/xchain-bitcoin": "^0.21.
|
|
46
|
-
"@xchainjs/xchain-bitcoincash": "^0.15.
|
|
47
|
-
"@xchainjs/xchain-client": "^0.13.
|
|
48
|
-
"@xchainjs/xchain-cosmos": "^0.20.
|
|
42
|
+
"@xchainjs/xchain-avax": "^0.1.6",
|
|
43
|
+
"@xchainjs/xchain-bsc": "^0.1.3",
|
|
44
|
+
"@xchainjs/xchain-binance": "^5.6.8",
|
|
45
|
+
"@xchainjs/xchain-bitcoin": "^0.21.3",
|
|
46
|
+
"@xchainjs/xchain-bitcoincash": "^0.15.10",
|
|
47
|
+
"@xchainjs/xchain-client": "^0.13.7",
|
|
48
|
+
"@xchainjs/xchain-cosmos": "^0.20.9",
|
|
49
49
|
"@xchainjs/xchain-crypto": "^0.2.6",
|
|
50
|
-
"@xchainjs/xchain-doge": "^0.5.
|
|
51
|
-
"@xchainjs/xchain-ethereum": "^0.27.
|
|
52
|
-
"@xchainjs/xchain-evm": "^0.1.
|
|
53
|
-
"@xchainjs/xchain-litecoin": "^0.11.
|
|
50
|
+
"@xchainjs/xchain-doge": "^0.5.12",
|
|
51
|
+
"@xchainjs/xchain-ethereum": "^0.27.8",
|
|
52
|
+
"@xchainjs/xchain-evm": "^0.1.5",
|
|
53
|
+
"@xchainjs/xchain-litecoin": "^0.11.3",
|
|
54
54
|
"@xchainjs/xchain-midgard": "0.4.3",
|
|
55
55
|
"@xchainjs/xchain-thorchain": "^0.27.9",
|
|
56
56
|
"@xchainjs/xchain-thorchain-query": "^0.2.2",
|
|
57
|
-
"@xchainjs/xchain-thornode": "^0.2.
|
|
57
|
+
"@xchainjs/xchain-thornode": "^0.2.2",
|
|
58
58
|
"@xchainjs/xchain-util": "^0.12.0",
|
|
59
59
|
"@xchainjs/xchain-utxo-providers": "^0.1.1",
|
|
60
60
|
"axios": "^0.25.0",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@xchainjs/xchain-midgard": "0.4.3",
|
|
90
90
|
"@xchainjs/xchain-thorchain": "^0.27.9",
|
|
91
91
|
"@xchainjs/xchain-thorchain-query": "^0.2.2",
|
|
92
|
-
"@xchainjs/xchain-thornode": "^0.2.
|
|
92
|
+
"@xchainjs/xchain-thornode": "^0.2.2",
|
|
93
93
|
"@xchainjs/xchain-util": "^0.12.0",
|
|
94
94
|
"@xchainjs/xchain-utxo-providers": "^0.1.1",
|
|
95
95
|
"axios": "^0.25.0",
|