brinc-finance / brinc-bugbounty

Brinc Bug Bounty Program
1 stars 0 forks source link

When I switch between 2 coins the price changes [BACKEND] #20

Closed Mihay28 closed 3 years ago

Mihay28 commented 3 years ago

When I switch between 2 coins the price changes. Instead to receive 5 DAI for 11.702... BRQ I receive only 4.45467... Big difference
Switch

araskachoi commented 3 years ago

Hello! Thank you for your submission! This is acutally expected behavior as the amount that you will receive will not be the same for mint and burn. So the price calculation that you are seeing for the burning BRQ -> DAI shows you the amount you would get - which is lower because there is a higher fee to burn than there is to mint.