Skip to content

Commit

Permalink
Release 1.7.2 (#21)
Browse files Browse the repository at this point in the history
* Whitelist Exponent fmt

* Add program ids
  • Loading branch information
oeble authored Oct 24, 2024
1 parent 5efd4dd commit 2f628cd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

Kamino Lending is an open source software, for a lending protocol smart contract for the Solana blockchain.

## Deployments

Klend is deployed using the following Program Ids:

* Mainnet: `KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD`
* Staging (Mainnet): `SLendK7ySfcEzyaFqy93gDnD3RtrpXJcnRwb6zFHJSh`
* Devnet: `KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD`

## License

This software and codebase is licensed under the Apache License, Version 2.0 (the "License");
Expand Down
9 changes: 5 additions & 4 deletions programs/klend/src/utils/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,11 @@ pub const BESTLEND_ID_MAINNET: Pubkey = pubkey!("bestdGyQeo7mgaSRNgEYdtjhsryNbP8

pub const DIVVY_ID_MAINNET: Pubkey = pubkey!("dvyFwAPniptQNb1ey4eM12L8iLHrzdiDsPPDndd6xAR");

pub const EXPONENT_INTEGRATION_ID_MAINNET: Pubkey = pubkey!("XPK1ndTK1xrgRg99ifvdPP1exrx8D1mRXTuxBkkroCx");

pub const EXPONENT_CORE_ID_MAINNET: Pubkey = pubkey!("ExponentnaRg3CQbW6dqQNZKXp7gtZ9DGMp1cwC4HAS7");
pub const EXPONENT_INTEGRATION_ID_MAINNET: Pubkey =
pubkey!("XPK1ndTK1xrgRg99ifvdPP1exrx8D1mRXTuxBkkroCx");

pub const EXPONENT_CORE_ID_MAINNET: Pubkey =
pubkey!("ExponentnaRg3CQbW6dqQNZKXp7gtZ9DGMp1cwC4HAS7");

pub const CPI_WHITELISTED_ACCOUNTS: [CpiWhitelistedAccount; 14] = [
CpiWhitelistedAccount::new(FLEX_LEND_ID_MAINNET_PROD, 1),
Expand All @@ -142,7 +143,7 @@ pub const CPI_WHITELISTED_ACCOUNTS: [CpiWhitelistedAccount; 14] = [
CpiWhitelistedAccount::new(KAMINO_VAULT_MAINNET, 1),
CpiWhitelistedAccount::new(DIVVY_ID_MAINNET, 1),
CpiWhitelistedAccount::new(EXPONENT_INTEGRATION_ID_MAINNET, 2),
CpiWhitelistedAccount::new(EXPONENT_CORE_ID_MAINNET, 3)
CpiWhitelistedAccount::new(EXPONENT_CORE_ID_MAINNET, 3),
];

pub struct CpiWhitelistedAccount {
Expand Down

0 comments on commit 2f628cd

Please sign in to comment.