the current price feed struct is fetching the first float in the response of any GET endpoint. it works for coingecko API but it is very fragile. we need a proper abstraction for the price feed, and an easy way to set it in the operator UI.
https://github.com/arkade-os/solver/blob/master/pkg/banco/price.go
the current price feed struct is fetching the first float in the response of any GET endpoint. it works for coingecko API but it is very fragile. we need a proper abstraction for the price feed, and an easy way to set it in the operator UI.
https://github.com/arkade-os/solver/blob/master/pkg/banco/price.go