Skip to content

Latest commit

 

History

History
97 lines (73 loc) · 3.64 KB

CHANGELOG.md

File metadata and controls

97 lines (73 loc) · 3.64 KB

0.4.7 (2019-05-11)

  • added the ConverterRegistry contract

0.4.6 (2019-01-29)

General:

  • Added support for non standard ERC-20 tokens
  • Added NonStandardTokenRegistry contract to support non standard ERC-20 tokens

Network:

  • Removed convertForMultiple

0.4.5 (2019-01-23)

General:

  • Minor cleanups / bug fixes
  • Moved to SafeMath

Converters:

  • Added completeXConversion function to convert from BNT to another token by providing an id rather than amount
  • Changed the version from bytes32 to uint16
  • quickConvert and quickConvertPrioritized now call convertForPrioritized3 in the BancorNetwork contract
  • Renamed isPurchaseEnabled to isSaleEnabled in connector token struct, and validated that sales are enabled for the fromConnector rather than the toConnector in the conversion functions

Network:

  • verifyTrustedSender function argument amount renamed to customVal
  • Added xConvert and xConvertPrioritized functions which converts any token to BNT and transfers the result to BancorX
  • Added validateXConversion function to get around the 16 variable function limit in the xConvert function
  • Added convertForPrioritized3 with backwards compatibility to now receive a custom value along with the amount for verifying trusted senders

0.4.4 (2018-06-23)

General:

  • Minor cleanups / bug fixes
  • Upgraded compiler version to 0.4.24

Converters:

  • Replaced the setRegistry function with updateRegistry function
  • Removed quickBuyPath from converter
  • getReturn now returns the fee as a separate return value
  • Converter owner can no longer withdraw connector tokens while the converter is active
  • Converter owner can no longer transfer the token ownership once the converter is active
  • Added a dedicated upgrade function for easier upgrades
  • Added a fund function for increasing liquidity atomically
  • Added a liquidate function for decreasing liquidity atomically even when conversions are disabled

Registry:

  • Fixed item removal

0.4.3 (2018-06-23)

General:

  • Upgraded compiler version to 0.4.23
  • Updated all contracts to make use of the new constructor keyword
  • Removed more local contract dependencies and replaced them with querying the registry

Utilities:

  • ContractRegistry - added support for querying the number of items/contract names in the registry

0.4.2 (2018-06-10)

General:

  • Added more predefined contract ids

Bug fixes:

  • Fixed a crash in BancorConverterUpgrader when trying to upgrade converters with virtual connector balance

0.4.1 (2018-06-07)

Bug fixes:

  • Fixed BancorNetwork contract backward compatibility with older converters

0.4.0 (2018-06-06)

General:

  • Restructured contract folders
  • Upgraded compiler version to 0.4.21
  • Replaced from testrpc with ganache
  • Other minor cleanups

Converters:

  • Gas cost optimizations when converting between 2 connectors, now uses an optimized dedicated formula calculation
  • Conversions now trigger 2 separate events - Conversion & PriceDataUpdate
  • Added support for multiple conversions in a single atomic transaction
  • Added support for conversion whitelist
  • Removed the BancorConverterExtensions contract and replaced it with the new ContractRegistry contract
  • Added the ability for the owner to also set the manager
  • Renamed BancorQuickConverter to BancorNetwork to more accurately reflect its place as the entry point for bancor related functionality
  • Removed EIP228 related functionality and deprecated the EIP

Utilities:

  • Added support for contract registry to minimize dependencies between contracts
  • Added support for a "feature flags" contract that allows contracts to dynamically query other contracts for supported features