From fbb0f30bb2c241c795e8068612b04c555c214744 Mon Sep 17 00:00:00 2001 From: Elder Millenial Date: Tue, 3 Dec 2024 21:14:34 -0500 Subject: [PATCH] Added default script class to minswap --- src/charli3_dendrite/dexs/amm/minswap.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/charli3_dendrite/dexs/amm/minswap.py b/src/charli3_dendrite/dexs/amm/minswap.py index e33e3d6..01a6737 100644 --- a/src/charli3_dendrite/dexs/amm/minswap.py +++ b/src/charli3_dendrite/dexs/amm/minswap.py @@ -945,6 +945,10 @@ def stake_address(self) -> Address: def order_datum_class(self) -> type[MinswapV2OrderDatum]: return MinswapV2OrderDatum + @classmethod + def default_script_class(cls) -> type[PlutusV1Script] | type[PlutusV2Script]: + return PlutusV2Script + @classmethod def script_class(self) -> type[PlutusV2Script]: return PlutusV2Script