status-go/services/wallet/token/uniswap_tokenstore.go

33 lines
581 B
Go
Raw Permalink Normal View History

package token
type uniswapStore struct {
}
func newUniswapStore() *uniswapStore {
2023-06-14 13:16:15 +00:00
return &uniswapStore{}
}
2023-10-17 15:05:05 +00:00
func (s *uniswapStore) GetTokens() []*Token {
for _, token := range uniswapTokens {
token.TokenListID = "uniswap"
}
2023-06-14 13:16:15 +00:00
return uniswapTokens
}
2023-10-17 15:05:05 +00:00
func (s *uniswapStore) GetName() string {
return "Uniswap Labs Default Token List"
}
func (s *uniswapStore) GetVersion() string {
return "11.8.0"
}
func (s *uniswapStore) GetUpdatedAt() int64 {
return 1697613003
}
func (s *uniswapStore) GetSource() string {
return "https://gateway.ipfs.io/ipns/tokens.uniswap.org"
}