From 341a78fbeee249aad4ad2d4b0cdda2376063164b Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Thu, 7 Nov 2024 13:32:01 +0300 Subject: [PATCH 1/3] Add 15 more token tickers --- libsol/token_info.c | 92 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 91 insertions(+), 1 deletion(-) diff --git a/libsol/token_info.c b/libsol/token_info.c index feebeec3..7c22fbe0 100644 --- a/libsol/token_info.c +++ b/libsol/token_info.c @@ -576,7 +576,97 @@ const TokenInfo TOKEN_REGISTRY[] = { {{{0x29, 0xfa, 0x84, 0xe3, 0x98, 0x00, 0xdd, 0x05, 0xc3, 0x0e, 0x17, 0x4b, 0x61, 0xa2, 0x32, 0xe5, 0x0f, 0xad, 0xf1, 0xd4, 0xeb, 0x86, 0x90, 0xdb, 0x78, 0x35, 0x45, 0x0c, 0x42, 0x4b, 0x3b, 0xf8}}, - "boden"}}; + "boden"}, + + // BZLbGTNCSFfoth2GYDtwr7e4imWzpR5jqcUuGEwr646K + {{{0x9c, 0xdd, 0x9b, 0x46, 0x6a, 0xf3, 0x24, 0xc5, 0x8b, 0x65, 0x3f, + 0x6e, 0xac, 0x5e, 0x78, 0xf7, 0x48, 0xe5, 0x57, 0x78, 0xca, 0xed, + 0x00, 0xa9, 0x0d, 0x61, 0xe7, 0x0c, 0x06, 0x15, 0x87, 0xf8}}, + "IO"}, + + // 7BgBvyjrZX1YKz4oh9mjb8ZScatkkwb8DzFx7LoiVkM3 + {{{0x5b, 0xe2, 0x3d, 0x7c, 0x88, 0x1e, 0x44, 0x5a, 0x93, 0x87, 0xe6, + 0x5e, 0xe9, 0xb2, 0xba, 0x25, 0xa1, 0xff, 0xa3, 0x42, 0x90, 0x08, + 0xb5, 0x91, 0x78, 0x4f, 0xbe, 0x63, 0x00, 0x09, 0x1d, 0x06}}, + "SLERF"}, + + // KMNo3nJsBXfcpJTVhZcXLW7RmTwTt4GVFE7suUBo9sS + {{{0x04, 0xb3, 0x7e, 0x56, 0x63, 0xeb, 0xe9, 0x15, 0xd8, 0x10, 0xb2, + 0x0f, 0x0a, 0x0e, 0x3e, 0x0d, 0x2d, 0x46, 0x1d, 0x1e, 0xfa, 0xb2, + 0xd6, 0x00, 0xf6, 0xa3, 0x6b, 0x14, 0x1e, 0x1d, 0xc4, 0x3d}}, + "KMNO"}, + + // MEW1gQWJ3nEXg2qgERiKu7FAFj79PHvQVREQUzScPP5 + {{{0x05, 0x2e, 0xe1, 0x83, 0x38, 0x96, 0x96, 0x9f, 0x8c, 0xd1, 0xcd, + 0x46, 0x83, 0x18, 0xc5, 0x98, 0xc7, 0xe0, 0x58, 0x96, 0x07, 0x4a, + 0x59, 0x1c, 0x2a, 0xe0, 0x98, 0x60, 0x2f, 0x16, 0x80, 0x00}}, + "ME"}, + + // NYANpAp9Cr7YarBNrby7Xx4xU6No6JKTBuohNA3yscP + {{{0x05, 0x84, 0x6e, 0x7c, 0x90, 0x14, 0x4a, 0x9b, 0xb8, 0xe9, 0x53, + 0xc8, 0xf8, 0x43, 0x7a, 0xa8, 0xd4, 0x6f, 0x5d, 0x64, 0x88, 0x88, + 0x91, 0x53, 0x63, 0x34, 0x54, 0x23, 0xad, 0x7b, 0x83, 0xcc}}, + "NYAN"}, + + // WskzsKqEW3ZsmrhPAevfVZb6PuuLzWov9mJWZsfDePC + {{{0x07, 0xa7, 0x3c, 0x83, 0x03, 0x08, 0x33, 0xb6, 0x02, 0x41, 0x65, + 0xe3, 0x25, 0x64, 0x1c, 0xa8, 0x37, 0xf9, 0x5f, 0x5b, 0xfe, 0xb1, + 0x5a, 0xa2, 0xde, 0x75, 0xe3, 0xea, 0x4c, 0x51, 0xb8, 0x3b}}, + "PUNDU"}, + + // Saber2gLauYim4Mvftnrasomsv6NvAuncvMEZwcLpD1 + {{{0x06, 0x8d, 0x82, 0x4d, 0x56, 0xf0, 0xee, 0xbb, 0x75, 0x66, 0xe6, + 0xee, 0x1d, 0x65, 0xa9, 0xd2, 0x60, 0xff, 0x50, 0x9a, 0x4b, 0x5c, + 0x69, 0xb6, 0x26, 0x9a, 0xd6, 0x4d, 0xe3, 0xcd, 0x50, 0xbc}}, + "SBR"}, + + // 2wme8EVkw8qsfSk2B3QeX4S64ac6wxHPXb3GrdckEkio + {{{0x1c, 0xe3, 0x86, 0x7b, 0x2c, 0x5d, 0x1d, 0xb6, 0x24, 0x66, 0x84, + 0xe3, 0x4b, 0x41, 0x76, 0xff, 0x98, 0x56, 0x78, 0xb0, 0xdb, 0x29, + 0x96, 0x85, 0xd4, 0x11, 0xf2, 0x87, 0x63, 0xca, 0x57, 0x9c}}, + "SOLS"}, + + // 8wXtPeU6557ETkp9WHFY1n1EcU6NxDvbAggHGsMYiHsB + {{{0x75, 0xfa, 0x18, 0x5a, 0xaf, 0xf1, 0xc7, 0x81, 0xb0, 0x72, 0x69, + 0xa4, 0xdf, 0xd7, 0x84, 0x9a, 0xdd, 0x90, 0xa6, 0xdb, 0x20, 0x7b, + 0xf6, 0x1c, 0xff, 0x50, 0x6c, 0x9b, 0x3d, 0x52, 0x53, 0x76}}, + "GME"}, + + // SRMuApVNdxXokk5GT7XD5cUUgXMBCoAz2LHeuAoKWRt + {{{0x06, 0x83, 0x10, 0x86, 0x1a, 0x98, 0x32, 0x7d, 0x05, 0x50, 0x57, + 0x4d, 0x84, 0x41, 0x8a, 0xa6, 0xe1, 0x0c, 0x33, 0x52, 0xdd, 0xaa, + 0x7f, 0xd7, 0xf5, 0x81, 0x52, 0xcc, 0xee, 0xb2, 0x38, 0x87}}, + "SRM"}, + + // 7iT1GRYYhEop2nV1dyCwK2MGyLmPHq47WhPGSwiqcUg5 + {{{0x63, 0xc4, 0x56, 0x94, 0xcb, 0x85, 0xe8, 0x43, 0xbb, 0x0b, 0xac, + 0x31, 0x2f, 0xc3, 0x5f, 0xbc, 0xbf, 0x58, 0x17, 0xcb, 0x43, 0x48, + 0x48, 0xc8, 0xd6, 0x1c, 0x73, 0xb2, 0xfa, 0x62, 0xb3, 0xbe}}, + "ANALOS"}, + + // AujTJJ7aMS8LDo3bFzoyXDwT3jBALUbu4VZhzZdTZLmG + {{{0x93, 0x3b, 0x62, 0xfa, 0xe4, 0x36, 0x57, 0xcf, 0xc3, 0xaa, 0xca, + 0x34, 0xae, 0xfb, 0x49, 0xf3, 0x91, 0x3c, 0x0a, 0x61, 0xda, 0x49, + 0x50, 0x57, 0x28, 0x6a, 0xd1, 0x1d, 0x35, 0x2f, 0xb5, 0x53}}, + "BEER"}, + + // AHW5N8iqZobTcBepkSJzZ61XtAuSzBDcpxtrLG6KUKPk + {{{0x89, 0xf3, 0x59, 0xcc, 0x0b, 0x2e, 0x25, 0x66, 0x65, 0x27, 0x84, + 0xa0, 0x59, 0x41, 0xb5, 0xb4, 0x80, 0x82, 0xaf, 0xe7, 0xa7, 0x79, + 0x88, 0x2a, 0x69, 0xbc, 0x63, 0x23, 0xec, 0x18, 0xd3, 0x67}}, + "BENDOG"}, + + // 4Cnk9EPnW5ixfLZatCPJjDB1PUtcRpVVgTQukm9epump + {{{0x2f, 0x98, 0x2c, 0x21, 0x9d, 0x58, 0x1e, 0x23, 0xf4, 0x10, 0xf3, + 0x20, 0xee, 0x59, 0xa5, 0x43, 0xda, 0xdd, 0xa9, 0xd7, 0x92, 0x5d, + 0x69, 0x95, 0xa8, 0x89, 0x82, 0xeb, 0x5e, 0x63, 0xf3, 0x9f}}, + "DADDY"}, + + // ED5nyyWEzpPPiWimP8vYm7sD7TD3LAt3Q3gRTWHzPJBY + {{{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"}}; const char* get_token_symbol(const Pubkey* mint_address) { for (size_t i = 0; i < ARRAY_LEN(TOKEN_REGISTRY); i++) { From b994e544df2c4f10b7a1b2be291c096e2b03e91d Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Thu, 7 Nov 2024 13:33:14 +0300 Subject: [PATCH 2/3] Bump app version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 67ccee1d..27076220 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ APPNAME = "Solana" # Application version APPVERSION_M = 1 APPVERSION_N = 5 -APPVERSION_P = 4 +APPVERSION_P = 5 APPVERSION = "$(APPVERSION_M).$(APPVERSION_N).$(APPVERSION_P)" # Application source files From bd6ca55138c288dbf9cabf6c65f7b59c2cdbb846 Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Thu, 7 Nov 2024 16:17:09 +0300 Subject: [PATCH 3/3] Fix linting offences --- libsol/token_info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsol/token_info.c b/libsol/token_info.c index 7c22fbe0..ddfbdb97 100644 --- a/libsol/token_info.c +++ b/libsol/token_info.c @@ -617,7 +617,7 @@ const TokenInfo TOKEN_REGISTRY[] = { // Saber2gLauYim4Mvftnrasomsv6NvAuncvMEZwcLpD1 {{{0x06, 0x8d, 0x82, 0x4d, 0x56, 0xf0, 0xee, 0xbb, 0x75, 0x66, 0xe6, 0xee, 0x1d, 0x65, 0xa9, 0xd2, 0x60, 0xff, 0x50, 0x9a, 0x4b, 0x5c, - 0x69, 0xb6, 0x26, 0x9a, 0xd6, 0x4d, 0xe3, 0xcd, 0x50, 0xbc}}, + 0x69, 0xb6, 0x26, 0x9a, 0xd6, 0x4d, 0xe3, 0xcd, 0x50, 0xbc}}, "SBR"}, // 2wme8EVkw8qsfSk2B3QeX4S64ac6wxHPXb3GrdckEkio @@ -629,7 +629,7 @@ const TokenInfo TOKEN_REGISTRY[] = { // 8wXtPeU6557ETkp9WHFY1n1EcU6NxDvbAggHGsMYiHsB {{{0x75, 0xfa, 0x18, 0x5a, 0xaf, 0xf1, 0xc7, 0x81, 0xb0, 0x72, 0x69, 0xa4, 0xdf, 0xd7, 0x84, 0x9a, 0xdd, 0x90, 0xa6, 0xdb, 0x20, 0x7b, - 0xf6, 0x1c, 0xff, 0x50, 0x6c, 0x9b, 0x3d, 0x52, 0x53, 0x76}}, + 0xf6, 0x1c, 0xff, 0x50, 0x6c, 0x9b, 0x3d, 0x52, 0x53, 0x76}}, "GME"}, // SRMuApVNdxXokk5GT7XD5cUUgXMBCoAz2LHeuAoKWRt