-
Notifications
You must be signed in to change notification settings - Fork 4
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
NeoSwaps.sell
assetAmountOut
does not match the dBalance
of the Transfer
transaction
#504
Comments
Additional question: What is the @maltekliemann I don't really remember how the neo-swaps works in detail. Can I have a second pair of eyes on this? |
It seems like the AMM behaviour is explicitly represented in the transaction events. Oh my bad, we have
Use |
I admit the
The Edit. The phrase "leaving the pool" isn't exactly right either. It's actually leaving the market account AKA prize pool, but you get the idea. |
When is the |
@maltekliemann Why there are no external fees charged? @saboonikhil Can we please extract the |
@maltekliemann What is this amount |
The account got dusted, hence the transfer to the treasury. |
During the transaction. The pool account receives the fee, and LPs can then withdraw it. The pool account can be calculated from the pool ID in the same fashion as for the legacy pools. |
Because the pool has creator fees set to zero. |
Consider the following query:
I got the following json output:
The
assetAmountOut
of1567996403069
does not match the respectiveTransfer
transaction, which is ofdBalance
1536636475008
. Where went the missing1567996403069 - 1536636475008 = 31359928061
amount?The text was updated successfully, but these errors were encountered: