Skip to main content

Module consts

Module consts 

Source

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.