Skip to content

Commit

Permalink
feat : add 10 new SPL token tickers
Browse files Browse the repository at this point in the history
  • Loading branch information
vforgeoux-ledger committed Nov 29, 2024
1 parent 20f4fd3 commit 2ed92f1
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ APPNAME = "Solana"
# Application version
APPVERSION_M = 1
APPVERSION_N = 5
APPVERSION_P = 5
APPVERSION_P = 6
APPVERSION = "$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)"

# Application source files
Expand Down
62 changes: 61 additions & 1 deletion libsol/token_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,67 @@ const TokenInfo TOKEN_REGISTRY[] = {
{{{0xc4, 0x40, 0x51, 0xa9, 0x11, 0xb5, 0x4c, 0x7e, 0xcf, 0xfc, 0x7e,
0xe0, 0xb0, 0xa4, 0x0a, 0xf4, 0x8b, 0x32, 0x8a, 0xe7, 0x55, 0xa9,
0x95, 0x33, 0xc8, 0x40, 0x2c, 0xb2, 0x6d, 0xf4, 0x38, 0x07}},
"MOODENG"}};
"MOODENG"},

// 2qEHjDLDLbuBgRYvsxhc5D6uDWAivNFZGan56P1tpump
{{{0x1b, 0x36, 0x97, 0x4c, 0xca, 0xbe, 0x2b, 0xdb, 0x37, 0xc7, 0xad,
0xa3, 0xc3, 0x33, 0x45, 0x12, 0x6f, 0x97, 0x3d, 0xa0, 0xb5, 0x43,
0x00, 0xc1, 0xae, 0x06, 0xb8, 0x80, 0xc2, 0x4a, 0xac, 0xff}},
"Pnut"},

// CzLSujWBLFsSjncfkh59rUFqvafWcY5tzedWJSuypump
{{{0xb2, 0x20, 0xa6, 0x99, 0x04, 0xb6, 0xee, 0xd8, 0x8a, 0x0b, 0xe9,
0x89, 0x14, 0x29, 0x80, 0xfc, 0xd1, 0xa8, 0x1e, 0x85, 0x47, 0x33,
0x32, 0x83, 0x26, 0x31, 0x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x76, 0x1d, 0xd6, 0x86, 0x55, 0x8c, 0xa0, 0x1d, 0xf7, 0x5a, 0x12,
0x0d, 0x2a, 0x50, 0xdd, 0x8f, 0xf7, 0xb2, 0xde, 0xe5, 0x0d, 0xf5,
0xf2, 0x0d, 0xec, 0x8d, 0x49, 0x23, 0x19, 0xb5, 0xdf, 0x83}},
"ZEREBRO"},

// HeLp6NuQkmYB4pYWo2zYs22mESHXPQYzXbB8n4V98jwC
{{{0xf7, 0x4b, 0xe1, 0xd7, 0x6a, 0xb9, 0xa6, 0xc2, 0xbe, 0x49, 0x99,
0x66, 0x3f, 0xc6, 0xa0, 0xe1, 0x99, 0x74, 0x00, 0x0e, 0x83, 0x6e,
0xf3, 0x0c, 0x5b, 0x62, 0x86, 0xf4, 0x2c, 0x02, 0x0f, 0x87}},
"ai16z"},

// GJtJuWD9qYcCkrwMBmtY1tpapV1sKfB2zUv9Q4aqpump
{{{0xe3, 0x74, 0x31, 0x4d, 0xd6, 0xca, 0xa0, 0xbc, 0xb6, 0x2e, 0x9a,
0xcd, 0xc2, 0x87, 0xe7, 0xc5, 0x8f, 0x8a, 0x58, 0xa5, 0xfd, 0x33,
0xc2, 0x68, 0x21, 0x82, 0xc4, 0x3c, 0x45, 0x57, 0x11, 0xaf}},
"RIF"},

// FvgqHMfL9yn39V79huDPy3YUNDoYJpuLWng2JfmQpump
{{{0xdd, 0xc4, 0x70, 0x44, 0x57, 0xe3, 0x72, 0xc5, 0x87, 0x22, 0x56,
0xa5, 0x44, 0xc5, 0xf1, 0xa2, 0x53, 0xd9, 0xc8, 0xdb, 0xc9, 0x41,
0x01, 0xc8, 0xdd, 0x6e, 0x28, 0x5a, 0xb4, 0x1e, 0xe9, 0xbf}},
"URO"}};

const char* get_token_symbol(const Pubkey* mint_address) {
for (size_t i = 0; i < ARRAY_LEN(TOKEN_REGISTRY); i++) {
Expand Down

0 comments on commit 2ed92f1

Please sign in to comment.