@1delta/margin-fetcher 0.0.140 → 0.0.142
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/{_esm-32O7VXQT.js → _esm-65WLNYDF.js} +23 -23
- package/dist/_esm-65WLNYDF.js.map +1 -0
- package/dist/ccip-GNAOXE2O.js +5 -0
- package/dist/{ccip-DY4LGLUJ.js.map → ccip-GNAOXE2O.js.map} +1 -1
- package/dist/{chunk-R4HMRFWU.js → chunk-GV32OQ4H.js} +76 -76
- package/dist/{chunk-R4HMRFWU.js.map → chunk-GV32OQ4H.js.map} +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/dist/_esm-32O7VXQT.js.map +0 -1
- package/dist/ccip-DY4LGLUJ.js +0 -5
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { formatEther, BaseError, formatUnits } from './chunk-
|
|
1
|
+
import { formatEther, BaseError, formatUnits } from './chunk-GV32OQ4H.js';
|
|
2
2
|
import './chunk-BYTNVMX7.js';
|
|
3
3
|
import './chunk-PR4QN5HX.js';
|
|
4
4
|
import { Lender, AAVE_V3_LENDERS, AAVE_V2_LENDERS, AAVE_V32_LENDERS, COMPOUND_V2_LENDERS, VENUS_LENDERS } from '@1delta/lender-registry';
|
|
@@ -7853,7 +7853,7 @@ var buildCompoundV3StyleLenderReserveCall = (chainId, lender) => {
|
|
|
7853
7853
|
return calls;
|
|
7854
7854
|
};
|
|
7855
7855
|
|
|
7856
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7856
|
+
// ../../node_modules/.pnpm/viem@2.42.0_typescript@5.9.3_zod@4.1.13/node_modules/viem/_esm/errors/unit.js
|
|
7857
7857
|
var InvalidDecimalNumberError = class extends BaseError {
|
|
7858
7858
|
constructor({ value }) {
|
|
7859
7859
|
super(`Number \`${value}\` is not a valid decimal number.`, {
|
|
@@ -7862,7 +7862,7 @@ var InvalidDecimalNumberError = class extends BaseError {
|
|
|
7862
7862
|
}
|
|
7863
7863
|
};
|
|
7864
7864
|
|
|
7865
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7865
|
+
// ../../node_modules/.pnpm/viem@2.42.0_typescript@5.9.3_zod@4.1.13/node_modules/viem/_esm/utils/unit/parseUnits.js
|
|
7866
7866
|
function parseUnits(value, decimals) {
|
|
7867
7867
|
if (!/^(-?)([0-9]*)\.?([0-9]*)$/.test(value))
|
|
7868
7868
|
throw new InvalidDecimalNumberError({ value });
|
|
@@ -7897,7 +7897,7 @@ function parseUnits(value, decimals) {
|
|
|
7897
7897
|
return BigInt(`${negative ? "-" : ""}${integer}${fraction}`);
|
|
7898
7898
|
}
|
|
7899
7899
|
|
|
7900
|
-
// ../../node_modules/.pnpm/viem@2.
|
|
7900
|
+
// ../../node_modules/.pnpm/viem@2.42.0_typescript@5.9.3_zod@4.1.13/node_modules/viem/_esm/constants/address.js
|
|
7901
7901
|
var zeroAddress = "0x0000000000000000000000000000000000000000";
|
|
7902
7902
|
|
|
7903
7903
|
// src/utils/parsing.ts
|