Uniswap
timeswap logic