From e69030e55bd7914ce8c8cb5db11056bbcfe7f870 Mon Sep 17 00:00:00 2001 From: Doron Zavelevsky Date: Thu, 28 Mar 2024 14:26:25 +0000 Subject: [PATCH] updated readme --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 286d847..76bcd23 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ const init = async ( ## Notes -- The SDK Logger supports 3 verbosity levels: +### 1. The SDK Logger supports 3 verbosity levels: - `0` (default) only prints errors and important logs. - `1` (debug) prints highly verbose logs. - `2` (debug readable) is same as `1` but also converts any BigNumber to an easy to read string (impacting performance). @@ -91,6 +91,12 @@ const init = async ( window.CARBON_DEFI_SDK_VERBOSITY = 2; ``` +### 2. For usage with contracts version < 5, without the enhanced range for trade by source: + + ```js + window.LEGACY_TRADE_BY_SOURCE_RANGE = true; + ``` + ## Authors - [@zavelevsky](https://www.github.com/zavelevsky)