> For the complete documentation index, see [llms.txt](https://docs.defisaver.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.defisaver.com/actions/llamalend/llamalendsupply.md).

# LlamaLendSupply

### Description

Action that supplies collateral to a llamalend position

### Action ID

`0x37defe88`

### SDK Action

```ts
const llamaLendSupplyAction = new dfs.actions.llamalend.LlamaLendSupplyAction(
    controllerAddress,
    from,
    onBehalfOf,
    collateralAmount,
    collAsset
);
```

### Action Type

`STANDARD_ACTION`

### Input Parameters

```solidity
    /// @param controllerAddress Address of the llamalend market controller
    /// @param from Address from which to pull collateral asset
    /// @param onBehalfOf Address for which we are supplying, will default to user's wallet
    /// @param collateralAmount Amount of collateral asset to supply
    struct Params {
        address controllerAddress;
        address from;
        address onBehalfOf;
        uint256 collateralAmount;
    }
```

### Return Value

```solidity
return bytes32(suppliedAmount);
```

### Events and Logs

```solidity
emit ActionEvent("LlamaLendSupply", logData);
logger.logActionDirectEvent("LlamaLendSupply", logData);
bytes memory logData = abi.encode(params);
```
