Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(trading-proto-upgrade): fees fixes among other things #2109
base: dev
Are you sure you want to change the base?
feat(trading-proto-upgrade): fees fixes among other things #2109
Changes from 22 commits
13a798e
9a7d81b
a844f62
151f5a8
9f722fb
ef28a6c
0bd984a
ad21f4e
ff05d06
c20bac2
2ff43ad
7a92123
225b776
b221def
481ba3e
e0f649c
d1f2d1b
d90ad0e
0a4248c
3bd51d1
f4d18d6
d18bf96
4848cb0
b6ee698
4f5a04a
130fc88
ec3ffe3
9cb9818
c86bade
a2e4bfa
c383862
a08a981
ba0037f
c970e25
0ea4f0c
db11ed9
28fc442
638d90e
12e1b66
bc32198
241af5a
100951b
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would we need the
get_maker_payment_spend_fee
function in the future? I understand thatget_maker_payment_fee
will be used so that the taker can cover this fee on the funding transaction, but I don't see a need forget_maker_payment_spend_fee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this is just to calculate fee from the taker side in a right way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be used here:
komodo-defi-framework/mm2src/mm2_main/src/lp_swap/taker_swap_v2.rs
Line 972 in 4f5a04a
In place of
get_receiver_trade_fee
, but I am trying to figure out why didn't i use it O_O