FeedProjects
Developers
Settings
🎉 A new chapter begins: Boardroom has joined Agora
Learn more
protocol logo
Explore / Projects
Yearn

Proposals

Members

Information

Create Proposal

Yearn

ProposalsMembersInformation
Proposal
Back to Proposals
closedEnded 6 years ago Â·  Onchain

Upgrade Treasury Vault to solve gas subsidy, gitcoin and more

By 0x7A10...fC4c67

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.

Continue Reading
Connect Wallet to Add Note
0
Votes 128
VoterCast PowerVote & Rationale
0x3b08...0e742C
959

0xbC0c...270b71
61

0x1d5E...2969f4
60

0xb6aF...3E3887
30

0xb3AB...A14aA0
25

SHOW MORE
VOTE POWER
0
Connect Wallet
Proposal Status
  • Published Onchain 0x7A10...fC4c67
  • Fri September 04 2020, 01:00 pmVoting Period Starts
  • Sat September 05 2020, 01:00 pmEnd Voting Period
  • Queue Proposal
  • Execute Proposal
Current Results

1-Implement the proposal

1,387.267

2-Reject the proposal

N/A Tokens

0%
DocumentationBrandingContact Us
Home
This Project is Currently Disabled

If you would like to enable it, please checkout below.

Boardroom Subscription

Sign up for an individual subscription (access all projects on the platform)

Subscribe
Enable Project

Enable the entire project for every user

Enable Project
Contact Us