Skip to content

Releases: blockworks-foundation/mango-v3

v3.4.3

03 Apr 18:27
Compare
Choose a tag to compare

v3.4.3

Deployed: Apr 3, 2022 at 19:00:13 UTC | Slot: 128,066,047

  1. SettleFees will return Ok and fail silently if not pnl negative and fees accrued positive
  2. Use pyth_client crate instead of copy pasta
  3. Remove pyth status check and just rely on confidence intervals

Anchor Registered Build

https://anchor.projectserum.com/build/530

v3.4.2

19 Mar 15:18
Compare
Choose a tag to compare

v3.3.4

Deployed: Mar 19, 2022 at 16:22:04 UTC | Slot: 125,699,230

  1. Increase PriceCache and PerpMarketCache validity by 2x
  2. Upgrade anchor to 0.22.1 and upgrade all other packages
  3. Move interest rate calculation outside of RootBank

Anchor Registered Build

https://anchor.projectserum.com/build/477

v3.4.1

28 Feb 16:36
Compare
Choose a tag to compare

v3.4.1

Deployed: Feb 28, 2022 at 15:43:29 UTC | Slot: 122,878,778

  1. Fix div by zero bug in market order sells

Anchor Registered Build

https://anchor.projectserum.com/build/339

v3.4.0

26 Feb 22:42
38accb1
Compare
Choose a tag to compare

v3.4.0

Deployed: Feb 28, 2022 at 13:57:00 UTC | Slot: 122,868,568

  1. Breaking change: Orders on the perp orderbook can now expire.
    Either use the iterator that returns only valid orders or manually filter out invalid orders.
  2. New instruction: PlacePerpOrder2
    • can set an expiry timestamp
    • can have a quote quantity limit
    • limits the depth of orderbook iteration
  3. Reduce heap memory use of event logging: ConsumeEvents limit raised back to 8

Anchor Registered Build

https://anchor.projectserum.com/build/335

v3.3.4

11 Feb 01:12
Compare
Choose a tag to compare

v3.3.4

Deployed: Feb 11, 2022 at 01:55:57 UTC | Slot: 120,283,217

  1. Added three instructions (ChangeReferralFeeParams, SetReferrerMemory, RegisterReferrerId) to help with referral program
  2. Assess taker fees at the time of the taker trade
  3. Add back Pyth status checks

Anchor Registered Build

https://anchor.projectserum.com/build/319

v3.3.5

11 Feb 15:45
Compare
Choose a tag to compare

v3.3.5

Deployed: Feb 11, 2022 at 17:36:15 UTC | Slot: 120,380,891

  1. reduce consume_events limit to 4 to prevent memory issues
  2. record maker fees on PerpMarket at time of trade to prevent it later going negative
  3. fix typo in emit_perp_balances to print correct short_funding

Anchor Registered Build

https://anchor.projectserum.com/build/320

v3.3.3

05 Feb 18:04
87ce090
Compare
Choose a tag to compare

v3.3.3

Deployed: Feb 4, 2022 at 01:47:33 UTC | Slot: 119,226,876

  1. Pyth status check temporarily removed to let people use accounts with COPE

Anchor Registered Build

https://anchor.projectserum.com/build/316

v3.3.2

28 Jan 17:18
Compare
Choose a tag to compare

v3.3.2

Deployed: Jan 28, 2022 at 20:38:57 UTC | Slot: 118,276,295

  1. Fix the bug in cancel_all where some orders weren't canceled
  2. Add optional payer account to CreateMangoAccount and CreateSpotOpenOrders for better composability
  3. Clean up iteration code and add better documentation

Anchor Registered Build

https://anchor.projectserum.com/build/242

v3.3.1

27 Jan 15:59
Compare
Choose a tag to compare

v3.3.1

Deployed: Jan 18, 2022 at 21:06:57 UTC | Slot: 116,847,318

  1. Check quote token vault inside resolve_token_bankruptcy
  2. Add checked to num for general safety

Anchor Registered Build

https://anchor.projectserum.com/build/160

v3.3.0

18 Jan 17:32
3583fa1
Compare
Choose a tag to compare

v3.3.0

Deployed: Jan 17, 2022 at 00:45:05 UTC | Slot: 116,585,405

  1. CancelAllPerpOrdersSide - cancels all order on one side
  2. CloseMangoAccount - close account and retrieve lamports
  3. ResolveDust - settle anything below 1 native SPL against the dust account
  4. CreateDustAccount - create a PDA tied to the MangoGroup useful for settling dust against
  5. SetDelegate - delegate authority to operate MangoAccount to another account
  6. upgrade packages
  7. impose price limits for placing limit orders
  8. ChangeSpotMarketParams
  9. CreateSpotOpenOrders using PDA for better UX

Anchor Registered Build

https://anchor.projectserum.com/build/141