This commit is contained in:
tim
2025-01-16 20:17:03 -04:00
parent 19a8ffbbd4
commit 0545cd6e97
51 changed files with 482 additions and 436 deletions

View File

@@ -1,53 +1,38 @@
<template>
<v-card elevation="0" class="how">
<v-card-title><v-icon icon="mdi-information-outline"/>&nbsp;How&nbsp;It&nbsp;Works</v-card-title>
<v-card-item><v-img src="/how-it-works.png" class="my-6"/></v-card-item>
<v-card-text>
<h4>Order Management</h4>
<p>
Dexorder is an on-chain Order Management System (OMS) that holds advanced order types and executes them
on the appropriate <uniswap-logo/> DeFi exchange at the correct time.
</p>
</v-card-text>
<v-card-item><v-img src="/howitworks.png" class="my-6"/></v-card-item>
<v-card-text>
<h4>Personal Trading Vaults</h4>
<p>
Everyone gets your own trading vault smart contract, which can hold <i>orders</i> as well as tokens. Whenever
your order conditions are met, vault will trade its tokens with Uniswap. After completing a swap, your vault
can also trigger other actions like creating a stoploss order.
</p>
<p>
Only you the vault's owner may withdraw funds or manage orders in your vault.
The orders in the vault may only trade the tokens in the vault, and your regular wallet is never touched.
</p>
<p>
See our open source smart contracts on <a href="https://github.com/dexorder-trade/contract">GitHub</a>.
Dexorder provides advanced order management for your favorite <uniswap-logo/> DeFi pools by providing you with
a personal trading vault smart contract that can hold orders as well as tokens. When you create an order in
the Dexorder app, you save it in your on-chain vault, and then your smart trading vault will follow those
order instructions to trade any coins that are in the vault.
</p>
</v-card-text>
<v-card-text>
<h4>Funds are Never Locked</h4>
<p>
Tokens deposited into your vault may always be withdrawn at any time by only you. Funds are <i>never</i> locked
by the vault. If active orders in the vault need those funds, those orders are simply unable to trade, and the
orders will stay open without being able to execute. If you put tokens back into your vault, any open orders
will automatically resume and trade the newly available funds.
by the vault. If active orders in the vault need funds that you withdrew, those orders are simply unable to
trade, and the orders will stay open without being able to execute. If you put tokens back into your vault,
the orders will automatically resume and trade the newly deposited funds.
</p>
</v-card-text>
<v-card-text>
<h4>Portfolio Management</h4>
<h4>Prepaid Gas</h4>
<p>
Since your trading vault can see all your tokens and orders, it also provides Cancel All and
Sell Everything functions to augment your risk management when markets move fast.
Orders like Limit Orders and DCA Orders do not execute right away but wait until time or price conditions are
met. Activating a swap order against the DeFi pool requires a well-timed execution of your trading vault's
execute() method along with the necessary gas. Dexorder charges you up-front at order placement time for an
estimated future amount of gas. Then when the market conditions for your orders are met, Dexorder supplies
your trading vault with that gas along with information about which order to execute. Your vault will check the
order conditions against the current price and time, and perform the swap with the DeFi pool only if everything
looks correct.
</p>
</v-card-text>
<v-card-text>
<h4>Activation</h4>
<p>
Dexorder watches the market to know when your order conditions have been met, and then activates your vaults
with any orders could trade immediately. The trading vaults do not trust Dexorder's activation message and perform
an extensive check of the order conditions before agreeing to send an actual order to a Uniswap pool. Dexorder
never has access to vault funds and cannot change any orders. Dexorder is only able to activate the vault and
provide gas at the correct times.
See our open source smart contracts on <a href="https://github.com/dexorder-trade/contract">GitHub</a>.
</p>
</v-card-text>
<v-card-text>