From 238deb855cc84be542e491ec4937df72859e65cb Mon Sep 17 00:00:00 2001 From: "mia von steinkirch, phd" <1130416+mvonsteinkirch@users.noreply.github.com> Date: Tue, 20 Dec 2022 11:13:06 -0800 Subject: [PATCH] Create cross_trading.md --- sandwich/cross_trading.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sandwich/cross_trading.md diff --git a/sandwich/cross_trading.md b/sandwich/cross_trading.md new file mode 100644 index 0000000..b64b1c2 --- /dev/null +++ b/sandwich/cross_trading.md @@ -0,0 +1,15 @@ +## cross-trading arbitrage like sandwich + +<br> + +### tl; dr + +- a sandwich arbitrage has characters as below: + - in the same block, the attacker's transactions contain a start transaction, an end transaction, and one or more victim transactions in between + - the combination of attacker and victim needs to satisfy an essential condition: the from address is not the same + + +- the `CombinedTransferTable` of each transaction contains the same Address processing the Trade. Combining the Attacker's Start Transaction and End Transaction give the CombinedTransferTable of this arbitrage having the final net surplus. + + +<br>