@swapkit/core 1.0.0-rc.71 → 1.0.0-rc.72
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.es.js +28 -34
- package/dist/index.es.js.map +1 -1
- package/package.json +13 -13
package/dist/index.es.js
CHANGED
|
@@ -624,7 +624,7 @@ const Ze = [
|
|
|
624
624
|
"TC-BEP20"
|
|
625
625
|
/* TC_SUPPORTED_TO_BSC */
|
|
626
626
|
];
|
|
627
|
-
var
|
|
627
|
+
var Se = /* @__PURE__ */ ((e) => (e.VALIDATION_ERROR = "VALIDATION_ERROR", e.REQUEST_PARAMETER_ERROR = "REQUEST_PARAMETER_ERROR", e.RESPONSE_PARSING_ERROR = "RESPONSE_PARSING_ERROR", e.UNSUPPORTED = "UNSUPPORTED", e.NOT_IMPLEMENTED = "NOT_IMPLEMENTED", e.INCOMPATIBLE_ASSETS_OPERATIONS = "INCOMPATIBLE_ASSETS_OPERATIONS", e.SERVICE_UNAVAILABLE = "SERVICE_UNAVAILABLE", e.DOWN_FOR_MAINTENANCE = "DOWN_FOR_MAINTENANCE", e.MISSING_INBOUND_INFO = "MISSING_INBOUND_INFO", e.QUOTE_FETCHING_ERROR = "QUOTE_FETCHING_ERROR", e.AIRDROP_ERROR = "AIRDROP_ERROR", e.UNHANDLED_ERROR = "UNHANDLED_ERROR", e))(Se || {}), nt = /* @__PURE__ */ ((e) => (e.HEALTH_CONTROLLER = "1000", e.LIQUIDITY_CONTROLLER = "1001", e.PROVIDER_CONTROLLER = "1002", e.QUOTE_CONTROLLER = "1003", e.SWAP_CONTROLLER = "1004", e.UTIL_CONTROLLER = "1005", e.AIRDROP_CONTROLLER = "1006", e.PROVIDER = "2000", e.ASSET = "2001", e.TOKEN_LIST = "2002", e.QUOTE = "2100", e.QUOTE_TXN_DETAILS = "2101", e.THORCHAIN_PROVIDER = "3000", e.UNISWAPV2_ETH_PROVIDER = "3001", e.UNISWAPV3_ETH_PROVIDER = "3002", e.SUSHISWAP_ETH_PROVIDER = "3003", e.PANCAKESWAP_BSC_PROVIDER = "3004", e.PANCAKESWAP_ETH_PROVIDER = "3005", e.ONEINCH_ETH_PROVIDER = "3006", e.ONEINCH_BSC_PROVIDER = "3007", e.ONEINCH_AVAX_PROVIDER = "3008", e.ZEROX_ETH_PROVIDER = "3009", e.WOOFI_AVAX_PROVIDER = "3010", e.PANGOLIN_AVAX_PROVIDER = "3011", e.TRADERJOE_AVAX_PROVIDER = "3012", e.KYBER_ETH_PROVIDER = "3013", e.KYBER_AVAX_PROVIDER = "3014", e.WOOFI_BSC_PROVIDER = "3015", e.STARGATE_PROVIDER = "3016", e.PROVIDER_UTIL = "4000", e.TXN_DETAILS = "5000", e.AIRDROP_UTIL = "6000", e))(nt || {}), y = /* @__PURE__ */ ((e) => (e.INVALID_INPUT_PARAMETERS = "1000", e.UNKNOWN_PROVIDERS = "1001", e.CANNOT_FIND_INBOUND_ADDRESS = "1002", e.NO_INBOUND_ADDRESSES = "1003", e.CHAIN_HALTED_OR_UNSUPPORTED = "1004", e.MISSING_INPUT_PARAMETER = "1005", e.INVALID_TYPE_GENERIC = "1100", e.INVALID_NUMBER_STRING = "1101", e.INVALID_NUMBER = "1102", e.INVALID_BOOLEAN = "1103", e.INVALID_OBJECT = "1104", e.INVALID_ARRAY = "1105", e.SELL_AMOUNT_MUST_BE_POSITIVE_INTEGER = "2000", e.SELL_BUY_ASSETS_ARE_THE_SAME = "2001", e.MISSING_SOURCE_ADDRESS_FOR_SYNTH = "2002", e.AFF_ADDRESS_AND_BPS_OR_NEITHER = "2003", e.AFF_ADDRESS_TOO_LONG = "2004", e.AFF_BPS_INTEGER_MAX_500 = "2005", e.SOURCE_ADDRESS_INVALID_FOR_SELL_CHAIN = "2006", e.DESTINATION_ADDRESS_INVALID_FOR_BUY_CHAIN = "2007", e.PREFERRED_PROVIDER_NOT_SUPPORTED = "2008", e.DESTINATION_ADDRESS_SMART_CONTRACT = "2009", e.BUY_AMOUNT_MUST_BE_POSITIVE_INTEGER = "2010", e.SOURCE_ADDRESS_SMART_CONTRACT = "2011", e.INVALID_PROVIDER = "2100", e.MISSING_CROSS_CHAIN_PROVIDER = "2101", e.MISSING_AVAX_PROVIDER = "2102", e.MISSING_BSC_PROVIDER = "2103", e.MISSING_ETH_PROVIDER = "2104", e.INVALID_PROVIDER_FOR_SWAP_OUT = "2105", e.MISSING_ARB_PROVIDER = "2106", e.INVALID_CHAIN = "2200", e.INVALID_ASSET = "2201", e.INVALID_ASSET_IDENTIFIER = "2202", e.UNSUPPORTED_CHAIN = "2204", e.UNSUPPORTED_ASSET = "2203", e.UNSUPPORTED_ASSET_FOR_SWAPOUT = "2205", e.INVALID_SOURCE_ADDRESS = "2300", e.INVALID_DESTINATION_ADDRESS = "2301", e.THORNODE_QUOTE_GENERIC_ERROR = "3000", e.NOT_ENOUGH_SYNTH_BALANCE = "3001", e.SYNTH_MINTING_CAP_REACHED = "3002", e.INVALID_QUOTE_MODE = "4000", e.NO_QUOTES = "4001", e.SERVICE_UNAVAILABLE_GENERIC = "5000", e.MISSING_GAS_DATA_GENERIC = "5100", e.MISSING_TOKEN_INFO_GENERIC = "5200", e.CANT_FIND_TOKEN_LIST = "5201", e.NO_PRICE = "5202", e.PRICE_IS_STALE = "5203", e.ADDRESS_NOT_WHITELISTED = "6000", e.ADDRESS_ALREADY_CLAIMED = "6001", e.TEMPORARY_ERROR = "9999", e))(y || {});
|
|
628
628
|
const at = {
|
|
629
629
|
[y.INVALID_INPUT_PARAMETERS]: "Invalid input parameters: {0}.",
|
|
630
630
|
[y.UNKNOWN_PROVIDERS]: "Unknown providers: {0}.",
|
|
@@ -698,7 +698,7 @@ let bn = class ve extends Error {
|
|
|
698
698
|
displayMessageParams: u
|
|
699
699
|
}) {
|
|
700
700
|
const m = r || pe(s, u || []) || "";
|
|
701
|
-
super(m), C(this, "status"), C(this, "revision"), C(this, "type"), C(this, "module"), C(this, "code"), C(this, "message"), C(this, "display"), C(this, "stack"), C(this, "options"), C(this, "displayMessageParams"), this.status = t, this.revision = n || "NO_REVISION", this.module = a, this.message = m, this.display = pe(s, u || []), this.code = s, this.type = o ||
|
|
701
|
+
super(m), C(this, "status"), C(this, "revision"), C(this, "type"), C(this, "module"), C(this, "code"), C(this, "message"), C(this, "display"), C(this, "stack"), C(this, "options"), C(this, "displayMessageParams"), this.status = t, this.revision = n || "NO_REVISION", this.module = a, this.message = m, this.display = pe(s, u || []), this.code = s, this.type = o || Se.UNHANDLED_ERROR, this.options = {
|
|
702
702
|
shouldLog: p || !0,
|
|
703
703
|
shouldTrace: l || !0,
|
|
704
704
|
shouldThrow: d || !1
|
|
@@ -836,7 +836,7 @@ const ie = Object.values(i), ot = Object.keys(i), fe = ie.reduce(
|
|
|
836
836
|
MATIC: "https://polygonscan.com",
|
|
837
837
|
THOR: "https://runescan.io"
|
|
838
838
|
};
|
|
839
|
-
var ut = /* @__PURE__ */ ((e) => (e[e.NoError = 36864] = "NoError", e))(ut || {}), h = /* @__PURE__ */ ((e) => (e.BOND = "BOND", e.DEPOSIT = "+", e.LEAVE = "LEAVE", e.THORNAME_REGISTER = "~", e.UNBOND = "UNBOND", e.WITHDRAW = "-", e.OPEN_LOAN = "$+", e.CLOSE_LOAN = "$-", e))(h || {}), F = /* @__PURE__ */ ((e) => (e.Average = "average", e.Fast = "fast", e.Fastest = "fastest", e))(F || {}), lt = /* @__PURE__ */ ((e) => (e.KEYSTORE = "KEYSTORE", e.XDEFI = "XDEFI", e.METAMASK = "METAMASK", e.COINBASE_WEB = "COINBASE_WEB", e.TREZOR = "TREZOR", e.TRUSTWALLET_WEB = "TRUSTWALLET_WEB", e.LEDGER = "LEDGER", e.KEPLR = "KEPLR", e.OKX = "OKX", e.OKX_MOBILE = "OKX_MOBILE", e.BRAVE = "BRAVE", e.WALLETCONNECT = "WALLETCONNECT", e))(lt || {}), yt = Object.defineProperty, ct = (e, t, n) => t in e ? yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n,
|
|
839
|
+
var ut = /* @__PURE__ */ ((e) => (e[e.NoError = 36864] = "NoError", e))(ut || {}), h = /* @__PURE__ */ ((e) => (e.BOND = "BOND", e.DEPOSIT = "+", e.LEAVE = "LEAVE", e.THORNAME_REGISTER = "~", e.UNBOND = "UNBOND", e.WITHDRAW = "-", e.OPEN_LOAN = "$+", e.CLOSE_LOAN = "$-", e))(h || {}), F = /* @__PURE__ */ ((e) => (e.Average = "average", e.Fast = "fast", e.Fastest = "fastest", e))(F || {}), lt = /* @__PURE__ */ ((e) => (e.KEYSTORE = "KEYSTORE", e.XDEFI = "XDEFI", e.METAMASK = "METAMASK", e.COINBASE_WEB = "COINBASE_WEB", e.TREZOR = "TREZOR", e.TRUSTWALLET_WEB = "TRUSTWALLET_WEB", e.LEDGER = "LEDGER", e.KEPLR = "KEPLR", e.OKX = "OKX", e.OKX_MOBILE = "OKX_MOBILE", e.BRAVE = "BRAVE", e.WALLETCONNECT = "WALLETCONNECT", e))(lt || {}), yt = Object.defineProperty, ct = (e, t, n) => t in e ? yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, S = (e, t, n) => (ct(e, typeof t != "symbol" ? t + "" : t, n), n), mt = (e, t, n) => {
|
|
840
840
|
if (!t.has(e))
|
|
841
841
|
throw TypeError("Cannot " + n);
|
|
842
842
|
}, H = (e, t, n) => {
|
|
@@ -971,7 +971,7 @@ const Tt = "0x313ce567", Ne = async ({ chain: e, to: t }) => {
|
|
|
971
971
|
case i.Optimism:
|
|
972
972
|
return [i.Ethereum, i.Optimism].includes(t) ? "Native" : "OPTIMISM";
|
|
973
973
|
}
|
|
974
|
-
},
|
|
974
|
+
}, In = (e) => {
|
|
975
975
|
var t;
|
|
976
976
|
const [n, ...a] = e.split("."), s = e.includes("/"), r = a.join("."), o = (t = r == null ? void 0 : r.split("-")) == null ? void 0 : t[0];
|
|
977
977
|
return { chain: n, symbol: r, ticker: o, synth: s };
|
|
@@ -984,7 +984,7 @@ const Tt = "0x313ce567", Ne = async ({ chain: e, to: t }) => {
|
|
|
984
984
|
return !0;
|
|
985
985
|
const [, a] = n.split("-");
|
|
986
986
|
return xe({ chain: t, symbol: n }) || !!a;
|
|
987
|
-
},
|
|
987
|
+
}, Sn = (e) => e.filter((t) => {
|
|
988
988
|
const n = `${t.chain}.${t.symbol}`;
|
|
989
989
|
return !Rt.test(n) && gt(n) && t.value !== "0";
|
|
990
990
|
});
|
|
@@ -996,7 +996,7 @@ function Ot({
|
|
|
996
996
|
const a = g(e), s = g(t), r = g(n), o = a.mul(r), p = s.mul(s).mul(2), d = s.mul(a).mul(2), l = a.mul(a), u = s.mul(s).mul(s);
|
|
997
997
|
return o.mul(p.sub(d).add(l)).div(u);
|
|
998
998
|
}
|
|
999
|
-
function
|
|
999
|
+
function It({
|
|
1000
1000
|
liquidityUnits: e,
|
|
1001
1001
|
poolUnits: t,
|
|
1002
1002
|
assetDepth: n
|
|
@@ -1018,12 +1018,12 @@ function Cn({
|
|
|
1018
1018
|
liquidityUnits: n,
|
|
1019
1019
|
poolUnits: a
|
|
1020
1020
|
}) {
|
|
1021
|
-
return
|
|
1021
|
+
return It({ assetDepth: t, liquidityUnits: n, poolUnits: a }).mul(e);
|
|
1022
1022
|
}
|
|
1023
1023
|
function g(e) {
|
|
1024
1024
|
return x.fromBigInt(BigInt(e), b.THOR);
|
|
1025
1025
|
}
|
|
1026
|
-
function
|
|
1026
|
+
function St({
|
|
1027
1027
|
liquidityUnits: e,
|
|
1028
1028
|
poolUnits: t,
|
|
1029
1029
|
runeDepth: n,
|
|
@@ -1042,7 +1042,7 @@ function Mn({
|
|
|
1042
1042
|
percent: s
|
|
1043
1043
|
}) {
|
|
1044
1044
|
return Object.fromEntries(
|
|
1045
|
-
Object.entries(
|
|
1045
|
+
Object.entries(St({ liquidityUnits: e, poolUnits: t, runeDepth: n, assetDepth: a })).map(
|
|
1046
1046
|
([r, o]) => [r, o.mul(s)]
|
|
1047
1047
|
)
|
|
1048
1048
|
);
|
|
@@ -1055,8 +1055,8 @@ function Nn({
|
|
|
1055
1055
|
runeAmount: s,
|
|
1056
1056
|
assetAmount: r
|
|
1057
1057
|
}) {
|
|
1058
|
-
const o = new x({ value: e, decimal: 8 }), p = new x({ value: n, decimal: 8 }), d = new x({ value: t, decimal: 8 }), l = new x({ value: s, decimal: 8 }), u = new x({ value: r, decimal: 8 }), m = l.mul(p), _ = u.mul(o), w = l.mul(u), A = o.mul(p), E = d.mul(m.add(_.add(w.mul(2)))), O = m.add(_.add(A.mul(2))),
|
|
1059
|
-
if (
|
|
1058
|
+
const o = new x({ value: e, decimal: 8 }), p = new x({ value: n, decimal: 8 }), d = new x({ value: t, decimal: 8 }), l = new x({ value: s, decimal: 8 }), u = new x({ value: r, decimal: 8 }), m = l.mul(p), _ = u.mul(o), w = l.mul(u), A = o.mul(p), E = d.mul(m.add(_.add(w.mul(2)))), O = m.add(_.add(A.mul(2))), I = E.div(O), D = g(a).add(I);
|
|
1059
|
+
if (I.getBaseValue("number") === 0)
|
|
1060
1060
|
return D.div(d).getBaseValue("number");
|
|
1061
1061
|
const oe = d.add(D);
|
|
1062
1062
|
return D.div(oe).getBaseValue("number");
|
|
@@ -1514,7 +1514,7 @@ function re({
|
|
|
1514
1514
|
var U, k, B, $, me, Ue, Z, ue, ne, Te;
|
|
1515
1515
|
const jt = class $e {
|
|
1516
1516
|
constructor(t) {
|
|
1517
|
-
H(this, U), H(this, B), H(this, me), H(this, Z), H(this, ne),
|
|
1517
|
+
H(this, U), H(this, B), H(this, me), H(this, Z), H(this, ne), S(this, "decimalMultiplier", 10n ** 8n), S(this, "bigIntValue", 0n), S(this, "decimal");
|
|
1518
1518
|
const n = he(t), a = typeof t == "object";
|
|
1519
1519
|
this.decimal = a ? t.decimal : void 0, this.decimalMultiplier = a && "decimalMultiplier" in t ? t.decimalMultiplier : L(Math.max(ke(ae(n)), this.decimal || 0)), R(this, me, Ue).call(this, n);
|
|
1520
1520
|
}
|
|
@@ -1736,7 +1736,7 @@ class N extends He {
|
|
|
1736
1736
|
symbol: r,
|
|
1737
1737
|
identifier: o
|
|
1738
1738
|
}) {
|
|
1739
|
-
super(typeof t == "object" ? t : { decimal: n, value: t }),
|
|
1739
|
+
super(typeof t == "object" ? t : { decimal: n, value: t }), S(this, "address"), S(this, "chain"), S(this, "isGasAsset", !1), S(this, "isSynthetic", !1), S(this, "symbol"), S(this, "tax"), S(this, "ticker"), S(this, "type");
|
|
1740
1740
|
const p = ee(o || `${s}.${r}`);
|
|
1741
1741
|
this.type = Et(p), this.tax = a, this.chain = p.chain, this.ticker = p.ticker, this.symbol = p.symbol, this.address = p.address, this.isSynthetic = p.isSynthetic, this.isGasAsset = p.isGasAsset;
|
|
1742
1742
|
}
|
|
@@ -1769,9 +1769,6 @@ class N extends He {
|
|
|
1769
1769
|
const { chain: a, isSynthetic: s } = ee(t), r = q.get(t.toUpperCase());
|
|
1770
1770
|
if (s)
|
|
1771
1771
|
return Oe(t, n);
|
|
1772
|
-
r || console.error(
|
|
1773
|
-
`Asset ${t} is not loaded. Use AssetValue.loadStaticAssets() to load it`
|
|
1774
|
-
);
|
|
1775
1772
|
const { tax: o, decimal: p, identifier: d } = r || {
|
|
1776
1773
|
decimal: b[a],
|
|
1777
1774
|
identifier: t
|
|
@@ -1787,9 +1784,6 @@ class N extends He {
|
|
|
1787
1784
|
const { chain: a, isSynthetic: s } = ee(t), r = q.get(t);
|
|
1788
1785
|
if (s)
|
|
1789
1786
|
return Oe(t, n);
|
|
1790
|
-
r || console.error(
|
|
1791
|
-
`Asset ${t} is not loaded. - Loading with base Chain. Use AssetValue.loadStaticAssets() to load it`
|
|
1792
|
-
);
|
|
1793
1787
|
const { tax: o, decimal: p, identifier: d } = r || {
|
|
1794
1788
|
decimal: b[a],
|
|
1795
1789
|
identifier: t
|
|
@@ -3674,7 +3668,7 @@ const Yt = [
|
|
|
3674
3668
|
const O = !!Fe[t.toLowerCase()];
|
|
3675
3669
|
if (O && !l)
|
|
3676
3670
|
throw new Error("Router is required on calldata for swapIn with GenericContract");
|
|
3677
|
-
const
|
|
3671
|
+
const I = m || d, D = e && u || I;
|
|
3678
3672
|
if (!w && !A)
|
|
3679
3673
|
throw new Error("TC Vault is required on calldata");
|
|
3680
3674
|
if (!_ && !l)
|
|
@@ -3746,7 +3740,7 @@ const Yt = [
|
|
|
3746
3740
|
}, Tn = (e) => {
|
|
3747
3741
|
const t = e ? j.ThornodeStagenet : j.ThornodeMainnet;
|
|
3748
3742
|
return we.get(`${t}/thorchain/mimir`);
|
|
3749
|
-
},
|
|
3743
|
+
}, Ie = () => Object.values(i).reduce(
|
|
3750
3744
|
(e, t) => (e[t] = null, e),
|
|
3751
3745
|
{}
|
|
3752
3746
|
), hn = async ({ chain: e, address: t }) => {
|
|
@@ -3762,8 +3756,8 @@ const Yt = [
|
|
|
3762
3756
|
var V, se, X, v, Y, J;
|
|
3763
3757
|
class Ln {
|
|
3764
3758
|
constructor({ stagenet: t } = {}) {
|
|
3765
|
-
T(this, "connectedChains",
|
|
3766
|
-
T(this, "connectedWallets",
|
|
3759
|
+
T(this, "connectedChains", Ie());
|
|
3760
|
+
T(this, "connectedWallets", Ie());
|
|
3767
3761
|
T(this, "stagenet", !1);
|
|
3768
3762
|
T(this, "getAddress", (t) => {
|
|
3769
3763
|
var n;
|
|
@@ -3806,11 +3800,11 @@ class Ln {
|
|
|
3806
3800
|
const { address: u } = await f(this, V).call(this, l.chain), {
|
|
3807
3801
|
contract: m,
|
|
3808
3802
|
calldata: { expiration: _, amountIn: w, memo: A, memoStreamingSwap: E }
|
|
3809
|
-
} = a, O = l.add(x.fromBigInt(BigInt(w), l.decimal)),
|
|
3803
|
+
} = a, O = l.add(x.fromBigInt(BigInt(w), l.decimal)), I = t && E || A;
|
|
3810
3804
|
return this.deposit({
|
|
3811
3805
|
expiration: _,
|
|
3812
3806
|
assetValue: O,
|
|
3813
|
-
memo:
|
|
3807
|
+
memo: I,
|
|
3814
3808
|
feeOptionKey: s,
|
|
3815
3809
|
router: m,
|
|
3816
3810
|
recipient: u
|
|
@@ -3977,8 +3971,8 @@ class Ln {
|
|
|
3977
3971
|
assetValue: t,
|
|
3978
3972
|
memo: M(h.DEPOSIT, { chain: p, symbol: d, address: A })
|
|
3979
3973
|
});
|
|
3980
|
-
} catch (
|
|
3981
|
-
throw new c("core_transaction_add_liquidity_rune_error",
|
|
3974
|
+
} catch (I) {
|
|
3975
|
+
throw new c("core_transaction_add_liquidity_rune_error", I);
|
|
3982
3976
|
}
|
|
3983
3977
|
if (m && n)
|
|
3984
3978
|
try {
|
|
@@ -3986,8 +3980,8 @@ class Ln {
|
|
|
3986
3980
|
assetValue: n,
|
|
3987
3981
|
memo: M(h.DEPOSIT, { chain: p, symbol: d, address: w })
|
|
3988
3982
|
});
|
|
3989
|
-
} catch (
|
|
3990
|
-
throw new c("core_transaction_add_liquidity_asset_error",
|
|
3983
|
+
} catch (I) {
|
|
3984
|
+
throw new c("core_transaction_add_liquidity_asset_error", I);
|
|
3991
3985
|
}
|
|
3992
3986
|
return { runeTx: E, assetTx: O };
|
|
3993
3987
|
});
|
|
@@ -4243,7 +4237,7 @@ export {
|
|
|
4243
4237
|
it as DerivationPath,
|
|
4244
4238
|
y as ERROR_CODE,
|
|
4245
4239
|
nt as ERROR_MODULE,
|
|
4246
|
-
|
|
4240
|
+
Se as ERROR_TYPE,
|
|
4247
4241
|
rt as EVMChainList,
|
|
4248
4242
|
ut as ErrorCode,
|
|
4249
4243
|
F as FeeOption,
|
|
@@ -4263,14 +4257,14 @@ export {
|
|
|
4263
4257
|
Rn as TCSupportedChainList,
|
|
4264
4258
|
An as UTXOChainList,
|
|
4265
4259
|
lt as WalletOption,
|
|
4266
|
-
|
|
4260
|
+
In as assetFromString,
|
|
4267
4261
|
Bn as derivationPathToString,
|
|
4268
4262
|
fn as erc20ABI,
|
|
4269
|
-
|
|
4263
|
+
Sn as filterAssets,
|
|
4270
4264
|
re as formatBigIntToSafeValue,
|
|
4271
4265
|
wt as gasFeeMultiplier,
|
|
4272
4266
|
Et as getAssetType,
|
|
4273
|
-
|
|
4267
|
+
It as getAsymmetricAssetShare,
|
|
4274
4268
|
Cn as getAsymmetricAssetWithdrawAmount,
|
|
4275
4269
|
Ot as getAsymmetricRuneShare,
|
|
4276
4270
|
vn as getAsymmetricRuneWithdrawAmount,
|
|
@@ -4280,7 +4274,7 @@ export {
|
|
|
4280
4274
|
xn as getLiquiditySlippage,
|
|
4281
4275
|
M as getMemoFor,
|
|
4282
4276
|
le as getMinAmountByChain,
|
|
4283
|
-
|
|
4277
|
+
St as getSymmetricPoolShare,
|
|
4284
4278
|
Mn as getSymmetricWithdraw,
|
|
4285
4279
|
Dn as getTHORNameCost,
|
|
4286
4280
|
xe as isGasAsset,
|