+
+
|
|
| ------------------------------------------------------------------ | ----------------------------------------------------------------------- |
diff --git a/docs/cow-protocol/tutorials/cow-swap/limit.mdx b/docs/cow-swap/limit.mdx
similarity index 97%
rename from docs/cow-protocol/tutorials/cow-swap/limit.mdx
rename to docs/cow-swap/limit.mdx
index a262acadc..910cc3dc3 100644
--- a/docs/cow-protocol/tutorials/cow-swap/limit.mdx
+++ b/docs/cow-swap/limit.mdx
@@ -2,7 +2,7 @@
sidebar_position: 3
---
-import CancellationOffChainOnChain from '../../../partials/_cancellation_offchain_versus_onchain.mdx'
+import CancellationOffChainOnChain from '../partials/_cancellation_offchain_versus_onchain.mdx'
# Limit orders
diff --git a/docs/cow-protocol/tutorials/cow-swap/native.mdx b/docs/cow-swap/native.mdx
similarity index 80%
rename from docs/cow-protocol/tutorials/cow-swap/native.mdx
rename to docs/cow-swap/native.mdx
index 712de86d2..255e16efe 100644
--- a/docs/cow-protocol/tutorials/cow-swap/native.mdx
+++ b/docs/cow-swap/native.mdx
@@ -3,8 +3,8 @@ sidebar_position: 5
---
import Image from '@theme/IdealImage';
-import EthFlowTip from '../../../partials/_eth_flow.mdx'
-import CancellationNotGuaranteed from '../../../partials/_cancellation_not_guaranteed.mdx'
+import EthFlowTip from '../partials/_eth_flow.mdx'
+import CancellationNotGuaranteed from '../partials/_cancellation_not_guaranteed.mdx'
# Native tokens
@@ -53,7 +53,7 @@ After wrapping the token, you can simply select the wrapped token as your sell t
## Option 2) Use Eth-flow {#use-eth-flow}
-In an attempt to smoothen the user experience, CoW Protocol has introduced the [Eth-flow](/cow-protocol/reference/contracts/periphery/eth-flow) contract. This allows users to automate the [above process](#wrap-native-tokens) and wrap + swap in a single **on-chain** transaction.
+In an attempt to smoothen the user experience, CoW Protocol has introduced the [Eth-flow](/cow-protocol/contracts/periphery/eth-flow) contract. This allows users to automate the [above process](#wrap-native-tokens) and wrap + swap in a single **on-chain** transaction.
Eth-flow get the following benefits:
1. Lower overall fees (if you need to swap just once)
@@ -74,13 +74,13 @@ After selecting your tokens, CoW Swap will prompt you to confirm the swap. This
+
+
+ {JSON.stringify(defaultValue, null, 4)}
+
+ )
+}
diff --git a/external/cow-sdk/examples/cra/src/components/resultContent/index.tsx b/external/cow-sdk/examples/cra/src/components/resultContent/index.tsx
new file mode 100644
index 000000000..294c88b47
--- /dev/null
+++ b/external/cow-sdk/examples/cra/src/components/resultContent/index.tsx
@@ -0,0 +1,8 @@
+export function ResultContent({ data }: { data: any }) {
+ return (
+ | + + | +
+ Result:+ + |
+