@bgd-labs/toolbox 0.0.14 → 0.0.15
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-CswOipNa.d.mts → index-JWWtIseU.d.mts} +63 -6
- package/dist/{index-CswOipNa.d.ts → index-JWWtIseU.d.ts} +63 -6
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21724 -21665
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21813 -21758
- package/dist/index.mjs.map +1 -1
- package/dist/node.d.mts +2 -2
- package/dist/node.d.ts +2 -2
- package/dist/node.js +21761 -21702
- package/dist/node.js.map +1 -1
- package/dist/node.mjs +21782 -21727
- package/dist/node.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -180,22 +180,79 @@ declare function rayToWad(a: bigint): bigint;
|
|
|
180
180
|
declare function wadToRay(a: bigint): bigint;
|
|
181
181
|
declare function wadDiv(a: bigint, b: bigint): bigint;
|
|
182
182
|
|
|
183
|
+
/**
|
|
184
|
+
* Fetch all pool addresses that are considered immutable
|
|
185
|
+
* @returns
|
|
186
|
+
*/
|
|
187
|
+
declare function fetchImmutablePoolAddresses(client: Client, poolAddressesProvider: Address): Promise<{
|
|
188
|
+
pool: `0x${string}`;
|
|
189
|
+
configurator: `0x${string}`;
|
|
190
|
+
oracle: `0x${string}`;
|
|
191
|
+
aclAdmin: `0x${string}`;
|
|
192
|
+
incentivesController: `0x${string}`;
|
|
193
|
+
emissionManager: `0x${string}`;
|
|
194
|
+
}>;
|
|
195
|
+
/**
|
|
196
|
+
* Fetch all pool addresses that are considered mutable
|
|
197
|
+
* @returns
|
|
198
|
+
*/
|
|
199
|
+
declare function fetchMutablePoolAddresses(client: Client, poolAddressesProvider: Address): Promise<{
|
|
200
|
+
oracleSentinel: `0x${string}`;
|
|
201
|
+
aclAdmin: `0x${string}`;
|
|
202
|
+
pdp: `0x${string}`;
|
|
203
|
+
}>;
|
|
183
204
|
/**
|
|
184
205
|
* Returns all the addresses from the PoolAddressesProvider that can be considered immutable.
|
|
185
206
|
* @param client
|
|
186
207
|
* @param poolAddressesProvider
|
|
187
208
|
*/
|
|
188
209
|
declare function fetchPoolAddresses(client: Client, poolAddressesProvider: Address): Promise<{
|
|
189
|
-
pool: `0x${string}`;
|
|
190
|
-
configurator: `0x${string}`;
|
|
191
|
-
oracle: `0x${string}`;
|
|
192
210
|
oracleSentinel: `0x${string}`;
|
|
193
211
|
aclAdmin: `0x${string}`;
|
|
194
|
-
aclManager: `0x${string}`;
|
|
195
212
|
pdp: `0x${string}`;
|
|
213
|
+
pool: `0x${string}`;
|
|
214
|
+
configurator: `0x${string}`;
|
|
215
|
+
oracle: `0x${string}`;
|
|
196
216
|
incentivesController: `0x${string}`;
|
|
197
217
|
emissionManager: `0x${string}`;
|
|
198
218
|
}>;
|
|
219
|
+
declare function getReserveTokens(client: Client, pool: Address): Promise<{
|
|
220
|
+
reserve: `0x${string}`;
|
|
221
|
+
aToken: `0x${string}`;
|
|
222
|
+
variableDebtToken: `0x${string}`;
|
|
223
|
+
symbol: string;
|
|
224
|
+
}[]>;
|
|
225
|
+
/**
|
|
226
|
+
* Returns all the reserves of a pool with the aToken/vToken and the decoded reserve configuration.
|
|
227
|
+
* @param client
|
|
228
|
+
* @param pool
|
|
229
|
+
* @returns
|
|
230
|
+
*/
|
|
231
|
+
declare function getReserveConfigurations(client: Client, pool: Address, reserves: {
|
|
232
|
+
reserve: Address;
|
|
233
|
+
}[]): Promise<{
|
|
234
|
+
reserves: {
|
|
235
|
+
ltv: number;
|
|
236
|
+
liquidationThreshold: number;
|
|
237
|
+
liquidationBonus: number;
|
|
238
|
+
decimals: number;
|
|
239
|
+
active: boolean;
|
|
240
|
+
frozen: boolean;
|
|
241
|
+
borrowingEnabled: boolean;
|
|
242
|
+
paused: boolean;
|
|
243
|
+
borrowingInIsolation: boolean;
|
|
244
|
+
siloedBorrowingEnabled: boolean;
|
|
245
|
+
flashloaningEnabled: boolean;
|
|
246
|
+
reserveFactor: bigint;
|
|
247
|
+
borrowCap: bigint;
|
|
248
|
+
supplyCap: bigint;
|
|
249
|
+
liquidationProtocolFee: number;
|
|
250
|
+
unbackedMintCap: bigint;
|
|
251
|
+
debtCeiling: bigint;
|
|
252
|
+
virtualAccountingEnabled: boolean;
|
|
253
|
+
reserve: Address;
|
|
254
|
+
}[];
|
|
255
|
+
}>;
|
|
199
256
|
|
|
200
257
|
declare enum PayloadState {
|
|
201
258
|
None = 0,
|
|
@@ -4225,7 +4282,7 @@ declare const publicRPCs: {
|
|
|
4225
4282
|
readonly 59144: "https://rpc.linea.build";
|
|
4226
4283
|
};
|
|
4227
4284
|
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 250 | 324 | 1101 | 4002 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 57073 | 1666600000 | 1868)[];
|
|
4228
|
-
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_MAINNET" | "RPC_OPTIMISM" | "RPC_FANTOM" | "RPC_CELO" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_METIS" | "
|
|
4285
|
+
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BASE" | "RPC_MAINNET" | "RPC_OPTIMISM" | "RPC_FANTOM" | "RPC_CELO" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_METIS" | "RPC_BASE_SEPOLIA" | "RPC_BNB" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM";
|
|
4229
4286
|
declare function getExplicitRPC(chainId: SupportedChainIds): string;
|
|
4230
4287
|
declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
|
|
4231
4288
|
declare function getPublicRpc(chainId: SupportedChainIds): "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.ankr.com/gnosis" | "https://rpc.scroll.io" | "https://mainnet.era.zksync.io" | "https://rpc.ftm.tools" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build";
|
|
@@ -23515,4 +23572,4 @@ declare const IAuthorizedForwarder_ABI: readonly [{
|
|
|
23515
23572
|
readonly type: "function";
|
|
23516
23573
|
}];
|
|
23517
23574
|
|
|
23518
|
-
export {
|
|
23575
|
+
export { getExplorer as $, wadDiv as A, fetchImmutablePoolAddresses as B, fetchMutablePoolAddresses as C, fetchPoolAddresses as D, getReserveTokens as E, getReserveConfigurations as F, HUMAN_READABLE_PAYLOAD_STATE as G, HALF_WAD as H, type PayloadsControllerContract as I, getPayloadsController as J, getPayloadStorageOverrides as K, LTV_PRECISION as L, makePayloadExecutableOnTestClient as M, isPayloadFinal as N, getNonFinalizedPayloads as O, PayloadState as P, ProposalState as Q, type ReserveConfiguration as R, type StandardJsonInput as S, HUMAN_READABLE_PROPOSAL_STATE as T, type GovernanceContract as U, getGovernance as V, WAD as W, makeProposalExecutableOnTestClient as X, isProposalFinal as Y, getNonFinalizedProposals as Z, type ExplorerConfig as _, decodeReserveConfiguration as a, IAuthorizedForwarder_ABI as a$, getSourceCode as a0, parseEtherscanStyleSourceCode as a1, type Tenderly_createVnetParamsResponse as a2, tenderly_deleteVnet as a3, tenderly_simVnet as a4, tenderly_getVnet as a5, tenderly_createVnet as a6, type StateObject as a7, type ContractObject as a8, type TenderlySimRequest as a9, erc1967_ImplementationSlot as aA, erc1967_AdminSlot as aB, diffCode as aC, type IndexerTopicState as aD, type GenericIndexerArgs as aE, genericIndexer as aF, parseLogs as aG, SelfdestuctCheckState as aH, checkForSelfdestruct as aI, renderTenderlyReport as aJ, IReserveInterestRateStrategy_ABI as aK, IStataTokenFactory_ABI as aL, IAToken_ABI as aM, IWrappedTokenGatewayV3_ABI as aN, IPoolAddressesProvider_ABI as aO, IStataTokenV2_ABI as aP, IDualAggregator_ABI as aQ, IAaveOracle_ABI as aR, ICollector_ABI as aS, IPool_ABI as aT, AggregatorInterface_ABI as aU, IAaveV3ConfigEngine_ABI as aV, IEmissionManager_ABI as aW, IRewardsController_ABI as aX, IERC20Metadata_ABI as aY, IPoolConfigurator_ABI as aZ, IERC20_ABI as a_, tenderly_sim as aa, EVENT_DB as ab, ChainId as ac, ChainList as ad, publicRPCs as ae, alchemySupportedChainIds as af, getNetworkEnv as ag, getExplicitRPC as ah, getAlchemyRPC as ai, getPublicRpc as aj, getQuicknodeRpc as ak, getRPCUrl as al, getClient as am, getImplementationSlot as an, getLogsRecursive as ao, getContractDeploymentBlock as ap, type BundleParams as aq, flashbotsOnFetchRequest as ar, flashbotsClientExtension as as, onMevHandler as at, priceUpdateDecoder as au, alchemyNetworkMap as av, quicknodeNetworkMap as aw, etherscanExplorers as ax, routescanExplorers as ay, chainlinkFeeds as az, bitmapToIndexes as b, decodeReserveConfigurationV2 as c, decodeUserConfiguration as d, SECONDS_PER_YEAR as e, aaveAddressesProvider_IncentivesControllerSlot as f, getBits as g, calculateCompoundedInterest as h, calculateLinearInterest as i, getNormalizedIncome as j, getNormalizedDebt as k, getCurrentLiquidityBalance as l, getCurrentDebtBalance as m, calculateHealthFactorFromBalances as n, calculateAvailableBorrowsMarketReferenceCurrency as o, getMarketReferenceCurrencyAndUsdBalance as p, assetToBase as q, calculateHealthFactor as r, setBits as s, RAY as t, HALF_RAY as u, WAD_RAY_RATIO as v, rayMul as w, rayDiv as x, rayToWad as y, wadToRay as z };
|
|
@@ -180,22 +180,79 @@ declare function rayToWad(a: bigint): bigint;
|
|
|
180
180
|
declare function wadToRay(a: bigint): bigint;
|
|
181
181
|
declare function wadDiv(a: bigint, b: bigint): bigint;
|
|
182
182
|
|
|
183
|
+
/**
|
|
184
|
+
* Fetch all pool addresses that are considered immutable
|
|
185
|
+
* @returns
|
|
186
|
+
*/
|
|
187
|
+
declare function fetchImmutablePoolAddresses(client: Client, poolAddressesProvider: Address): Promise<{
|
|
188
|
+
pool: `0x${string}`;
|
|
189
|
+
configurator: `0x${string}`;
|
|
190
|
+
oracle: `0x${string}`;
|
|
191
|
+
aclAdmin: `0x${string}`;
|
|
192
|
+
incentivesController: `0x${string}`;
|
|
193
|
+
emissionManager: `0x${string}`;
|
|
194
|
+
}>;
|
|
195
|
+
/**
|
|
196
|
+
* Fetch all pool addresses that are considered mutable
|
|
197
|
+
* @returns
|
|
198
|
+
*/
|
|
199
|
+
declare function fetchMutablePoolAddresses(client: Client, poolAddressesProvider: Address): Promise<{
|
|
200
|
+
oracleSentinel: `0x${string}`;
|
|
201
|
+
aclAdmin: `0x${string}`;
|
|
202
|
+
pdp: `0x${string}`;
|
|
203
|
+
}>;
|
|
183
204
|
/**
|
|
184
205
|
* Returns all the addresses from the PoolAddressesProvider that can be considered immutable.
|
|
185
206
|
* @param client
|
|
186
207
|
* @param poolAddressesProvider
|
|
187
208
|
*/
|
|
188
209
|
declare function fetchPoolAddresses(client: Client, poolAddressesProvider: Address): Promise<{
|
|
189
|
-
pool: `0x${string}`;
|
|
190
|
-
configurator: `0x${string}`;
|
|
191
|
-
oracle: `0x${string}`;
|
|
192
210
|
oracleSentinel: `0x${string}`;
|
|
193
211
|
aclAdmin: `0x${string}`;
|
|
194
|
-
aclManager: `0x${string}`;
|
|
195
212
|
pdp: `0x${string}`;
|
|
213
|
+
pool: `0x${string}`;
|
|
214
|
+
configurator: `0x${string}`;
|
|
215
|
+
oracle: `0x${string}`;
|
|
196
216
|
incentivesController: `0x${string}`;
|
|
197
217
|
emissionManager: `0x${string}`;
|
|
198
218
|
}>;
|
|
219
|
+
declare function getReserveTokens(client: Client, pool: Address): Promise<{
|
|
220
|
+
reserve: `0x${string}`;
|
|
221
|
+
aToken: `0x${string}`;
|
|
222
|
+
variableDebtToken: `0x${string}`;
|
|
223
|
+
symbol: string;
|
|
224
|
+
}[]>;
|
|
225
|
+
/**
|
|
226
|
+
* Returns all the reserves of a pool with the aToken/vToken and the decoded reserve configuration.
|
|
227
|
+
* @param client
|
|
228
|
+
* @param pool
|
|
229
|
+
* @returns
|
|
230
|
+
*/
|
|
231
|
+
declare function getReserveConfigurations(client: Client, pool: Address, reserves: {
|
|
232
|
+
reserve: Address;
|
|
233
|
+
}[]): Promise<{
|
|
234
|
+
reserves: {
|
|
235
|
+
ltv: number;
|
|
236
|
+
liquidationThreshold: number;
|
|
237
|
+
liquidationBonus: number;
|
|
238
|
+
decimals: number;
|
|
239
|
+
active: boolean;
|
|
240
|
+
frozen: boolean;
|
|
241
|
+
borrowingEnabled: boolean;
|
|
242
|
+
paused: boolean;
|
|
243
|
+
borrowingInIsolation: boolean;
|
|
244
|
+
siloedBorrowingEnabled: boolean;
|
|
245
|
+
flashloaningEnabled: boolean;
|
|
246
|
+
reserveFactor: bigint;
|
|
247
|
+
borrowCap: bigint;
|
|
248
|
+
supplyCap: bigint;
|
|
249
|
+
liquidationProtocolFee: number;
|
|
250
|
+
unbackedMintCap: bigint;
|
|
251
|
+
debtCeiling: bigint;
|
|
252
|
+
virtualAccountingEnabled: boolean;
|
|
253
|
+
reserve: Address;
|
|
254
|
+
}[];
|
|
255
|
+
}>;
|
|
199
256
|
|
|
200
257
|
declare enum PayloadState {
|
|
201
258
|
None = 0,
|
|
@@ -4225,7 +4282,7 @@ declare const publicRPCs: {
|
|
|
4225
4282
|
readonly 59144: "https://rpc.linea.build";
|
|
4226
4283
|
};
|
|
4227
4284
|
declare const alchemySupportedChainIds: (1 | 10 | 56 | 100 | 137 | 146 | 250 | 324 | 1101 | 4002 | 5000 | 8453 | 42161 | 42220 | 43113 | 43114 | 59144 | 80002 | 84532 | 421614 | 534351 | 534352 | 11155111 | 11155420 | 1088 | 57073 | 1666600000 | 1868)[];
|
|
4228
|
-
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_MAINNET" | "RPC_OPTIMISM" | "RPC_FANTOM" | "RPC_CELO" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_METIS" | "
|
|
4285
|
+
declare const getNetworkEnv: (chainId: SupportedChainIds) => "RPC_BASE" | "RPC_MAINNET" | "RPC_OPTIMISM" | "RPC_FANTOM" | "RPC_CELO" | "RPC_POLYGON" | "RPC_POLYGON_AMOY" | "RPC_AVALANCHE" | "RPC_AVALANCHE_FUJI" | "RPC_ARBITRUM" | "RPC_ARBITRUM_SEPOLIA" | "RPC_FANTOM_TESTNET" | "RPC_OPTIMISM_SEPOLIA" | "RPC_HARMONY" | "RPC_SEPOLIA" | "RPC_SCROLL" | "RPC_SCROLL_SEPOLIA" | "RPC_SONIC" | "RPC_MANTLE" | "RPC_METIS" | "RPC_BASE_SEPOLIA" | "RPC_BNB" | "RPC_GNOSIS" | "RPC_ZKEVM" | "RPC_ZKSYNC" | "RPC_LINEA" | "RPC_INK" | "RPC_SONEIUM";
|
|
4229
4286
|
declare function getExplicitRPC(chainId: SupportedChainIds): string;
|
|
4230
4287
|
declare function getAlchemyRPC(chainId: SupportedChainIds, alchemyKey: string): string;
|
|
4231
4288
|
declare function getPublicRpc(chainId: SupportedChainIds): "https://eth.llamarpc.com" | "https://polygon.llamarpc.com" | "https://base.llamarpc.com" | "https://binance.llamarpc.com" | "https://andromeda.metis.io/?owner=1088" | "https://rpc.ankr.com/gnosis" | "https://rpc.scroll.io" | "https://mainnet.era.zksync.io" | "https://rpc.ftm.tools" | "https://api.avax.network/ext/bc/C/rpc" | "https://rpc.linea.build";
|
|
@@ -23515,4 +23572,4 @@ declare const IAuthorizedForwarder_ABI: readonly [{
|
|
|
23515
23572
|
readonly type: "function";
|
|
23516
23573
|
}];
|
|
23517
23574
|
|
|
23518
|
-
export {
|
|
23575
|
+
export { getExplorer as $, wadDiv as A, fetchImmutablePoolAddresses as B, fetchMutablePoolAddresses as C, fetchPoolAddresses as D, getReserveTokens as E, getReserveConfigurations as F, HUMAN_READABLE_PAYLOAD_STATE as G, HALF_WAD as H, type PayloadsControllerContract as I, getPayloadsController as J, getPayloadStorageOverrides as K, LTV_PRECISION as L, makePayloadExecutableOnTestClient as M, isPayloadFinal as N, getNonFinalizedPayloads as O, PayloadState as P, ProposalState as Q, type ReserveConfiguration as R, type StandardJsonInput as S, HUMAN_READABLE_PROPOSAL_STATE as T, type GovernanceContract as U, getGovernance as V, WAD as W, makeProposalExecutableOnTestClient as X, isProposalFinal as Y, getNonFinalizedProposals as Z, type ExplorerConfig as _, decodeReserveConfiguration as a, IAuthorizedForwarder_ABI as a$, getSourceCode as a0, parseEtherscanStyleSourceCode as a1, type Tenderly_createVnetParamsResponse as a2, tenderly_deleteVnet as a3, tenderly_simVnet as a4, tenderly_getVnet as a5, tenderly_createVnet as a6, type StateObject as a7, type ContractObject as a8, type TenderlySimRequest as a9, erc1967_ImplementationSlot as aA, erc1967_AdminSlot as aB, diffCode as aC, type IndexerTopicState as aD, type GenericIndexerArgs as aE, genericIndexer as aF, parseLogs as aG, SelfdestuctCheckState as aH, checkForSelfdestruct as aI, renderTenderlyReport as aJ, IReserveInterestRateStrategy_ABI as aK, IStataTokenFactory_ABI as aL, IAToken_ABI as aM, IWrappedTokenGatewayV3_ABI as aN, IPoolAddressesProvider_ABI as aO, IStataTokenV2_ABI as aP, IDualAggregator_ABI as aQ, IAaveOracle_ABI as aR, ICollector_ABI as aS, IPool_ABI as aT, AggregatorInterface_ABI as aU, IAaveV3ConfigEngine_ABI as aV, IEmissionManager_ABI as aW, IRewardsController_ABI as aX, IERC20Metadata_ABI as aY, IPoolConfigurator_ABI as aZ, IERC20_ABI as a_, tenderly_sim as aa, EVENT_DB as ab, ChainId as ac, ChainList as ad, publicRPCs as ae, alchemySupportedChainIds as af, getNetworkEnv as ag, getExplicitRPC as ah, getAlchemyRPC as ai, getPublicRpc as aj, getQuicknodeRpc as ak, getRPCUrl as al, getClient as am, getImplementationSlot as an, getLogsRecursive as ao, getContractDeploymentBlock as ap, type BundleParams as aq, flashbotsOnFetchRequest as ar, flashbotsClientExtension as as, onMevHandler as at, priceUpdateDecoder as au, alchemyNetworkMap as av, quicknodeNetworkMap as aw, etherscanExplorers as ax, routescanExplorers as ay, chainlinkFeeds as az, bitmapToIndexes as b, decodeReserveConfigurationV2 as c, decodeUserConfiguration as d, SECONDS_PER_YEAR as e, aaveAddressesProvider_IncentivesControllerSlot as f, getBits as g, calculateCompoundedInterest as h, calculateLinearInterest as i, getNormalizedIncome as j, getNormalizedDebt as k, getCurrentLiquidityBalance as l, getCurrentDebtBalance as m, calculateHealthFactorFromBalances as n, calculateAvailableBorrowsMarketReferenceCurrency as o, getMarketReferenceCurrencyAndUsdBalance as p, assetToBase as q, calculateHealthFactor as r, setBits as s, RAY as t, HALF_RAY as u, WAD_RAY_RATIO as v, rayMul as w, rayDiv as x, rayToWad as y, wadToRay as z };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aU as AggregatorInterface_ABI, aq as BundleParams, ac as ChainId, ad as ChainList, a8 as ContractObject, ab as EVENT_DB, _ as ExplorerConfig, aE as GenericIndexerArgs, U as GovernanceContract, u as HALF_RAY, H as HALF_WAD, G as HUMAN_READABLE_PAYLOAD_STATE, T as HUMAN_READABLE_PROPOSAL_STATE, aM as IAToken_ABI, aR as IAaveOracle_ABI, aV as IAaveV3ConfigEngine_ABI, a$ as IAuthorizedForwarder_ABI, aS as ICollector_ABI, aQ as IDualAggregator_ABI, aY as IERC20Metadata_ABI, a_ as IERC20_ABI, aW as IEmissionManager_ABI, aO as IPoolAddressesProvider_ABI, aZ as IPoolConfigurator_ABI, aT as IPool_ABI, aK as IReserveInterestRateStrategy_ABI, aX as IRewardsController_ABI, aL as IStataTokenFactory_ABI, aP as IStataTokenV2_ABI, aN as IWrappedTokenGatewayV3_ABI, aD as IndexerTopicState, L as LTV_PRECISION, P as PayloadState, I as PayloadsControllerContract, Q as ProposalState, t as RAY, R as ReserveConfiguration, e as SECONDS_PER_YEAR, aH as SelfdestuctCheckState, a7 as StateObject, a9 as TenderlySimRequest, a2 as Tenderly_createVnetParamsResponse, W as WAD, v as WAD_RAY_RATIO, f as aaveAddressesProvider_IncentivesControllerSlot, av as alchemyNetworkMap, af as alchemySupportedChainIds, q as assetToBase, b as bitmapToIndexes, o as calculateAvailableBorrowsMarketReferenceCurrency, h as calculateCompoundedInterest, r as calculateHealthFactor, n as calculateHealthFactorFromBalances, i as calculateLinearInterest, az as chainlinkFeeds, aI as checkForSelfdestruct, a as decodeReserveConfiguration, c as decodeReserveConfigurationV2, d as decodeUserConfiguration, aC as diffCode, aB as erc1967_AdminSlot, aA as erc1967_ImplementationSlot, ax as etherscanExplorers, B as fetchImmutablePoolAddresses, C as fetchMutablePoolAddresses, D as fetchPoolAddresses, as as flashbotsClientExtension, ar as flashbotsOnFetchRequest, aF as genericIndexer, ai as getAlchemyRPC, g as getBits, am as getClient, ap as getContractDeploymentBlock, m as getCurrentDebtBalance, l as getCurrentLiquidityBalance, ah as getExplicitRPC, $ as getExplorer, V as getGovernance, an as getImplementationSlot, ao as getLogsRecursive, p as getMarketReferenceCurrencyAndUsdBalance, ag as getNetworkEnv, O as getNonFinalizedPayloads, Z as getNonFinalizedProposals, k as getNormalizedDebt, j as getNormalizedIncome, K as getPayloadStorageOverrides, J as getPayloadsController, aj as getPublicRpc, ak as getQuicknodeRpc, al as getRPCUrl, F as getReserveConfigurations, E as getReserveTokens, a0 as getSourceCode, N as isPayloadFinal, Y as isProposalFinal, M as makePayloadExecutableOnTestClient, X as makeProposalExecutableOnTestClient, at as onMevHandler, a1 as parseEtherscanStyleSourceCode, aG as parseLogs, au as priceUpdateDecoder, ae as publicRPCs, aw as quicknodeNetworkMap, x as rayDiv, w as rayMul, y as rayToWad, aJ as renderTenderlyReport, ay as routescanExplorers, s as setBits, a6 as tenderly_createVnet, a3 as tenderly_deleteVnet, a5 as tenderly_getVnet, aa as tenderly_sim, a4 as tenderly_simVnet, A as wadDiv, z as wadToRay } from './index-JWWtIseU.mjs';
|
|
2
2
|
import 'viem';
|
|
3
3
|
import '@bgd-labs/aave-address-book/abis';
|
|
4
4
|
import 'viem/zksync';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { aU as AggregatorInterface_ABI, aq as BundleParams, ac as ChainId, ad as ChainList, a8 as ContractObject, ab as EVENT_DB, _ as ExplorerConfig, aE as GenericIndexerArgs, U as GovernanceContract, u as HALF_RAY, H as HALF_WAD, G as HUMAN_READABLE_PAYLOAD_STATE, T as HUMAN_READABLE_PROPOSAL_STATE, aM as IAToken_ABI, aR as IAaveOracle_ABI, aV as IAaveV3ConfigEngine_ABI, a$ as IAuthorizedForwarder_ABI, aS as ICollector_ABI, aQ as IDualAggregator_ABI, aY as IERC20Metadata_ABI, a_ as IERC20_ABI, aW as IEmissionManager_ABI, aO as IPoolAddressesProvider_ABI, aZ as IPoolConfigurator_ABI, aT as IPool_ABI, aK as IReserveInterestRateStrategy_ABI, aX as IRewardsController_ABI, aL as IStataTokenFactory_ABI, aP as IStataTokenV2_ABI, aN as IWrappedTokenGatewayV3_ABI, aD as IndexerTopicState, L as LTV_PRECISION, P as PayloadState, I as PayloadsControllerContract, Q as ProposalState, t as RAY, R as ReserveConfiguration, e as SECONDS_PER_YEAR, aH as SelfdestuctCheckState, a7 as StateObject, a9 as TenderlySimRequest, a2 as Tenderly_createVnetParamsResponse, W as WAD, v as WAD_RAY_RATIO, f as aaveAddressesProvider_IncentivesControllerSlot, av as alchemyNetworkMap, af as alchemySupportedChainIds, q as assetToBase, b as bitmapToIndexes, o as calculateAvailableBorrowsMarketReferenceCurrency, h as calculateCompoundedInterest, r as calculateHealthFactor, n as calculateHealthFactorFromBalances, i as calculateLinearInterest, az as chainlinkFeeds, aI as checkForSelfdestruct, a as decodeReserveConfiguration, c as decodeReserveConfigurationV2, d as decodeUserConfiguration, aC as diffCode, aB as erc1967_AdminSlot, aA as erc1967_ImplementationSlot, ax as etherscanExplorers, B as fetchImmutablePoolAddresses, C as fetchMutablePoolAddresses, D as fetchPoolAddresses, as as flashbotsClientExtension, ar as flashbotsOnFetchRequest, aF as genericIndexer, ai as getAlchemyRPC, g as getBits, am as getClient, ap as getContractDeploymentBlock, m as getCurrentDebtBalance, l as getCurrentLiquidityBalance, ah as getExplicitRPC, $ as getExplorer, V as getGovernance, an as getImplementationSlot, ao as getLogsRecursive, p as getMarketReferenceCurrencyAndUsdBalance, ag as getNetworkEnv, O as getNonFinalizedPayloads, Z as getNonFinalizedProposals, k as getNormalizedDebt, j as getNormalizedIncome, K as getPayloadStorageOverrides, J as getPayloadsController, aj as getPublicRpc, ak as getQuicknodeRpc, al as getRPCUrl, F as getReserveConfigurations, E as getReserveTokens, a0 as getSourceCode, N as isPayloadFinal, Y as isProposalFinal, M as makePayloadExecutableOnTestClient, X as makeProposalExecutableOnTestClient, at as onMevHandler, a1 as parseEtherscanStyleSourceCode, aG as parseLogs, au as priceUpdateDecoder, ae as publicRPCs, aw as quicknodeNetworkMap, x as rayDiv, w as rayMul, y as rayToWad, aJ as renderTenderlyReport, ay as routescanExplorers, s as setBits, a6 as tenderly_createVnet, a3 as tenderly_deleteVnet, a5 as tenderly_getVnet, aa as tenderly_sim, a4 as tenderly_simVnet, A as wadDiv, z as wadToRay } from './index-JWWtIseU.js';
|
|
2
2
|
import 'viem';
|
|
3
3
|
import '@bgd-labs/aave-address-book/abis';
|
|
4
4
|
import 'viem/zksync';
|