Skip to content

v0.19 - Helper functions for v4 orders

Choose a tag to compare

@johnrjj johnrjj released this 03 Apr 15:49
· 66 commits to main since this release

Adds a bunch of useful utility/helper functions for working with 0x v4 assets and orders.

Changeset:

  • Adds typedoc documentation for all public functions in NftSwapV4 class
  • getMakerAsset function added
  • getTakerAsset function added
  • validateSignature function added
  • fetchBalanceForAsset function added
  • checkOrderCanBeFilledMakerSide function added
  • checkOrderCanBeFilledTakerSide function added
  • getErc20TotalIncludingFees function added
  • Adds tests for all convenience functions