lending_config

class algofipy.lending.v2.lending_config.MANAGER_STRINGS

Bases: object

calculate_user_position = 'cup'
farm_ops = 'fo'
opted_in_market_count = 'omc'
opted_in_markets_page_prefix = 'om_'
send_governance_txn = 'sgt'
send_keyreg_offline_txn = 'skot'
send_keyreg_txn = 'skt'
set_market_oracle_parameters = 'smop'
storage_account = 'sa'
storage_account_opt_in = 'saoi'
user_account = 'ua'
user_asset_opt_in = 'uaoi'
user_market_close_out = 'umco'
user_market_opt_in = 'umoi'
user_opt_in = 'uoi'
validate_market = 'vm'
validate_storage_account_txn = 'vsat'
class algofipy.lending.v2.lending_config.MARKET_STRINGS

Bases: object

activate_market = 'am'
active_b_asset_collateral = 'ac'
add_b_asset_collateral = 'abc'
add_to_protocol_reserve = 'atpr'
add_underlying_collateral = 'auc'
admin = 'a'
b_asset_circulation = 'bac'
b_asset_id = 'bai'
b_asset_to_underlying_exchange_rate = 'baer'
base_interest_rate = 'bir'
base_interest_rate_pusher = 'birp'
base_interest_slope = 'bis'
borrow = 'b'
borrow_factor = 'bf'
borrow_index = 'bi'
borrow_share_circulation = 'bsc'
burn_b_asset = 'br'
claim_rewards = 'cr'
collateral_factor = 'cf'
contract_opt_in = 'coi'
contract_update_delay = 'cud'
contract_update_time = 'cut'
execute_interest_rate_model_update = 'eirmu'
execute_oracle_update = 'eou'
execute_param_update = 'epu'
farm_ops = 'fo'
flash_loan = 'fl'
flash_loan_fee = 'flf'
flash_loan_protocol_fee = 'flpf'
implied_borrow_index = 'ibi'
increase_update_delays = 'iud'
interest_rate_model_update_delay = 'irmud'
interest_rate_model_update_time = 'irmut'
latest_time = 'lt'
liquidate = 'l'
liquidation_fee = 'lf'
liquidation_incentive = 'li'
manager_app_id = 'mai'
market_type = 'mt'
max_flash_loan_ratio = 'mflr'
mint_b_asset = 'mba'
new_base_interest_rate = 'nbir'
new_base_interest_slope = 'nbis'
new_borrow_factor = 'nbf'
new_collateral_factor = 'ncf'
new_liquidation_fee = 'nlf'
new_liquidation_incentive = 'nli'
new_oracle_app_id = 'no'
new_oracle_price_field_name = 'nopfn'
new_oracle_price_scale_factor = 'nopsf'
new_quadratic_interest_amplification_factor = 'neiaf'
new_reserve_factor = 'nrf'
new_target_utilization_ratio = 'ntur'
opt_in_enabled = 'oie'
opt_market_into_rewards_manager = 'omirm'
oracle_app_id = 'oai'
oracle_price_field_name = 'opfn'
oracle_price_scale_factor = 'opsf'
oracle_update_delay = 'oud'
oracle_update_time = 'out'
param_update_delay = 'pud'
param_update_time = 'put'
quadratic_interest_amplification_factor = 'eiaf'
reclaim_rewards_assets = 'rra'
remove_b_asset_collateral = 'rbc'
remove_reserves = 'rr'
remove_underlying_collateral = 'ruc'
repay_borrow = 'rb'
reserve_factor = 'rf'
rewards_admin_prefix = 'ra_'
rewards_escrow_account = 'rea'
rewards_index_prefix = 'ri_'
rewards_latest_time = 'rlt'
rewards_program_state_prefix = 'rps_'
schedule_contract_update = 'scu'
schedule_interest_rate_model_update = 'sirmu'
schedule_oracle_update = 'sou'
schedule_param_update = 'spu'
seize_collateral = 'sc'
set_base_interest_rate = 'sbir'
set_base_interest_rate_pusher = 'sbirp'
set_control_state = 'scs'
set_flash_loan_params = 'sflp'
set_opt_in_enabled = 'soie'
set_rewards_admin = 'sra'
set_rewards_escrow_account = 'srea'
set_rewards_program = 'srp'
sync_vault = 'sv'
target_utilization_ratio = 'tur'
underlying_asset_id = 'uai'
underlying_borrow_cap = 'ubc'
underlying_borrowed = 'ub'
underlying_cash = 'uc'
underlying_protocol_reserve = 'upr'
underlying_reserves = 'ur'
underlying_supply_cap = 'usc'
underlying_to_borrow_share_exchange_rate = 'ubser'
update_rewards_per_second = 'urps'
user_active_b_asset_collateral = 'ubac'
user_borrow_shares = 'ubs'
user_latest_rewards_index_prefix = 'ulri_'
user_rewards_program_number_prefix = 'urpn_'
user_unclaimed_rewards_prefix = 'uur_'
class algofipy.lending.v2.lending_config.MarketType

Bases: object

Enum representing the market type.

LP = 3
STANDARD = 0
STBL = 1
VAULT = 2