Skip to content

Commit

Permalink
remove megaton rates and refactor dedust and stonfi pools
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhar-petukhov committed Aug 6, 2024
1 parent d7cb5eb commit d393795
Show file tree
Hide file tree
Showing 4 changed files with 193 additions and 188 deletions.
4 changes: 3 additions & 1 deletion pkg/rates/calculator.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ func (c *calculator) GetMarketsTonPrice() ([]Market, error) {
}

type Mock struct {
TonApiToken string
TonApiToken string
StonFiResultUrl string
DedustResultUrl string
}

func (m Mock) GetRates(date int64) (map[string]float64, error) {
Expand Down
Loading

0 comments on commit d393795

Please sign in to comment.