Documentation
Preparing search index...
@mysten/deepbook-v3
predict
queueEvents
OrderEnqueued
Variable OrderEnqueued
Const
OrderEnqueued
:
MoveStruct
<
{
account_id
:
BcsType
<
string
,
string
|
Uint8Array
<
ArrayBufferLike
>
,
"bytes[32]"
,
>
;
budget
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
builder_code_id
:
BcsType
<
string
|
null
,
string
|
Uint8Array
<
ArrayBufferLike
>
|
null
|
undefined
,
"Option<bytes[32]>"
,
>
;
cash_need
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
expiry_market_id
:
BcsType
<
string
,
string
|
Uint8Array
<
ArrayBufferLike
>
,
"bytes[32]"
,
>
;
kind
:
BcsType
<
number
,
number
,
"u8"
>
;
market_cash
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
onchain_timestamp_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
order_fee
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
position
:
MoveStruct
<
{
opened_at_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
order_id
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u256"
>
;
root_id
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u256"
>
;
}
,
"@local-pkg/deepbook_predict_orders::order_queue::HeldPosition"
,
>
;
record_id
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
referrer_account_id
:
BcsType
<
string
|
null
,
string
|
Uint8Array
<
ArrayBufferLike
>
|
null
|
undefined
,
"Option<bytes[32]>"
,
>
;
request
:
MoveStruct
<
{
higher_tick
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
lower_tick
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
max_cost
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
max_premium
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
max_probability
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
min_probability
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
min_proceeds
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
min_quantity
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
quantity
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
}
,
"@local-pkg/deepbook_predict_orders::order_queue::OrderRequest"
,
>
;
required_cash
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
source_record_id
:
BcsType
<
bigint
|
null
,
string
|
number
|
bigint
|
null
|
undefined
,
"Option<u64>"
,
>
;
subsidy_bound
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
timing
:
MoveStruct
<
{
cutoff_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
deadline_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
earliest_price_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
placed_at_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
pyth_channel
:
BcsType
<
number
,
number
,
"u8"
>
;
tau_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
}
,
"@local-pkg/deepbook_predict_orders::order_queue::OrderTiming"
,
>
;
vol
:
MoveStruct
<
{
bs_forward
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
bs_forward_source_timestamp_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
,
>
;
bs_spot
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
bs_spot_source_timestamp_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
,
>
;
pyth_source_id
:
BcsType
<
number
,
number
,
"u32"
>
;
svi_a
:
MoveStruct
<
{
is_negative
:
BcsType
<
boolean
,
boolean
,
"bool"
>
;
magnitude
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
}
,
"fixed_math::i64::I64"
,
>
;
svi_b
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
svi_m
:
MoveStruct
<
{
is_negative
:
BcsType
<
boolean
,
boolean
,
"bool"
>
;
magnitude
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
}
,
"fixed_math::i64::I64"
,
>
;
svi_rho
:
MoveStruct
<
{
is_negative
:
BcsType
<
boolean
,
boolean
,
"bool"
>
;
magnitude
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
}
,
"fixed_math::i64::I64"
,
>
;
svi_sigma
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
svi_source_timestamp_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
,
>
;
}
,
"deepbook_predict::pricing::VolSnapshot"
,
>
;
waiting_cash_need
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
}
,
"@local-pkg/deepbook_predict_orders::queue_events::OrderEnqueued"
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...