Releases: Kwenta/smart-margin
Releases · Kwenta/smart-margin
v2.1.5
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
Smart Margin Upgrade v2.1.4 (minor release)
What's Changed
- 🫧 Introduce order flow fee
- 👷🏻♂️ Update Account
- ⚙️ Update Settings
- 📣 Update Events
v2.1.3
Smart Margin Upgrade v2.1.3 (minor release)
What's Changed
- 👷🏻♂️ Update PerpsV2DynamicFeesModule address in sync with Optimism Ecotone network upgrade
- ✅ Add new tests for storage slot consistency
v2.1.2
Smart Margin Upgrade v2.1.2 (minor release)
What's Changed
- 🗑️ Remove all events from
Auth
- 👷🏻♂️ Override
Auth.addDelegate()
andAuth.removeDelegate()
inAccount
- 📣 Add ownership/delegate related events to
Events.sol
- ✅ Add new tests
v2.1.1
Smart Margin Upgrade v2.1.1 (minor release)
What's Changed
- 🧙♂️ New command: PERPS_V2_SET_MIN_KEEPER_FEE
- 👷🏻♂️
Account._dispatch()
refactor
v2.1.0
Smart Margin Mykonos Upgrade v2.1.0 (major release)
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
Smart Margin v2.0.2 (Minor Release)
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
Smart Margin v2.0.1 (Minor Release)
What's Changed
- 🔒 System execution lock
- ⚙️ Settings contract
- 📣 Events modification
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Smart Margin v2.0.0 (Major Release)
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