Skip to content

Releases: PaintSwap/samwitch-orderbook

V2.0.3

08 Feb 19:56

Choose a tag to compare

Make all external non-view functions nonReentrant

V2.0.2

06 Feb 14:43

Choose a tag to compare

  • Output ABI after when compiling
  • Check for overflows of the order id when claiming

V2.0.1

01 Feb 16:13

Choose a tag to compare

  • Helper function in tests for getting next order id
  • Various QOL improvements

V1.1.3

10 Oct 20:46

Choose a tag to compare

  • Fix bug when not removing a price level when cancelling an order in the only segment which is not at offset 0
  • Add a test for checking for overflow when cancelling an order which overflows uint72

V2

23 Sep 12:10

Choose a tag to compare

V2
  • Raised minimum solidity version to ^0.8.26;
  • Custom errors used in BokkyPooBahsRedBlackTreeLibrary
  • uint changed to uint256 for Solidity 0.9.0 preparation
  • Replace brush with more generic coin name
  • Private variables use _ prefix and any ABI variables no longer using underscore
  • Remove amountClaimableForTokenId and reuse both NFT and token amounts in _tokenClaimables

Note: Not backwards compatible with V1 contract deployments

V1.1.2

07 Aug 12:17

Choose a tag to compare

  • Handle overflow for price if incrementing it at max uint72

V1.1.1

05 Aug 21:36

Choose a tag to compare

  • Add not maker defensive check when claiming NFTs

V1.1

03 Aug 18:30

Choose a tag to compare

  • Adds market order support

V1.0.1

22 Jul 10:29

Choose a tag to compare

  • Fixes an overflow bug when cancelling large orders
  • Fixes max brush price test

V1

10 Mar 09:24

Choose a tag to compare

V1
  • Reverted required solidity version from 0.8.24 to 0.8.20 to be more compatible
  • New scripts for calling setMaxOrdersPerPrice & setTokenIdInfos
  • Coverage library upgraded and fix unreachable code in cancelOrders
  • Fixed claimAll() not allowing empty arrays
  • Tick can no longer be changed for a tokenId after being set
  • Limit number of orders which can be claimed to 200