Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@everlend/general-pool
Advanced tools
Everlend is a lending aggregator and optimizer. Get the best rates on your deposits and loans, always.
A general pool is an implementation of Solana pool program, which is responsible for storing users' liquidity and minting collateral tokens. There’s a general pool for every token supported by Everlend. When users interact with Everlend, they actually work with general pools, e.g. users' deposits and withdrawals are made via them.
The SDK allows interacting with Everlend general pools, specifically:
It's still work in progress. In the future the SDK will be expanded with other useful features such as getting APYs for tokens etc.
$ yarn add @everlend/general-pool
npm install @everlend/general-pool
import { Pool } from '@everlend/general-pool';
const pools = await Pool.findMany(connection, {
poolMarket,
});
import { UserWithdrawalRequest } from '@everlend/general-pool';
const userWithdrawalRequests = await UserWithdrawalRequest.findMany(connection, {
from,
});
import { prepareDepositTx } from '@everlend/general-pool';
const depositTx = await prepareDepositTx(
{ connection, payerPublicKey, },
pool,
registry,
amount,
source,
destination,
);
import { prepareWithdrawalRequestTx } from '@everlend/general-pool';
const withdrawalRequestTx = await prepareWithdrawalRequestTx(
{ connection, payerPublicKey, },
pool,
registry,
amount,
source,
destination,
);
import { prepareWithdrawalTx } from '@everlend/general-pool';
const withdrawalTx = await prepareWithdrawalTx(
{
connection,
payerPublicKey,
},
withdrawalRequest,
);
Mainnet: DzGDoJHdzUANM7P7V25t5nxqbvzRcHDmdhY51V6WNiXC
Devnet: 4yC3cUWXQmoyyybfnENpxo33hiNxUNa1YAmmuxz93WAJ
Mainnet: UaqUGgMvVzUZLthLHC9uuuBzgw5Ldesich94Wu5pMJg
Devnet: 6KCHtgSGR2WDE3aqrqSJppHRGVPgy9fHDX5XD8VZgb61
FAQs
###### NB! This package is deprecated and not supported anymore. You can find the up-to-date package here: [@everlend/sdk](https://www.npmjs.com/package/@everlend/sdk). and the documentation here: [@everlend/sdk typedocs](https://sdk-docs.everlend.finance
The npm package @everlend/general-pool receives a total of 2 weekly downloads. As such, @everlend/general-pool popularity was classified as not popular.
We found that @everlend/general-pool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.