0, // accept any amount of ETH
path,
address(this),
block.timestamp
);
How I need set deadline for this type function ?
Set it in unix timestamp just make sure u add a bit to current timestamp so u can allow for wiggle room
Thanks for answer What number it will be better to add for my timestamp ? Or where could i read info? I tested without additional number in testnet and it work fine
Uniswap say you can add 300 secs to the actual timestamp
Could you get link ? Or it answer from Uniswap community ?
https://docs.uniswap.org/protocol/V1/guides/trade-tokens#deadlines
Обсуждают сегодня