Constants§
- ADMIN_
ADDRESS - The authority allowed to initialize the program.
- CTOKEN_
ADDRESS - The mint address of the Kamino ctoken.
- DEFAULT_
PLATFORM_ FEE_ BPS - The default platform fee in basis points (1000 = 10%).
- DENOMINATOR_
BPS - Denominator for fee calculations (10000 = 100%).
- EXCHANGE_
RATE_ PRECISION - Exchange rate precision (1e9).
- KFARMS_
PROGRAM_ ID - The address of the KFarms program.
- KLEND_
PROGRAM_ ID - The address of the Kamino lending program.
- LENDING_
MARKET_ ADDRESS - LENDING_
MARKET_ AUTHORITY_ ADDRESS - LUT_
ADDRESS - The address of the lookup table for multi-protocol transactions.
- MINT
- The seed of the mint account PDA.
- OBLIGATION_
ADDRESS - The address of the Kamino lending obligation account.
- PERENA_
BANK_ STATE - The address of the Perena bank_state account (BankGenState).
- PERENA_
FEE_ TEAM_ ATA - The address of the Perena fee team ATA.
- PERENA_
ORACLE_ STATE - The address of the Perena oracle_state account (OracleGenState).
- PERENA_
PROGRAM_ ID - The address of the Perena bankineco program.
- PERENA_
TEAM_ STATE - The address of the Perena team_state account (TeamState).
- PERENA_
VAULT_ STATE - The address of the Perena vault_state account (VaultGenState).
- PERENA_
YIELDING_ VAULT - The address of the Perena USDC vault (yielding_vault_ata).
- POSITION
- The seed of the position account PDA.
- PROTOCOL
- The seed of the protocol account PDA.
- PROTOCOL_
KAMINO - Protocol ID for Kamino.
- PROTOCOL_
PERENA - Protocol ID for Perena.
- RESERVE_
ADDRESS - RESERVE_
CTOKEN_ ADDRESS - The address of the reserve’s ctoken account.
- RESERVE_
FARM_ STATE_ ADDRESS - The address of the reserve farm account.
- RESERVE_
FARM_ USER_ STATE_ ADDRESS - The address of the reserve farm user state account.
- RESERVE_
LIQUIDITY_ SUPPLY_ ADDRESS - SCOPE_
PRICES_ ADDRESS - Address for price oracle.
- SHARES_
PER_ USDC - Shares per USDC for share calculations (1000 shares per USDC).
- STABLE
- The seed of the stable account PDA.
- TOKEN_
DECIMALS - The number of decimals for the token.
- USDC_
ADDRESS - The address of the USDC token.
- USD_
STAR_ MINT - The address of the USD* mint (Perena receipt token / bank_mint).
- VAULT
- The seed of the vault account PDA.
- VAULT_
ADDRESS - The address of the Bucks vault account.