Skip to main content

verifyRegistryTransition

@totemsdk/liquidity-bond


@totemsdk/liquidity-bond / verifyRegistryTransition

Function: verifyRegistryTransition()

verifyRegistryTransition(registry, transition, verifier, opts?): Promise<{ reasons: string[]; valid: boolean; }>

Root-based transition verification (#6): recompute root, then (when the verifier exposes verify) check the signature and signer identity.

Parameters

registry

LiquidityBondRegistryState

transition

RegistrySignedTransition

verifier

RegistryRootVerifier

opts?

RegistryRootOptions

Returns

Promise<{ reasons: string[]; valid: boolean; }>