From 19dfea130587c737985c3ed282b0c84025e97a71 Mon Sep 17 00:00:00 2001 From: Mikko Ohtamaa Date: Tue, 3 Dec 2024 09:45:15 +0100 Subject: [PATCH] Update valuation hook --- eth_defi/lagoon/vault.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/eth_defi/lagoon/vault.py b/eth_defi/lagoon/vault.py index cbc087c78..f70f65ac4 100644 --- a/eth_defi/lagoon/vault.py +++ b/eth_defi/lagoon/vault.py @@ -168,5 +168,17 @@ def transact_through_module( ) return bound_func + def post_valuation_commitee( + self, + portfolio: VaultPortfolio, + ): + """Update the valuations of this vault. + + - Lagoon vault does not currently track individual positions, but takes a "total value" number + + - Updating this number also allows deposits and redemptions to proceed + """ + raise NotImplementedError() +