Package 0xc019…d6a4 | SuiLearn ExplorerDetails
- Version
- 15
- Modules
- 9 (211 functions)
Versions
Each upgrade is a new package ID
alpha_lending50 functions · 31 structs
Functions
- add_bluefin_lp_collateralPUBLIC
- add_coin_to_oraclePUBLIC
- add_collateralPUBLIC
- add_marketPUBLIC
- add_market_internal
- add_market_nativePUBLIC
- add_rewardPUBLIC
- admin_liquidatePUBLIC
- admin_liquidate_lp_positionPUBLIC
v150xe48b…4f33this versionborrowPUBLICborrow_bluefin_lp_collateralPUBLICborrow_internalchange_protocol_fee_addressPUBLICcollect_rewardPUBLICcollect_reward_and_depositPUBLICcollect_staking_rewardsPUBLICcreate_new_admin_capPUBLICcreate_new_pause_admin_capPUBLICcreate_partnerPUBLICcreate_positionPUBLICcreate_position_for_partnerPUBLICdisable_pause_capPUBLICenable_pause_capPUBLICfind_market_by_coinflash_borrowPUBLICflash_depositPUBLICflash_repayPUBLICflash_withdrawPUBLICfulfill_promisePUBLICfulfill_promise_SUIPUBLICgenerate_new_market_capPUBLICget_asset_pricePUBLICget_borrow_amountPUBLICget_claimable_rewardsPUBLICget_collateral_amountPUBLICget_price_identifierPUBLICget_safe_collateral_ratioPUBLICget_versionPUBLICinitis_native_active_market_presentFRIENDliquidatePUBLICliquidate_internalliquidate_lp_internalliquidate_lp_positionPUBLICloan_bailoutPUBLICloan_writeoffPUBLICnewpause_protocolPUBLICrefresh_marketPUBLICremove_bluefin_lp_collateralPUBLICStructs
- ALPHA_LENDING
- AdminCap
- BorrowEvent
- CollectMarketFeeEvent
- CollectProtocolFeeEvent
- CollectRewardsEvent
- DepositEvent
- FlashTransactionHotPotato
- LPPositionDepositEvent
- LendingProtocol
- LendingProtocolCap
- LendingProtocolConfig
- LiquidationEvent
- LiquidationProtectionUpdatedEvent
- LpLiquidationEvent
- LpPositionBorrowHotPotato
- MultiplierPositionConfig
- PauseAdminCap
- PauseCapDisabledEvent
- PauseCapEnabledEvent
- PauseCapRegistry
- PauseCapRegistryKey
- PauseState
- PauseStateKey
- PeggedPostionPair
- PositionPausedUpdatedEvent
- ProtocolPausedEvent
- ProtocolUnpausedEvent
- RepayEvent
- RewardUpdateEvent
- WithdrawEvent
market50 functions · 16 structs
Functions
- add_feeFRIEND
- add_liquidityFRIEND
- add_liquidity_to_treasury
- add_rewardFRIEND
- borrowFRIEND
- burn_xtokens_generate_promiseFRIEND
- calculate_current_interest_rate_apr
- collect_staking_rewardsFRIEND
- compound_interestFRIEND
- create_empty_promiseFRIEND
- create_marketFRIEND
- deposit_limit_exceededFRIEND
- destory_zeroFRIEND
- emit_market_data_update_event
- emit_market_treasury_update_event
- emit_repay_exceed_borrow_eventPUBLIC
- emit_repay_exceed_borrow_event_newFRIEND
- fulfill_promiseFRIEND
- fulfill_promise_suiFRIEND
- generate_market_config_update_event
- generate_new_market_capFRIEND
- get_activeFRIEND
- get_borrow_fee_bpsFRIEND
- get_borrow_reward_distributorFRIEND
- get_borrow_weightFRIEND
- get_close_factor_percentageFRIEND
- get_coin_typeFRIEND
- get_compounded_interestFRIEND
- get_current_utilization_rate
- get_decimal_digitFRIEND
- get_deposit_fee_bpsFRIEND
- get_deposit_reward_distributorFRIEND
- get_idFRIEND
- get_is_nativeFRIEND
- get_last_auto_compoundFRIEND
- get_liquidation_bonus_bpsFRIEND
- get_liquidation_fee_bpsFRIEND
- get_liquidation_valueFRIEND
- get_liquidity_promiseFRIEND
- get_ltv_valueFRIEND
- get_market_idFRIEND
- get_promise_coin_typeFRIEND
- get_promise_market_idFRIEND
- get_safe_collateral_ratioFRIEND
- get_spot_usd_valueFRIEND
- get_token_countFRIEND
- get_token_priceFRIEND
- get_token_spot_priceFRIEND
- get_withdrawl_fee_bpsFRIEND
- get_xtoken_priceFRIEND
Structs
- FeeEarnedEvent
- FeeEarnedEvent_V2
- FeeEarnedEvent_V3
- LiquidityPromise
- Market
- MarketCap
- MarketConfig
- MarketConfigUpdateEvent
- MarketDataUpdateEvent
- MarketTreasuryUpdateEvent
- RepayExceedBorrowEvent
- SuiCoinType
- SuiStakingEnabledKey
- Treasury
- TreasuryKey
- XToken
Explore market in Playground oracle13 functions · 5 structs
Functions
- add_coin_to_oracleFRIEND
- create_oracleFRIEND
- get_ema_priceFRIEND
- get_last_updatedPUBLIC
- get_priceFRIEND
- get_price_identifierFRIEND
- get_price_info
- is_coin_in_oracleFRIEND
- match_coin_typePUBLIC
- set_price_staleness_thresholdFRIEND
- update_pricePUBLIC
- update_price_internalFRIEND
- verify_pricePUBLIC
Structs
- Oracle
- OracleIdentity
- OracleIdentityKey
- PriceIdentifier
- PriceInfo
Explore oracle in Playground partner7 functions · 2 structs
Functions
- create_partnerFRIEND
- get_fee_discount_bpsFRIEND
- get_partner_idFRIEND
- update_fee_discount_bpsFRIEND
- update_is_activeFRIEND
- validate_partner_addressFRIEND
- validate_partner_is_activeFRIEND
Explore partner in Playground position50 functions · 14 structs
Functions
- add_bluefin_lp_collateralFRIEND
- add_borrowFRIEND
- add_token_collateralFRIEND
- borrow_bluefin_lp_collateralFRIEND
- borrowed_from_isolatedFRIEND
- claim_rewardsFRIEND
- create_nft_url
- create_positionFRIEND
- emit_borrow_update_event
- emit_loan_writeoff_event
- emit_position_collateral_update_event
- emit_position_create_event
- emit_position_update_event
- emit_token_collateral_update_event
- find_borrow_by_market_id
- find_or_add_user_reward_distributor
- find_user_reward_distributor
- get_borrow_amountFRIEND
- get_borrow_market_countFRIEND
- get_claimable_rewardsFRIEND
- get_collateral_amountFRIEND
- get_collateral_xtoken_amountFRIEND
- get_decimal_digitFRIEND
- get_partner_idFRIEND
- get_position_idPUBLIC
- get_position_typeFRIEND
- get_position_type_normalFRIEND
- has_borrowed_fromFRIEND
- has_borrowsFRIEND
- has_deposited_toFRIEND
- is_healthyPUBLIC
- is_liquidatablePUBLIC
- is_liquidation_protectedFRIEND
- is_position_pausedFRIEND
- liquidateFRIEND
- liquidate_bluefin_lp_positionFRIEND
- loan_writeoffFRIEND
- refreshFRIEND
- remove_bluefin_lp_collateralFRIEND
- remove_token_collateralFRIEND
- remove_token_collateral_internal
- repayFRIEND
- return_bluefin_lp_collateralFRIEND
- set_decimal_digitFRIEND
- set_liquidation_protectedFRIEND
- set_position_paused_flagFRIEND
- update_and_get_borrow_amountFRIEND
- update_and_get_borrow_valueFRIEND
- update_bluefin_lp_collateral_usd_valueFRIEND
- update_lp_position_close_factorFRIEND
Structs
- Borrow
- BorrowUpdateEvent
- LPPositionCollateralUpdateEvent
- LiquidationProtectedKey
- LoanWriteoffEvent
- LpPositionCollateral
- LpPositionCollateralConfig
- Position
- PositionCap
- PositionCreateEvent
- PositionPausedKey
- PositionUpdateEvent
- TokenCollateral
- TokenCollateralUpdateEvent
Explore position in Playground rewards25 functions · 9 structs
Functions
- add_rewardFRIEND
- borrow_mut_distributor_idFRIEND
- borrow_reward_idFRIEND
- change_user_shareFRIEND
- claim_rewardsFRIEND
- create_reward_distributorFRIEND
- create_user_reward_distributorFRIEND
- emit_reward_distributor_refresh_eventFRIEND
- emit_reward_update_eventFRIEND
- emit_user_reward_distributor_refresh_eventFRIEND
- emit_user_reward_update_eventFRIEND
- find_rewardFRIEND
- get_auto_compound_market_idFRIEND
- get_claimable_rewardsFRIEND
- get_earned_rewardsFRIEND
- get_market_idFRIEND
- get_market_id_for_rewardFRIEND
- get_reward_distributor_idFRIEND
- get_reward_type_for_rewardFRIEND
- get_user_distributor_market_idFRIEND
- is_deposit_distributorFRIEND
- refreshFRIEND
- refresh_user_reward_distributorFRIEND
- remove_reward_balanceFRIEND
- update_rewardFRIEND
Structs
- ClaimableReward
- Reward
- RewardDistributor
- RewardDistributorRefreshEvent
- RewardUpdateEvent
- UserReward
- UserRewardDistributor
- UserRewardDistributorRefreshEvent
- UserRewardUpdateEvent
Explore rewards in Playground sui_staker12 functions · 1 structs
Functions
- add_stakeFRIEND
- collect_feesFRIEND
- delete_sui_stakerFRIEND
- drain_sui_poolFRIEND
- get_fungible_amount
- get_staked_sui_countFRIEND
- get_sui_amount
- get_total_sui_amount
- init_stakerFRIEND
- refresh_epoch
- remove_stakeFRIEND
- update_and_get_latest_exchange_rate
Explore sui_staker in Playground