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.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new ScrvUsdVerificationError(
p):ScrvUsdVerificationError
Defined in: protocol-lending-curve-evm/src/errors.ts:27
Parameters
Section titled “Parameters”expected
Section titled “expected”string
observed
Section titled “observed”string
string
Returns
Section titled “Returns”ScrvUsdVerificationError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”
readonlycheck:ScrvUsdCheck
Defined in: protocol-lending-curve-evm/src/errors.ts:24
readonlycode:string|undefined
Defined in: protocol-lending-curve-evm/src/errors.ts:6
Inherited from
Section titled “Inherited from”expected
Section titled “expected”
readonlyexpected:string
Defined in: protocol-lending-curve-evm/src/errors.ts:25
observed
Section titled “observed”
readonlyobserved:string
Defined in: protocol-lending-curve-evm/src/errors.ts:26