Package 0xcb4e…b438 | SuiLearn ExplorerDetails
- Version
- 26
- Modules
- 19 (359 functions)
Versions
Each upgrade is a new package ID
coin3 functions · 1 structs
Functions
- burnentryPUBLIC
- init
- mintentryPUBLIC
Explore coin in Playground error50 functions · 0 structs
Functions
- address_cannot_be_zeroPUBLIC
- adl_all_or_nothing_constraint_can_not_be_held
v260x0d1d…b3adthis versionPUBLIC
can_not_be_greater_than_hundred_percentPUBLICcan_not_liquidate_a_non_liquidateable_accountPUBLICcannot_overfill_orderPUBLICcoin_does_not_have_enough_amountPUBLICfill_does_not_decrease_sizePUBLICfill_price_invalidPUBLICfunding_due_exceeds_marginPUBLICfunding_rate_can_not_be_set_for_zeroth_windowPUBLICfunding_rate_for_window_already_setPUBLICgreater_than_max_allowed_fundingPUBLICinitial_margin_must_be_greater_than_or_equal_to_mmrPUBLICinvalid_deleveraging_operatorPUBLICinvalid_funding_rate_operatorPUBLICinvalid_guardianPUBLICinvalid_leveragePUBLICinvalid_liquidator_leveragePUBLICinvalid_oracle_operatorPUBLICinvalid_pre_launch_perpetualPUBLICinvalid_price_oracle_operatorPUBLICinvalid_settlement_operatorPUBLICinvalid_start_time_for_fundingPUBLICleverage_can_not_be_set_to_zeroPUBLICleverage_must_be_greater_than_zeroPUBLICliquidatee_above_mmrPUBLICliquidation_all_or_nothing_constraint_not_heldPUBLICloss_exceeds_marginPUBLICmaintenance_margin_must_be_greater_than_zeroPUBLICmaintenance_margin_must_be_less_than_or_equal_to_imrPUBLICmaker_is_not_underwaterPUBLICmaker_order_can_not_be_iocPUBLICmaker_taker_must_have_opposite_side_positionsPUBLICmargin_amount_must_be_greater_than_zeroPUBLICmargin_must_be_less_than_max_removable_marginPUBLICmax_allowed_price_diff_cannot_be_zeroPUBLICmax_limit_qty_greater_than_min_qtyPUBLICmax_market_qty_less_than_min_qtyPUBLICmax_price_greater_than_min_pricePUBLICmethod_depricatedPUBLICmin_price_greater_than_zeroPUBLICmin_price_less_than_max_pricePUBLICmin_qty_greater_than_zeroPUBLICmin_qty_less_than_max_qtyPUBLICmr_less_than_imr_can_not_open_or_flip_positionPUBLICmr_less_than_imr_mr_must_improvePUBLICmr_less_than_imr_position_can_only_reducePUBLICmr_less_than_zeroPUBLICmtb_long_greater_than_zeroPUBLICmtb_short_greater_than_zeroPUBLICevaluator21 functions · 11 structs
Functions
- initializeFRIEND
- set_max_oi_openFRIEND
- set_max_priceFRIEND
- set_max_qty_limitFRIEND
- set_max_qty_marketFRIEND
- set_min_priceFRIEND
- set_min_qtyFRIEND
- set_mtb_longFRIEND
- set_mtb_shortFRIEND
- set_step_sizeFRIEND
- set_tick_sizeFRIEND
- tickSizePUBLIC
- verify_market_take_bound_checksPUBLIC
- verify_min_max_pricePUBLIC
- verify_min_max_qty_checksPUBLIC
- verify_oi_open_for_accountPUBLIC
- verify_pre_init_checks
- verify_price_checksPUBLIC
- verify_qty_checksPUBLIC
- verify_step_sizePUBLIC
- verify_tick_sizePUBLIC
Structs
- MaxAllowedOIOpenUpdateEvent
- MaxOrderPriceUpdateEvent
- MaxQtyLimitUpdateEvent
- MaxQtyMarketUpdateEvent
- MinOrderPriceUpdateEvent
- MinQtyUpdateEvent
- MtbLongUpdateEvent
- MtbShortUpdateEvent
- StepSizeUpdateEvent
- TickSizeUpdateEvent
- TradeChecks
Explore evaluator in Playground events6 functions · 6 structs
Functions
- emit_non_liquidateable_account_update_eventFRIEND
- emit_vault_bank_account_created_eventFRIEND
- emit_vault_bank_manager_udpdate_eventFRIEND
- emit_vault_store_admin_udpdate_eventFRIEND
- emit_vault_sub_account_eventFRIEND
- emit_whitelisted_liquidator_update_eventFRIEND
Structs
- NonLiquidateableAccountUpdate
- VaultBankAccountCreationEvent
- VaultBankManagerUpdateEvent
- VaultStoreAdminUpdateEvent
- VaultSubAccountEvent
- WhitelistedLiquidatorUpdate
Explore events in Playground exchange13 functions · 8 structs
Functions
- add_marginentry
- adjust_leverageentry
- apply_funding_rate
- close_positionentry
- close_position_v2entry
- create_perpetualentry
- deleverageentry
- internal_close_position
- internal_liquidate
- liquidateentry
- pub_liquidatePUBLIC
- remove_marginentry
- tradeentry
Structs
- AccountSettlementUpdateEvent
- AccountSettlementUpdateEventV2
- LiquidatorPaidForAccountSettlementEvnet
- LiquidatorPaidForAccountSettlementEvnetV2
- SettlementAmountNotPaidCompletelyEvent
- SettlementAmountNotPaidCompletelyEventV2
- SettlementAmtDueByMakerEvent
- SettlementAmtDueByMakerEventV2
Explore exchange in Playground funding_rate13 functions · 5 structs
Functions
- are_indexes_equalPUBLIC
- compute_new_global_indexPUBLIC
- expected_funding_window
- indexPUBLIC
- index_timestampPUBLIC
- index_valuePUBLIC
- initializeFRIEND
- initialize_indexPUBLIC
- ratePUBLIC
- set_funding_rateFRIEND
- set_funding_timeFRIEND
- set_global_indexFRIEND
- set_max_allowed_funding_rateFRIEND
Structs
- FundingIndex
- FundingRate
- FundingRateUpdateEvent
- GlobalIndexUpdate
- MaxAllowedFRUpdateEvent
Explore funding_rate in Playground isolated_adl8 functions · 5 structs
Functions
- apply_isolated_margin
- makerFundsFlowFRIEND
- pack_trade_dataFRIEND
- takerFundsFlowFRIEND
- tradeFRIEND
- tradeTypeFRIEND
- verify_account
- verify_trade
Structs
- IMResponse
- TradeData
- TradeExecuted
- TradeExecutedV2
- TradeResponse
Explore isolated_adl in Playground isolated_liquidation11 functions · 6 structs
Functions
- apply_isolated_margin
- calculate_premium
- insurancePoolPortionFRIEND
- liquidatorPortionFRIEND
- makerFundsFlowFRIEND
- pack_trade_dataFRIEND
- prelaunch_liquidation_checks
- takerFundsFlowFRIEND
- tradeFRIEND
- tradeTypeFRIEND
- verify_trade
Structs
- IMResponse
- Premium
- TradeData
- TradeExecuted
- TradeExecutedV2
- TradeResponse
Explore isolated_liquidation in Playground isolated_trading11 functions · 8 structs
Functions
- apply_isolated_margin
- compute_gas_fee
- feeFRIEND
- init
- makerFundsFlowFRIEND
- pack_trade_dataFRIEND
- takerFundsFlowFRIEND
- taker_gas_chargesFRIEND
- tradeFRIEND
- tradeTypeFRIEND
- verify_order
Structs
- Fill
- IMResponse
- TradeData
- TradeExecuted
- TradeExecutedV2
- TradeExecutedV3
- TradeResponse
- TradeResponseV2
Explore isolated_trading in Playground library22 functions · 1 structs
Functions
- base_divPUBLIC
- base_mulPUBLIC
- base_uintPUBLIC
- ceilPUBLIC
- compute_mroPUBLIC
- convert_usdc_to_base_decimalsPUBLIC
- get_hashPUBLIC
- get_oracle_baseentryPUBLIC
- get_oracle_base_v2FRIEND
- get_oracle_priceentryPUBLIC
- get_oracle_price_v2FRIEND
- get_price_identifierentryPUBLIC
- get_public_addressPUBLIC
- get_result_public_keyPUBLIC
- get_result_statusPUBLIC
- half_base_uintPUBLIC
- minPUBLIC
- roundPUBLIC
- round_downPUBLIC
- subPUBLIC
- to_1x9_vecPUBLIC
- verify_signaturePUBLIC
Explore library in Playground margin_bank23 functions · 7 structs
Functions
- create_bankentryPUBLIC
- deposit_to_bankentryPUBLIC
- get_balancePUBLIC
- get_balance_v2PUBLIC
- get_bank_idPUBLIC
- get_versionPUBLIC
- increment_bank_versionentry
- initialize_accountFRIEND
- is_withdrawal_allowedPUBLIC
- is_withdrawal_allowed_v2PUBLIC
- mut_accountsFRIEND
- mut_accounts_v2FRIEND
- perform_final_withdrawalentry
- set_withdrawal_statusentryPUBLIC
- set_withdrawal_status_v2entryPUBLIC
- transfer_based_on_fundsflow
- transfer_margin_to_accountFRIEND
- transfer_margin_to_account_v2FRIEND
- transfer_trade_marginFRIEND
- withdraw_all_margin_from_bankentryPUBLIC
- withdraw_all_margin_from_bank_and_return_balancePUBLIC
- withdraw_coins_from_bank_for_vaultFRIEND
- withdraw_from_bankentryPUBLIC
Structs
- Bank
- BankAccount
- BankBalanceUpdate
- BankBalanceUpdateV2
- BankV2
- FinalWithdrawal
- WithdrawalStatusUpdate
Explore margin_bank in Playground order28 functions · 7 structs
Functions
- cancel_orderentry
- check_if_order_existsPUBLIC
- create_orderFRIEND
- decode_order_flags
- expirationPUBLIC
- flag_orderbook_onlyPUBLIC
- flagsPUBLIC
- get_serialized_orderPUBLIC
- iocPUBLIC
- isBuyPUBLIC
- leveragePUBLIC
- makerPUBLIC
- marketPUBLIC
- orderbookOnlyPUBLIC
- pack_orderPUBLIC
- postOnlyPUBLIC
- pricePUBLIC
- quantityPUBLIC
- reduceOnlyPUBLIC
- saltPUBLIC
- set_leverageFRIEND
- set_priceFRIEND
- to_1x9PUBLIC
- verify_and_fill_order_qtyFRIEND
- verify_order_expiryFRIEND
- verify_order_leverageFRIEND
- verify_order_signatureFRIEND
- verify_order_stateFRIEND
Structs
- Order
- OrderCancel
- OrderCancelV2
- OrderFill
- OrderFillV2
- OrderFlags
- OrderStatus
Explore order in Playground perpetual50 functions · 18 structs
Functions
- checksPUBLIC
- checks_v2PUBLIC
- delist_perpetualentryPUBLIC
- delist_perpetual_v2entryPUBLIC
- delistedPUBLIC
- delisted_v2PUBLIC
- delistingPricePUBLIC
- delistingPrice_v2PUBLIC
- feePoolPUBLIC
- feePool_v2PUBLIC
- fundingRatePUBLIC
- fundingRate_v2PUBLIC
- get_accounts_vectorPUBLIC
- get_feePUBLIC
- get_fee_v2PUBLIC
- get_non_liquidateable_accounts_keyPUBLIC
- get_oracle_price_key
- get_pre_launch_status_key
- get_user_positionPUBLIC
- get_versionPUBLIC
- get_whitelisted_liquidators_keyPUBLIC
- globalIndexPUBLIC
- globalIndex_v2PUBLIC
- idPUBLIC
- id_v2PUBLIC
- imrPUBLIC
- imr_v2PUBLIC
- increment_perpetual_versionentry
- initializeFRIEND
- insurancePoolPUBLIC
- insurancePool_v2PUBLIC
- is_pre_launch_perpetualFRIEND
- is_trading_permittedPUBLIC
- is_trading_permitted_v2PUBLIC
- is_whitelisted_for_special_feePUBLIC
- makerFeePUBLIC
- makerFee_v2PUBLIC
- mmrPUBLIC
- mmr_v2PUBLIC
- namePUBLIC
- name_v2PUBLIC
- poolPercentagePUBLIC
- poolPercentage_v2PUBLIC
- positionsFRIEND
- priceIdenfitierPUBLIC
- priceIdenfitier_v2PUBLIC
- priceOraclePUBLIC
- priceOracle_v2PUBLIC
- remove_empty_positionsentry
- set_fee_pool_addressentryPUBLIC
Structs
- DelistEvent
- FeePoolAccountUpdateEvent
- IMRUpdateEvent
- InsurancePoolAccountUpdateEvent
- InsurancePoolRatioUpdateEvent
- MMRUpdateEvent
- MakerFeeUpdateEvent
- Perpetual
- PerpetualCreationEvent
- PerpetualNameUpdateEvent
- PerpetualV2
- PreLaunchOraclePriceUpdateEvent
- PriceFeedUpdateEvent
- PriceOracleIdentifierUpdateEvent
- SpecialFee
- SpecialFeeEvent
- TakerFeeUpdateEvent
- TradingPermissionStatusUpdate
Explore perpetual in Playground position23 functions · 5 structs
Functions
- compute_average_entry_pricePUBLIC
- compute_margin_ratioPUBLIC
- compute_pnl_per_unitPUBLIC
- create_positionFRIEND
- emit_position_closed_eventFRIEND
- emit_position_update_eventFRIEND
- indexPUBLIC
- initializeFRIEND
- isPosPositivePUBLIC
- is_undercollatPUBLIC
- marginPUBLIC
- mroPUBLIC
- oiOpenPUBLIC
- qPosPUBLIC
- remove_empty_positionsFRIEND
- set_indexFRIEND
- set_isPosPositiveFRIEND
- set_marginFRIEND
- set_mroFRIEND
- set_oiOpenFRIEND
- set_qPosFRIEND
- userPUBLIC
- verify_collat_checksPUBLIC
Structs
- AccountPositionUpdateEvent
- AccountPositionUpdateEventV2
- PositionClosedEvent
- PositionClosedEventV2
- UserPosition
Explore position in Playground roles41 functions · 18 structs
Functions
- check_delevearging_operator_validityPUBLIC
- check_delevearging_operator_validity_v2PUBLIC
- check_funding_rate_operator_validityPUBLIC
- check_funding_rate_operator_validity_v2PUBLIC
- check_guardian_validityPUBLIC
- check_guardian_validity_v2PUBLIC
- check_public_settlement_cap_validityPUBLIC
- check_public_settlement_cap_validity_v2PUBLIC
- check_settlement_operator_validityPUBLIC
- check_settlement_operator_validity_v2PUBLIC
- create_deleveraging_operator
- create_exchange_admin
- create_exchange_guardian
- create_funding_rate_operator
- create_sequencerentry
- create_settlement_operatorentry
- delete_tx_hashesentry
- get_oracle_operator_key
- get_versionPUBLIC
- increment_safe_versionentry
- increment_sequencer_versionentry
- increment_sub_account_versionentry
- init
- is_sub_accountPUBLIC
- is_sub_account_v2PUBLIC
- remove_settlement_operatorentry
- set_deleveraging_operatorentryPUBLIC
- set_deleveraging_operator_v2entryPUBLIC
- set_exchange_adminentry
- set_exchange_guardianentry
- set_funding_rate_operatorentryPUBLIC
- set_funding_rate_operator_v2entryPUBLIC
- set_pre_launch_oracle_operatorentry
- set_sub_accountentryPUBLIC
- set_vault_sub_accountFRIEND
- validate_safe_versionPUBLIC
- validate_sequencer_versionPUBLIC
- validate_sub_accounts_versionPUBLIC
- validate_unique_txPUBLIC
- validate_unique_tx_v2FRIEND
- verify_oracle_operatorPUBLIC
Structs
- CapabilitiesSafe
- CapabilitiesSafeV2
- DeleveragingCap
- DelevergingOperatorUpdate
- ExchangeAdminCap
- ExchangeAdminUpdateEvent
- ExchangeGuardianCap
- ExchangeGuardianUpdateEvent
- FundingRateCap
- FundingRateOperatorUpdate
- Sequencer
- SequencerCreationEvent
- SettlementCap
- SettlementOperatorCreationEvent
- SettlementOperatorRemovalEvent
- SubAccountUpdateEvent
- SubAccounts
- SubAccountsV2
Explore roles in Playground signed_number22 functions · 1 structs
Functions
- addPUBLIC
- add_uintPUBLIC
- div_uintPUBLIC
- fromPUBLIC
- from_subtractionPUBLIC
- gtPUBLIC
- gt_uintPUBLIC
- gtePUBLIC
- gte_uintPUBLIC
- lt_uintPUBLIC
- lte_uintPUBLIC
- mul_uintPUBLIC
- negatePUBLIC
- negative_numberPUBLIC
- newPUBLIC
- onePUBLIC
- positive_numberPUBLIC
- positive_valuePUBLIC
- signPUBLIC
- subPUBLIC
- sub_uintPUBLIC
- valuePUBLIC
Explore signed_number in Playground test4 functions · 7 structs
Functions
- get_public_addressentryPUBLIC
- get_public_address_from_signed_orderentryPUBLIC
- hashentryPUBLIC
- verify_signatureentryPUBLIC
Structs
- CoinValue
- EncodedOrder
- HashGeneratedEvent
- OrderSerializedEvent
- PublicAddressGeneratedEvent
- PublicKeyRecoveredEvent
- SignatureVerifiedEvent
Explore test in Playground vaults7 functions · 1 structs
Functions
- create_vault_bank_accountPUBLIC
- create_vault_storePUBLIC
- increment_vault_store_versionentry
- set_adminPUBLIC
- set_vault_sub_accountPUBLIC
- set_vaults_bank_mangerPUBLIC
- withdraw_coins_from_vaultPUBLIC
Explore vaults in Playground