-
Notifications
You must be signed in to change notification settings - Fork 8
ZAIArbitrageBot
senamakel edited this page Jul 27, 2024
·
2 revisions
A permission-less arbitrage bot that can mint and burn ZAI stablecoin and maintain the peg using the PSM module
This uses the odos router to swap tokens
contract IStablecoin zaicontract IPegStabilityModule psmconstructor(address _zai, address _psm) publicfunction arbitrage() externalExecutes an arbitrage trade to mint or burn ZAI stablecoin
function _buy(uint256 amount) internalfunction _sell(uint256 amount) internal