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

KIP-87: Public Conditional Order Execution (SM v2.1.0)

Voting ended over 2 years agoSucceeded

Simple Summary

Extend Smart Margin (SM) account conditional order execution to the public (Smart Margin Account Upgrade v2.1.0).

Abstract

This proposal suggests enabling public access to conditional order execution and encouraging participation through the implementation of a novel fee mechanism. Furthermore, the introduction of an executor-supplied price feed[^1] as an alternative method for conditional order execution will enhance the promptness of execution, thereby mitigating latency issues arising from the Gelato Network.

Motivation

Limiting conditional order execution to a single service provider results in centralization and increases the risk of inadequate handling of conditional order execution, leading to a single point of failure. This approach also undermines the competitiveness and trustworthiness of our margin engine. While it may not be feasible to completely eliminate risks associated with on-chain smart contract automation, designing the system to incentivize non-gated conditional order execution can foster competition. This competition has the potential to significantly reduce latency and, in the worst-case scenario, result in a system that is similar to the existing one.

A proven approach demonstrated in Synthetix's perps v2 system through off-chain delayed order execution[^2], involves accepting and verifying a signed Pyth-provided price update as a parameter. By triggering conditional order execution with a verified price update, any keeper monitoring off-chain prices can promptly execute eligible conditional orders upon observing a satisfactory price corresponding to the given conditional order.

Specification

For more information, visit the: Kwenta State Log

Off-Chain Vote

Pass
5 EC-NFT100%
Reject
0 EC-NFT0%
Download mobile app to vote

Timeline

Jul 13, 2023Proposal created
Jul 13, 2023Proposal vote started
Jul 27, 2023Proposal vote ended
Oct 26, 2023Proposal updated