• © Goverland Inc. 2026
  • v1.0.1
  • Privacy Policy
  • Terms of Use
yearn.finance (archive)yearn.finance (archive)by0x7A1057E6e9093DA9C1D4C1D049609B6889fC4c67wentokyo.eth

Upgrade Treasury Vault to solve gas subsidy, gitcoin and more

Voting ended over 5 years agoSucceeded

Summary

This proposal bundles a few improvements together which have compounding effects. It will solve for gas subsidy, gitcoin grants, inability to convert other Curve tokens into rewards for governance stakers.

Abstract

Add split functionality to TreasuryVault which can send the rewards to multiple destinations before sending them to governance staking contract. Add ability to withdraw from Curve pools. Add ability to trade using Uniswap.

Motivation

There is a very good competing proposal which solves for gas refunds by modifying harvest() function. But here is some rationale for using TreasuryVault instead:

  1. Putting this in harvest() doesn't refund on failed txs, which can eat up $500 by the moment it fails
  2. Requires redeploying and migrating all strategies, which can't be done easily for the strategies yDAI and yWETH vaults are currently positioned in.
  3. Treasury contract needs upgrading anyway, I was working on a converter and reward distribution bot and was stuck with OneSplit not being smart enough to unwrap Curve LP tokens.
  4. We'll be able to solve converting other assets finally and distribute the rewards accumulated from vaults other than yUSD.
  5. We can bundle this with gitcoin proposal, which is time-sensitive, since the next round starts on September 15th.

Specification

  1. Develop and deploy a TreasuryVaultV2 contract with these additional features:
    • Ability to whitelist additional CurveDeposit contracts when more pools are created.
    • Unwrap into underlying Curve LP coins or a single coin (CurveDeposit has us covered here).
    • Trade via Uniswap in addition to OneSplit, this helps immensely with testing and optimizing the bot which does the trading.
    • Disperse-like split functionality which can send different amounts to multiple recipients.
    • The split functionality should also call notifyRewardAmount when it sends rewards to ygov.
  2. This proposal will require some additional work for gas accounting, which can be delegated to a bot.

Urgency

Given the gas costs are eating through our budget at $25k/day rate, I propose to have an expedited vote for this with a 1-day duration. We should have the implementation ready shortly after.

Off-Chain Vote

Implement the proposal
1.39K 100%
Reject the proposal
0 0%
Download mobile app to vote

Timeline

Sep 04, 2020Proposal created
Sep 04, 2020Proposal vote started
Sep 05, 2020Proposal vote ended
Mar 29, 2025Proposal updated