mento-protocol / mento-core

Core smart contracts of the Mento protocol.
https://mento.org
GNU General Public License v3.0
20 stars 9 forks source link

Expose StableToken.sol burn function publicly? #80

Closed tobikuhlmann closed 1 year ago

tobikuhlmann commented 1 year ago
Description

When the reserve MultiSig buys back stables from market makers in OTC trades, the cLabs burn bot has been slowly burning large amounts of them in the past, and then sending the received CELO back to the reserve. This is a bit of a pain an continuous push down of price in the constant product AMM.

A more efficient way could be to expose the stable token burn function publicly, such that anybody can burn stables in exchange for nothing, which is the same as receiving CELO and sending it back to the reserve.

Definition of done
tobikuhlmann commented 1 year ago

closing as implemented in Broker.sol