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.
- 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.21.0
- BREAKING: Restricted
fixed
crate to<=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