should_enable_hypercore_guard
Documentation for eth_defi.lagoon.deployment.should_enable_hypercore_guard function.
- should_enable_hypercore_guard(*, chain_id, any_hypercore_vault, hypercore_vaults)
Should Hypercore guard support be enabled for this deployment.
any_hypercore_vault=Trueintentionally bypasses only the per-vault Hypercore address check. Hypercore deposits and withdrawals still require CoreWriter actions, the CoreDepositWallet approval/target, and ERC-20 token validation to be explicitly whitelisted.- Parameters
- Returns
Truewhen the deployment must install Hypercore guard rules.- Return type