@bluefinprotocol/bluefin-spot (0xafa2…547d) | SuiLearn ExplorerMove package · Move Registry
@bluefinprotocol/bluefin-spot
0xafa22fb0bf987fe79886fe7fc9a670348ff247c6cf897d2a7d01403bad6c547d
Bluefin's Concentrated Liquidity Market Maker (CLMM)
Open in Playground Read the source, view function signatures and call functions there.
Details
- Version
- 17
- Modules
- 18 (301 functions)
- Name
- @bluefinprotocol/bluefin-spot
- Latest version
- v17
Published by the package owner in the Move Registry. Use the name in code with mvr add @bluefinprotocol/bluefin-spot.
Versions
Each upgrade is a new package ID
admin18 functions · 2 structs
Functions
- add_reward_managerentryPUBLIC
- add_reward_reserves_to_poolentry
- add_seconds_to_reward_emissionPUBLIC
- claim_pool_creation_feeentryPUBLIC
- claim_protocol_feeentryPUBLIC
- increase_observation_cardinality_nextentryPUBLIC
v6
v170xd075…6e9cthis versioninitinitialize_pool_rewardentryPUBLICremove_reward_managerentryPUBLICset_pool_creation_feeentryPUBLICset_pool_icon_urlentryset_pool_managerentryPUBLICtranser_admin_capentryPUBLICtranser_protocol_fee_capentryPUBLICupdate_pool_pause_statusentryPUBLICupdate_pool_reward_emissionentryPUBLICupdate_protocol_fee_shareentryPUBLICupdate_supported_versionentryPUBLICclmm_math14 functions · 0 structs
Functions
- compute_swap_stepPUBLIC
- fee_rate_denominatorPUBLIC
- get_amount_by_liquidityPUBLIC
- get_delta_aPUBLIC
- get_delta_bPUBLIC
- get_delta_down_from_outputPUBLIC
- get_delta_up_from_inputPUBLIC
- get_liquidity_by_amountPUBLIC
- get_liquidity_from_aPUBLIC
- get_liquidity_from_bPUBLIC
- get_next_sqrt_price_a_upPUBLIC
- get_next_sqrt_price_b_downPUBLIC
- get_next_sqrt_price_from_inputPUBLIC
- get_next_sqrt_price_from_outputPUBLIC
Explore clmm_math in Playground config9 functions · 1 structs
Functions
- get_config_idFRIEND
- get_pool_creation_fee_amountPUBLIC
- get_tick_rangePUBLIC
- increase_versionFRIEND
- init
- remove_reward_managerFRIEND
- set_reward_managerFRIEND
- verify_reward_managerPUBLIC
- verify_versionPUBLIC
Explore config in Playground constants16 functions · 0 structs
Functions
- blue_reward_typePUBLIC
- flash_swap_in_progress_keyPUBLIC
- managerPUBLIC
- max_allowed_fee_ratePUBLIC
- max_allowed_tick_spacingPUBLIC
- max_observation_cardinalityPUBLIC
- max_protocol_fee_sharePUBLIC
- max_u128PUBLIC
- max_u16PUBLIC
- max_u256PUBLIC
- max_u32PUBLIC
- max_u64PUBLIC
- max_u8PUBLIC
- pool_creation_fee_dynamic_keyPUBLIC
- protocol_fee_sharePUBLIC
- q64PUBLIC
Explore constants in Playground errors42 functions · 0 structs
Functions
- add_check_failedPUBLIC
- already_a_reward_mangerPUBLIC
- can_not_claim_zero_rewardPUBLIC
- cannot_close_position_with_fee_to_claimPUBLIC
- depricatedPUBLIC
- fee_coin_not_supportedPUBLIC
- flash_swap_in_progressPUBLIC
- insufficient_amountPUBLIC
- insufficient_coin_balancePUBLIC
- insufficient_liquidityPUBLIC
- insufficient_pool_balancePUBLIC
- invalid_coinsPUBLIC
- invalid_fee_growthPUBLIC
- invalid_fee_providedPUBLIC
- invalid_fee_ratePUBLIC
- invalid_last_update_timePUBLIC
- invalid_observation_cardinalityPUBLIC
- invalid_observation_timestampPUBLIC
- invalid_poolPUBLIC
- invalid_pool_pricePUBLIC
- invalid_price_limitPUBLIC
- invalid_protocol_fee_sharePUBLIC
- invalid_tick_rangePUBLIC
- invalid_tick_spacingPUBLIC
- invalid_timestampPUBLIC
- no_flash_swap_in_progressPUBLIC
- non_empty_positionPUBLIC
- not_authorizedPUBLIC
- overflowPUBLIC
- pool_is_pausedPUBLIC
- position_does_not_belong_to_poolPUBLIC
- reward_amount_and_provided_balance_do_not_matchPUBLIC
- reward_index_not_foundPUBLIC
- reward_manager_not_foundPUBLIC
- same_value_providedPUBLIC
- slippage_exceedsPUBLIC
- swap_amount_exceedsPUBLIC
- tick_score_out_of_boundsPUBLIC
- update_rewards_info_check_failedPUBLIC
- verion_cant_be_increasedPUBLIC
- version_mismatchPUBLIC
- zero_amountPUBLIC
Explore errors in Playground events25 functions · 26 structs
Functions
- emit_admin_cap_transfer_eventFRIEND
- emit_flash_swap_eventFRIEND
- emit_liquidity_provided_eventFRIEND
- emit_liquidity_removed_eventFRIEND
- emit_observation_cardinality_updated_eventFRIEND
- emit_pool_created_eventFRIEND
- emit_pool_creation_fee_claimedFRIEND
- emit_pool_creation_fee_paid_eventFRIEND
- emit_pool_creation_fee_update_eventFRIEND
- emit_pool_icon_url_update_eventFRIEND
- emit_pool_manager_update_eventFRIEND
- emit_pool_pause_status_update_eventFRIEND
- emit_position_close_eventFRIEND
- emit_position_open_eventFRIEND
- emit_protocol_fee_cap_transfer_eventFRIEND
- emit_protocol_fee_collectedFRIEND
- emit_protocol_fee_share_updated_eventFRIEND
- emit_reward_manager_update_eventFRIEND
- emit_reward_reserves_increasedFRIEND
- emit_supported_version_update_eventFRIEND
- emit_swap_eventFRIEND
- emit_tick_update_eventFRIEND
- emit_update_pool_reward_emission_eventFRIEND
- emit_user_fee_collectedFRIEND
- emit_user_reward_collectedFRIEND
Structs
- AdminCapTransferred
- AssetSwap
- FlashSwap
- LiquidityProvided
- LiquidityRemoved
- ObservationCardinalityUpdated
- PoolCreated
- PoolCreationFeeClaimed
- PoolCreationFeePaid
- PoolCreationFeeUpdate
- PoolIconUrlUpdate
- PoolManagerUpdate
- PoolPauseStatusUpdate
- PoolRewardReservesIncreased
- PoolTickUpdate
- PositionClosed
- PositionOpened
- ProtocolFeeCapTransferred
- ProtocolFeeCollected
- ProtocolFeeShareUpdated
- RewardsManagerUpdate
- SupportedVersionUpdate
- TickUpdate
- UpdatePoolRewardEmissionEvent
- UserFeeCollected
- UserRewardCollected
Explore events in Playground gateway11 functions · 0 structs
Functions
- close_positionentryPUBLIC
- collect_feeentryPUBLIC
- collect_rewardentryPUBLIC
- create_poolentryPUBLIC
- create_pool_v2entryPUBLIC
- flash_swapentryPUBLIC
- provide_liquidityentryPUBLIC
- provide_liquidity_with_fixed_amountentryPUBLIC
- remove_liquidityentryPUBLIC
- route_swapPUBLIC
- swap_assetsentryPUBLIC
Explore gateway in Playground i128H12 functions · 0 structs
Functions
- addPUBLIC
- eqPUBLIC
- gtPUBLIC
- gtePUBLIC
- is_negPUBLIC
- lib_to_matePUBLIC
- ltPUBLIC
- ltePUBLIC
- mate_to_libPUBLIC
- negPUBLIC
- neg_fromPUBLIC
- subPUBLIC
Explore i128H in Playground i32H10 functions · 0 structs
Functions
- addPUBLIC
- eqPUBLIC
- gtPUBLIC
- gtePUBLIC
- is_negPUBLIC
- lib_to_matePUBLIC
- ltPUBLIC
- ltePUBLIC
- mate_to_libPUBLIC
- subPUBLIC
Explore i32H in Playground i64H10 functions · 0 structs
Functions
- addPUBLIC
- eqPUBLIC
- gtPUBLIC
- gtePUBLIC
- is_negPUBLIC
- lib_to_matePUBLIC
- ltPUBLIC
- ltePUBLIC
- mate_to_libPUBLIC
- subPUBLIC
Explore i64H in Playground oracle17 functions · 2 structs
Functions
- binary_searchPUBLIC
- default_observationPUBLIC
- get_observation
- get_surrounding_observationsPUBLIC
- growFRIEND
- initialize_managerPUBLIC
- initializedPUBLIC
- observation_cardinalityPUBLIC
- observation_cardinality_nextPUBLIC
- observation_indexPUBLIC
- observations_lengthPUBLIC
- observe_singlePUBLIC
- seconds_per_liquidity_cumulativePUBLIC
- tick_cumulativePUBLIC
- timestampPUBLIC
- transformPUBLIC
- updateFRIEND
Structs
- Observation
- ObservationManager
Explore oracle in Playground pool50 functions · 5 structs
Functions
- add_liquidityPUBLIC
- add_liquidity_with_fixed_amountPUBLIC
- add_reward_infoFRIEND
- calculate_swap_resultsPUBLIC
- charge_pool_creation_fee
- close_positionPUBLIC
- close_position_v2PUBLIC
- coin_reservesPUBLIC
- collect_feePUBLIC
- collect_rewardPUBLIC
- create_poolPUBLIC
- create_pool_and_get_objectPUBLIC
- create_pool_internal
- create_pool_with_liquidityPUBLIC
- current_sqrt_pricePUBLIC
- current_tick_indexPUBLIC
- default_reward_infoPUBLIC
- fetch_provided_ticksPUBLIC
- find_reward_info_index
- flash_swapPUBLIC
- get_accrued_fee
- get_accrued_rewards
- get_amount_by_liquidityPUBLIC
- get_fee_ratePUBLIC
- get_liquidity_by_amountPUBLIC
- get_pool_managerPUBLIC
- get_pool_namePUBLIC
- get_protocol_fee_for_coin_aPUBLIC
- get_protocol_fee_for_coin_bPUBLIC
- get_swap_result_a2bPUBLIC
- get_swap_result_amount_calculatedPUBLIC
- get_swap_result_amount_specifiedPUBLIC
- get_swap_result_amount_specified_remainingPUBLIC
- get_swap_result_by_amount_inPUBLIC
- get_swap_result_current_tick_indexPUBLIC
- get_swap_result_end_sqrt_pricePUBLIC
- get_swap_result_fee_amountPUBLIC
- get_swap_result_fee_growth_globalPUBLIC
- get_swap_result_is_exceedPUBLIC
- get_swap_result_liquidityPUBLIC
- get_swap_result_protocol_feePUBLIC
- get_swap_result_start_sqrt_pricePUBLIC
- get_swap_result_starting_liquidityPUBLIC
- get_swap_result_stepsPUBLIC
- get_tick_managerPUBLIC
- get_tick_spacingPUBLIC
- increase_observation_cardinality_nextFRIEND
- increase_reward_coin_reservesFRIEND
- increase_sequence_numberFRIEND
- is_flash_swap_in_progress
Structs
- FlashSwapReceipt
- Pool
- PoolRewardInfo
- SwapResult
- SwapStepResult
Explore pool in Playground position19 functions · 3 structs
Functions
- add_reward_infoFRIEND
- coins_owed_rewardPUBLIC
- create_position_description
- create_position_name
- decrease_reward_amountFRIEND
- delFRIEND
- get_accrued_feePUBLIC
- get_mutable_reward_info
- init
- is_emptyPUBLIC
- liquidityPUBLIC
- lower_tickPUBLIC
- newFRIEND
- pool_idPUBLIC
- reward_infos_lengthPUBLIC
- set_fee_amountsFRIEND
- updateFRIEND
- update_reward_infos
- upper_tickPUBLIC
Structs
- POSITION
- Position
- PositionRewardInfo
Explore position in Playground tick20 functions · 2 structs
Functions
- bitmapPUBLIC
- compute_reward_growths
- create_tickPUBLIC
- crossFRIEND
- fetch_provided_ticksPUBLIC
- get_fee_and_reward_growths_insidePUBLIC
- get_fee_and_reward_growths_outsidePUBLIC
- get_mutable_tick_from_managerFRIEND
- get_mutable_tick_from_tableFRIEND
- get_tick_from_managerPUBLIC
- get_tick_from_tablePUBLIC
- initialize_managerFRIEND
- is_tick_initializedPUBLIC
- liquidity_grossPUBLIC
- liquidity_netPUBLIC
- mutable_bitmapFRIEND
- removeFRIEND
- sqrt_pricePUBLIC
- tick_spacingPUBLIC
- updateFRIEND
Explore tick in Playground tick_bitmap6 functions · 0 structs
Functions
- cast_to_u8PUBLIC
- flip_tickFRIEND
- get_immutable_tick_word
- get_mutable_tick_word
- next_initialized_tick_within_one_wordPUBLIC
- position
Explore tick_bitmap in Playground tick_math11 functions · 0 structs
Functions
- as_u8
- get_sqrt_price_at_negative_tick
- get_sqrt_price_at_positive_tick
- get_sqrt_price_at_tickPUBLIC
- get_tick_at_sqrt_pricePUBLIC
- is_valid_indexPUBLIC
- max_sqrt_pricePUBLIC
- max_tickPUBLIC
- min_sqrt_pricePUBLIC
- min_tickPUBLIC
- tick_boundPUBLIC
Explore tick_math in Playground utils9 functions · 0 structs
Functions
- add_deltaPUBLIC
- deposit_balancePUBLIC
- get_type_stringPUBLIC
- overflow_addPUBLIC
- timestamp_secondsPUBLIC
- transfer_balancePUBLIC
- transfer_coinPUBLIC
- u128_to_stringPUBLIC
- withdraw_balancePUBLIC
Explore utils in Playground