indexed-finance / circuit-breaker

MIT License
5 stars 2 forks source link

Update To Use Circuit Breaker Contract #19

Closed bonedaddy closed 3 years ago

bonedaddy commented 3 years ago

This makes a change so that instead of calling the controller directly, we derive the the circuit breaker contract address from the controller, and then call the circuit breaker contract. As the circuit breaker contract uses the same function sig as the controller for the public swap function we reuse the same bindings package.