Skip to content

feat: stoploss - #3330

Open
tienkane wants to merge 2 commits into
mainfrom
feat/stop-loss
Open

feat: stoploss#3330
tienkane wants to merge 2 commits into
mainfrom
feat/stop-loss

Conversation

@tienkane

Copy link
Copy Markdown
Collaborator

No description provided.

Adds the Stop Loss trade page alongside Swap and Limit: a creation form
driven by the oracle price feed, a review modal, and Active/History order
lists with cancel and recreate.

- trigger price panel with percent chips, both sides of one value
- oracle-feed eligibility per chain and per token, reported in-field
- review blocks signing when the trigger is not below the oracle price
- failed executions expand to their reason and a recreate action
- form state lives in the store so it survives the order-book detour
- merges the smart-exit and stop-loss endpoints into CONDITIONAL_SERVICE_URL

Also shares one lazy() instance per trade panel across the trade pages,
which removes the full-page skeleton flash when switching between them.
# Conflicts:
#	apps/kyberswap-interface/src/components/SwapForm/SlippageSetting.tsx
@kyber-ci-bot

Copy link
Copy Markdown

Auto Deploy Pull Request

ADPR instance has been created!

Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants