Skip to content

Commit

Permalink
liquidator: add more LST for sanctum swap
Browse files Browse the repository at this point in the history
  • Loading branch information
farnyser committed Apr 18, 2024
1 parent 4c3814c commit 7dbd335
Showing 1 changed file with 34 additions and 30 deletions.
64 changes: 34 additions & 30 deletions lib/client/src/swap/sanctum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,37 +365,41 @@ pub async fn load_supported_token_mints(
}
}

let hardcoded_lst_mints = [
"pathdXw4He1Xk3eX84pDdDZnGKEme3GivBamGCVPZ5a",
"jupSoLaHXQiZZTSfEWMTRRgpnyFm8f6sZdosWBjx93v",
"BgYgFYq4A9a2o5S1QbWkmYVFBh7LBQL8YvugdhieFg38",
"pWrSoLAhue6jUxUkbWgmEy5rD9VJzkFmvfTDV5KgNuu",
"suPer8CPwxoJPQ7zksGMwFvjBQhjAHwUMmPV4FVatBw",
"jucy5XJ76pHVvtPZb5TKRcGQExkwit2P5s4vY8UzmpC",
"BonK1YhkXEGLZzwtcvRTip3gAL9nCeQD7ppZBLXhtTs",
"Dso1bDeDjCQxTrWHqUUi63oBvV7Mdm6WaobLbQ7gnPQ",
"Comp4ssDzXcLeu2MnLuGNNFC4cmLPMng8qWHPvzAMU1h",
"picobAEvs6w7QEknPce34wAE4gknZA9v5tTonnmHYdX",
"GRJQtWwdJmp5LLpy8JWjPgn5FnLyqSJGNhn5ZnCTFUwM",
"HUBsveNpjo5pWqNkH57QzxjQASdTVXcSK7bVKTSZtcSX",
"strng7mqqc1MBJJV6vMzYbEqnwVGvKKGKedeCvtktWA",
"LnTRntk2kTfWEY6cVB8K9649pgJbt6dJLS1Ns1GZCWg",
"st8QujHLPsX3d6HG9uQg9kJ91jFxUgruwsb1hyYXSNd",
"pumpkinsEq8xENVZE6QgTS93EN4r9iKvNxNALS1ooyp",
"CgnTSoL3DgY9SFHxcLj6CgCgKKoTBr6tp4CPAEWy25DE",
"LAinEtNLgpmCP9Rvsf5Hn8W6EhNiKLZQti1xfWMLy6X",
"vSoLxydx6akxyMD9XEcPvGYNGq6Nn66oqVb3UkGkei7",
"bSo13r4TkiE4KumL71LsHTPpL2euBYLFx6h9HP3piy1",
"GEJpt3Wjmr628FqXxTgxMce1pLntcPV4uFi8ksxMyPQh",
"J1toso1uCk3RLmjorhTtrVwY9HJ7X8V9yYac6Y7kGCPn",
"7Q2afV64in6N6SeZsAAB81TJzwDoD6zpqmHkzi9Dcavn",
"LSTxxxnJzKDFSLr4dUkPcmCf5VyryEqzPLz5j4bpxFp",
"Zippybh3S5xYYam2nvL6hVJKz1got6ShgV4DyD1XQYF",
"edge86g9cVz87xcpKpy3J77vbp4wYd9idEV562CCntt",
"So11111111111111111111111111111111111111112",
"5oVNBeEEQvYi1cX3ir8Dx5n1P7pdxydbGF2X4TxVusJm",
"7dHbWXmci3dT8UFYWYZweBLXgycu7Y3iL6trKn1Y7ARj",
"mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So",
];

// Hardcoded for now
lst_mints.insert(
Pubkey::from_str("CgntPoLka5pD5fesJYhGmUCF8KU1QS1ZmZiuAuMZr2az").expect("invalid lst mint"),
);
lst_mints.insert(
Pubkey::from_str("7ge2xKsZXmqPxa3YmXxXmzCp9Hc2ezrTxh6PECaxCwrL").expect("invalid lst mint"),
);
lst_mints.insert(
Pubkey::from_str("GUAMR8ciiaijraJeLDEDrFVaueLm9YzWWY9R7CBPL9rA").expect("invalid lst mint"),
);
lst_mints.insert(
Pubkey::from_str("Jito4APyf642JPZPx3hGc6WWJ8zPKtRbRs4P815Awbb").expect("invalid lst mint"),
);
lst_mints.insert(
Pubkey::from_str("CtMyWsrUtAwXWiGr9WjHT5fC3p3fgV8cyGpLTo2LJzG1").expect("invalid lst mint"),
);
lst_mints.insert(
Pubkey::from_str("2qyEeSAWKfU18AFthrF7JA8z8ZCi1yt76Tqs917vwQTV").expect("invalid lst mint"),
);
lst_mints.insert(
Pubkey::from_str("DqhH94PjkZsjAqEze2BEkWhFQJ6EyU6MdtMphMgnXqeK").expect("invalid lst mint"),
);
lst_mints.insert(
Pubkey::from_str("F8h46pYkaqPJNP2MRkUUUtRkf8efCkpoqehn9g1bTTm7").expect("invalid lst mint"),
);
lst_mints.insert(
Pubkey::from_str("5oc4nmbNTda9fx8Tw57ShLD132aqDK65vuHH4RU1K4LZ").expect("invalid lst mint"),
);
lst_mints.insert(
Pubkey::from_str("stk9ApL5HeVAwPLr3TLhDXdZS8ptVu7zp6ov8HFDuMi").expect("invalid lst mint"),
);
lst_mints.extend(hardcoded_lst_mints.map(|x| Pubkey::from_str(x).expect("invalid mint")));

Ok(lst_mints)
}

0 comments on commit 7dbd335

Please sign in to comment.