Skip to content

Commit

Permalink
node: Added sweatcoin to governor limits (wormhole-foundation#1580)
Browse files Browse the repository at this point in the history
  • Loading branch information
kev1n-peters authored Sep 12, 2022
1 parent 3288b0a commit ac2264c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions node/pkg/governor/mainnet_tokens.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ func tokenList() []tokenConfigEntry {
tokenConfigEntry{chain: 14, addr: "000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a", symbol: "cUSD", coinGeckoId: "celo-dollar", decimals: 8, price: 0.993661}, // Addr: 0x765de816845861e75a25fca122bb6898b8b1282a, Notional: 1
tokenConfigEntry{chain: 14, addr: "000000000000000000000000d8763cba276a3738e6de85b4b3bf5fded6d6ca73", symbol: "cEUR", coinGeckoId: "celo-euro", decimals: 8, price: 1.009}, // Addr: 0xd8763cba276a3738e6de85b4b3bf5fded6d6ca73, Notional: 101465
tokenConfigEntry{chain: 15, addr: "0000000000000000000000000000000000000000000000000000000000000000", symbol: "NEAR", coinGeckoId: "near", decimals: 8, price: 4.330}, // *** manually added
tokenConfigEntry{chain: 15, addr: "67499b7b8f58eaeb3cd81aea1d1ce9f7f722fd7750ceb2bed13e255073c25e2a", symbol: "SWEAT", coinGeckoId: "sweatcoin", decimals: 8, price: 0.007}, // *** manually added
tokenConfigEntry{chain: 18, addr: "01fa6c6fbc36d8c245b0a852a43eb5d644e8b4c477b27bfab9537c10945939da", symbol: "LUNA", coinGeckoId: "terra-luna-2", decimals: 6, price: 1.99}, // Addr: uluna, Notional: 1182
}
}
2 changes: 1 addition & 1 deletion node/pkg/governor/mainnet_tokens_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestTokenListSize(t *testing.T) {

/* Assuming that governed tokens will need to be updated every time
we regenerate it */
assert.Equal(t, 126, len(tokenConfigEntries))
assert.Equal(t, 127, len(tokenConfigEntries))
}

func TestTokenListFloor(t *testing.T) {
Expand Down

0 comments on commit ac2264c

Please sign in to comment.