Protocols / Yield Aggregator
Yield Yak
Autocompounding strategies on Avalanche. Deposit a token into a strategy, get receipt shares, and rewards are reinvested automatically. Withdraw shares for the underlying token. Also runs YakRouter, a DEX aggregator that finds the best route across Avalanche DEXes.
On-chain + APIEVM3 contractsWebsite · Docs
get_protocol({ "protocol": "yield-yak" })Risks an agent should know
- The two largest Yield Yak strategies on Avalanche (Benqi USDC and USDT) have DEPOSITS_ENABLED false at the time of research, so they accept withdrawals only. Check the flag before depositing.
- Yield Yak strategies lend or stake through the platform (Benqi here). Platform risk, reward token price moves and withdraw fees apply.
- Strategies are owner-controlled. The owner can change fees, pause deposits and rescue funds through the owner and dev functions, so read the owner address and the fee settings before large deposits.
- reinvest() is open to externally owned accounts and pays the caller a reward, so keepers may call it at any time. Harvest timing is not guaranteed.
- The router takes an integrator fee argument, and MIN_FEE is set by Yield Yak maintainers. A swap reverts if the fee is below the minimum.
What an agent can do
| find-strategy | Pick a strategy by token and APY GET https://staging-api.yieldyak.com/43114/farms and /apys; keep deprecated false and check DEPOSITS_ENABLED() on the strategy before depositing. |
| deposit | Deposit depositToken into a strategy approve the strategy for the amount, then deposit(amount). Or depositWithPermit(...) to skip the approve. Receive receipt shares (balanceOf). |
| withdraw | Redeem receipt shares withdraw(shares). Preview the amount with getDepositTokensForShares(shares). Works even when deposits are disabled. |
| check-position | Value a position depositToken amount = balanceOf(user) * totalDeposits() / totalSupply(), or getDepositTokensForShares(balanceOf(user)). |
| swap | Swap tokens through the aggregator findBestPath(amountIn, tokenIn, tokenOut, maxSteps) on the router, approve the router for tokenIn, then swapNoSplit(trade, recipient, 0) with trade.amountOut set to the minimum acceptable output. |
Contracts
avalanche · chain id 43114
| Contract | Address | Key functions | Try |
|---|---|---|---|
| YakRouter (aggregator) router | 0xC4729E56b831d74bBc18797e0e17A295fA77488c source | writeswapNoSplit((uint256,uint256,address[],address[]),address,uint256) writeswapNoSplitFromAVAX((uint256,uint256,address[],address[]),address,uint256) writeswapNoSplitToAVAX((uint256,uint256,address[],address[]),address,uint256) writeswapNoSplitWithPermit((uint256,uint256,address[],address[]),address,uint256,uint256,uint8,bytes32,bytes32) readfindBestPath(uint256,address,address,uint256) readfindBestPathWithGas(uint256,address,address,uint256,uint256) readNAME() | Full ABI |
| Yield Yak: Benqi USDC strategy (BENQI-USDC-2) vault | 0xFB692D03BBEA21D8665035779dd3082c2B1622d0 source | writedeposit(uint256) writedepositWithPermit(uint256,uint256,uint8,bytes32,bytes32) writedepositFor(address,uint256) writewithdraw(uint256) writereinvest() readbalanceOf(address) readtotalSupply() readtotalDeposits() +8 more via get_protocol | Full ABI |
| Yield Yak: Benqi USDT strategy (BENQI-USDT-2) vault | 0xa45B0A446B91eBDBbB041f491e7244AAeB7f557A source | writedeposit(uint256) writedepositWithPermit(uint256,uint256,uint8,bytes32,bytes32) writedepositFor(address,uint256) writewithdraw(uint256) writereinvest() readbalanceOf(address) readtotalSupply() readtotalDeposits() +8 more via get_protocol | Full ABI |
APIs
| Yield Yak farms list (Avalanche) auth: none | https://staging-api.yieldyak.com/43114/farms All strategies on Avalanche with address, name, platform, tags, depositToken (address, symbol, decimals, underlying), rewardToken, totalDeposits and totalSupply (raw units), pendingRewards, reinvestRewardBips and a deprecated flag. Filter deprecated false. Replace 43114 with 42161 for Arbitrum. |
| Yield Yak APY list (Avalanche) auth: none | https://staging-api.yieldyak.com/43114/apys APR and APY per strategy address, with lastReinvest timestamp. Join to /farms on address. |
| Yield Yak docs auth: none | https://docs.yieldyak.com Human-readable docs for strategies, vaults and the aggregator. |
Notes
Yield Yak has no factory or registry for strategies. Each strategy is deployed separately and listed in deployments/mainnet/<NAME>.json in the yieldyak/smart-contracts repo (about 730 mainnet deployment files, all on Avalanche in that folder). Every strategy follows the YakStrategy base (BaseStrategy in the repo): deposit, depositFor, depositWithPermit, withdraw, reinvest and the share math. The ABI for each strategy is in its deployment file, so check the ABI there when a strategy has a different implementation (Benqi, Pharaoh, Blackhole and others differ). Largest strategies on Avalanche by deposited amount (from the farms API, raw units): Benqi USDC-2 (about 217,000 USDC) and Benqi USDT-2 (about 48,700 USDT). Both are listed as examples and both have DEPOSITS_ENABLED false. Several larger totalDeposits values in the API are in non-stable token units and are not comparable. Older Benqi USDC strategy at 0x918dE58A4C0D98A3a7c34AF539eB3Ca4e6fAA146 is in the deployments folder but is not listed here. Addresses were checked on chain (Avalanche RPC): the router returns NAME() = YakRouter, the two strategies have code and return depositToken, rewardToken, totalDeposits and owner. The Yield Yak API host is staging-api.yieldyak.com; it is the host DefiLlama uses, and no separate production host was found in the sources used. Arbitrum has its own Yak deployments and the repo also contains strategies for other chains, which are not covered here.
Sources
- https://github.com/yieldyak/smart-contracts
- https://github.com/yieldyak/smart-contracts/blob/master/contracts/YakStrategy.sol
- https://github.com/yieldyak/smart-contracts/blob/master/contracts/strategies/BaseStrategy.sol
- https://github.com/yieldyak/smart-contracts/blob/master/contracts/interfaces/IYakStrategy.sol
- https://github.com/yieldyak/smart-contracts/blob/master/deployments/mainnet/BENQI-USDC-2.json
- https://github.com/yieldyak/smart-contracts/blob/master/deployments/mainnet/BENQI-USDT-2.json
- https://github.com/yieldyak/yak-aggregator
- https://github.com/yieldyak/yak-aggregator/blob/master/README.md
- https://github.com/yieldyak/yak-aggregator/blob/master/src/YakRouter.sol
- https://github.com/yieldyak/yak-aggregator/blob/master/deployments/AvalancheDeployments.sol
- https://github.com/yieldyak/smart-contracts/blob/master/contracts/interfaces/IYakRouter.sol
- https://staging-api.yieldyak.com/43114/farms
- https://staging-api.yieldyak.com/43114/apys
- https://github.com/DefiLlama/DefiLlama-Adapters/blob/master/projects/yieldyak/index.js
- https://github.com/DefiLlama/yield-server/blob/master/src/adaptors/yield-yak-aggregator/index.js
- https://docs.yieldyak.com
- https://yieldyak.com
- https://api.llama.fi/protocol/yield-yak
Researched 2026-11-28. Addresses are copied from the official sources above; check them before moving large amounts.