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

SkyStakingEngineStake

Description

Stake SKY token via SKY protocol for different rewards

Action ID

0xa5236ed6

SDK Action

const skyStakingEngineStakeAction = new dfs.actions.sky.SkyStakingEngineStakeAction(
    stakingContract,
    index,
    amount,
    from
);

Action Type

STANDARD_ACTION

Input Parameters

    /// @param stakingContract address of the staking engine contract
    /// @param index index of the urn
    /// @param amount amount of stakingToken to stake
    /// @param from address from which to pull stakingToken
    struct Params {
        address stakingContract;
        uint256 index;
        uint256 amount;
        address from;
    }

Return Value

Events and Logs

Last updated