OriginProtocol / OriginProtocol/origin-dollar

Zapper ETH deposits to mint with LSD rather than non yielding WETH

Open
#1,568 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

contracts OETH
Dominant language
Solidity
Stars
152
Forks
115
Avg merge
3d 20h
Merged PRs (30d)
17

Description

At the moment Zapper deposits of ETH are converted to WETH and used to mint OETH. That leaves WETH in the vault that is not yielding.

Here's an example of a recent 700 ETH deposit
oeth-vault-deposit-700weth-value

A new OETH Zapper would be deployed that can be configured to convert ETH to either WETH, frxETH, stETH or rETH before minting OETH via the vault.
This configuration would be controlled by the governor.

A more sophisticated version of this is the Zapper has some logic about what LSD to mint with. eg smallest asset balance in the Vault.
Or it could split larger ETH deposits into multiple OETH assetes.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Zapper ETH deposit flow and the vault minting entry point. Review how WETH, frxETH, stETH, and rETH balances are represented, then clarify with maintainers whether governor-selected conversion or balance-based allocation is required. Done means a new configurable Zapper can mint OETH from the selected LSD without leaving the deposit as non-yielding WETH.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.