issues
search
deso-protocol
/
backend
HTTP API for a DeSo node
https://docs.deso.org
MIT License
133
stars
88
forks
source link
New endpoint to support trading fees on limit orders for Openfund and Focus
#640
Open
diamondhands0
opened
2 weeks ago
diamondhands0
commented
2 weeks ago
Fees can be added to a market by the profile owner.
When fees are set, orders created for a market will automatically include fees.
All of the return values are optimized for frontend display, so that no math or logic needs to live outside of this endpoint.
Enables charging fees on Openfund and Focus.
Thoroughly tested by amm-service chain_utils.go (~100% coverage)