Skip to content

Commit

Permalink
manta (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
defisaur authored Jan 19, 2024
1 parent bb483e1 commit b5ec498
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions coin/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ func GetCoinExploreURL(c Coin, tokenID, tokenType string) (string, error) {
return fmt.Sprintf("https://explorer.linea.build/token/%s", tokenID), nil
case OPBNB:
return fmt.Sprintf("https://opbnbscan.com/token/%s", tokenID), nil
case MANTA:
return fmt.Sprintf("https://pacific-explorer.manta.network/token/%s", tokenID), nil
}

return "", errors.New("no explorer for coin: " + c.Handle)
Expand Down
4 changes: 1 addition & 3 deletions types/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,10 +378,8 @@ func GetTokenVersion(tokenType string) (TokenVersion, error) {
case BASE, AKASH, AGORIC, AXELAR, JUNO, SEI, OPBNB:
return TokenVersionV13, nil
case KAVAEVM, BOBA, METIS, NEON, LINEA, ACA, ACALAEVM, CONFLUX, IOTEXEVM, KLAYTN, MOONRIVER, MOONBEAM, MANTLE,
NATIVEINJECTIVE:
NATIVEINJECTIVE, MANTA:
return TokenVersionV14, nil
case MANTA:
return TokenVersionV15, nil
case BRC20, ERC721, ERC1155, EOS, NEP5, VET, ONTOLOGY, THETA, TOMO, POA, OASIS, ALGORAND, METER, EVMOS_ERC20,
KIP20, STRIDE, NEUTRON, FA2, CARDANO, NATIVEEVMOS, CRYPTOORG, COSMOS, OSMOSIS, STARGAZE:
return TokenVersionUndefined, nil
Expand Down

0 comments on commit b5ec498

Please sign in to comment.