SIP-406: FeatureFlag - Atomic Synth Trading & Wrappers
Author | |
---|---|
Status | Draft |
Type | Governance |
Network | Arbitrum |
Implementor | TBD |
Release | TBD |
Simple Summary
The sip proposes to put in place feature flag into the on atomicOrderModule
and WrapperModule
, essentially allowing the protocol to disable atomic trades, wraps and unwraps on specified synths.
Abstract
The current implementation of the spot market on v3 does not allow for disabling of atomic orders or wrapping/unwrapping of synths. This SIP would allow the protocol to enable/disable those functions.
Motivation
The main motivation is to allow the protocol to disable synth trading and wrapping/unwrapping on specified synths.
Specification
The specification would be incorporating the standard v3 feature flag module into the atomicOrderModule and the wrapperModule. Whereby each marketId
would be need to be have the trading / wrapping feature enabled on it, otherwise transactions involved synths that have not been enabled would revert.
Configurable Values (Via SCCP)
The protocol should be able to specify which synth (marketId
) are allowed to be traded and wrapped with feature flags. All marketId
are disabled for market orders by default unless enabled via the the feature flag option.
Test Cases
Will be setup after the testnet release.
Copyright
Copyright and related rights waived via CC0.