Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.paxoslabs.com/llms.txt

Use this file to discover all available pages before exploring further.

Before submitting transactions, check whether the vault is paused. Equivalent to SDK’s internal getPausedStates().

Contract Method

isPaused()

Returns whether the vault’s Teller contract is currently paused. Returns: booltrue if paused, false if operational

ABI

[
  {
    "inputs": [],
    "name": "isPaused",
    "outputs": [{ "name": "", "type": "bool" }],
    "stateMutability": "view",
    "type": "function"
  }
]

Usage

Call on the Teller contract (vault.tellerModuleId from Vault Discovery).
isPaused = Teller.isPaused()
If the Teller is paused, deposit and withdrawal transactions will revert with TellerIsPaused. Check pause state before submitting transactions in production to provide a better user experience.