Skip to content

Commit

Permalink
sell asset use list
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowbean committed Oct 17, 2024
1 parent 99e42c8 commit 480b82d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions absbox/local/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -957,8 +957,8 @@ def mkMod(y: dict) -> tuple:
return mkTag(("PayIntResidual", [l, vStr(source), vStr(target)]))
case ["支付收益", source, target] | ["payIntResidual", source, target]:
return mkTag(("PayIntResidual", [None, vStr(source), vStr(target)]))
case ["出售资产", liq, target, pName] | ["sellAsset", liq, target, pName]:
return mkTag(("LiquidatePool", [mkLiqMethod(liq), vStr(target), mkPid(pName)]))
case ["出售资产", liq, target, pNames] | ["sellAsset", liq, target, pNames]:
return mkTag(("LiquidatePool", [mkLiqMethod(liq), vStr(target), lmap(mkPid,pNames)]))
case ["出售资产", liq, target] | ["sellAsset", liq, target]:
return mkTag(("LiquidatePool", [mkLiqMethod(liq), vStr(target), None]))
case ["流动性支持", source, liqType, target, limit] | ["liqSupport", source, liqType, target, limit]:
Expand Down

0 comments on commit 480b82d

Please sign in to comment.