Skip to content

Commit 0276130

Browse files
Merge pull request #421 from tonkeeper/update_rates
update the calculation of rates for the dedust pools
2 parents 057e5aa + d393795 commit 0276130

File tree

4 files changed

+193
-137
lines changed

4 files changed

+193
-137
lines changed

pkg/rates/calculator.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ func (c *calculator) GetMarketsTonPrice() ([]Market, error) {
115115
}
116116

117117
type Mock struct {
118-
TonApiToken string
118+
TonApiToken string
119+
StonFiResultUrl string
120+
DedustResultUrl string
119121
}
120122

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

0 commit comments

Comments
 (0)