UNPKG

@algofi/js-sdk

Version:

The official Algofi JavaScript SDK

83 lines (82 loc) 2.64 kB
export declare enum MarketType { STANDARD = 0, STBL = 1, VAULT = 2, LP = 3 } export declare const MANAGER_STRINGS: { storage_account: string; user_account: string; opted_in_market_count: string; opted_in_markets_page_prefix: string; calculate_user_position: string; farm_ops: string; send_governance_txn: string; send_keyreg_txn: string; send_keyreg_offline_txn: string; set_market_oracle_parameters: string; storage_account_opt_in: string; user_asset_opt_in: string; user_market_close_out: string; user_market_opt_in: string; user_opt_in: string; validate_storage_account_txn: string; validate_market: string; }; export declare const MARKET_STRINGS: { underlying_asset_id: string; b_asset_id: string; market_type: string; borrow_factor: string; collateral_factor: string; flash_loan_fee: string; flash_loan_protocol_fee: string; max_flash_loan_ratio: string; liquidation_incentive: string; liquidation_fee: string; reserve_factor: string; underlying_supply_cap: string; underlying_borrow_cap: string; base_interest_rate: string; base_interest_slope: string; quadratic_interest_amplification_factor: string; target_utilization_ratio: string; oracle_app_id: string; oracle_price_field_name: string; oracle_price_scale_factor: string; underlying_cash: string; underlying_borrowed: string; underlying_reserves: string; borrow_share_circulation: string; b_asset_circulation: string; active_b_asset_collateral: string; latest_time: string; borrow_index: string; implied_borrow_index: string; rewards_latest_time: string; rewards_admin_prefix: string; rewards_program_state_prefix: string; rewards_index_prefix: string; rewards_escrow_account: string; underlying_protocol_reserve: string; opt_in_enabled: string; user_active_b_asset_collateral: string; user_borrow_shares: string; user_rewards_program_number_prefix: string; user_latest_rewards_index_prefix: string; user_unclaimed_rewards_prefix: string; farm_ops: string; flash_loan: string; mint_b_asset: string; add_underlying_collateral: string; add_b_asset_collateral: string; burn_b_asset: string; remove_underlying_collateral: string; remove_b_asset_collateral: string; borrow: string; repay_borrow: string; liquidate: string; seize_collateral: string; claim_rewards: string; sync_vault: string; };