For the complete documentation index, see llms.txt. This page is also available as Markdown.

YearnSupply

Description

Supplies tokens to Yearn vault

Notes

tokens need to be approved for user's wallet to pull them (token address)

Action ID

0x7b4c8fad

SDK Action

const yearnSupplyAction = new dfs.actions.yearn.YearnSupplyAction(
    tokenAddr,
    amount,
    from,
    to
);

Action Type

STANDARD_ACTION

Input Parameters

Return Value

Events and Logs

Last updated