impermax-sdk 2.1.452 → 2.1.453
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.d.ts +6 -7
- package/lib/index.js +16 -9
- package/lib/offchain/account/lendingPool/nftlp/index.d.ts +6 -0
- package/lib/offchain/account/lendingPool/nftlp/index.js +15 -0
- package/lib/offchain/account/lendingPool/offchainAccountLendingPoolV3.d.ts +1 -1
- package/lib/offchain/lendingPool/nftlp/index.d.ts +2 -1
- package/lib/offchain/lendingPool/nftlp/index.js +3 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -38,14 +38,12 @@ import { SortDirection, VaultListOrderBy, VaultListParams, LendingPoolListParams
|
|
|
38
38
|
import { VaultRisk } from "./offchain/vault/offchainVault";
|
|
39
39
|
import { LendingPoolVersion } from "./offchain/lendingPool/offchainLendingPool";
|
|
40
40
|
import { PositionType, AccountPosition, SupplyPositionsParams, BorrowPositionsParams, TopPositionsParams, VaultPositionsParams, AccountEarningsParams } from "./offchain/account/offchainMultichainAccount";
|
|
41
|
-
import OnchainInteractionsNftlp, { OnchainInteractionsNftlpUniswapV3 } from './onchain/interactions/lendingPool/nftlp';
|
|
41
|
+
import OnchainInteractionsNftlp, { OnchainInteractionsNftlpAeroCL, OnchainInteractionsNftlpGenericCL, OnchainInteractionsNftlpUniswapV3 } from './onchain/interactions/lendingPool/nftlp';
|
|
42
42
|
import OnchainAccountNftlpUniswapV3 from './onchain/account/lendingPool/nftlp/onchainAccountNftlpUniswapV3';
|
|
43
43
|
import OnchainAccountLendingPoolV3 from './onchain/account/lendingPool/onchainAccountLendingPoolV3';
|
|
44
44
|
import OnchainAccountLendingPoolV2 from './onchain/account/lendingPool/onchainAccountLendingPoolV2';
|
|
45
45
|
import { decimalToBalance } from './utils/ether-utils';
|
|
46
46
|
import OffchainAccountLendingPoolV3 from "./offchain/account/lendingPool/offchainAccountLendingPoolV3";
|
|
47
|
-
import OffchainAccountNftlpUniswapV3 from './offchain/account/lendingPool/nftlp/offchainAccountNftlpUniswapV3';
|
|
48
|
-
import OffchainAccountNftlpAeroCL from './offchain/account/lendingPool/nftlp/offchainAccountNftlpAeroCL';
|
|
49
47
|
import { MAX_TICK, MIN_TICK, formatPriceSqrtX96, clTickToPrice } from "./utils/nftlpMath/CLGeneral";
|
|
50
48
|
import GenericCLPosition from './utils/position/cl';
|
|
51
49
|
import UniswapV2Position from './utils/position/uniswapV2';
|
|
@@ -58,7 +56,7 @@ import OffchainBorrowableV2 from './offchain/lendingPool/offchainBorrowableV2';
|
|
|
58
56
|
import OffchainCollateralV2 from './offchain/lendingPool/offchainCollateralV2';
|
|
59
57
|
import OffchainBorrowableV3 from './offchain/lendingPool/offchainBorrowableV3';
|
|
60
58
|
import OffchainLendingPoolV3 from './offchain/lendingPool/offchainLendingPoolV3';
|
|
61
|
-
import OffchainNftlp, { OffchainNftlpUniswapV3, OffchainNftlpAeroCL } from './offchain/lendingPool/nftlp';
|
|
59
|
+
import OffchainNftlp, { OffchainNftlpUniswapV3, OffchainNftlpAeroCL, OffchainNftlpGenericCL } from './offchain/lendingPool/nftlp';
|
|
62
60
|
import OffchainCollateralV3 from './offchain/lendingPool/offchainCollateralV3';
|
|
63
61
|
import OffchainAccountLendingPoolV2 from './offchain/account/lendingPool/offchainAccountLendingPoolV2';
|
|
64
62
|
import OffchainAccountBorrowableV2 from './offchain/account/lendingPool/offchainAccountBorrowableV2';
|
|
@@ -66,9 +64,9 @@ import OffchainAccountCollateralV3 from './offchain/account/lendingPool/offchain
|
|
|
66
64
|
import OffchainAccountNftlp from './offchain/account/lendingPool/nftlp/offchainAccountNftlp';
|
|
67
65
|
import { OnchainImpermaxFactoryV3 } from './onchain/impermaxFactory';
|
|
68
66
|
import { OnchainImpermaxFactoryV2 } from './onchain/impermaxFactory';
|
|
69
|
-
import { OnchainNftlpUniswapV3 } from './onchain/impermaxFactory/lendingPool/nftlp';
|
|
67
|
+
import { OnchainNftlpAeroCL, OnchainNftlpGenericCL, OnchainNftlpUniswapV3 } from './onchain/impermaxFactory/lendingPool/nftlp';
|
|
70
68
|
import OnchainNftlp from './onchain/impermaxFactory/lendingPool/nftlp';
|
|
71
|
-
import OnchainAccountNftlp from './onchain/account/lendingPool/nftlp';
|
|
69
|
+
import OnchainAccountNftlp, { OnchainAccountNftlpAeroCL, OnchainAccountNftlpGenericCL } from './onchain/account/lendingPool/nftlp';
|
|
72
70
|
import OffchainAccountBorrowableV3 from './offchain/account/lendingPool/offchainAccountBorrowableV3';
|
|
73
71
|
import { PairState } from "./config/whitelist";
|
|
74
72
|
import { AccountMarketData } from './offchain/account/offchainAccount';
|
|
@@ -77,4 +75,5 @@ import OffchainAccountStakingModule from './offchain/account/staking';
|
|
|
77
75
|
import OnchainStakingModule from './onchain';
|
|
78
76
|
import OnchainInteractionsStakingModule from './onchain/interactions/onchainInteractionsStakingModule';
|
|
79
77
|
import OnchainAccountStakingModule from './onchain/account/onchainAccountStakingModule';
|
|
80
|
-
|
|
78
|
+
import { OffchainAccountNftlpAeroCL, OffchainAccountNftlpGenericCL, OffchainAccountNftlpUniswapV3 } from './offchain/account/lendingPool/nftlp';
|
|
79
|
+
export { offchain, OffchainMultichain, Offchain, OffchainPoolToken, OffchainLendingPool, OffchainCollateral, OffchainBorrowable, OffchainLendingPoolV2, OffchainCollateralV2, OffchainBorrowableV2, OffchainLendingPoolV3, OffchainCollateralV3, OffchainBorrowableV3, OffchainNftlp, OffchainNftlpGenericCL, OffchainNftlpUniswapV3, OffchainNftlpAeroCL, OffchainVault, OffchainLeveragedVault, OffchainLendingVault, OffchainHedgedVault, OffchainConfigManager, OffchainPairConfig, OffchainProposal, OffchainMultichainAccount, OffchainAccount, OffchainAccountPoolToken, OffchainAccountLendingPool, OffchainAccountCollateral, OffchainAccountBorrowable, OffchainAccountLendingPoolV2, OffchainAccountCollateralV2, OffchainAccountBorrowableV2, OffchainAccountLendingPoolV3, OffchainAccountCollateralV3, OffchainAccountBorrowableV3, OffchainAccountNftlp, OffchainAccountNftlpGenericCL, OffchainAccountNftlpUniswapV3, OffchainAccountNftlpAeroCL, OffchainLeveragedPosition, OffchainAccountVault, OffchainPriceHelper, OffchainSolidexHelper, PoolTokenData, BorrowableData, CollateralData, BorrowablePastData, TokenData, RewardData, PairData, FarmingPoolData, LendingPoolPastData, LendingPoolData, CollateralPosition, SupplyPosition, BorrowPosition, UserData, TvlData, XIbexData, LendingVaultData, VaultPosition, PairConfigData, ProposalData, ProposalMetadata, VaultRisk, VaultType, onchain, Onchain, OnchainImpermaxFactory, OnchainImpermaxFactoryV2, OnchainImpermaxFactoryV3, OnchainPoolToken, OnchainLendingPool, OnchainBorrowable, OnchainCollateral, OnchainLendingPoolV2, OnchainBorrowableV2, OnchainCollateralV2, OnchainLendingPoolV3, OnchainBorrowableV3, OnchainCollateralV3, OnchainNftlp, OnchainNftlpGenericCL, OnchainNftlpUniswapV3, OnchainNftlpAeroCL, OnchainLendingVault, OnchainConfigManager, OnchainProposal, OnchainPairConfig, OnchainAccount, OnchainAccountPoolToken, OnchainAccountLendingPool, OnchainAccountBorrowable, OnchainAccountCollateral, OnchainAccountLendingPoolV2, OnchainAccountBorrowableV2, OnchainAccountCollateralV2, OnchainAccountLendingPoolV3, OnchainAccountBorrowableV3, OnchainAccountCollateralV3, OnchainAccountNftlp, OnchainAccountNftlpGenericCL, OnchainAccountNftlpUniswapV3, OnchainAccountNftlpAeroCL, OnchainAccountLendingVault, OnchainContractsHelper, OnchainInteractions, OnchainInteractionsPoolToken, OnchainInteractionsLendingPool, OnchainInteractionsCollateral, OnchainInteractionsBorrowable, OnchainInteractionsLendingPoolV2, OnchainInteractionsCollateralV2, OnchainInteractionsBorrowableV2, OnchainInteractionsLendingPoolV3, OnchainInteractionsCollateralV3, OnchainInteractionsBorrowableV3, OnchainInteractionsNftlp, OnchainInteractionsNftlpGenericCL, OnchainInteractionsNftlpUniswapV3, OnchainInteractionsNftlpAeroCL, OnchainInteractionsLendingVault, OnchainInteractionsConfigManager, Contract, ApprovalType, PermitData, OnchainConfig, Changes, NO_CHANGES, Values, AirdropData, PendingRewardUI, CollateralConfig, BorrowableV2Config, BorrowableV3Config, PairConfig, CLAIM_AGGREGATOR, IMPERMAX_CHEF, IMX, IMPERMAX_FACTORY, getNetworkFactories, getFactoryByAddress, LENDING_VAULT_WATCHER, MERKLE_DISTRIBUTOR_IBEX, MERKLE_DISTRIBUTOR_IBEX_2, MERKLE_DISTRIBUTOR_ETH, ROUTER, SIMPLE_UNISWAP_ORACLE, WETH, MERKLE_URL_ETH, MERKLE_URL_IBEX, MERKLE_URL_IBEX_2, hrAmms, AMM_FACTORY, getAmmByFactory, AMM_SUBGRAPH_URLS, ADD_LIQUIDITY_URLS, AMM_LP_FEE, DEBANK_IDS, ETH_SYMBOL, ETH_NAME, SOLIDEX_FACTORIES, BORROW_FEE_FACTORIES, OLD_KINK_MULTIPLIER_FACTORIES, LIQUIDATION_FEE_FACTORIES, V2_FACTORIES, Farms, hrFarms, FarmIndex, STAKED_LP_FACTORY, getFarmByStakedLPFactory, NOT_SYNCED, DEADLINE, ZERO, APPROVE_AMOUNT, IMPERMAX_SUBGRAPH_URL, IMPERMAX_CHEF_SUBGRAPH_URL, BLOCKS_SUBGRAPH_URL, XIBEX_SUBGRAPH_URL, Networks, Factory, Extension, PoolTokenType, Amms, Address, NetworkIndex, FactoryIndex, AddressIndex, NetworkFactoryIndex, LendingPoolIndex, AmmIndex, DistributorDetails, ProposalState, WhitelistState, VaultListOrderBy, VaultListParams, LendingPoolListOrderBy, LendingPoolListParams, SortDirection, LendingPoolVersion, PositionType, AccountPosition, PermitType, Permits, Permit, Borrowable, decimalToBalance, MAX_TICK, MIN_TICK, formatPriceSqrtX96, clTickToPrice, isV3Factory, GenericCLPosition, UniswapV2Position, Position, BorrowableEntity, BorrowablePosition, LendingVaultEntity, PairState, SupplyPositionsParams, BorrowPositionsParams, TopPositionsParams, VaultPositionsParams, AccountEarningsParams, AccountMarketData, OffchainStakingModule, IBEX, XIBEX, OffchainAccountStakingModule, OnchainStakingModule, OnchainInteractionsStakingModule, OnchainAccountStakingModule };
|
package/lib/index.js
CHANGED
|
@@ -26,10 +26,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.OnchainAccountStakingModule = exports.OnchainInteractionsStakingModule = exports.OnchainStakingModule = exports.OffchainAccountStakingModule = exports.XIBEX = exports.IBEX = exports.OffchainStakingModule = exports.LendingVaultEntity = exports.BorrowablePosition = exports.BorrowableEntity = exports.UniswapV2Position = exports.GenericCLPosition = exports.isV3Factory = exports.clTickToPrice = exports.formatPriceSqrtX96 = exports.MIN_TICK = exports.MAX_TICK = exports.decimalToBalance = exports.Borrowable = exports.PermitType = exports.PositionType = void 0;
|
|
29
|
+
exports.OnchainImpermaxFactoryV2 = exports.OnchainImpermaxFactory = exports.Onchain = exports.onchain = exports.VaultType = exports.VaultRisk = exports.OffchainSolidexHelper = exports.OffchainPriceHelper = exports.OffchainAccountVault = exports.OffchainLeveragedPosition = exports.OffchainAccountNftlpAeroCL = exports.OffchainAccountNftlpUniswapV3 = exports.OffchainAccountNftlpGenericCL = exports.OffchainAccountNftlp = exports.OffchainAccountBorrowableV3 = exports.OffchainAccountCollateralV3 = exports.OffchainAccountLendingPoolV3 = exports.OffchainAccountBorrowableV2 = exports.OffchainAccountCollateralV2 = exports.OffchainAccountLendingPoolV2 = exports.OffchainAccountBorrowable = exports.OffchainAccountCollateral = exports.OffchainAccountLendingPool = exports.OffchainAccountPoolToken = exports.OffchainAccount = exports.OffchainMultichainAccount = exports.OffchainProposal = exports.OffchainPairConfig = exports.OffchainConfigManager = exports.OffchainHedgedVault = exports.OffchainLendingVault = exports.OffchainLeveragedVault = exports.OffchainVault = exports.OffchainNftlpAeroCL = exports.OffchainNftlpUniswapV3 = exports.OffchainNftlpGenericCL = exports.OffchainNftlp = exports.OffchainBorrowableV3 = exports.OffchainCollateralV3 = exports.OffchainLendingPoolV3 = exports.OffchainBorrowableV2 = exports.OffchainCollateralV2 = exports.OffchainLendingPoolV2 = exports.OffchainBorrowable = exports.OffchainCollateral = exports.OffchainLendingPool = exports.OffchainPoolToken = exports.Offchain = exports.OffchainMultichain = exports.offchain = void 0;
|
|
30
|
+
exports.OnchainInteractionsNftlpUniswapV3 = exports.OnchainInteractionsNftlpGenericCL = exports.OnchainInteractionsNftlp = exports.OnchainInteractionsBorrowableV3 = exports.OnchainInteractionsCollateralV3 = exports.OnchainInteractionsLendingPoolV3 = exports.OnchainInteractionsBorrowableV2 = exports.OnchainInteractionsCollateralV2 = exports.OnchainInteractionsLendingPoolV2 = exports.OnchainInteractionsBorrowable = exports.OnchainInteractionsCollateral = exports.OnchainInteractionsLendingPool = exports.OnchainInteractionsPoolToken = exports.OnchainInteractions = exports.OnchainContractsHelper = exports.OnchainAccountLendingVault = exports.OnchainAccountNftlpAeroCL = exports.OnchainAccountNftlpUniswapV3 = exports.OnchainAccountNftlpGenericCL = exports.OnchainAccountNftlp = exports.OnchainAccountCollateralV3 = exports.OnchainAccountBorrowableV3 = exports.OnchainAccountLendingPoolV3 = exports.OnchainAccountCollateralV2 = exports.OnchainAccountBorrowableV2 = exports.OnchainAccountLendingPoolV2 = exports.OnchainAccountCollateral = exports.OnchainAccountBorrowable = exports.OnchainAccountLendingPool = exports.OnchainAccountPoolToken = exports.OnchainAccount = exports.OnchainPairConfig = exports.OnchainProposal = exports.OnchainConfigManager = exports.OnchainLendingVault = exports.OnchainNftlpAeroCL = exports.OnchainNftlpUniswapV3 = exports.OnchainNftlpGenericCL = exports.OnchainNftlp = exports.OnchainCollateralV3 = exports.OnchainBorrowableV3 = exports.OnchainLendingPoolV3 = exports.OnchainCollateralV2 = exports.OnchainBorrowableV2 = exports.OnchainLendingPoolV2 = exports.OnchainCollateral = exports.OnchainBorrowable = exports.OnchainLendingPool = exports.OnchainPoolToken = exports.OnchainImpermaxFactoryV3 = void 0;
|
|
31
|
+
exports.Extension = exports.Factory = exports.Networks = exports.XIBEX_SUBGRAPH_URL = exports.BLOCKS_SUBGRAPH_URL = exports.IMPERMAX_CHEF_SUBGRAPH_URL = exports.IMPERMAX_SUBGRAPH_URL = exports.APPROVE_AMOUNT = exports.ZERO = exports.DEADLINE = exports.NOT_SYNCED = exports.getFarmByStakedLPFactory = exports.STAKED_LP_FACTORY = exports.hrFarms = exports.Farms = exports.V2_FACTORIES = exports.LIQUIDATION_FEE_FACTORIES = exports.OLD_KINK_MULTIPLIER_FACTORIES = exports.BORROW_FEE_FACTORIES = exports.SOLIDEX_FACTORIES = exports.ETH_NAME = exports.ETH_SYMBOL = exports.DEBANK_IDS = exports.AMM_LP_FEE = exports.ADD_LIQUIDITY_URLS = exports.AMM_SUBGRAPH_URLS = exports.getAmmByFactory = exports.AMM_FACTORY = exports.hrAmms = exports.MERKLE_URL_IBEX_2 = exports.MERKLE_URL_IBEX = exports.MERKLE_URL_ETH = exports.WETH = exports.SIMPLE_UNISWAP_ORACLE = exports.ROUTER = exports.MERKLE_DISTRIBUTOR_ETH = exports.MERKLE_DISTRIBUTOR_IBEX_2 = exports.MERKLE_DISTRIBUTOR_IBEX = exports.LENDING_VAULT_WATCHER = exports.getFactoryByAddress = exports.getNetworkFactories = exports.IMPERMAX_FACTORY = exports.IMX = exports.IMPERMAX_CHEF = exports.CLAIM_AGGREGATOR = exports.NO_CHANGES = exports.ApprovalType = exports.OnchainInteractionsConfigManager = exports.OnchainInteractionsLendingVault = exports.OnchainInteractionsNftlpAeroCL = void 0;
|
|
32
|
+
exports.OnchainAccountStakingModule = exports.OnchainInteractionsStakingModule = exports.OnchainStakingModule = exports.OffchainAccountStakingModule = exports.XIBEX = exports.IBEX = exports.OffchainStakingModule = exports.LendingVaultEntity = exports.BorrowablePosition = exports.BorrowableEntity = exports.UniswapV2Position = exports.GenericCLPosition = exports.isV3Factory = exports.clTickToPrice = exports.formatPriceSqrtX96 = exports.MIN_TICK = exports.MAX_TICK = exports.decimalToBalance = exports.Borrowable = exports.PermitType = exports.PositionType = exports.LendingPoolVersion = exports.SortDirection = exports.LendingPoolListOrderBy = exports.VaultListOrderBy = exports.WhitelistState = exports.ProposalState = exports.Amms = exports.PoolTokenType = void 0;
|
|
33
33
|
const offchain_1 = __importStar(require("./offchain"));
|
|
34
34
|
exports.Offchain = offchain_1.default;
|
|
35
35
|
Object.defineProperty(exports, "OffchainAccount", { enumerable: true, get: function () { return offchain_1.OffchainAccount; } });
|
|
@@ -203,6 +203,8 @@ Object.defineProperty(exports, "PositionType", { enumerable: true, get: function
|
|
|
203
203
|
// Nftlp
|
|
204
204
|
const nftlp_1 = __importStar(require("./onchain/interactions/lendingPool/nftlp"));
|
|
205
205
|
exports.OnchainInteractionsNftlp = nftlp_1.default;
|
|
206
|
+
Object.defineProperty(exports, "OnchainInteractionsNftlpAeroCL", { enumerable: true, get: function () { return nftlp_1.OnchainInteractionsNftlpAeroCL; } });
|
|
207
|
+
Object.defineProperty(exports, "OnchainInteractionsNftlpGenericCL", { enumerable: true, get: function () { return nftlp_1.OnchainInteractionsNftlpGenericCL; } });
|
|
206
208
|
Object.defineProperty(exports, "OnchainInteractionsNftlpUniswapV3", { enumerable: true, get: function () { return nftlp_1.OnchainInteractionsNftlpUniswapV3; } });
|
|
207
209
|
const onchainAccountNftlpUniswapV3_1 = __importDefault(require("./onchain/account/lendingPool/nftlp/onchainAccountNftlpUniswapV3"));
|
|
208
210
|
exports.OnchainAccountNftlpUniswapV3 = onchainAccountNftlpUniswapV3_1.default;
|
|
@@ -215,10 +217,6 @@ const ether_utils_1 = require("./utils/ether-utils");
|
|
|
215
217
|
Object.defineProperty(exports, "decimalToBalance", { enumerable: true, get: function () { return ether_utils_1.decimalToBalance; } });
|
|
216
218
|
const offchainAccountLendingPoolV3_1 = __importDefault(require("./offchain/account/lendingPool/offchainAccountLendingPoolV3"));
|
|
217
219
|
exports.OffchainAccountLendingPoolV3 = offchainAccountLendingPoolV3_1.default;
|
|
218
|
-
const offchainAccountNftlpUniswapV3_1 = __importDefault(require("./offchain/account/lendingPool/nftlp/offchainAccountNftlpUniswapV3"));
|
|
219
|
-
exports.OffchainAccountNftlpUniswapV3 = offchainAccountNftlpUniswapV3_1.default;
|
|
220
|
-
const offchainAccountNftlpAeroCL_1 = __importDefault(require("./offchain/account/lendingPool/nftlp/offchainAccountNftlpAeroCL"));
|
|
221
|
-
exports.OffchainAccountNftlpAeroCL = offchainAccountNftlpAeroCL_1.default;
|
|
222
220
|
const CLGeneral_1 = require("./utils/nftlpMath/CLGeneral");
|
|
223
221
|
Object.defineProperty(exports, "MAX_TICK", { enumerable: true, get: function () { return CLGeneral_1.MAX_TICK; } });
|
|
224
222
|
Object.defineProperty(exports, "MIN_TICK", { enumerable: true, get: function () { return CLGeneral_1.MIN_TICK; } });
|
|
@@ -248,6 +246,7 @@ const nftlp_2 = __importStar(require("./offchain/lendingPool/nftlp"));
|
|
|
248
246
|
exports.OffchainNftlp = nftlp_2.default;
|
|
249
247
|
Object.defineProperty(exports, "OffchainNftlpUniswapV3", { enumerable: true, get: function () { return nftlp_2.OffchainNftlpUniswapV3; } });
|
|
250
248
|
Object.defineProperty(exports, "OffchainNftlpAeroCL", { enumerable: true, get: function () { return nftlp_2.OffchainNftlpAeroCL; } });
|
|
249
|
+
Object.defineProperty(exports, "OffchainNftlpGenericCL", { enumerable: true, get: function () { return nftlp_2.OffchainNftlpGenericCL; } });
|
|
251
250
|
const offchainCollateralV3_1 = __importDefault(require("./offchain/lendingPool/offchainCollateralV3"));
|
|
252
251
|
exports.OffchainCollateralV3 = offchainCollateralV3_1.default;
|
|
253
252
|
const offchainAccountLendingPoolV2_1 = __importDefault(require("./offchain/account/lendingPool/offchainAccountLendingPoolV2"));
|
|
@@ -263,11 +262,15 @@ Object.defineProperty(exports, "OnchainImpermaxFactoryV3", { enumerable: true, g
|
|
|
263
262
|
const impermaxFactory_2 = require("./onchain/impermaxFactory");
|
|
264
263
|
Object.defineProperty(exports, "OnchainImpermaxFactoryV2", { enumerable: true, get: function () { return impermaxFactory_2.OnchainImpermaxFactoryV2; } });
|
|
265
264
|
const nftlp_3 = require("./onchain/impermaxFactory/lendingPool/nftlp");
|
|
265
|
+
Object.defineProperty(exports, "OnchainNftlpAeroCL", { enumerable: true, get: function () { return nftlp_3.OnchainNftlpAeroCL; } });
|
|
266
|
+
Object.defineProperty(exports, "OnchainNftlpGenericCL", { enumerable: true, get: function () { return nftlp_3.OnchainNftlpGenericCL; } });
|
|
266
267
|
Object.defineProperty(exports, "OnchainNftlpUniswapV3", { enumerable: true, get: function () { return nftlp_3.OnchainNftlpUniswapV3; } });
|
|
267
268
|
const nftlp_4 = __importDefault(require("./onchain/impermaxFactory/lendingPool/nftlp"));
|
|
268
269
|
exports.OnchainNftlp = nftlp_4.default;
|
|
269
|
-
const nftlp_5 =
|
|
270
|
+
const nftlp_5 = __importStar(require("./onchain/account/lendingPool/nftlp"));
|
|
270
271
|
exports.OnchainAccountNftlp = nftlp_5.default;
|
|
272
|
+
Object.defineProperty(exports, "OnchainAccountNftlpAeroCL", { enumerable: true, get: function () { return nftlp_5.OnchainAccountNftlpAeroCL; } });
|
|
273
|
+
Object.defineProperty(exports, "OnchainAccountNftlpGenericCL", { enumerable: true, get: function () { return nftlp_5.OnchainAccountNftlpGenericCL; } });
|
|
271
274
|
const offchainAccountBorrowableV3_1 = __importDefault(require("./offchain/account/lendingPool/offchainAccountBorrowableV3"));
|
|
272
275
|
exports.OffchainAccountBorrowableV3 = offchainAccountBorrowableV3_1.default;
|
|
273
276
|
const offchainStakingModule_1 = __importDefault(require("./offchain/staking/offchainStakingModule"));
|
|
@@ -280,3 +283,7 @@ const onchainInteractionsStakingModule_1 = __importDefault(require("./onchain/in
|
|
|
280
283
|
exports.OnchainInteractionsStakingModule = onchainInteractionsStakingModule_1.default;
|
|
281
284
|
const onchainAccountStakingModule_1 = __importDefault(require("./onchain/account/onchainAccountStakingModule"));
|
|
282
285
|
exports.OnchainAccountStakingModule = onchainAccountStakingModule_1.default;
|
|
286
|
+
const nftlp_6 = require("./offchain/account/lendingPool/nftlp");
|
|
287
|
+
Object.defineProperty(exports, "OffchainAccountNftlpAeroCL", { enumerable: true, get: function () { return nftlp_6.OffchainAccountNftlpAeroCL; } });
|
|
288
|
+
Object.defineProperty(exports, "OffchainAccountNftlpGenericCL", { enumerable: true, get: function () { return nftlp_6.OffchainAccountNftlpGenericCL; } });
|
|
289
|
+
Object.defineProperty(exports, "OffchainAccountNftlpUniswapV3", { enumerable: true, get: function () { return nftlp_6.OffchainAccountNftlpUniswapV3; } });
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import OffchainAccountNftlp from './offchainAccountNftlp';
|
|
2
|
+
import OffchainAccountNftlpGenericCL from './offchainAccountNftlpGenericCL';
|
|
3
|
+
import OffchainAccountNftlpUniswapV3 from './offchainAccountNftlpUniswapV3';
|
|
4
|
+
import OffchainAccountNftlpAeroCL from './offchainAccountNftlpAeroCL';
|
|
5
|
+
export { OffchainAccountNftlp, OffchainAccountNftlpGenericCL, OffchainAccountNftlpUniswapV3, OffchainAccountNftlpAeroCL, };
|
|
6
|
+
export default OffchainAccountNftlp;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.OffchainAccountNftlpAeroCL = exports.OffchainAccountNftlpUniswapV3 = exports.OffchainAccountNftlpGenericCL = exports.OffchainAccountNftlp = void 0;
|
|
7
|
+
const offchainAccountNftlp_1 = __importDefault(require("./offchainAccountNftlp"));
|
|
8
|
+
exports.OffchainAccountNftlp = offchainAccountNftlp_1.default;
|
|
9
|
+
const offchainAccountNftlpGenericCL_1 = __importDefault(require("./offchainAccountNftlpGenericCL"));
|
|
10
|
+
exports.OffchainAccountNftlpGenericCL = offchainAccountNftlpGenericCL_1.default;
|
|
11
|
+
const offchainAccountNftlpUniswapV3_1 = __importDefault(require("./offchainAccountNftlpUniswapV3"));
|
|
12
|
+
exports.OffchainAccountNftlpUniswapV3 = offchainAccountNftlpUniswapV3_1.default;
|
|
13
|
+
const offchainAccountNftlpAeroCL_1 = __importDefault(require("./offchainAccountNftlpAeroCL"));
|
|
14
|
+
exports.OffchainAccountNftlpAeroCL = offchainAccountNftlpAeroCL_1.default;
|
|
15
|
+
exports.default = offchainAccountNftlp_1.default;
|
|
@@ -28,7 +28,7 @@ export default class OffchainAccountLendingPoolV3 extends OffchainAccountLending
|
|
|
28
28
|
getAccount: () => OffchainAccount;
|
|
29
29
|
getSafetyMargin: () => Promise<number>;
|
|
30
30
|
getLiquidationPenalty: () => Promise<number>;
|
|
31
|
-
getNftlp: () => import("./nftlp
|
|
31
|
+
getNftlp: () => import("./nftlp").OffchainAccountNftlp;
|
|
32
32
|
getLendingPoolPosition(): Promise<{
|
|
33
33
|
borrowable0: import("../../offchainTypes").SupplyPosition | undefined;
|
|
34
34
|
borrowable1: import("../../offchainTypes").SupplyPosition | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import OffchainNftlp from './offchainNftlp';
|
|
2
|
+
import OffchainNftlpGenericCL from './offchainNftlpGenericCL';
|
|
2
3
|
import OffchainNftlpUniswapV3 from './offchainNftlpUniswapV3';
|
|
3
4
|
import OffchainNftlpAeroCL from './offchainNftlpAeroCL';
|
|
4
|
-
export { OffchainNftlp, OffchainNftlpUniswapV3, OffchainNftlpAeroCL };
|
|
5
|
+
export { OffchainNftlp, OffchainNftlpGenericCL, OffchainNftlpUniswapV3, OffchainNftlpAeroCL };
|
|
5
6
|
export default OffchainNftlp;
|
|
@@ -3,9 +3,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.OffchainNftlpAeroCL = exports.OffchainNftlpUniswapV3 = exports.OffchainNftlp = void 0;
|
|
6
|
+
exports.OffchainNftlpAeroCL = exports.OffchainNftlpUniswapV3 = exports.OffchainNftlpGenericCL = exports.OffchainNftlp = void 0;
|
|
7
7
|
const offchainNftlp_1 = __importDefault(require("./offchainNftlp"));
|
|
8
8
|
exports.OffchainNftlp = offchainNftlp_1.default;
|
|
9
|
+
const offchainNftlpGenericCL_1 = __importDefault(require("./offchainNftlpGenericCL"));
|
|
10
|
+
exports.OffchainNftlpGenericCL = offchainNftlpGenericCL_1.default;
|
|
9
11
|
const offchainNftlpUniswapV3_1 = __importDefault(require("./offchainNftlpUniswapV3"));
|
|
10
12
|
exports.OffchainNftlpUniswapV3 = offchainNftlpUniswapV3_1.default;
|
|
11
13
|
const offchainNftlpAeroCL_1 = __importDefault(require("./offchainNftlpAeroCL"));
|