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.
Deployments
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)
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: the other protocols, by what they do.
- Protocols and tokens: calling a contract by its namespace, or through its ABI.
- Glossary: the words these pages use, in plain terms.
