AaveProtocolConfig
Defined in: protocol-lending-aave-evm/src/protocol.ts:20
Properties
Section titled “Properties”addressesProvider?
Section titled “addressesProvider?”
optionaladdressesProvider?:string
Defined in: protocol-lending-aave-evm/src/protocol.ts:26
A PoolAddressesProvider for a market not in the presets. The Pool is read from it; pool is then required.
chainId?
Section titled “chainId?”
optionalchainId?:number
Defined in: protocol-lending-aave-evm/src/protocol.ts:22
Chain the market lives on (default: the account’s eip155:N, else 1).
market?
Section titled “market?”
optionalmarket?:string
Defined in: protocol-lending-aave-evm/src/protocol.ts:24
Preset key in AAVE_MARKETS for the chain: ‘core’ (default), ‘lido’, ‘etherfi’.
multicall?
Section titled “multicall?”
optionalmulticall?:string|false
Defined in: protocol-lending-aave-evm/src/protocol.ts:42
Multicall3 address, or false to read reserves one call at a time.
permitTtlSeconds?
Section titled “permitTtlSeconds?”
optionalpermitTtlSeconds?:number
Defined in: protocol-lending-aave-evm/src/protocol.ts:38
Permit validity in seconds (default 1200).
optionalpool?:string
Defined in: protocol-lending-aave-evm/src/protocol.ts:28
Expected Pool address; checked against what the addresses provider reports. Presets fill it; required with a custom addressesProvider.
provider?
Section titled “provider?”
optionalprovider?:EvmProvider|EvmProvider[]
Defined in: protocol-lending-aave-evm/src/protocol.ts:32
RPC url(s) or EIP-1193 provider(s) to read the chain through. Defaults to the account’s own.
referralCode?
Section titled “referralCode?”
optionalreferralCode?:number
Defined in: protocol-lending-aave-evm/src/protocol.ts:34
Aave referral code (inactive on every market today — 0).
reserveTtlMs?
Section titled “reserveTtlMs?”
optionalreserveTtlMs?:number
Defined in: protocol-lending-aave-evm/src/protocol.ts:44
Cache lifetime for the reserve list (default 30 000 ms).
usePermit?
Section titled “usePermit?”
optionalusePermit?:boolean
Defined in: protocol-lending-aave-evm/src/protocol.ts:36
Use supplyWithPermit / repayWithPermit when the token and the account support EIP-2612 (default true).
waitTimeoutMs?
Section titled “waitTimeoutMs?”
optionalwaitTimeoutMs?:number
Defined in: protocol-lending-aave-evm/src/protocol.ts:40
How long to wait for an approval to be mined before the main transaction (default 180 000 ms).
wethGateway?
Section titled “wethGateway?”
optionalwethGateway?:string|null
Defined in: protocol-lending-aave-evm/src/protocol.ts:30
WrappedTokenGatewayV3 for native-coin legs. null disables native support; presets fill it.