• © Goverland Inc. 2026
  • v1.0.8
  • Privacy Policy
  • Terms of Use
Kwenta Kwenta by0x0c4EA5F0219fbC4Decf9536463524953Cd75F0cB0x0c4E…F0cB

KIP-116: Smart Margin v3 Upgradability

Voting ended about 2 years agoSucceeded

Simple Summary

Smart Margin v3 "SMv3", serving as Kwenta's margin trading engine, directly interfaces with Synthetix v3 (1). Given that Synthetix v3 is an ever-evolving, upgradable platform that doesn't necessarily guarantee backward compatibility, our engine risks becoming outdated, potentially endangering trader funds. To address this, the KIP proposes implementing upgradability features for the SMv3 engine.

Abstract

Enhance the SMv3 Engine.sol contract to make it upgradable, with the upgrades being executed and managed by the Kwenta pDAO multisig (2).

Motivation

Synthetix v3 has seen rapid development in recent months, leading to significant changes in testnet deployments. These changes have, unfortunately, negated some of the progress made on SMv3. Currently, in the pre-mainnet stage, adjusting our contracts is relatively straightforward through redeployment. However, once user funds are managed by our Engine, imposing migrations on users every time Synthetix introduces an unexpected change becomes highly problematic.

A straightforward, albeit more centralized, solution is to align our upgradeability with Synthetix's. This approach gives us greater control to upgrade our system in a decentralized way through the pDAO, which will act as the gatekeeper for SMv3's upgradeability.

Specification

For more information, visit the: Kwenta State Log

Off-Chain Vote

Pass
3 KC-NFT100%
Reject
0 KC-NFT0%
Download mobile app to vote

Timeline

Jan 19, 2024Proposal created
Jan 19, 2024Proposal vote started
Jan 26, 2024Proposal vote ended
Jan 27, 2024Proposal updated