Skip to content

Releases: Kwenta/smart-margin

v2.1.5

01 Oct 20:12
46d7891
Compare
Choose a tag to compare

Smart Margin Upgrade v2.1.5 (minor release)

🔥 Hotfix to bypass max leverage exceeded when charging a fee.

What's Changed

  • Create funding.json by @BurtRock in #183
  • hotfix: add try/catch return to margin pulling call in imposeFee by @jcmonte in #184

New Contributors

Full Changelog: v2.1.4...v2.1.5

v2.1.4

28 May 22:11
8b845c2
Compare
Choose a tag to compare

Smart Margin Upgrade v2.1.4 (minor release)

https://www.npmjs.com/package/@kwenta/cross-margin-manager

What's Changed

  • 🫧 Introduce order flow fee
  • 👷🏻‍♂️ Update Account
  • ⚙️ Update Settings
  • 📣 Update Events

v2.1.3

14 Mar 05:28
33f86ab
Compare
Choose a tag to compare

Smart Margin Upgrade v2.1.3 (minor release)

https://www.npmjs.com/package/@kwenta/cross-margin-manager

What's Changed

  • 👷🏻‍♂️ Update PerpsV2DynamicFeesModule address in sync with Optimism Ecotone network upgrade
  • ✅ Add new tests for storage slot consistency

v2.1.2

30 Oct 18:32
d8edc9f
Compare
Choose a tag to compare

Smart Margin Upgrade v2.1.2 (minor release)

https://www.npmjs.com/package/@kwenta/cross-margin-manager

What's Changed

  • 🗑️ Remove all events from Auth
  • 👷🏻‍♂️ Override Auth.addDelegate() and Auth.removeDelegate() in Account
  • 📣 Add ownership/delegate related events to Events.sol
  • ✅ Add new tests

v2.1.1

11 Oct 16:56
9eac8a7
Compare
Choose a tag to compare

Smart Margin Upgrade v2.1.1 (minor release)

https://www.npmjs.com/package/@kwenta/cross-margin-manager

What's Changed

  • 🧙‍♂️ New command: PERPS_V2_SET_MIN_KEEPER_FEE
  • 👷🏻‍♂️ Account._dispatch() refactor

v2.1.0

09 Aug 15:53
d69a51e
Compare
Choose a tag to compare

Smart Margin Mykonos Upgrade v2.1.0 (major release)

https://www.npmjs.com/package/@kwenta/cross-margin-manager

What's Changed

  • 💥 Decentralize Conditional Order Execution
  • 🦄 Integrate Permit2
  • 🦄 Integrate Uniswap's UniversalRouter to support token swaps
  • 📣 Update Events.sol
  • ⚙️ Update Settings.sol
  • 👷🏻‍♂️ Update logic in Account.sol
  • 🔒 Add state variable to Account.sol needed for reentrancy guard

v2.0.2

05 Jul 22:18
36b0491
Compare
Choose a tag to compare

Smart Margin v2.0.2 (Minor Release)

https://www.npmjs.com/package/@kwenta/cross-margin-manager

What's Changed

  • Update conditional order filled event to include oracle used
  • Use Synthetix’s PerpsV2ExchangeRate to fetch prices from Pyth
  • Update where the fee is transferred when a conditional order is executed
  • Update _sUSDRate() to uses both Pyth and Chainlink based price-feeds
  • Gelato-specific exploit analysis around incentives

v2.0.1

25 May 20:41
ee07ae9
Compare
Choose a tag to compare

Smart Margin v2.0.1 (Minor Release)

https://www.npmjs.com/package/@kwenta/cross-margin-manager

What's Changed

  • 🔒 System execution lock
  • ⚙️ Settings contract
  • 📣 Events modification

Full Changelog: v2.0.0...v2.0.1

v2.0.0

19 Apr 15:01
2bf809e
Compare
Choose a tag to compare

Smart Margin v2.0.0 (Major Release)

https://www.npmjs.com/package/@kwenta/cross-margin-manager

What's Changed

  • 🏭 General System Architecture (Account, AccountProxy, Events, Factory)
  • ↔️ Proxy Mechanism
  • 👷🏻‍♂️ Account Execution (Command + Input Design)
  • 📣 Events (Consolidation)
  • 🧩 Conditional Orders (Limit, Stop-Loss, Reduce-Only, etc.)
  • 🔓 Updated Account Authentication & Delegate Trading
  • ⛳️ System Optimizations
  • ✅ Improved Testing

Full Changelog: v1.0.2...v2.0.0

v1.0.2

21 Oct 21:31
906267e
Compare
Choose a tag to compare

Changelog:

  • Fixes revert message for min ETH advanced orders requirement
  • Fixes incorrect FeeImposed event values when closing a position
  • Cancels Gelato tasks upon successful execution to free up Gelato's resources