> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Radiant (radiant)

> Omnichain lending protocol on Arbitrum. Aave V2 fork with cross-chain lending capabilities via LayerZero.

Omnichain lending protocol on Arbitrum. Aave V2 fork with cross-chain lending capabilities via LayerZero. Requires dLP locking for emission eligibility.

| Fact | Value |
| - | - |
| Category | Lending |
| Family | none |
| Namespace | `Radiant` on arbitrum |
| Chains | arbitrum |

## Notes

* Same interface as Aave V2 (forked codebase) -- referralCode always 0
* Requires dLP (dynamic liquidity provision) locking to be eligible for RDNT emissions
* Users must lock at least 5% of deposit value in dLP to earn platform fees
* interestRateMode: 1 = stable, 2 = variable
* All deposit/repay operations require ERC-20 approval to LendingPool
* Arbitrum-only deployment

## Its names in a program

On Arbitrum One, `Radiant` is a namespace: its contracts need no import.

```ts theme={null}
function main() {
  // Arbitrum One's lendingPool, `0xF4B1486DD74D07706052A33d31d7c0AAFD0659E1`.
  require(Radiant.LendingPool != 0);
}
```

## Deployments

| Chain | Contract | Address | In a program |
| - | - | - | - |
| [Arbitrum One](https://docs.eco.com/sauce-sdk/reference/chains/arbitrum.md) | lendingPool | `0xF4B1486DD74D07706052A33d31d7c0AAFD0659E1` | `Radiant.LendingPool`; not on this deployment: `deposit`, `withdraw`, `borrow`, `repay` |

## ABI

### `RadiantLendingPoolABI`

`import RadiantLendingPoolABI from "./protocols/radiant/RadiantLendingPoolABI.json";` Speaks for: lendingPool.

* `deposit(address asset, uint256 amount, address onBehalfOf, uint16 referralCode)`
* `withdraw(address asset, uint256 amount, address to) returns (uint256)`
* `borrow(address asset, uint256 amount, uint256 interestRateMode, uint16 referralCode, address onBehalfOf)`
* `repay(address asset, uint256 amount, uint256 rateMode, address onBehalfOf) returns (uint256)`

Not on Arbitrum One's lendingPool (`0xF4B1486DD74D07706052A33d31d7c0AAFD0659E1`), whose code does not dispatch them: `deposit`, `withdraw`, `borrow`, `repay`. Do not call them there: the call does not run the function, and whether it reverts is up to that code.

## Next steps

* [Protocols](https://docs.eco.com/sauce-sdk/reference/protocols.md): the other protocols, by what they do.
* [Protocols and tokens](https://docs.eco.com/sauce/names.md): calling a contract by its namespace, or through its ABI.
* [Glossary](https://docs.eco.com/sauce/glossary.md): the words these pages use, in plain terms.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.