ScrvUsdConfig
Defined in: protocol-lending-curve-evm/src/scrvusd.ts:10
Extends
Section titled “Extends”Properties
Section titled “Properties”allowStrategies?
Section titled “allowStrategies?”
optionalallowStrategies?:boolean
Defined in: protocol-lending-curve-evm/src/scrvusd.ts:17
Deposit while the vault lends to strategies (totalDebt > 0). scrvUSD keeps every crvUSD
idle today, which is what makes withdrawals instant; Yearn V3 lets its role manager add
strategies, and that changes the risk. Default false: such a deposit is refused with code
'StrategiesInUse'. Withdrawals are never gated by it.
optionalapi?:string|null
Defined in: protocol-lending-curve-evm/src/base.ts:23
Curve prices API base URL (https on curve.finance only), or null to disable (default: prices.curve.finance).
Inherited from
Section titled “Inherited from”chainId?
Section titled “chainId?”
optionalchainId?:number
Defined in: protocol-lending-curve-evm/src/base.ts:19
Chain (default: the account’s eip155:N, else 1). Must be in CURVE_LENDING_CHAINS.
Inherited from
Section titled “Inherited from”CurveLendingBaseConfig.chainId
provider?
Section titled “provider?”
optionalprovider?:EvmProvider|EvmProvider[]
Defined in: protocol-lending-curve-evm/src/base.ts:21
RPC url(s) / EIP-1193 provider(s) to read through. Defaults to the account’s own.
Inherited from
Section titled “Inherited from”CurveLendingBaseConfig.provider
waitTimeoutMs?
Section titled “waitTimeoutMs?”
optionalwaitTimeoutMs?:number
Defined in: protocol-lending-curve-evm/src/base.ts:25
How long an approval may take to mine before the main transaction (default 180 000 ms).