Loading...
Loading...
View and operate Lista Lending vaults/markets. Use when user asks about LENDING-ONLY positions or wants to deposit/withdraw/borrow/repay. For report-style overview, use lista instead.
npx skill4agent add tyler-tsai/lista-skills-personal lista-lendingStatus: Pre-release (internal only, not in public registry) Agent quick check:Agent rebuild:node dist/cli.js versionnpm install && npm run build
@lista-dao/moolah-lending-sdklista-wallet-connectlistalistalistalistalista-lendinglista-wallet-connectpairauthsigntopicsessionlista-wallet-connectdepositwithdrawsupplyborrowrepaymarket-withdrawlista-lendingholdingsvaultsmarketslista-lendingposition reportrisk checkdaily digestlistacheck my positionslista-lendinglistamarket listvault listlista-lendinglistavaultsselect --vaultdepositwithdrawmarketsselect --marketsupplyborrowrepaymarket-withdrawholdingsconfigversionselect/supply/borrow/repay/market-withdrawzone === 3termType === 1marketsselect --marketunsupported_market_typeholdingsisSmartLendingisFixedTermisActionableskills/lista-lending/
├── SKILL.md
├── package.json
├── tsconfig.json
└── src/
├── cli/ # args/help/meta/run
├── api/ # vault/market/user read-side queries
├── sdk/ # SDK client + market runtime prefetch
├── executor/ # tx execution + receipt polling
├── commands/ # command handlers
│ ├── shared/ # context/errors/output/tx helpers
│ ├── select/
│ ├── borrow/
│ └── repay/
├── presenters/
├── utils/
├── config.ts
├── context.ts
├── api.ts # API facade export
├── sdk.ts # SDK facade export
├── executor.ts # executor facade export
└── cli.ts # CLI entrypointsrc/cli/*src/cli.tssrc/api/*vaultmarketusersrc/sdk/client.tssrc/sdk/market-runtime.tsborrowrepaysimulateexecutelista-wallet-connectwallet-topicwallet-address>= 18.0.0>= 20lista-wallet-connectskills/lista-wallet-connect/dist/cli.jslista-lendingskills/lista-lending/dist/cli.js# install dependencies
cd skills/lista-lending && npm install
# build
npm run buildcd skills/lista-lending
node dist/cli.js <command> [options]stdoutstderrvaultsVaultAssetTVL (USD)APYCuratormarketsCollateralLoanLLTVBorrow RateLiquidity (USD)holdingsVaultChainDepositedDeposited USDAPYWallet BalanceMarketChainCollateral USDBorrowed USDLTVHealthMarketChainReasonCollateral USDBorrowed USDvaultsmarketsholdingszone/termTypeReasonisSmartLending => SmartLendingisFixedTerm => Fixed-termhealth = LLTV / LTVLTV > 0health = 100Healthyhealth >= 1.2Warning1.0 <= health < 1.2Riskhealth < 1.0WarningRiskeip155:56eip155:1versionconfigvaultsmarketsholdingsselectdepositwithdrawsupplyborrowrepaymarket-withdraw--chain <eip155:56|eip155:1>--wallet-topic <topic>--wallet-address <0x...>versionnode dist/cli.js versionconfig# show config
node dist/cli.js config --show
# set rpc override
node dist/cli.js config --set-rpc --chain eip155:56 --url https://bsc-mainnet.nodereal.io/v1/<key>
# clear rpc override
node dist/cli.js config --clear-rpc --chain eip155:56
~/.agent-wallet/lending-config.jsonvaults--page--page-size--sort--order--zone--keyword--assets <a,b>--curators <a,b>node dist/cli.js vaults
node dist/cli.js vaults --chain eip155:1
node dist/cli.js vaults --sort apy --order desc --page 1 --page-size 10
node dist/cli.js vaults --assets 0x8d0d...,0x55d3... --curators "Lista DAO,Pangolins"markets--page--page-size--sort--order--zone--keyword--loans <a,b>--collaterals <a,b>node dist/cli.js markets
node dist/cli.js markets --chain eip155:56 --sort liquidity --order desc --page-size 20
node dist/cli.js markets --loans USD1,USDT --collaterals USD1,BTCBzone=3termType=1Smart Lending and fixed-term market operations are currently not supported in this skill. For full functionality, please use the Lista website.holdings--address <0x...>userAddress--scope <all|vault|market|selected># all positions (vault + market)
node dist/cli.js holdings --address 0xYOUR_ADDRESS
# only vault positions
node dist/cli.js holdings --address 0xYOUR_ADDRESS --scope vault
# only market positions
node dist/cli.js holdings --address 0xYOUR_ADDRESS --scope market
# only currently selected position
node dist/cli.js holdings --scope selectedisSmartLendingzone === 3isFixedTermtermType === 1isActionable!isSmartLending && !isFixedTermzonetermTypeselect--vault--market--show--clear# select vault
node dist/cli.js select \
--vault 0xfa27f172e0b6ebcef9c51abf817e2cb142fbe627 \
--chain eip155:56 \
--wallet-topic <topic> \
--wallet-address 0xYOUR_ADDRESS
# select market
node dist/cli.js select \
--market 0xd384584abf6504425c9873f34a63372625d46cd1f2e79aeedc77475cacaca922 \
--chain eip155:56 \
--wallet-topic <topic> \
--wallet-address 0xYOUR_ADDRESS
# show/clear
node dist/cli.js select --show
node dist/cli.js select --clear~/.agent-wallet/lending-context.jsondeposit--amount--vault# using selected vault
node dist/cli.js deposit --amount 1
# explicit target
node dist/cli.js deposit \
--vault 0xVAULT \
--amount 1 \
--chain eip155:56 \
--wallet-topic <topic> \
--wallet-address 0xYOUR_ADDRESSwithdraw--amount--withdraw-allnode dist/cli.js withdraw --amount 0.5
node dist/cli.js withdraw --withdraw-allsupply--amountnode dist/cli.js supply --amount 2borrow--simulate--simulate --simulate-supply <amt>--amount <amt># check max borrowable
node dist/cli.js borrow --simulate
# check max after hypothetical supply
node dist/cli.js borrow --simulate --simulate-supply 2
# execute borrow
node dist/cli.js borrow --amount 0.01repay--simulate --amount <amt>--simulate --repay-all--amount <amt>--repay-all# simulate partial repay impact
node dist/cli.js repay --simulate --amount 0.01
# simulate full repay impact
node dist/cli.js repay --simulate --repay-all
# execute
node dist/cli.js repay --amount 0.01
node dist/cli.js repay --repay-allmarket-withdraw--amount--withdraw-allnode dist/cli.js market-withdraw --amount 0.5
node dist/cli.js market-withdraw --withdraw-alllista-wallet-connectcallcallstatus: "rejected", reason: "user_rejected"# 1) discover
node dist/cli.js vaults --chain eip155:56
# 2) select
node dist/cli.js select --vault 0xVAULT --wallet-topic <topic> --wallet-address 0xADDR
# 3) operate
node dist/cli.js deposit --amount 1
node dist/cli.js withdraw --amount 0.5# 1) discover
node dist/cli.js markets --chain eip155:56
# 2) select
node dist/cli.js select --market 0xMARKET --wallet-topic <topic> --wallet-address 0xADDR
# 3) operate
node dist/cli.js supply --amount 2
node dist/cli.js borrow --simulate
node dist/cli.js borrow --amount 0.01
node dist/cli.js repay --simulate --amount 0.01
node dist/cli.js repay --amount 0.01
node dist/cli.js market-withdraw --amount 1eip155:56eip155:1borrow --simulateuser_rejected