From 93c9364c775f0b4e9f11b98b6061bc1987386b2a Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 19 Aug 2021 19:27:19 +0300 Subject: [PATCH] readme update --- README.md | 8 ++++++++ TODO | 9 --------- 2 files changed, 8 insertions(+), 9 deletions(-) delete mode 100644 TODO diff --git a/README.md b/README.md index 5107c5d..66b4609 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ ```shell yarn +yarn download yarn build yarn test ``` @@ -11,3 +12,10 @@ yarn test TODO 1. deposit from mainnet to the pool on optimism in one tx + +## Useful + +How we do transaction inside pool of A amount. +1. sort inputs by amount +2. try to take 1 or 2 smallest inputs to satisfy A amount. Get 16 inputs if it's not possible using the same way +3. Also you can always use transaction to merge your inputs with change (especially in 16 inputs case) diff --git a/TODO b/TODO deleted file mode 100644 index cb9c882..0000000 --- a/TODO +++ /dev/null @@ -1,9 +0,0 @@ -* relayer -* design -* race condition ? (sequencer or something) -* the current trusted setup is not secure ? - -How we do transaction inside pool of A amount. -1. sort inputs by amount -2. try to take 1 or 2 smallest inputs to satisfy A amount. Get 16 inputs if it's not possible using the same way -3. Also you can always use transaction to merge your inputs with change (especially in 16 inputs case)