The upgraded DEX introduces “hooks,” or customizable logic for trading pairs.