Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zavelevsky committed Mar 28, 2024
1 parent 35d20e5 commit e69030e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand All @@ -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)
Expand Down

0 comments on commit e69030e

Please sign in to comment.