CRYPTO NEWS
6 Questions for Kim Hamilton Duffy of Centre
Question about constant product AMM swap function
My understanding is that there are two main flows when one wants to swap within a constant product AMM LP: Trader transfers a certain amount of Token X into the LP An equivalent of Token Y is transferred to Trader Assuming that both Token X and Token Y are ERC-20 compliant, are there any issues::Listen
My understanding is that there are two main flows when one wants to swap within a constant product AMM LP:
-
Trader transfers a certain amount of Token X into the LP
-
An equivalent of Token Y is transferred to Trader
Assuming that both Token X and Token Y are ERC-20 compliant, are there any issues if I use transfer() for both Flow 1 and Flow 2? Or, should I actually be using transferFrom() instead?
Showing 1–8 of 312 results
-
Electroneum ETN Unisex Twill Crypto Hat
USD$25.30 Select options -
Pearl Crypto Coin Unisex Trucker Hat
USD$28.08 Select options -
Insight Chain INB Crypto Coin Unisex Trucker Hat
USD$28.08 Select options -
DASH Unisex Twill Crypto Hat
USD$25.30 Select options -
Naga NGC Crypto Coin Unisex Trucker Hat
USD$28.08 Select options -
Paypex PAYX Crypto Coin Unisex Trucker Hat
USD$28.08 Select options -
Poet POE Crypto Coin Unisex Trucker Hat
USD$28.08 Select options -
Cardano ADA Unisex Twill Crypto Hat
USD$25.30 Select options
