Skip to content

Commit

Permalink
Add DKK, NOK
Browse files Browse the repository at this point in the history
  • Loading branch information
wlsaud619 committed May 31, 2021
1 parent 47fb6a2 commit 7590230
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ By default, Tendermint waits 10 seconds for the transaction to be committed. But
And make sure that you include ukrw in minimum gas price in terrad.toml to let users pay the fee by ukrw.

## Changelog
#### v0.0.5-alpha.10
Add vote list for Proposal#83: `{DKK, NOK}`

#### v0.0.5-alpha.9-b
Add vote list for Proposal#78: `{SEK}`(by <strong>@hanjukim</strong>)
To use the Systemd service, you need to enter the `name` and `password` in the **[Feeder]** part of `config.toml`
Expand Down
2 changes: 1 addition & 1 deletion cmd/terra-oracle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
)

var (
version = "v0.0.5-alpha.9-b"
version = "v0.0.5-alpha.10"
logger = log.NewTMLogger(log.NewSyncWriter(os.Stdout))
)

Expand Down
2 changes: 1 addition & 1 deletion oracle/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ var (
voteMode string
salt, exchangeRatesStr = []string{"1234", ""}, []string{"", ""}

denoms = []string{"krw", "usd", "eur", "mnt", "cny", "jpy", "gbp", "inr", "cad", "chf", "hkd", "sgd", "aud", "sdr", "thb", "sek"}
denoms = []string{"krw", "usd", "eur", "mnt", "cny", "jpy", "gbp", "inr", "cad", "chf", "hkd", "sgd", "aud", "sdr", "thb", "sek", "dkk", "nok"}
)

func (os *OracleService) init() error {
Expand Down
2 changes: 1 addition & 1 deletion price/stables.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type APILayerResponse struct {
}

var (
stables = []string{"XDR", "MNT", "EUR", "CNY", "JPY", "GBP", "INR", "CAD", "CHF", "HKD", "SGD", "AUD", "THB", "SEK"}
stables = []string{"XDR", "MNT", "EUR", "CNY", "JPY", "GBP", "INR", "CAD", "CHF", "HKD", "SGD", "AUD", "THB", "SEK", "DKK", "NOK"}
)

func (ps *PriceService) stablesToUsd(logger log.Logger) {
Expand Down

0 comments on commit 7590230

Please sign in to comment.