Documentation
Preparing search index...
@mysten/deepbook-v3
predict
orderQueueMoveCalls
QueuedOrder
Variable QueuedOrder
Const
QueuedOrder
:
MoveStruct
<
{
account_id
:
BcsType
<
string
,
string
|
Uint8Array
<
ArrayBufferLike
>
,
"bytes[32]"
,
>
;
escrow
:
MoveStruct
<
{
budget
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
cash_need
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
order_fee
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
subsidy_bound
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
subsidy_reserved
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
}
,
"@local-pkg/deepbook_predict_orders::order_queue::OrderEscrow"
,
>
;
funds
:
MoveStruct
<
{
value
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
}
,
"0x2::balance::Balance<phantom T>"
,
>
;
kind
:
BcsType
<
number
,
number
,
"u8"
>
;
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"
,
>
;
price
:
MoveStruct
<
{
generation_us
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
spot
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
tick_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
}
,
"@local-pkg/deepbook_predict_orders::order_queue::CommittedPrice"
,
>
;
receipt
:
BcsType
<
|
{
budget
:
bigint
;
cash_need
:
bigint
;
channel
:
number
;
deadline_ms
:
bigint
;
expiry_market_id
:
string
;
generation_us
:
bigint
;
held_quantity
:
bigint
;
higher_tick
:
bigint
;
kind
:
number
;
lower_tick
:
bigint
;
max_premium
:
bigint
;
max_probability
:
bigint
;
min_probability
:
bigint
;
min_proceeds
:
bigint
;
min_quantity
:
bigint
;
opened_at_ms
:
bigint
;
order_fee
:
bigint
;
order_id
:
bigint
;
parties
:
{
account_id
:
string
;
builder_code_id
:
string
|
null
;
owner
:
string
;
receive_address
:
string
;
referrer_account_id
:
string
|
null
;
referrer_receive_address
:
string
|
null
;
}
;
quantity
:
bigint
;
root_id
:
bigint
;
spot
:
bigint
;
stage
:
number
;
subsidy_bound
:
bigint
;
subsidy_rate
:
bigint
;
subsidy_reserved
:
bigint
;
tau_ms
:
bigint
;
tick_ms
:
bigint
;
vol
:
{
bs_forward
:
bigint
;
bs_forward_source_timestamp_ms
:
bigint
;
bs_spot
:
bigint
;
bs_spot_source_timestamp_ms
:
bigint
;
pyth_source_id
:
number
;
svi_a
:
{
is_negative
:
boolean
;
magnitude
:
bigint
}
;
svi_b
:
bigint
;
svi_m
:
{
is_negative
:
boolean
;
magnitude
:
bigint
}
;
svi_rho
:
{
is_negative
:
boolean
;
magnitude
:
bigint
}
;
svi_sigma
:
bigint
;
svi_source_timestamp_ms
:
bigint
;
}
;
}
|
null
,
|
{
budget
:
string
|
number
|
bigint
;
cash_need
:
string
|
number
|
bigint
;
channel
:
number
;
deadline_ms
:
string
|
number
|
bigint
;
expiry_market_id
:
string
|
Uint8Array
<
ArrayBufferLike
>
;
generation_us
:
string
|
number
|
bigint
;
held_quantity
:
string
|
number
|
bigint
;
higher_tick
:
string
|
number
|
bigint
;
kind
:
number
;
lower_tick
:
string
|
number
|
bigint
;
max_premium
:
string
|
number
|
bigint
;
max_probability
:
string
|
number
|
bigint
;
min_probability
:
string
|
number
|
bigint
;
min_proceeds
:
string
|
number
|
bigint
;
min_quantity
:
string
|
number
|
bigint
;
opened_at_ms
:
string
|
number
|
bigint
;
order_fee
:
string
|
number
|
bigint
;
order_id
:
string
|
number
|
bigint
;
parties
:
{
account_id
:
string
|
Uint8Array
<
ArrayBufferLike
>
;
builder_code_id
:
|
string
|
Uint8Array
<
ArrayBufferLike
>
|
null
|
undefined
;
owner
:
string
|
Uint8Array
<
ArrayBufferLike
>
;
receive_address
:
string
|
Uint8Array
<
ArrayBufferLike
>
;
referrer_account_id
:
|
string
|
Uint8Array
<
ArrayBufferLike
>
|
null
|
undefined
;
referrer_receive_address
:
|
string
|
Uint8Array
<
ArrayBufferLike
>
|
null
|
undefined
;
}
;
quantity
:
string
|
number
|
bigint
;
root_id
:
string
|
number
|
bigint
;
spot
:
string
|
number
|
bigint
;
stage
:
number
;
subsidy_bound
:
string
|
number
|
bigint
;
subsidy_rate
:
string
|
number
|
bigint
;
subsidy_reserved
:
string
|
number
|
bigint
;
tau_ms
:
string
|
number
|
bigint
;
tick_ms
:
string
|
number
|
bigint
;
vol
:
{
bs_forward
:
string
|
number
|
bigint
;
bs_forward_source_timestamp_ms
:
string
|
number
|
bigint
;
bs_spot
:
string
|
number
|
bigint
;
bs_spot_source_timestamp_ms
:
string
|
number
|
bigint
;
pyth_source_id
:
number
;
svi_a
:
{
is_negative
:
boolean
;
magnitude
:
string
|
number
|
bigint
}
;
svi_b
:
string
|
number
|
bigint
;
svi_m
:
{
is_negative
:
boolean
;
magnitude
:
string
|
number
|
bigint
}
;
svi_rho
:
{
is_negative
:
boolean
;
magnitude
:
string
|
number
|
bigint
}
;
svi_sigma
:
string
|
number
|
bigint
;
svi_source_timestamp_ms
:
string
|
number
|
bigint
;
}
;
}
|
null
|
undefined
,
"Option<deepbook_predict::expiry_market::OrderReceipt>"
,
>
;
receive_address
:
BcsType
<
string
,
string
|
Uint8Array
<
ArrayBufferLike
>
,
"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"
,
>
;
result
:
MoveStruct
<
{
amount
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
finished_at_ms
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
quantity
:
BcsType
<
bigint
,
string
|
number
|
bigint
,
"u64"
>
;
reason
:
BcsType
<
number
,
number
,
"u8"
>
;
}
,
"@local-pkg/deepbook_predict_orders::order_queue::OrderResult"
,
>
;
status
:
BcsType
<
number
,
number
,
"u8"
>
;
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"
,
>
;
}
,
"@local-pkg/deepbook_predict_orders::order_queue::QueuedOrder"
,
>
= ...
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Documentation
Loading...