StakeWise v3 on Gnosis Chain
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.
GNO · approve
Approve TARGET_VAULT to spend GNO tokens on behalf of the avatar.
-
Contract:
TOKEN -
Function:
approve(address,uint256)Parameter Constraint spenderequal to TARGET_VAULTamount-
TARGET_VAULT · deposit
Stake GNO tokens to the corresponding StakeWise v3 Vault.
-
Contract:
TARGET_VAULT -
Function:
deposit(uint256,address,address)Parameter Constraint assets- 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 · 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-