Skip to content

Dust in ConvexEthMetaStrategy #1835

Open
@DanielVF

Description

@DanielVF

When withdrawing funds, we should deposit the full balance of ETH to WETH. This way we don't leave any intermediate ETH in the contract, and also the next depositAll() will pick up the funds.

weth.deposit{ value: _amount }();

Metadata

Metadata

Assignees

No one assigned

    Labels

    contractsWorks related to contracts

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions