hive-engine / steemsmartcontracts

MIT License
20 stars 23 forks source link

Contract Update: marketpools fee #132

Closed donchate closed 2 years ago

donchate commented 2 years ago

Addition of a 0.25% fee for swapping tokens. The fee is immediately deposited to liquidity reserves and increases the proportional value of all liquidity provider shares. LPs realize the gain when removing liquidity.

reazuliqbal commented 2 years ago

Hi, is it possible to emit the fee charged as transaction event? It would be very helpful while doing calculation for tax purpose.

donchate commented 2 years ago

Moved fee to params and added fee to emit.