StakeWise v3 on Ethereum
Action: stake
Parameters
| Name | Type | Description |
|---|---|---|
targets | string[] (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 ETHParameter Constraint receiverequal to AVATARreferrer-
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[]))Parameter Constraint 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 ETHParameter Constraint receiverequal to AVATARreferrer- rewardsRoot- reward- unlockedMevReward- proof-
TARGET_VAULT · depositAndMintOsToken
Stake ETH to the corresponding StakeWise v3 Vault and mints osToken shares to the specified receiver.
-
Contract:
TARGET_VAULT -
Function:
depositAndMintOsToken(address,uint256,address)Ξ allow sending ETHParameter Constraint receiverequal to AVATARosTokenShares- referrer-
TARGET_VAULT · mintOsToken
Mints osToken shares to the specified receiver.
-
Contract:
TARGET_VAULT -
Function:
mintOsToken(address,uint256,address)Parameter Constraint receiverequal to AVATARosTokenShares- referrer-
TARGET_VAULT · burnOsToken
Burns osToken shares.
-
Contract:
TARGET_VAULT -
Function:
burnOsToken(uint128)Parameter Constraint 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)Parameter Constraint 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)Parameter Constraint positionTicket- timestamp- exitQueueIndex-