-
Notifications
You must be signed in to change notification settings - Fork 1k
add zealous swap pools #2177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add zealous swap pools #2177
Conversation
|
The zealousswap adapter exports pools: Test Suites: 1 passed, 1 total |
|
hi,
pls remove, we handle this server side
|
|
The zealousswap adapter exports pools: Test Suites: 1 passed, 1 total |
Kasplex is a new Layer 2 built on Kaspa and is only one month old. Since the network currently lacks subgraph support and native stablecoins, we developed our own custom indexers. Our API connects directly to these indexers to retrieve on-chain data. In addition, Zealous Swap uses a modular fee model where each swap can have its own fee structure in basis points. Because of this flexibility, implementing an APR calculation here would be complex and could make the integration too heavy. |
|
@louissaadgo lets at least fetch tvl values using our sdk |
|
The zealousswap adapter exports pools: Test Suites: 1 passed, 1 total |
|
@slasher125 Now we are fetching reserves on-chain & prices using Defillama's price feeds to calculate TVL |
Zealous Swap (Kasplex) — Pools adapter for DefiLlama yield-server
Pulls per-pool TVL (USD) and APR directly from our public API.
Endpoint used: https://kasplex.zealousswap.com/v1/pools
Notes:
aprfrom our API asapyBase(already annualized %).apris missing, we fall back to fee APR from volume * feeRate.apyRewardonly if our API reports a positivefarmApr.hasUSDValues === trueand tvl > 10000 to avoid noise.