deploy_lighter_simple_vault

Documentation for eth_defi.lighter.testing.deploy_lighter_simple_vault function.

deploy_lighter_simple_vault(web3, deployer, asset_manager, owner, lighter_lib)

Deploy SimpleVaultV0 with LighterLib linked (other libs zeroed).

Mirrors the Hypercore test fixture: only the library under test gets a real address, the rest stay ZERO_ADDRESS from GUARD_LIBRARIES. The library itself is deployed via deploy_lighter_lib().

Parameters
Returns

The deployed SimpleVaultV0 contract.

Return type

web3.contract.contract.Contract