Learn
Arbitrum

Fluid on Arbitrum

Deployments

NameAddress
fWETH0x45Df0656F8aDf017590009d2f1898eeca4F0a205 (opens in a new tab)
MerkleDistributor0x94312a608246Cecfce6811Db84B3Ef4B2619054E (opens in a new tab)

Action: deposit

Parameters

NameTypeDescription
targetsstring[] (required)ETH | Token symbols | Token addresses

Target: ERC-20

For targets that are ERC-20 tokens, the following functions are allowed:

TARGET below refers to the ERC-20 token address of each element given in targets.

FTOKEN below refers to the corresponding Fluid wrapper (fToken) address for each token listed in targets.

TARGET · approve

Approve FTOKEN to spend TARGET tokens on behalf of the avatar.

  • Contract: TARGET

  • Function: approve(address,uint256)

    ParameterConstraint
    spenderequal to FTOKEN
    amount-

FTOKEN · deposit

Deposit TARGET and receive FTOKEN tokens in exchange.

  • Contract: FTOKEN

  • Function: deposit(uint256,address)

    ParameterConstraint
    assets-
    receiverequal to AVATAR

FTOKEN · withdraw

Withdraw a specific amount of TARGET tokens by specifying the desired assets amount. The corresponding amount of FTOKEN shares will be redeemed automatically.

  • Contract: FTOKEN

  • Function: withdraw(uint256,address,address)

    ParameterConstraint
    assets-
    receiverequal to AVATAR
    ownerequal to AVATAR

FTOKEN · redeem

Redeem a specific amount of FTOKEN shares to receive the corresponding amount of TARGET tokens.

  • Contract: FTOKEN

  • Function: redeem(uint256,address,address)

    ParameterConstraint
    shares-
    receiverequal to AVATAR
    ownerequal to AVATAR

MerkleDistributor · claim

Claim incentive rewards.

  • Contract: MerkleDistributor

  • Function: claim(address,uint256,uint8,bytes32,uint256,bytes32[],bytes)

    ParameterConstraint
    recipientequal to AVATAR
    cumulativeAmount-
    positionType-
    positionId-
    cycle-
    merkleProof-
    metadata-

Target: ETH

For ETH as an element of targets, the following functions are allowed:

fWETH · depositNative

Deposit ETH and receive fWETH tokens in exchange.

  • Contract: fWETH

  • Function: depositNative(address) Ξ allow sending ETH

    ParameterConstraint
    receiverequal to AVATAR

fWETH · withdrawNative

Withdraw a specific amount of ETH by specifying the desired assets amount. The corresponding amount of fWETH shares will be redeemed automatically.

  • Contract: fWETH

  • Function: withdrawNative(uint256,address,address)

    ParameterConstraint
    assets-
    receiverequal to AVATAR
    ownerequal to AVATAR

fWETH · redeemNative

Redeem a specific amount of fWETH shares to receive the corresponding amount of ETH.

  • Contract: fWETH

  • Function: redeemNative(uint256,address,address)

    ParameterConstraint
    shares-
    receiverequal to AVATAR
    ownerequal to AVATAR

MerkleDistributor · claim

Claim incentive rewards.

  • Contract: MerkleDistributor

  • Function: claim(address,uint256,uint8,bytes32,uint256,bytes32[],bytes)

    ParameterConstraint
    recipientequal to AVATAR
    cumulativeAmount-
    positionType-
    positionId-
    cycle-
    merkleProof-
    metadata-