Skip to content

Releases: gnosis/dex-contracts

SolutionSubmitter

20 Nov 16:46
47acbdd
Compare
Choose a tag to compare

Main new feature is a Wrapper Contract that allows solutions submissions to be made cheaper thanks to the gas token.

Changelog

  • Version Bump (#1052)
  • [Easy] Deploy SolutionSubmitter contract (#1051)
  • Gas token solution submission (#1045)
  • Bump typescript from 4.0.5 to 4.1.2 (#1054)
  • Bump truffle-plugin-verify from 0.5.0 to 0.5.1 (#1053)
  • Bump yargs from 16.1.0 to 16.1.1 (#1049)
  • Bump @truffle/contract from 4.2.27 to 4.2.30 (#1048)
  • Bump eslint from 7.12.1 to 7.13.0 (#1042)
  • Bump truffle from 5.1.50 to 5.1.51 (#1038)
  • Bump eth-gas-reporter from 0.2.18 to 0.2.19 (#1037)
  • Bump truffle from 5.1.49 to 5.1.50 (#1028)
  • Bump typescript from 4.0.3 to 4.0.5 (#1033)
  • Bump eslint-config-prettier from 6.14.0 to 6.15.0 (#1036)
  • Bump solhint from 3.2.2 to 3.3.1 (#1035)
  • Bump truffle-plugin-verify from 0.4.0 to 0.5.0 (#1034)
  • Bump ganache-cli from 6.12.0 to 6.12.1 (#1032)
  • Bump eslint from 7.12.0 to 7.12.1 (#1031)
  • Bump eslint from 7.11.0 to 7.12.0 (#1030)
  • Bump @truffle/contract from 4.2.26 to 4.2.27 (#1029)
  • Bump eslint-config-prettier from 6.13.0 to 6.14.0 (#1027)
  • [Easy] update OWL token dependency (#1024)
  • Add solution reversion to graph data script (#1025)

Updated migration script for integration

20 Oct 11:47
36cd64a
Compare
Choose a tag to compare

This version introduced one breaking change to the migration script used by projects which integrate with BatchExchange contracts. Observe now that migrateBatchExchange function now takes the BatchExchange contract as an input parameter.

  • Update BatchExchange migration script (#1022)
  • Vendor dex-js token list for script (#992)

Several dependency version bumps:

  • Bump eslint-config-prettier from 6.12.0 to 6.13.0 (#1021)
  • Bump mocha from 8.1.3 to 8.2.0 (#1020)
  • Bump @types/chai from 4.2.13 to 4.2.14 (#1019)
  • Bump solhint from 3.2.1 to 3.2.2 (#1018)
  • Bump yargs from 16.0.3 to 16.1.0 (#1017)
  • Bump truffle from 5.1.48 to 5.1.49 (#1016)
  • Bump @truffle/contract from 4.2.25 to 4.2.26 (#1015)
  • Bump eth-gas-reporter from 0.2.17 to 0.2.18 (#1014)
  • [Easy] Fix broken version bump in solidity-bytes–utils (#1013)
  • Bump ganache-cli from 6.11.0 to 6.12.0 (#1012)
  • Bump eslint from 7.10.0 to 7.11.0 (#1011)
  • Bump truffle from 5.1.47 to 5.1.48 (#1010)
  • Bump @truffle/contract from 4.2.24 to 4.2.25 (#1009)
  • Bump solidity-coverage from 0.7.10 to 0.7.11 (#1008)
  • Bump prettier-plugin-solidity from 1.0.0-alpha.58 to 1.0.0-alpha.59 (#1007)
  • Bump @types/chai from 4.2.12 to 4.2.13 (#1006)
  • Bump typechain from 2.0.0 to 2.0.1 (#1005)
  • Bump @truffle/contract from 4.2.23 to 4.2.24 (#1004)
  • Bump truffle from 5.1.46 to 5.1.47 (#1003)
  • Bump ganache-cli from 6.10.2 to 6.11.0 (#1000)
  • Bump bignumber.js from 9.0.0 to 9.0.1 (#999)
  • Bump prettier-plugin-solidity from 1.0.0-alpha.57 to 1.0.0-alpha.58 (#998)
  • Bump eslint from 7.9.0 to 7.10.0 (#997)
  • Bump truffle from 5.1.44 to 5.1.46 (#996)
  • Bump @truffle/contract from 4.2.22 to 4.2.23 (#995)
  • Bump eslint-config-prettier from 6.11.0 to 6.12.0 (#994)
  • Bump solhint from 3.2.0 to 3.2.1 (#993)
  • Bump typescript from 4.0.2 to 4.0.3 (#984)
  • Bump web3-eth-contract from 1.2.11 to 1.3.0 (#981)
  • Bump prettier from 2.1.1 to 2.1.2 (#980)
  • Bump web3 from 1.2.11 to 1.3.0 (#982)
  • Bump web3-core from 1.2.11 to 1.3.0 (#978)
  • Bump eslint from 7.8.1 to 7.9.0 (#977)
  • Bump cross-fetch from 3.0.5 to 3.0.6 (#976)
  • Bump truffle from 5.1.43 to 5.1.44 (#975)
  • Bump @truffle/contract from 4.2.21 to 4.2.22 (#974)

xDAI Deployment

11 Sep 13:25
c56bb69
Compare
Choose a tag to compare

GP is now available on xDAI

GetTokenInfo on BatchExchange Viewer

29 Jun 16:36
cd58f95
Compare
Choose a tag to compare

Main new feature is the getTokenInfo method on BatchExchangeViewer to get decimals and token symbol by exchange ID.

Changelog

  • reverting unintended deploy
  • [Viewer] Convenience method to get tokenInfo for a tokenID (#860)
  • asynchronously fetch token data (#872)
  • Bump truffle from 5.1.31 to 5.1.32 (#870)
  • Bump @truffle/contract from 4.2.9 to 4.2.10 (#871)
  • Bump solidity-coverage from 0.7.7 to 0.7.8 (#869)
  • Bump eslint from 7.3.0 to 7.3.1 (#867)
  • Bump @typescript-eslint/parser from 3.3.0 to 3.4.0 (#866)
  • Bump @typescript-eslint/eslint-plugin from 3.3.0 to 3.4.0 (#865)
  • Bump eslint from 7.2.0 to 7.3.0 (#864)
  • Bump truffle from 5.1.30 to 5.1.31 (#863)

v0.4.0

17 Jun 16:05
c72ab91
Compare
Choose a tag to compare

Suppress all the version bumps and stray commits

  • Better truffle contract testing (#839)
  • [Easy] Remove unused dev-dependency (husky) (#838)
  • [Easy] Helper command to run truffle scripts from native directory (#837)
  • Adding scripts/README (#835)
  • Move all dev-only scripts into scripts/ganache (#834)
  • bump to NodeJS LTS(12) (#833)
  • [JS->TS] Migrate setup_thegraph_data.js (#822)
  • [JS->TS] Migrate wait_seconds.js (#832)
  • Fix type discrepancy and fix the mint bug (#831)
  • Remove old undefined solhint preferences (#829)
  • [JS->TS] Migrate transitive_orderbook.js (#828)
  • [JS->TS] Migrate get_auction_elements.js (#818)
  • [JS->TS] Migrate ensure_owl_liquidity.js (#820)
  • Migrate setup_environment.js (#821)
  • [JS->TS] Migrate place_spread_orders.js (#816)
  • [JS->TS] Migrate invokeViewFunction.js (#815)
  • [JS->TS] Migrate add_token_list.js (#813)
  • Upgrade to TypeChain v2 (#801)

v0.3.2

20 May 13:20
06ee9c3
Compare
Choose a tag to compare

Exporting new utility functions for amounts. This includes new functions:

getUnlimitedOrderAmounts
getBuyAmountFromPrice
getUnitPrice

and should make integration projects easier!

v0.3.0

13 May 12:24
3234f9e
Compare
Choose a tag to compare

This release includes a new streamed event-based orderbook. Additionally the codebase has been partially migrated to TS, so there should be improved support for using this package with TypeScript.

Breaking Changes:

export interface OrderBN { ... }
export decodeOrdersBN(...)
export const BatchExchange = ...
export const BatchExchangeViewer = ...

Is now:

export interface Order<BN> { ... }
export decodeOrders(...)
export const BatchExchangeArtifact = ...
export const BatchExchangeViewerArtifact = ...

Changelog:

  • use import type where appropriate (#760)
  • [Easy] Remove strict withdraw request check (#761)
  • [TS] Refactor TS module (#759)
  • [TS] migrate batch_exchange_viewer.js (#755)
  • [TS] migrate onchain_reading.js (#754)
  • [JS->TS] Migrating encoding.js (#753)
  • Bump @typescript-eslint/eslint-plugin from 2.32.0 to 2.33.0
  • Bump @typescript-eslint/parser from 2.32.0 to 2.33.0
  • Bump typescript from 3.8.3 to 3.9.2
  • simplify streamed orderbook logging options (#749)
  • Bump @typescript-eslint/eslint-plugin from 2.31.0 to 2.32.0
  • Bump @typescript-eslint/parser from 2.31.0 to 2.32.0
  • Bump @truffle/contract from 4.2.2 to 4.2.4
  • Bump prettier-plugin-solidity from 1.0.0-alpha.49 to 1.0.0-alpha.51
  • Bump truffle from 5.1.24 to 5.1.25
  • [TypeScript] Format TS files (#741)
  • [Events Orderbook] Implement querying the orderbook at the latest blo…
  • Use token array instead of map (#739)
  • [Events Orderbook] E2e test for streamed orderbook. (#732)
  • [Events Orderbook] Refactor applyEvent Logic (#725)
  • [TypeScript] Lint TypeScipt code (#736)
  • added truffle assertions typings (#738)
  • [TypeScript] Add orderbook JSON types (#737)

v0.2.13: Bump contracts to 0.2.12 and deploy (#699)

29 Apr 08:29
23f1ba9
Compare
Choose a tag to compare
  • [Viewer] Ensure memory is 0-ed for orders that are filtered by token (#698)

v0.2.12

22 Apr 12:17
b425b77
Compare
Choose a tag to compare
  • Minor gas improvements on BatchExchangeViewer
  • Methods that perform on-chain filtering now also return the order index (making it usable for solution submission)

v0.2.11

17 Apr 18:08
21dcb89
Compare
Choose a tag to compare

New Features:

  • lossless serialization of orderbooks

BatchExchange Viewer Fixed

  • Fix issue where we report wrongly hasNextPage=false when filtering the last unfiltered page
  • More conservative gas estimation for how many iterations we should do when filtering