Skip to content

@armada/sdk / index / readShieldsPaused

Function: readShieldsPaused()

readShieldsPaused(ethCall, shieldPauseController): Promise<boolean>

Defined in: src/tx/preflight.ts:15

Read ShieldPauseController.shieldsPaused() (SPEC §4.7 shield-pause). Takes an injected ethCall ((tx) => provider.call(tx)) so it's testable without a chain. A shield builder wires the result as runPreflight({ shieldsPaused }) — shields are paused ⇒ the shield-pause finding fails. This is a SHIELD-path check; the wallet's transfer/unshield preflight does not run it.

Parameters

ethCall

(tx) => Promise<string>

shieldPauseController

string

Returns

Promise<boolean>