StakeWise v3 on Ethereum

Action: stake

Parameters

NameTypeDescription
targetsstring[] (required)Vault id | Vault name

TARGET_VAULT below refers to the address of the StakeWise v3 Vault.

TARGET_VAULT · deposit

Stake ETH to the corresponding StakeWise v3 Vault.

  • Contract: TARGET_VAULT

  • Function: deposit(address,address) Ξ allow sending ETH

    ParameterConstraint
    receiverequal to AVATAR
    referrer-

TARGET_VAULT · updateState

Updates the total amount of assets in the Vault and its exit queue.

  • Contract: TARGET_VAULT

  • Function: updateState((bytes32,int160,uint160,bytes32[]))

    ParameterConstraint
    rewardsRoot-
    reward-
    unlockedMevReward-
    proof-

TARGET_VAULT · updateStateAndDeposit

Updates Vault state and deposits ETH to the Vault.

  • Contract: TARGET_VAULT

  • Function: updateStateAndDeposit(address,address,(bytes32,int160,uint160,bytes32[])) Ξ allow sending ETH

    ParameterConstraint
    receiverequal to AVATAR
    referrer-
    rewardsRoot-
    reward-
    unlockedMevReward-
    proof-

TARGET_VAULT · mintOsToken

Mints osToken shares to the specified receiver.

  • Contract: TARGET_VAULT

  • Function: mintOsToken(address,uint256,address)

    ParameterConstraint
    receiverequal to AVATAR
    osTokenShares-
    referrer-

TARGET_VAULT · burnOsToken

Burns osToken shares.

  • Contract: TARGET_VAULT

  • Function: burnOsToken(uint128)

    ParameterConstraint
    osTokenShares-

TARGET_VAULT · enterExitQueue

Locks shares in the exit queue. The shares will continue earning rewards until they are burned by the Vault.

  • Contract: TARGET_VAULT

  • Function: enterExitQueue(uint256,address)

    ParameterConstraint
    shares-
    receiverequal to AVATAR

TARGET_VAULT · claimExitedAssets

Claims assets that were withdrawn by the Vault. It can be called only after the enterExitQueue call by the receiver.

  • Contract: TARGET_VAULT

  • Function: claimExitedAssets(uint256,uint256,uint256)

    ParameterConstraint
    positionTicket-
    timestamp-
    exitQueueIndex-