StakeWise v3 on Gnosis Chain

Action: stake

Parameters

NameTypeDescription
targetsstring[] (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)

    ParameterConstraint
    spenderequal to TARGET_VAULT
    amount-

TARGET_VAULT · deposit

Stake GNO tokens to the corresponding StakeWise v3 Vault.

  • Contract: TARGET_VAULT

  • Function: deposit(uint256,address,address)

    ParameterConstraint
    assets-
    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 · 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-