mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 14:22:06 +00:00
* add trades and swaps * revert old swaps model and branch into new * swaps v2 still some bugs * dup token0 issue * swaps2 * final * tweak * del todo * incr
532 B
532 B
{% docs token_in_contract %}
The smart contract address for the token that is being swapped into the traders wallet. Token OUT / IN is from the perspective of the trader. So, an out token is leaving the wallet while the in token is being deposited to the wallet. This perspective is not changing for multi-pool trades - think of it directionally, the tokens continue flowing from out to in. Out of wallet, into pool, out of pool, into (another pool / wallet), with the final movement being tokens into final wallet.
{% enddocs %}