Skip to content

Commit

Permalink
Added default script class to minswap
Browse files Browse the repository at this point in the history
  • Loading branch information
theeldermillenial committed Dec 4, 2024
1 parent cd4b483 commit fbb0f30
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/charli3_dendrite/dexs/amm/minswap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fbb0f30

Please sign in to comment.