OriginProtocol / OriginProtocol/origin-dollar
Zapper ETH deposits to mint with LSD rather than non yielding WETH
Nobody has claimed this yet.
- 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
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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