Smart contracts make it easier to trade on DEXs. These operate in the same way as a program which executes when one or more defined conditions are met.