force_ostium_v15_settlement
Documentation for eth_defi.erc_4626.vault_protocol.gains.testing.force_ostium_v15_settlement function.
- force_ostium_v15_settlement(vault, any_account, padding_seconds=1, gas_limit=3000000)
Force a settlement on Ostium V1.5 by advancing Anvil time and calling
tryNewSettlement().tryNewSettlement()is public and permissionless — it executes whenblock.timestamp >= lastSettlementTs + maxSettlementInterval.- Parameters
vault (eth_defi.erc_4626.vault_protocol.gains.vault.OstiumVault) – Ostium V1.5 vault instance.
any_account (eth_typing.evm.HexAddress) – Any account to pay gas for the transaction.
padding_seconds (int) – Extra seconds past the settlement threshold.
gas_limit (int) –