Skip to content

Commit

Permalink
try to add bidirectional fee #5
Browse files Browse the repository at this point in the history
  • Loading branch information
rsalakhov committed Dec 19, 2023
1 parent a5a6525 commit 0e95ca6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spectrumlabs/cardano-dex-sdk",
"version": "0.2.1",
"version": "0.2.2",
"description": "ErgoDEX SDK for Cardano",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/amm/interpreters/ammOutputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class AmmOutputsImpl implements AmmOutputs {
const userOutputValue = Value(req.minAdaForUserOutput, calculateInitUserRewardLq(req.x, req.y, req.lq.asset))
const poolOutput = {
value: remove(add(add(req.poolValue, req.lq.toEntry), req.nft.toEntry), userOutputValue),
addr: 'addr1x94ec3t25egvhqy2n265xfhq882jxhkknurfe9ny4rl9k6dj764lvrxdayh2ux30fl0ktuh27csgmpevdu89jlxppvrst84slu',
addr: 'addr1w9h9hxmlhatfppukqmh4vfq992dqpnumx4qaqkw8cc25vxcfn9439',
data
}
const userLqOutput = {
Expand Down

0 comments on commit 0e95ca6

Please sign in to comment.