All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add
place_perp_order_with_max_ts
- Fix precision loss in
ZoDexMarket::lots_to_price
- Add
EventFillLog
andOtcFill
events - Implement
Display
forSymbol
- Add instructions and types for special orders
create_special_orders_account
,{place,cancel,execute}_special_order
SpecialOrderType
,SpecialOrders{,Info}
- BREAKING: Change accounts passed to
cache_oracle
- BREAKING: Change accounts passed to
withdraw
- BREAKING: Bump
anchor-lang
tov0.25.0
- Add
taker_rate
andmaker_rate
functions - Add
place_perp_order_lite
- Add
ZoDexMarket::{price_to_lots,size_to_lots}
- Add
From<String>
forSymbol
- BREAKING: Refactor
dex::Slab
to avoid copying the buffer, so it can be used in programs - BREAKING: Upgrade anchor to
0.24.2
(from0.22.1
)
- Added
cancel_all_perp_orders
- Added
Square
perp type - Added
FillOrKill
order type (#4) - Added dex
Slab
deserialization and methods to find min or max price
- Added
Order
type to more easily useSlab
leafs - Fixed payer not being mutable on
create_margin
andcreate_perp_open_orders
- BREAKING: Removed
cancel_perp_order_by_client_id
, instead changingcancel_perp_order
to optionally take aclient_id
argument
- BREAKING: Bumped
anchor-lang
tov0.22.1
- BREAKING: Restricted
fixed
crate to>=1.8, <=1.11
- Added
devnet
feature flag to switch IDs - BREAKING: Updated all IDs, added new
devnet
andmainnet
instance ones - BREAKING: Updated structs for new instance
- Added
create_perp_open_orders
,cancel_perp_order
,cancel_perp_order_by_client_id
,settle_funds
instructions - Added
DepositLog
,WithdrawLog
events - Added
ReduceOnlyIoc
andReduceOnlyLimit
toOrderType
- BREAKING: Added
payer
tocreate_margin
andcreate_perp_order
(#3) - BREAKING: Bumped
anchor-lang
tov0.20.1
- BREAKING: Renamed
dex::ID
,serum::ID
,state::ID
toZO_DEX_PID
,SERUM_DEX_PID
,ZO_STATE_ID
- Life to this repo