Skip to content
docs

ScrvUsdVerificationError

Defined in: protocol-lending-curve-evm/src/errors.ts:23

What the read RPC reports at the scrvUSD address is not the vault this module pins: the RPC is not on Ethereum, the code is not the EIP-1167 clone of the pinned implementation, the implementation’s code hash differs, or the vault answers another apiVersion() / asset(). code is 'ScrvUsdVerificationFailed'; check names what failed, expected / observed the values compared. Nothing is approved or sent once this is thrown, withdrawals included.

new ScrvUsdVerificationError(p): ScrvUsdVerificationError

Defined in: protocol-lending-curve-evm/src/errors.ts:27

ScrvUsdCheck

string

string

string

ScrvUsdVerificationError

CurveLendingError.constructor

readonly check: ScrvUsdCheck

Defined in: protocol-lending-curve-evm/src/errors.ts:24


readonly code: string | undefined

Defined in: protocol-lending-curve-evm/src/errors.ts:6

CurveLendingError.code


readonly expected: string

Defined in: protocol-lending-curve-evm/src/errors.ts:25


readonly observed: string

Defined in: protocol-lending-curve-evm/src/errors.ts:26