Package 0xcd35…cf9b | SuiLearn ExplorerDetails
- Version
- 12
- Modules
- 27 (439 functions)
Versions
Each upgrade is a new package ID
bank29 functions · 5 structs
Functions
- bank_addressFRIEND
- charge_relayer_gas_feeFRIEND
- create_account_if_not_existFRIEND
- create_bankentry
- decrease_trial_fund_lockentry
- decrease_trial_fund_lock_internal
- deposit_from_coin
- deposit_trial_fundentry
- deposit_v2entry
- deposit_with_source
v120xf75a…cd96this versionFRIEND
exists_accountFRIENDget_balanceFRIENDget_bank_idFRIENDget_trial_fund_lockedPUBLICmove_balanceFRIENDremove_empty_accountPUBLICremove_empty_account_internalFRIENDset_relayerentryset_withdrawal_statusPUBLICtransferFRIENDtransfer_gas_feeFRIENDtransfer_with_actionwithdraw_all_internalFRIENDwithdraw_all_v2entrywithdraw_internalFRIENDwithdraw_internal_with_tx_indexFRIENDwithdraw_trial_fundentrywithdraw_v2entrywithdraw_with_tx_indexStructs
- Bank
- BankAccount
- BankBalanceUpdateEvent
- TrialFundLockUpdateEvent
- WithdrawalStatusUpdateEvent
cctp7 functions · 7 structs
Functions
- create_receive_message_ticketPUBLIC
- deposit_box_addressPUBLIC
- destination_callerPUBLIC
- pending_deposit_amountPUBLIC
- pending_deposit_message_senderPUBLIC
- receive_into_deposit_boxPUBLIC
- withdraw_and_create_burn_ticketPUBLIC
Structs
- CctpBurnAuth
- CctpDeposit
- CctpDepositBox
- CctpDepositBoxCreatedEvent
- CctpDepositQueuedEvent
- CctpDepositSweptEvent
- CctpReceiveAuth
Explore cctp in Playground coin2 functions · 3 structs
Functions
- faucetentry
- faucet_unlimitedentry
Structs
- COIN
- MintManager
- UnlimitedMintCap
Explore coin in Playground evaluator29 functions · 11 structs
Functions
- max_allowed_oi_openPUBLIC
- max_pricePUBLIC
- max_qty_limitPUBLIC
- max_qty_marketPUBLIC
- min_pricePUBLIC
- min_qtyPUBLIC
- mtb_longPUBLIC
- mtb_shortPUBLIC
- new_trade_checksPUBLIC
- 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
- step_sizePUBLIC
- tick_size_refPUBLIC
- trade_checks_hashPUBLIC
- validate_trade_checksFRIEND
- verify_market_take_bound_checksFRIEND
- verify_min_max_priceFRIEND
- verify_oi_open_for_accountFRIEND
- verify_price_checksFRIEND
- verify_qty_checksFRIEND
- verify_qty_checks_liquidationFRIEND
Structs
- MaxAllowedOIOpenUpdateEvent
- MaxOrderPriceUpdateEvent
- MaxQtyLimitUpdateEvent
- MaxQtyMarketUpdateEvent
- MinOrderPriceUpdateEvent
- MinQtyUpdateEvent
- MtbLongUpdateEvent
- MtbShortUpdateEvent
- StepSizeUpdateEvent
- TickSizeUpdateEvent
- TradeChecks
Explore evaluator in Playground exchange37 functions · 4 structs
Functions
- add_marginPUBLIC
- add_margin_impl
- add_margin_v2PUBLIC
- add_margin_v3PUBLIC
- add_margin_v4PUBLIC
- adjust_leveragePUBLIC
- adjust_leverage_impl
- adjust_leverage_v2PUBLIC
- adjust_leverage_v3PUBLIC
- adjust_leverage_v4PUBLIC
- apply_funding_rate
- assert_transaction_balance_unchanged
- authorize_signed_action
- cancel_order_v2PUBLIC
- cancel_order_v3entry
- close_position_impl
- close_position_v3entry
- create_perpetual_v2entry
- deleveragePUBLIC
- deleverage_impl
- deleverage_v2PUBLIC
- liquidatePUBLIC
- liquidate_impl
- liquidate_v2PUBLIC
- remove_marginPUBLIC
- remove_margin_impl
- remove_margin_v2PUBLIC
- remove_margin_v3PUBLIC
- remove_margin_v4PUBLIC
- sum_transaction_balanceFRIEND
- tradePUBLIC
- trade_impl
- trade_v2PUBLIC
- trade_v3PUBLIC
- trade_v4PUBLIC
- trade_v5entry
- verify_user_signature
Structs
- AccountSettlementUpdateEvent
- LiquidatorPaidForAccountSettlementEvent
- SettlementAmountNotPaidCompletelyEvent
- SettlementAmtDueByMakerEvent
Explore exchange in Playground funding_rate14 functions · 7 structs
Functions
- are_indexes_equalFRIEND
- compute_new_global_indexFRIEND
- expected_funding_window
- indexFRIEND
- index_timestampFRIEND
- index_valueFRIEND
- initializeFRIEND
- new_indexFRIEND
- rateFRIEND
- reset_funding_epochFRIEND
- resume_funding_epochFRIEND
- set_funding_rateFRIEND
- set_global_indexFRIEND
- set_max_allowed_funding_rateFRIEND
Structs
- FundingEpochResetEvent
- FundingEpochResumedEvent
- FundingIndex
- FundingRate
- FundingRateUpdateEvent
- GlobalIndexUpdateEvent
- MaxAllowedFRUpdateEvent
Explore funding_rate in Playground insurance_fund9 functions · 7 structs
Functions
- active_accountFRIEND
- create_insurance_fundFRIEND
- record_transfer_timeFRIEND
- security_accountFRIEND
- set_active_accountFRIEND
- set_amount_limitFRIEND
- set_security_accountFRIEND
- set_transfer_intervalFRIEND
- transferFRIEND
Structs
- InsuranceFund
- InsuranceFundCreateEvent
- InsuranceFundTransferEvent
- InsuranceFundUpdateActiveAccountEvent
- InsuranceFundUpdateSecurityAccountEvent
- InsuranceFundUpdateTransferAmountLimitEvent
- InsuranceFundUpdateTransferIntervalEvent
Explore insurance_fund in Playground isolated_adl6 functions · 4 structs
Functions
- apply_isolated_margin
- pack_trade_dataFRIEND
- tradeFRIEND
- unpack_responseFRIEND
- verify_account
- verify_trade
Structs
- IMResponse
- TradeData
- TradeExecutedEvent
- TradeResponse
Explore isolated_adl in Playground isolated_liquidation6 functions · 4 structs
Functions
- apply_isolated_margin
- calculate_premium
- pack_trade_dataFRIEND
- tradeFRIEND
- unpack_responseFRIEND
- verify_trade
Structs
- IMResponse
- TradeData
- TradeExecutedEvent
- TradeResponse
Explore isolated_liquidation in Playground isolated_trading6 functions · 6 structs
Functions
- apply_isolated_margin
- caculate_gas_fee
- pack_trade_dataFRIEND
- tradeFRIEND
- unpack_responseFRIEND
- verify_order
Structs
- Fill
- IMResponse
- TradeData
- TradeDataV2
- TradeExecutedEvent
- TradeResponse
Explore isolated_trading in Playground order28 functions · 7 structs
Functions
- cancelFRIEND
- create_orderFRIEND
- creatorFRIEND
- creator_identifierFRIEND
- decode_order_flags
- destroy_order_statusFRIEND
- expirationFRIEND
- get_filled_qtyFRIEND
- iocFRIEND
- is_longFRIEND
- leverageFRIEND
- new_recordsFRIEND
- order_v2_to_orderFRIEND
- pack_orderFRIEND
- post_onlyFRIEND
- priceFRIEND
- records_entriesFRIEND
- records_entries_mutFRIEND
- reduce_onlyFRIEND
- set_leverageFRIEND
- set_priceFRIEND
- share_recordsFRIEND
- to_1x9FRIEND
- to_json_bytesFRIEND
- verify_and_fill_order_qtyFRIEND
- verify_order_expiryFRIEND
- verify_order_leverageFRIEND
- verify_order_stateFRIEND
Structs
- Order
- OrderCancelEvent
- OrderFillEvent
- OrderFlags
- OrderRecords
- OrderStatus
- OrderV2
Explore order in Playground package_auth8 functions · 2 structs
Functions
- assert_granted
- deposit_with_package_authPUBLIC
- grantentry
- is_grantedPUBLIC
- revokeentry
- withdraw_signed
- withdraw_signed_with_package_authPUBLIC
- witness_type
Structs
- PackageAuthGrantedEvent
- PackageAuthRevokedEvent
Explore package_auth in Playground perpetual50 functions · 14 structs
Functions
- assert_market_config_mutation_allowedFRIEND
- assert_position_mutation_allowedFRIEND
- borrow_positionFRIEND
- check_manager_can_mutate
- check_trading_openFRIEND
- checksFRIEND
- createFRIEND
- delist_perpetualPUBLIC
- delistedFRIEND
- delisting_priceFRIEND
- ensure_insurance_active_positionFRIEND
- ensure_market_epochFRIEND
- fee_poolFRIEND
- funding_rateFRIEND
- funding_rate_mutFRIEND
- gas_poolFRIEND
- get_feeFRIEND
- has_active_rebaseFRIEND
- has_positionFRIEND
- idFRIEND
- imrFRIEND
- increment_market_epochFRIEND
- install_rebase_market_parametersFRIEND
- insurance_active_poolFRIEND
- insurance_security_poolFRIEND
- is_trading_permittedFRIEND
- market_epochPUBLIC
- mmrFRIEND
- perp_addressFRIEND
- positionsFRIEND
- positions_readFRIEND
- price_oracleFRIEND
- put_rebase_sessionFRIEND
- rebase_sessionFRIEND
- remove_empty_positionsPUBLIC
- set_fee_pool_addressPUBLIC
- set_funding_ratePUBLIC
- set_funding_rate_v2PUBLIC
- set_gas_pool_addressPUBLIC
- set_initial_margin_requiredPUBLIC
- set_insurance_active_pool_addressPUBLIC
- set_insurance_fund_transfer_amount_limitPUBLIC
- set_insurance_fund_transfer_intervalPUBLIC
- set_insurance_security_pool_addressPUBLIC
- set_maintenance_margin_requiredPUBLIC
- set_maker_feePUBLIC
- set_max_allowed_funding_ratePUBLIC
- set_max_oi_openPUBLIC
- set_max_pricePUBLIC
- set_max_qty_limitPUBLIC
Structs
- DelistEvent
- FeePoolAccountUpdateEvent
- GasPoolAccountUpdateEvent
- IMRUpdateEvent
- MMRUpdateEvent
- MakerFeeUpdateEvent
- MarketEpoch
- Perpetual
- PerpetualCreationEvent
- PriceOracleIdentifierUpdateEvent
- SpecialFee
- SpecialFeeEvent
- TakerFeeUpdateEvent
- TradingPermissionStatusUpdateEvent
Explore perpetual in Playground position27 functions · 3 structs
Functions
- apply_margin_resultFRIEND
- compute_average_entry_priceFRIEND
- compute_bankruptcy_priceFRIEND
- compute_funding_fee_per_unitFRIEND
- compute_margin_ratioFRIEND
- compute_pnl_per_unitFRIEND
- create_positionFRIEND
- emit_position_closed_eventFRIEND
- emit_position_update_eventFRIEND
- empty_positionFRIEND
- indexFRIEND
- is_longFRIEND
- is_undercollatFRIEND
- marginFRIEND
- mroFRIEND
- oi_openFRIEND
- position_commitmentPUBLIC
- rebase_rewriteFRIEND
- remove_empty_positionsFRIEND
- set_indexFRIEND
- set_is_longFRIEND
- set_marginFRIEND
- set_mroFRIEND
- set_oi_openFRIEND
- set_sizeFRIEND
- sizeFRIEND
- verify_collat_checksFRIEND
Structs
- AccountPositionUpdateEvent
- Position
- PositionClosedEvent
Explore position in Playground price_feed9 functions · 4 structs
Functions
- collect_price_updates
- containsFRIEND
- feederPUBLIC
- get_price_infoFRIEND
- insert_price_infoFRIEND
- price_info_priceFRIEND
- price_info_timestampFRIEND
- set_feederFRIEND
- update_price_feedPUBLIC
Structs
- PriceFeed
- PriceFeedUpdateEvent
- PriceInfo
- PriceInfoUpdate
Explore price_feed in Playground protocol44 functions · 6 structs
Functions
- add_package_authFRIEND
- add_settlement_operator_addressFRIEND
- borrow_perpetual_idsFRIEND
- check_basicPUBLIC
- check_order_recordsFRIEND
- check_orders_tableFRIEND
- check_versionFRIEND
- clear_settlement_cap_idsFRIEND
- configured_action_gas_feeFRIEND
- deleveraging_cap_idFRIEND
- funding_rate_cap_idFRIEND
- gas_relayerFRIEND
- get_action_gas_feePUBLIC
- init_gas_configFRIEND
- init_settlement_operator_addressesFRIEND
- insurance_operator_cap_idFRIEND
- is_package_auth_grantedFRIEND
- is_pausedFRIEND
- maker_gas_feeFRIEND
- manager_cap_idFRIEND
- order_records_config
- order_records_identry
- order_records_migration_completeentry
- privileged_addressesFRIEND
- privileged_addresses_mutFRIEND
- register_order_recordsFRIEND
- register_perpetualFRIEND
- remove_package_authFRIEND
- remove_settlement_operator_addressFRIEND
- retire_legacy_orders_tableFRIEND
- set_action_gas_feeFRIEND
- set_deleveraging_cap_idFRIEND
- set_funding_rate_cap_idFRIEND
- set_gas_relayerFRIEND
- set_insurance_operator_cap_idFRIEND
- set_is_pausedFRIEND
- set_maker_gas_feeFRIEND
- set_manager_cap_idFRIEND
- set_taker_gas_feeFRIEND
- set_trial_fund_operatorFRIEND
- settlement_operator_address_existsFRIEND
- taker_gas_feeFRIEND
- trial_fund_operatorFRIEND
- upgradeFRIEND
Structs
- GasConfig
- OrderRecordsConfig
- PackageAuthWhitelist
- PerpetualRegistry
- ProtocolConfig
- SettlementOperatorAddresses
Explore protocol in Playground rebase15 functions · 1 structs
Functions
- begin_rebasePUBLIC
- cancel_rebasePUBLIC
- check_bank
- check_manager
- check_operator
- check_session
- complete_rebasePUBLIC
- consume_insurance_funds
- emergency_abort_rebasePUBLIC
- emergency_set_rebase_operatorPUBLIC
- market_id
- prepare_rebase_accountsPUBLIC
- preview_position
- rebase_accountsPUBLIC
- seal_rebasePUBLIC
Structs
- RebaseOperatorUpdatedEvent
Explore rebase in Playground roles29 functions · 17 structs
Functions
- add_privileged_addressesentry
- add_settlement_operator_addressentry
- assert_cap_id
- assert_manager
- assert_nonzero_address
- check_deleveraging_operator_validityFRIEND
- check_funding_rate_operator_validityFRIEND
- check_insurance_operator_validityFRIEND
- check_manager_validityPUBLIC
- check_settlement_sender_validityFRIEND
- check_trial_fund_operator_validityFRIEND
- mutate_privileged_addresses
- pauseentry
- remove_privileged_addressesentry
- remove_settlement_operatorPUBLIC
- remove_settlement_operator_addressentry
- resumeentry
- set_action_gas_feeentry
- set_deleveraging_operatorentry
- set_exchange_adminentry
- set_exchange_managerentry
- set_funding_rate_operatorentry
- set_gas_relayerFRIEND
- set_insurance_operatorentry
- set_maker_gas_feeentry
- set_price_feederentry
- set_taker_gas_feeentry
- set_trial_fund_operatorentry
- upgradeentry
Structs
- DeleveragingCap
- DelevergingOperatorUpdateEvent
- ExchangeAdminCap
- ExchangeAdminPauseEvent
- ExchangeAdminResumeEvent
- ExchangeAdminUpdateEvent
- ExchangeManagerCap
- ExchangeManagerUpdateEvent
- FundingRateCap
- FundingRateOperatorUpdateEvent
- InsuranceOperatorCap
- InsuranceOperatorUpdateEvent
- SettlementCap
- SettlementOperatorAddressAddedEvent
- SettlementOperatorAddressRemovedEvent
- SettlementOperatorCreationEvent
- SettlementOperatorRemovalEvent
Explore roles in Playground s12814 functions · 1 structs
Functions
- addFRIEND
- add_u128FRIEND
- fromFRIEND
- from_subtractionFRIEND
- gt_u128FRIEND
- gte_u128FRIEND
- lt_u128FRIEND
- lte_u128FRIEND
- mul_u128FRIEND
- normalize_zero
- signFRIEND
- subFRIEND
- valueFRIEND
- zeroFRIEND
Explore s128 in Playground settlement5 functions · 0 structs
Functions
- get_margin_leftFRIEND
- get_max_removeable_marginFRIEND
- get_target_marginFRIEND
- trade_margin_settlementFRIEND
- transfer_based_on_fundsflow
Explore settlement in Playground sub_accounts9 functions · 4 structs
Functions
- assert_signed_action_sender_authorizedFRIEND
- create_tx_indexerentry
- get_all_sub_accountsFRIEND
- increment_tx_indexFRIEND
- is_sub_accountFRIEND
- set_sub_accountentry
- set_sub_account_internalFRIEND
- set_sub_account_v2entry
- validate_unique_txFRIEND
Structs
- SubAccountUpdateEvent
- SubAccounts
- TxIndexer
- TxIndexerCreationEvent
Explore sub_accounts in Playground test5 functions · 6 structs
Functions
- get_public_addressPUBLIC
- get_public_address_from_signed_orderPUBLIC
- get_serialized_orderPUBLIC
- hashPUBLIC
- verify_signaturePUBLIC
Structs
- CoinValue
- HashGeneratedEvent
- OrderSerializedEvent
- PublicAddressGeneratedEvent
- PublicKeyRecoveredEvent
- SignatureVerifiedEvent
Explore test in Playground vault50 functions · 33 structs
Functions
- add_shares
- auth
- auth_charge
- auth_creator
- bank_account
- check_creator_share_ratio
- claim_closed_vault_fundsPUBLIC
- claim_closed_vault_funds_impl
- claim_closed_vault_funds_v2PUBLIC
- close_vaultPUBLIC
- close_vault_v2PUBLIC
- close_vault_v3PUBLIC
- compute_perpetual_position_valuePUBLIC
- compute_perpetual_position_value_v2PUBLIC
- create_vaultPUBLIC
- create_vault_by_managerPUBLIC
- create_vault_internal
- create_vault_v2PUBLIC
- creator_position_mut
- depositPUBLIC
- deposit_internal
- deposit_v2PUBLIC
- effective_follower_max_cap
- fill_withdrawal_requestsPUBLIC
- fill_withdrawal_requests_v2PUBLIC
- get_effective_follower_max_capPUBLIC
- increase_deposit
- is_closed
- is_nav_filledPUBLIC
- new_vault_navPUBLIC
- pnl_per_sharePUBLIC
- remove_vaultPUBLIC
- request_withdrawPUBLIC
- request_withdraw_impl
- request_withdraw_v2PUBLIC
- set_auto_close_on_withdrawPUBLIC
- set_auto_close_on_withdraw_v2PUBLIC
- set_deposit_statusPUBLIC
- set_deposit_status_v2PUBLIC
- set_follower_max_capPUBLIC
- set_follower_max_cap_v2PUBLIC
- set_max_capPUBLIC
- set_max_cap_v2PUBLIC
- set_min_deposit_amountPUBLIC
- set_min_deposit_amount_v2PUBLIC
- set_sub_traderPUBLIC
- set_sub_trader_internal
- set_sub_trader_v2PUBLIC
- set_traderPUBLIC
- set_trader_v2PUBLIC
Structs
- ClaimClosedVaultFundsEvent
- CreatedVaultConfigEvent
- CreatedVaultEvent
- DepositEvent
- Position
- SharePriceUpdatedEvent
- UserWithdrawalRequest
- UserWithdrawalRequestV2
- Vault
- VaultAutoCloseOnWithdrawUpdateEvent
- VaultClosedEvent
- VaultConfig
- VaultConfigFeePoolUpdateEvent
- VaultConfigLockPeriodUpdateEvent
- VaultConfigMaxCapUpdateEvent
- VaultConfigOperatorUpdateEvent
- VaultConfigStatusUpdateEvent
- VaultConfigVaultCreatingFeeUpdateEvent
- VaultConfigWithdrawalFillingGasFeeUpdateEvent
- VaultDepositStatusUpdateEvent
- VaultExtension
- VaultFollowerMaxCapUpdateEvent
- VaultMaxCapUpdateEvent
- VaultMinDepositAmountUpdateEvent
- VaultNAV
- VaultNameUpdateEvent
- VaultRegistry
- VaultRemovedEvent
- VaultSubAccountUpdateEvent
- VaultTraderUpdateEvent
- WithdrawRequestEvent
- WithdrawRequestFillEvent
- WithdrawRequestUnfillEvent
Explore vault in Playground